chore: update `moduleResolution` to `Bundler` (#26658)

This commit is contained in:
Anthony Fu 2024-04-05 17:36:52 +02:00 committed by GitHub
parent 3c90aaf8e2
commit ee608cea2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 174 additions and 227 deletions

View File

@ -64,7 +64,7 @@
"@nuxt/kit": "workspace:*",
"@nuxt/schema": "workspace:*",
"@nuxt/telemetry": "^2.5.3",
"@nuxt/ui-templates": "^1.3.2",
"@nuxt/ui-templates": "^1.3.3",
"@nuxt/vite-builder": "workspace:*",
"@unhead/dom": "^1.9.4",
"@unhead/ssr": "^1.9.4",

View File

@ -14,7 +14,6 @@ import fsExtra from 'fs-extra'
import { dynamicEventHandler } from 'h3'
import { isWindows } from 'std-env'
import type { Nuxt, NuxtOptions, RuntimeConfig } from 'nuxt/schema'
// @ts-expect-error TODO: add legacy type support for subpath imports
import { template as defaultSpaLoadingTemplate } from '@nuxt/ui-templates/templates/spa-loading-icon.mjs'
import { version as nuxtVersion } from '../../package.json'
import { distDir } from '../dirs'

View File

@ -67,9 +67,7 @@ export default <NitroErrorHandler> async function errorhandler (error: H3Error,
// Fallback to static rendered error page
if (!res) {
const { template } = import.meta.dev
// @ts-expect-error TODO: add legacy type support for subpath imports
? await import('@nuxt/ui-templates/templates/error-dev.mjs')
// @ts-expect-error TODO: add legacy type support for subpath imports
: await import('@nuxt/ui-templates/templates/error-500.mjs')
if (import.meta.dev) {
// TODO: Support `message` in template

View File

@ -62,7 +62,7 @@
"webpack-dev-middleware": "7.2.1"
},
"dependencies": {
"@nuxt/ui-templates": "^1.3.2",
"@nuxt/ui-templates": "^1.3.3",
"consola": "^3.2.3",
"defu": "^6.1.4",
"hookable": "^5.5.3",

View File

@ -232,7 +232,7 @@ importers:
version: 2.9.6
unbuild:
specifier: latest
version: 2.0.0(typescript@5.4.3)
version: 2.0.0(typescript@5.4.4)
vite:
specifier: 5.2.8
version: 5.2.8(@types/node@20.12.4)
@ -261,14 +261,14 @@ importers:
specifier: ^2.5.3
version: 2.5.3
'@nuxt/ui-templates':
specifier: ^1.3.2
version: 1.3.2
specifier: ^1.3.3
version: 1.3.3
'@nuxt/vite-builder':
specifier: workspace:*
version: link:../vite
'@types/node':
specifier: ^14.18.0 || >=16.10.0
version: 20.12.3
version: 20.12.4
'@unhead/dom':
specifier: ^1.9.4
version: 1.9.4
@ -406,7 +406,7 @@ importers:
version: 1.4.2
vue:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
version: 3.4.21(typescript@5.4.4)
vue-bundle-renderer:
specifier: ^2.0.0
version: 2.0.0
@ -431,19 +431,19 @@ importers:
version: 5.0.4(vite@5.2.8)(vue@3.4.21)
unbuild:
specifier: latest
version: 2.0.0(typescript@5.4.3)
version: 2.0.0(typescript@5.4.4)
vite:
specifier: 5.2.8
version: 5.2.8(@types/node@20.12.3)
version: 5.2.8(@types/node@20.12.4)
vitest:
specifier: 1.4.0
version: 1.4.0(@types/node@20.12.3)(happy-dom@14.4.0)
version: 1.4.0(@types/node@20.12.4)(happy-dom@14.4.0)
packages/schema:
dependencies:
'@nuxt/ui-templates':
specifier: ^1.3.2
version: 1.3.2
specifier: ^1.3.3
version: 1.3.3
consola:
specifier: ^3.2.3
version: 3.2.3
@ -504,7 +504,7 @@ importers:
version: 3.4.21
'@vue/language-core':
specifier: 2.0.7
version: 2.0.7(typescript@5.4.3)
version: 2.0.7(typescript@5.4.4)
c12:
specifier: 1.10.0
version: 1.10.0
@ -525,7 +525,7 @@ importers:
version: 1.3.4
unbuild:
specifier: latest
version: 2.0.0(typescript@5.4.3)
version: 2.0.0(typescript@5.4.4)
unctx:
specifier: 2.3.1
version: 2.3.1
@ -537,7 +537,7 @@ importers:
version: 5.2.8(@types/node@20.12.4)
vue:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
version: 3.4.21(typescript@5.4.4)
vue-bundle-renderer:
specifier: 2.0.0
version: 2.0.0
@ -654,7 +654,7 @@ importers:
version: 1.4.0(@types/node@20.12.4)
vite-plugin-checker:
specifier: ^0.6.4
version: 0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.8)(vue-tsc@2.0.7)
version: 0.6.4(eslint@8.57.0)(typescript@5.4.4)(vite@5.2.8)(vue-tsc@2.0.7)
vue-bundle-renderer:
specifier: ^2.0.0
version: 2.0.0
@ -673,10 +673,10 @@ importers:
version: 11.0.4
unbuild:
specifier: latest
version: 2.0.0(typescript@5.4.3)
version: 2.0.0(typescript@5.4.4)
vue:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
version: 3.4.21(typescript@5.4.4)
packages/webpack:
dependencies:
@ -715,7 +715,7 @@ importers:
version: 6.2.0(webpack@5.91.0)
fork-ts-checker-webpack-plugin:
specifier: ^9.0.2
version: 9.0.2(typescript@5.4.3)(webpack@5.91.0)
version: 9.0.2(typescript@5.4.4)(webpack@5.91.0)
fs-extra:
specifier: ^11.2.0
version: 11.2.0
@ -760,7 +760,7 @@ importers:
version: 2.0.0
postcss-loader:
specifier: ^8.1.1
version: 8.1.1(postcss@8.4.38)(typescript@5.4.3)(webpack@5.91.0)
version: 8.1.1(postcss@8.4.38)(typescript@5.4.4)(webpack@5.91.0)
postcss-url:
specifier: ^10.1.3
version: 10.1.3(postcss@8.4.38)
@ -833,10 +833,10 @@ importers:
version: 0.4.2
unbuild:
specifier: latest
version: 2.0.0(typescript@5.4.3)
version: 2.0.0(typescript@5.4.4)
vue:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
version: 3.4.21(typescript@5.4.4)
playground:
dependencies:
@ -916,11 +916,11 @@ importers:
version: link:../../../packages/nuxt
vue:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
version: 3.4.21(typescript@5.4.4)
devDependencies:
typescript:
specifier: latest
version: 5.4.3
version: 5.4.4
packages:
@ -2214,7 +2214,7 @@ packages:
'@nuxt/schema': link:packages/schema
execa: 7.2.0
nuxt: link:packages/nuxt
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
dev: false
/@nuxt/devtools-wizard@1.1.5:
@ -2275,7 +2275,7 @@ packages:
simple-git: 3.23.0
sirv: 2.0.4
unimport: 3.7.1(rollup@4.14.0)
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
vite-plugin-inspect: 0.8.3(@nuxt/kit@packages+kit)(rollup@4.14.0)(vite@5.2.8)
vite-plugin-vue-inspector: 4.0.2(vite@5.2.8)
which: 3.0.1
@ -2310,11 +2310,11 @@ packages:
eslint: ^8.48.0
dependencies:
'@rushstack/eslint-patch': 1.5.1
'@typescript-eslint/eslint-plugin': 6.8.0(@typescript-eslint/parser@6.8.0)(eslint@8.57.0)(typescript@5.4.3)
'@typescript-eslint/eslint-plugin': 6.8.0(@typescript-eslint/parser@6.8.0)(eslint@8.57.0)(typescript@5.4.4)
'@typescript-eslint/parser': 6.8.0(eslint@8.57.0)(typescript@5.4.3)
eslint: 8.57.0
eslint-plugin-vue: 9.17.0(eslint@8.57.0)
typescript: 5.4.3
typescript: 5.4.4
transitivePeerDependencies:
- supports-color
dev: true
@ -2428,8 +2428,8 @@ packages:
vue-router: 4.3.0(vue@3.4.21)
dev: true
/@nuxt/ui-templates@1.3.2:
resolution: {integrity: sha512-aLHpV7Nj2cAHM2hPtwOtT2OIeOy4p6GN5qvNm6zBt6wke33t1jn0PR/FNwvKROIxM0xTAwB6jdmRJLXRPVGNhA==}
/@nuxt/ui-templates@1.3.3:
resolution: {integrity: sha512-3BG5doAREcD50dbKyXgmjD4b1GzY8CUy3T41jMhHZXNDdaNwOd31IBq+D6dV00OSrDVhzrTVj0IxsUsnMyHvIQ==}
dev: false
/@nuxtjs/mdc@0.5.0:
@ -2858,28 +2858,28 @@ packages:
shiki: 1.1.2
dev: true
/@shikijs/twoslash@1.1.6(typescript@5.4.3):
/@shikijs/twoslash@1.1.6(typescript@5.4.4):
resolution: {integrity: sha512-0HJK7Il7HevTpRvpPlnJ0ow8UyoQxhvxQ0/lhfw1C0xW/7eLtSAtZfSKdel5Nch6HgbbtfucEzuUFmRIRXUFUg==}
dependencies:
'@shikijs/core': 1.1.6
twoslash: 0.2.4(typescript@5.4.3)
twoslash: 0.2.4(typescript@5.4.4)
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/@shikijs/vitepress-twoslash@1.1.6(@nuxt/kit@packages+kit)(typescript@5.4.3):
/@shikijs/vitepress-twoslash@1.1.6(@nuxt/kit@packages+kit)(typescript@5.4.4):
resolution: {integrity: sha512-OpOu/KszoEIm/pdTMmnFW+cPKj+Vw8Jut4CLivqdwgHysTdMUphyG/nuaYcpVZfCQBu6JLfQ6izgkYrefiKzXQ==}
dependencies:
'@shikijs/twoslash': 1.1.6(typescript@5.4.3)
'@shikijs/twoslash': 1.1.6(typescript@5.4.4)
floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.4.21)
mdast-util-from-markdown: 2.0.0
mdast-util-gfm: 3.0.0
mdast-util-to-hast: 13.1.0
shiki: 1.1.6
twoslash: 0.2.4(typescript@5.4.3)
twoslash-vue: 0.2.4(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.3)
twoslash: 0.2.4(typescript@5.4.4)
twoslash-vue: 0.2.4(typescript@5.4.4)
vue: 3.4.21(typescript@5.4.4)
transitivePeerDependencies:
- '@nuxt/kit'
- supports-color
@ -3044,7 +3044,7 @@ packages:
resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
dependencies:
'@types/jsonfile': 6.1.2
'@types/node': 20.12.3
'@types/node': 20.12.4
dev: true
/@types/hash-sum@1.0.2:
@ -3116,11 +3116,6 @@ packages:
'@types/node': 20.12.4
dev: true
/@types/node@20.12.3:
resolution: {integrity: sha512-sD+ia2ubTeWrOu+YMF+MTAB7E+O7qsMqAbMfW7DG3K1URwhZ5hN1pLlRVGbf4wDFzSfikL05M17EyorS86jShw==}
dependencies:
undici-types: 5.26.5
/@types/node@20.12.4:
resolution: {integrity: sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw==}
dependencies:
@ -3144,7 +3139,7 @@ packages:
/@types/sass-loader@8.0.8:
resolution: {integrity: sha512-hjP8aUyTDde2blD6clAGso/+ctC+9Rch/mDpvMe/kZrpXGZBDqf1K/48jWzXOX7hbd4jXQKQMPWdbBv4MRp0yQ==}
dependencies:
'@types/node': 20.12.3
'@types/node': 20.12.4
'@types/node-sass': 4.11.6
'@types/webpack': 4.41.34
sass: 1.69.4
@ -3183,7 +3178,7 @@ packages:
/@types/webpack-bundle-analyzer@4.7.0:
resolution: {integrity: sha512-c5i2ThslSNSG8W891BRvOd/RoCjI2zwph8maD22b1adtSns20j+0azDDMCK06DiVrzTgnwiDl5Ntmu1YRJw8Sg==}
dependencies:
'@types/node': 20.12.3
'@types/node': 20.12.4
tapable: 2.2.1
webpack: 5.91.0
transitivePeerDependencies:
@ -3242,7 +3237,7 @@ packages:
'@types/yargs-parser': 21.0.1
dev: false
/@typescript-eslint/eslint-plugin@6.8.0(@typescript-eslint/parser@6.8.0)(eslint@8.57.0)(typescript@5.4.3):
/@typescript-eslint/eslint-plugin@6.8.0(@typescript-eslint/parser@6.8.0)(eslint@8.57.0)(typescript@5.4.4):
resolution: {integrity: sha512-GosF4238Tkes2SHPQ1i8f6rMtG6zlKwMEB0abqSJ3Npvos+doIlc/ATG+vX1G9coDF3Ex78zM3heXHLyWEwLUw==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -3256,8 +3251,8 @@ packages:
'@eslint-community/regexpp': 4.9.1
'@typescript-eslint/parser': 6.8.0(eslint@8.57.0)(typescript@5.4.3)
'@typescript-eslint/scope-manager': 6.8.0
'@typescript-eslint/type-utils': 6.8.0(eslint@8.57.0)(typescript@5.4.3)
'@typescript-eslint/utils': 6.8.0(eslint@8.57.0)(typescript@5.4.3)
'@typescript-eslint/type-utils': 6.8.0(eslint@8.57.0)(typescript@5.4.4)
'@typescript-eslint/utils': 6.8.0(eslint@8.57.0)(typescript@5.4.4)
'@typescript-eslint/visitor-keys': 6.8.0
debug: 4.3.4
eslint: 8.57.0
@ -3265,8 +3260,8 @@ packages:
ignore: 5.3.1
natural-compare: 1.4.0
semver: 7.6.0
ts-api-utils: 1.0.3(typescript@5.4.3)
typescript: 5.4.3
ts-api-utils: 1.0.3(typescript@5.4.4)
typescript: 5.4.4
transitivePeerDependencies:
- supports-color
dev: true
@ -3300,7 +3295,7 @@ packages:
'@typescript-eslint/visitor-keys': 6.8.0
dev: true
/@typescript-eslint/type-utils@6.8.0(eslint@8.57.0)(typescript@5.4.3):
/@typescript-eslint/type-utils@6.8.0(eslint@8.57.0)(typescript@5.4.4):
resolution: {integrity: sha512-RYOJdlkTJIXW7GSldUIHqc/Hkto8E+fZN96dMIFhuTJcQwdRoGN2rEWA8U6oXbLo0qufH7NPElUb+MceHtz54g==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -3310,12 +3305,12 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 6.8.0(typescript@5.4.3)
'@typescript-eslint/utils': 6.8.0(eslint@8.57.0)(typescript@5.4.3)
'@typescript-eslint/typescript-estree': 6.8.0(typescript@5.4.4)
'@typescript-eslint/utils': 6.8.0(eslint@8.57.0)(typescript@5.4.4)
debug: 4.3.4
eslint: 8.57.0
ts-api-utils: 1.0.3(typescript@5.4.3)
typescript: 5.4.3
ts-api-utils: 1.0.3(typescript@5.4.4)
typescript: 5.4.4
transitivePeerDependencies:
- supports-color
dev: true
@ -3346,7 +3341,28 @@ packages:
- supports-color
dev: true
/@typescript-eslint/utils@6.8.0(eslint@8.57.0)(typescript@5.4.3):
/@typescript-eslint/typescript-estree@6.8.0(typescript@5.4.4):
resolution: {integrity: sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 6.8.0
'@typescript-eslint/visitor-keys': 6.8.0
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
semver: 7.6.0
ts-api-utils: 1.0.3(typescript@5.4.4)
typescript: 5.4.4
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/utils@6.8.0(eslint@8.57.0)(typescript@5.4.4):
resolution: {integrity: sha512-dKs1itdE2qFG4jr0dlYLQVppqTE+Itt7GmIf/vX6CSvsW+3ov8PbWauVKyyfNngokhIO9sKZeRGCUo1+N7U98Q==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -3357,7 +3373,7 @@ packages:
'@types/semver': 7.5.8
'@typescript-eslint/scope-manager': 6.8.0
'@typescript-eslint/types': 6.8.0
'@typescript-eslint/typescript-estree': 6.8.0(typescript@5.4.3)
'@typescript-eslint/typescript-estree': 6.8.0(typescript@5.4.4)
eslint: 8.57.0
semver: 7.6.0
transitivePeerDependencies:
@ -3419,7 +3435,7 @@ packages:
'@unhead/shared': 1.9.4
hookable: 5.5.3
unhead: 1.9.4
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
dev: false
/@unocss/astro@0.58.6(rollup@4.14.0)(vite@5.2.8):
@ -3433,7 +3449,7 @@ packages:
'@unocss/core': 0.58.6
'@unocss/reset': 0.58.6
'@unocss/vite': 0.58.6(rollup@4.14.0)(vite@5.2.8)
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
transitivePeerDependencies:
- rollup
dev: false
@ -3631,7 +3647,7 @@ packages:
chokidar: 3.6.0
fast-glob: 3.3.2
magic-string: 0.30.9
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
transitivePeerDependencies:
- rollup
dev: false
@ -3668,7 +3684,7 @@ packages:
'@babel/plugin-transform-typescript': 7.24.1(@babel/core@7.24.1)
'@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.24.1)
vite: 5.2.8(@types/node@20.12.4)
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
transitivePeerDependencies:
- supports-color
@ -3679,8 +3695,8 @@ packages:
vite: 5.2.8
vue: 3.4.21
dependencies:
vite: 5.2.8(@types/node@20.12.3)
vue: 3.4.21(typescript@5.4.3)
vite: 5.2.8(@types/node@20.12.4)
vue: 3.4.21(typescript@5.4.4)
/@vitest/coverage-v8@1.4.0(vitest@1.4.0):
resolution: {integrity: sha512-4hDGyH1SvKpgZnIByr9LhGgCEuF9DKM34IBLCC/fVfy24Z3+PZ+Ii9hsVBsHvY1umM1aGPEjceRkzxCfcQ10wg==}
@ -3826,7 +3842,7 @@ packages:
ast-kit: 0.11.3(rollup@4.14.0)
local-pkg: 0.5.0
magic-string-ast: 0.3.0
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
transitivePeerDependencies:
- rollup
dev: false
@ -3900,7 +3916,7 @@ packages:
'@vue/devtools-ui': 7.0.25(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vue@3.4.21)
perfect-debounce: 1.0.0
splitpanes: 3.1.5
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
vue-virtual-scroller: 2.0.0-beta.8(vue@3.4.21)
transitivePeerDependencies:
- '@unocss/reset'
@ -3945,7 +3961,7 @@ packages:
mitt: 3.0.1
perfect-debounce: 1.0.0
speakingurl: 14.0.1
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
dev: false
/@vue/devtools-shared@7.0.25:
@ -3970,7 +3986,7 @@ packages:
floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.4.21)
focus-trap: 7.5.4
unocss: 0.58.6(postcss@8.4.38)(rollup@4.14.0)(vite@5.2.8)
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
transitivePeerDependencies:
- '@vue/composition-api'
- async-validator
@ -3986,7 +4002,7 @@ packages:
- universal-cookie
dev: false
/@vue/language-core@1.8.27(typescript@5.4.3):
/@vue/language-core@1.8.27(typescript@5.4.4):
resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==}
peerDependencies:
typescript: '*'
@ -4002,7 +4018,7 @@ packages:
minimatch: 9.0.3
muggle-string: 0.3.1
path-browserify: 1.0.1
typescript: 5.4.3
typescript: 5.4.4
vue-template-compiler: 2.7.14
dev: true
@ -4023,6 +4039,24 @@ packages:
typescript: 5.4.3
vue-template-compiler: 2.7.14
/@vue/language-core@2.0.7(typescript@5.4.4):
resolution: {integrity: sha512-Vh1yZX3XmYjn9yYLkjU8DN6L0ceBtEcapqiyclHne8guG84IaTzqtvizZB1Yfxm3h6m7EIvjerLO5fvOZO6IIQ==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@volar/language-core': 2.1.3
'@vue/compiler-dom': 3.4.21
'@vue/shared': 3.4.21
computeds: 0.0.1
minimatch: 9.0.3
path-browserify: 1.0.1
typescript: 5.4.4
vue-template-compiler: 2.7.14
dev: true
/@vue/reactivity@3.4.21:
resolution: {integrity: sha512-UhenImdc0L0/4ahGCyEzc/pZNwVgcglGy9HVzJ1Bq2Mm9qXOpP8RyNTjookw/gOCUlXSEtuZ2fUg5nrHcoqJcw==}
dependencies:
@ -4048,7 +4082,7 @@ packages:
dependencies:
'@vue/compiler-ssr': 3.4.21
'@vue/shared': 3.4.21
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
/@vue/shared@3.4.21:
resolution: {integrity: sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g==}
@ -5097,7 +5131,7 @@ packages:
/core-util-is@1.0.3:
resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
/cosmiconfig@8.3.6(typescript@5.4.3):
/cosmiconfig@8.3.6(typescript@5.4.4):
resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==}
engines: {node: '>=14'}
peerDependencies:
@ -5110,10 +5144,10 @@ packages:
js-yaml: 4.1.0
parse-json: 5.2.0
path-type: 4.0.0
typescript: 5.4.3
typescript: 5.4.4
dev: false
/cosmiconfig@9.0.0(typescript@5.4.3):
/cosmiconfig@9.0.0(typescript@5.4.4):
resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==}
engines: {node: '>=14'}
peerDependencies:
@ -5126,7 +5160,7 @@ packages:
import-fresh: 3.3.0
js-yaml: 4.1.0
parse-json: 5.2.0
typescript: 5.4.3
typescript: 5.4.4
dev: false
/crc-32@1.2.2:
@ -6456,7 +6490,7 @@ packages:
dependencies:
'@floating-ui/dom': 1.1.1
'@nuxt/kit': link:packages/kit
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
vue-resize: 2.0.0-alpha.1(vue@3.4.21)
/focus-trap@7.5.4:
@ -6478,7 +6512,7 @@ packages:
cross-spawn: 7.0.3
signal-exit: 4.1.0
/fork-ts-checker-webpack-plugin@9.0.2(typescript@5.4.3)(webpack@5.91.0):
/fork-ts-checker-webpack-plugin@9.0.2(typescript@5.4.4)(webpack@5.91.0):
resolution: {integrity: sha512-Uochze2R8peoN1XqlSi/rGUkDQpRogtLFocP9+PGu68zk1BDAKXfdeCdyVZpgTk8V8WFVQXdEz426VKjXLO1Gg==}
engines: {node: '>=12.13.0', yarn: '>=1.0.0'}
peerDependencies:
@ -6488,7 +6522,7 @@ packages:
'@babel/code-frame': 7.24.2
chalk: 4.1.2
chokidar: 3.6.0
cosmiconfig: 8.3.6(typescript@5.4.3)
cosmiconfig: 8.3.6(typescript@5.4.4)
deepmerge: 4.3.1
fs-extra: 10.1.0
memfs: 3.5.3
@ -6497,7 +6531,7 @@ packages:
schema-utils: 3.3.0
semver: 7.6.0
tapable: 2.2.1
typescript: 5.4.3
typescript: 5.4.4
webpack: 5.91.0
dev: false
@ -8557,7 +8591,7 @@ packages:
engines: {node: '>=10'}
hasBin: true
/mkdist@1.3.0(typescript@5.4.3):
/mkdist@1.3.0(typescript@5.4.4):
resolution: {integrity: sha512-ZQrUvcL7LkRdzMREpDyg9AT18N9Tl5jc2qeKAUeEw0KGsgykbHbuRvysGAzTuGtwuSg0WQyNit5jh/k+Er3JEg==}
hasBin: true
peerDependencies:
@ -8578,7 +8612,7 @@ packages:
mlly: 1.6.1
mri: 1.2.0
pathe: 1.1.2
typescript: 5.4.3
typescript: 5.4.4
dev: true
/mlly@1.6.1:
@ -8948,7 +8982,7 @@ packages:
'@nuxt/kit': link:packages/kit
'@nuxt/schema': link:packages/schema
'@nuxtjs/mdc': 0.5.0
'@shikijs/vitepress-twoslash': 1.1.6(@nuxt/kit@packages+kit)(typescript@5.4.3)
'@shikijs/vitepress-twoslash': 1.1.6(@nuxt/kit@packages+kit)(typescript@5.4.4)
cac: 6.7.14
chokidar: 3.6.0
fast-glob: 3.3.2
@ -8956,8 +8990,8 @@ packages:
picocolors: 1.0.0
remark-parse: 11.0.0
shiki: 1.1.6
twoslash: 0.2.4(typescript@5.4.3)
typescript: 5.4.3
twoslash: 0.2.4(typescript@5.4.4)
typescript: 5.4.4
unified: 11.0.4
unist-util-visit: 5.0.0
transitivePeerDependencies:
@ -9420,7 +9454,7 @@ packages:
resolve: 1.22.8
dev: false
/postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.3)(webpack@5.91.0):
/postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.4)(webpack@5.91.0):
resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==}
engines: {node: '>= 18.12.0'}
peerDependencies:
@ -9433,7 +9467,7 @@ packages:
webpack:
optional: true
dependencies:
cosmiconfig: 9.0.0(typescript@5.4.3)
cosmiconfig: 9.0.0(typescript@5.4.4)
jiti: 1.21.0
postcss: 8.4.38
semver: 7.6.0
@ -10256,7 +10290,7 @@ packages:
glob: 10.3.10
dev: true
/rollup-plugin-dts@6.1.0(rollup@4.14.0)(typescript@5.4.3):
/rollup-plugin-dts@6.1.0(rollup@4.14.0)(typescript@5.4.4):
resolution: {integrity: sha512-ijSCPICkRMDKDLBK9torss07+8dl9UpY9z1N/zTeA1cIqdzMlpkV3MOOC7zukyvQfDyxa1s3Dl2+DeiP/G6DOw==}
engines: {node: '>=16'}
peerDependencies:
@ -10265,7 +10299,7 @@ packages:
dependencies:
magic-string: 0.30.9
rollup: 4.14.0
typescript: 5.4.3
typescript: 5.4.4
optionalDependencies:
'@babel/code-frame': 7.24.2
dev: true
@ -11029,6 +11063,15 @@ packages:
typescript: 5.4.3
dev: true
/ts-api-utils@1.0.3(typescript@5.4.4):
resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}
engines: {node: '>=16.13.0'}
peerDependencies:
typescript: '>=4.2.0'
dependencies:
typescript: 5.4.4
dev: true
/tsconfig-paths@3.15.0:
resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
dependencies:
@ -11056,27 +11099,27 @@ packages:
resolution: {integrity: sha512-AEGTJj4mFGfvQc/M6qi0+s82Zq+mxLcjWZU+EUHGG8LQElyHDs+uDR+/3+m1l+WP7WL+QmWrVzFXgFX+hBg+bg==}
dev: true
/twoslash-vue@0.2.4(typescript@5.4.3):
/twoslash-vue@0.2.4(typescript@5.4.4):
resolution: {integrity: sha512-AIcsYRSxn5WuZC+dD7/n99s1UEY6e5IljoGL3YijQvI/pylgsKk5sWXptp5NrRTH0srBLXoeVpE1re1Eo6eiJw==}
peerDependencies:
typescript: '*'
dependencies:
'@vue/language-core': 1.8.27(typescript@5.4.3)
twoslash: 0.2.4(typescript@5.4.3)
'@vue/language-core': 1.8.27(typescript@5.4.4)
twoslash: 0.2.4(typescript@5.4.4)
twoslash-protocol: 0.2.4
typescript: 5.4.3
typescript: 5.4.4
transitivePeerDependencies:
- supports-color
dev: true
/twoslash@0.2.4(typescript@5.4.3):
/twoslash@0.2.4(typescript@5.4.4):
resolution: {integrity: sha512-hc3y11BjLHP4kV37TR6lUKksxpZp0LQi9kCy95ka6qobye/gV49PqXZIuWlRaRVGNvp4AJBMg8aiwkp0M8x/nQ==}
peerDependencies:
typescript: '*'
dependencies:
'@typescript/vfs': 1.5.0
twoslash-protocol: 0.2.4
typescript: 5.4.3
typescript: 5.4.4
transitivePeerDependencies:
- supports-color
dev: true
@ -11158,6 +11201,11 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
/typescript@5.4.4:
resolution: {integrity: sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==}
engines: {node: '>=14.17'}
hasBin: true
/uc.micro@2.0.0:
resolution: {integrity: sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==}
dev: true
@ -11178,7 +11226,7 @@ packages:
which-boxed-primitive: 1.0.2
dev: true
/unbuild@2.0.0(typescript@5.4.3):
/unbuild@2.0.0(typescript@5.4.4):
resolution: {integrity: sha512-JWCUYx3Oxdzvw2J9kTAp+DKE8df/BnH/JTSj6JyA4SH40ECdFu7FoJJcrm8G92B7TjofQ6GZGjJs50TRxoH6Wg==}
hasBin: true
peerDependencies:
@ -11202,15 +11250,15 @@ packages:
hookable: 5.5.3
jiti: 1.21.0
magic-string: 0.30.9
mkdist: 1.3.0(typescript@5.4.3)
mkdist: 1.3.0(typescript@5.4.4)
mlly: 1.6.1
pathe: 1.1.2
pkg-types: 1.0.3
pretty-bytes: 6.1.1
rollup: 4.14.0
rollup-plugin-dts: 6.1.0(rollup@4.14.0)(typescript@5.4.3)
rollup-plugin-dts: 6.1.0(rollup@4.14.0)(typescript@5.4.4)
scule: 1.3.0
typescript: 5.4.3
typescript: 5.4.4
untyped: 1.4.2
transitivePeerDependencies:
- sass
@ -11393,7 +11441,7 @@ packages:
'@unocss/transformer-directives': 0.58.6
'@unocss/transformer-variant-group': 0.58.6
'@unocss/vite': 0.58.6(rollup@4.14.0)(vite@5.2.8)
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
transitivePeerDependencies:
- postcss
- rollup
@ -11621,7 +11669,7 @@ packages:
peerDependencies:
vite: 5.2.8
dependencies:
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
dev: false
/vite-node@1.0.2(@types/node@20.12.4):
@ -11645,27 +11693,6 @@ packages:
- terser
dev: true
/vite-node@1.4.0(@types/node@20.12.3):
resolution: {integrity: sha512-VZDAseqjrHgNd4Kh8icYHWzTKSCZMhia7GyHfhtzLW33fZlG9SwsB6CEhgyVOWkJfJ2pFLrp/Gj1FSfAiqH9Lw==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
dependencies:
cac: 6.7.14
debug: 4.3.4
pathe: 1.1.2
picocolors: 1.0.0
vite: 5.2.8(@types/node@20.12.3)
transitivePeerDependencies:
- '@types/node'
- less
- lightningcss
- sass
- stylus
- sugarss
- supports-color
- terser
dev: true
/vite-node@1.4.0(@types/node@20.12.4):
resolution: {integrity: sha512-VZDAseqjrHgNd4Kh8icYHWzTKSCZMhia7GyHfhtzLW33fZlG9SwsB6CEhgyVOWkJfJ2pFLrp/Gj1FSfAiqH9Lw==}
engines: {node: ^18.0.0 || >=20.0.0}
@ -11686,7 +11713,7 @@ packages:
- supports-color
- terser
/vite-plugin-checker@0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.8)(vue-tsc@2.0.7):
/vite-plugin-checker@0.6.4(eslint@8.57.0)(typescript@5.4.4)(vite@5.2.8)(vue-tsc@2.0.7):
resolution: {integrity: sha512-2zKHH5oxr+ye43nReRbC2fny1nyARwhxdm0uNYp/ERy4YvU9iZpNOsueoi/luXw5gnpqRSvjcEPxXbS153O2wA==}
engines: {node: '>=14.16'}
peerDependencies:
@ -11729,7 +11756,7 @@ packages:
semver: 7.6.0
strip-ansi: 6.0.1
tiny-invariant: 1.3.1
typescript: 5.4.3
typescript: 5.4.4
vite: 5.2.8(@types/node@20.12.4)
vscode-languageclient: 7.0.0
vscode-languageserver: 7.0.0
@ -11758,7 +11785,7 @@ packages:
perfect-debounce: 1.0.0
picocolors: 1.0.0
sirv: 2.0.4
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
transitivePeerDependencies:
- rollup
- supports-color
@ -11778,46 +11805,11 @@ packages:
'@vue/compiler-dom': 3.4.21
kolorist: 1.8.0
magic-string: 0.30.9
vite: 5.2.8(@types/node@20.12.3)
vite: 5.2.8(@types/node@20.12.4)
transitivePeerDependencies:
- supports-color
dev: false
/vite@5.2.8(@types/node@20.12.3):
resolution: {integrity: sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@types/node': ^18.0.0 || >=20.0.0
less: '*'
lightningcss: ^1.21.0
sass: '*'
stylus: '*'
sugarss: '*'
terser: ^5.4.0
peerDependenciesMeta:
'@types/node':
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
dependencies:
'@types/node': 20.12.3
esbuild: 0.20.2
postcss: 8.4.38
rollup: 4.14.0
optionalDependencies:
fsevents: 2.3.3
/vite@5.2.8(@types/node@20.12.4):
resolution: {integrity: sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==}
engines: {node: ^18.0.0 || >=20.0.0}
@ -11932,63 +11924,6 @@ packages:
- terser
dev: true
/vitest@1.4.0(@types/node@20.12.3)(happy-dom@14.4.0):
resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || >=20.0.0
'@vitest/browser': 1.4.0
'@vitest/ui': 1.4.0
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
'@types/node':
optional: true
'@vitest/browser':
optional: true
'@vitest/ui':
optional: true
happy-dom:
optional: true
jsdom:
optional: true
dependencies:
'@types/node': 20.12.3
'@vitest/expect': 1.4.0
'@vitest/runner': 1.4.0
'@vitest/snapshot': 1.4.0
'@vitest/spy': 1.4.0
'@vitest/utils': 1.4.0
acorn-walk: 8.3.2
chai: 4.3.10
debug: 4.3.4
execa: 8.0.1
happy-dom: 14.4.0
local-pkg: 0.5.0
magic-string: 0.30.9
pathe: 1.1.2
picocolors: 1.0.0
std-env: 3.7.0
strip-literal: 2.1.0
tinybench: 2.5.1
tinypool: 0.8.2
vite: 5.2.8(@types/node@20.12.3)
vite-node: 1.4.0(@types/node@20.12.3)
why-is-node-running: 2.2.2
transitivePeerDependencies:
- less
- lightningcss
- sass
- stylus
- sugarss
- supports-color
- terser
dev: true
/vitest@1.4.0(@types/node@20.12.4)(happy-dom@14.4.0):
resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==}
engines: {node: ^18.0.0 || >=20.0.0}
@ -12112,7 +12047,7 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
dev: false
/vue-devtools-stub@0.1.0:
@ -12152,7 +12087,7 @@ packages:
'@vue/compiler-sfc': 3.4.21
chalk: 4.1.2
hash-sum: 2.0.0
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
watchpack: 2.4.1
webpack: 5.91.0
@ -12161,7 +12096,7 @@ packages:
peerDependencies:
vue: 3.4.21
dependencies:
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
dev: false
/vue-resize@2.0.0-alpha.1(vue@3.4.21):
@ -12169,7 +12104,7 @@ packages:
peerDependencies:
vue: 3.4.21
dependencies:
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
/vue-router@4.3.0(vue@3.4.21):
resolution: {integrity: sha512-dqUcs8tUeG+ssgWhcPbjHvazML16Oga5w34uCUmsk7i0BcnskoLGwjpa15fqMr2Fa5JgVBrdL2MEgqz6XZ/6IQ==}
@ -12177,7 +12112,7 @@ packages:
vue: 3.4.21
dependencies:
'@vue/devtools-api': 6.5.1
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
/vue-template-compiler@2.7.14:
resolution: {integrity: sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==}
@ -12202,7 +12137,7 @@ packages:
vue: 3.4.21
dependencies:
mitt: 2.1.0
vue: 3.4.21(typescript@5.4.3)
vue: 3.4.21(typescript@5.4.4)
vue-observe-visibility: 2.0.0-alpha.1(vue@3.4.21)
vue-resize: 2.0.0-alpha.1(vue@3.4.21)
dev: false
@ -12222,6 +12157,21 @@ packages:
'@vue/shared': 3.4.21
typescript: 5.4.3
/vue@3.4.21(typescript@5.4.4):
resolution: {integrity: sha512-5hjyV/jLEIKD/jYl4cavMcnzKwjMKohureP8ejn3hhEjwhWIhWeuzL2kJAjzl/WyVsgPY56Sy4Z40C3lVshxXA==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@vue/compiler-dom': 3.4.21
'@vue/compiler-sfc': 3.4.21
'@vue/runtime-dom': 3.4.21
'@vue/server-renderer': 3.4.21(vue@3.4.21)
'@vue/shared': 3.4.21
typescript: 5.4.4
/watchpack@2.4.1:
resolution: {integrity: sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==}
engines: {node: '>=10.13.0'}

View File

@ -72,7 +72,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
const serverDir = join(rootDir, '.output-inline/server')
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"527k"')
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"529k"')
const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"75.6k"')

View File

@ -6,7 +6,7 @@
"skipLibCheck": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "Bundler",
"strict": true,
"noImplicitAny": true,
"allowJs": true,