mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore(deps): update all non-major dependencies (main) (#23904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
e4e3889421
commit
22f8432089
@ -34,7 +34,7 @@
|
|||||||
"@nuxt/webpack-builder": "workspace:*",
|
"@nuxt/webpack-builder": "workspace:*",
|
||||||
"nuxt": "workspace:*",
|
"nuxt": "workspace:*",
|
||||||
"vite": "4.5.0",
|
"vite": "4.5.0",
|
||||||
"vue": "3.3.6",
|
"vue": "3.3.7",
|
||||||
"magic-string": "^0.30.5"
|
"magic-string": "^0.30.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"@nuxt/webpack-builder": "workspace:*",
|
"@nuxt/webpack-builder": "workspace:*",
|
||||||
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
||||||
"@types/fs-extra": "11.0.3",
|
"@types/fs-extra": "11.0.3",
|
||||||
"@types/node": "20.8.7",
|
"@types/node": "20.8.8",
|
||||||
"@types/semver": "7.5.4",
|
"@types/semver": "7.5.4",
|
||||||
"case-police": "0.6.1",
|
"case-police": "0.6.1",
|
||||||
"changelogen": "0.5.5",
|
"changelogen": "0.5.5",
|
||||||
@ -74,7 +74,7 @@
|
|||||||
"vite": "4.5.0",
|
"vite": "4.5.0",
|
||||||
"vitest": "0.33.0",
|
"vitest": "0.33.0",
|
||||||
"vitest-environment-nuxt": "0.11.0",
|
"vitest-environment-nuxt": "0.11.0",
|
||||||
"vue": "3.3.6",
|
"vue": "3.3.7",
|
||||||
"vue-eslint-parser": "9.3.2",
|
"vue-eslint-parser": "9.3.2",
|
||||||
"vue-router": "4.2.5",
|
"vue-router": "4.2.5",
|
||||||
"vue-tsc": "1.8.20"
|
"vue-tsc": "1.8.20"
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"@nuxt/schema": "workspace:*",
|
"@nuxt/schema": "workspace:*",
|
||||||
"c12": "^1.5.1",
|
"c12": "^1.5.1",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"defu": "^6.1.2",
|
"defu": "^6.1.3",
|
||||||
"globby": "^13.2.2",
|
"globby": "^13.2.2",
|
||||||
"hash-sum": "^2.0.0",
|
"hash-sum": "^2.0.0",
|
||||||
"ignore": "^5.2.4",
|
"ignore": "^5.2.4",
|
||||||
|
@ -63,13 +63,13 @@
|
|||||||
"@unhead/dom": "^1.7.4",
|
"@unhead/dom": "^1.7.4",
|
||||||
"@unhead/ssr": "^1.7.4",
|
"@unhead/ssr": "^1.7.4",
|
||||||
"@unhead/vue": "^1.7.4",
|
"@unhead/vue": "^1.7.4",
|
||||||
"@vue/shared": "^3.3.6",
|
"@vue/shared": "^3.3.7",
|
||||||
"acorn": "8.10.0",
|
"acorn": "8.10.0",
|
||||||
"c12": "^1.5.1",
|
"c12": "^1.5.1",
|
||||||
"chokidar": "^3.5.3",
|
"chokidar": "^3.5.3",
|
||||||
"cookie-es": "^1.0.0",
|
"cookie-es": "^1.0.0",
|
||||||
"defu": "^6.1.2",
|
"defu": "^6.1.3",
|
||||||
"destr": "^2.0.1",
|
"destr": "^2.0.2",
|
||||||
"devalue": "^4.3.2",
|
"devalue": "^4.3.2",
|
||||||
"esbuild": "^0.19.5",
|
"esbuild": "^0.19.5",
|
||||||
"escape-string-regexp": "^5.0.0",
|
"escape-string-regexp": "^5.0.0",
|
||||||
@ -104,7 +104,7 @@
|
|||||||
"unplugin": "^1.5.0",
|
"unplugin": "^1.5.0",
|
||||||
"unplugin-vue-router": "^0.7.0",
|
"unplugin-vue-router": "^0.7.0",
|
||||||
"untyped": "^1.4.0",
|
"untyped": "^1.4.0",
|
||||||
"vue": "^3.3.6",
|
"vue": "^3.3.7",
|
||||||
"vue-bundle-renderer": "^2.0.0",
|
"vue-bundle-renderer": "^2.0.0",
|
||||||
"vue-devtools-stub": "^0.1.0",
|
"vue-devtools-stub": "^0.1.0",
|
||||||
"vue-router": "^4.2.5"
|
"vue-router": "^4.2.5"
|
||||||
|
@ -66,11 +66,10 @@ export default defineComponent({
|
|||||||
return _wrapIf(Transition, hasLayout && transitionProps, {
|
return _wrapIf(Transition, hasLayout && transitionProps, {
|
||||||
default: () => h(Suspense, { suspensible: true, onResolve: () => { nextTick(done) } }, {
|
default: () => h(Suspense, { suspensible: true, onResolve: () => { nextTick(done) } }, {
|
||||||
default: () => h(
|
default: () => h(
|
||||||
// @ts-expect-error seems to be an issue in vue types
|
|
||||||
LayoutProvider,
|
LayoutProvider,
|
||||||
{
|
{
|
||||||
layoutProps: mergeProps(context.attrs, { ref: layoutRef }),
|
layoutProps: mergeProps(context.attrs, { ref: layoutRef }),
|
||||||
key: layout.value,
|
key: layout.value || undefined,
|
||||||
name: layout.value,
|
name: layout.value,
|
||||||
shouldProvide: !props.name,
|
shouldProvide: !props.name,
|
||||||
hasTransition: !!transitionProps
|
hasTransition: !!transitionProps
|
||||||
@ -88,7 +87,7 @@ const LayoutProvider = defineComponent({
|
|||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
props: {
|
props: {
|
||||||
name: {
|
name: {
|
||||||
type: [String, Boolean]
|
type: [String, Boolean] as unknown as () => string | false
|
||||||
},
|
},
|
||||||
layoutProps: {
|
layoutProps: {
|
||||||
type: Object
|
type: Object
|
||||||
@ -136,7 +135,6 @@ const LayoutProvider = defineComponent({
|
|||||||
|
|
||||||
if (import.meta.dev && import.meta.client && props.hasTransition) {
|
if (import.meta.dev && import.meta.client && props.hasTransition) {
|
||||||
vnode = h(
|
vnode = h(
|
||||||
// @ts-expect-error seems to be an issue in vue types
|
|
||||||
LayoutLoader,
|
LayoutLoader,
|
||||||
{ key: name, layoutProps: props.layoutProps, name },
|
{ key: name, layoutProps: props.layoutProps, name },
|
||||||
context.slots
|
context.slots
|
||||||
@ -146,7 +144,6 @@ const LayoutProvider = defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return h(
|
return h(
|
||||||
// @ts-expect-error seems to be an issue in vue types
|
|
||||||
LayoutLoader,
|
LayoutLoader,
|
||||||
{ key: name, layoutProps: props.layoutProps, name },
|
{ key: name, layoutProps: props.layoutProps, name },
|
||||||
context.slots
|
context.slots
|
||||||
|
@ -94,12 +94,11 @@ export default defineComponent({
|
|||||||
onPending: () => nuxtApp.callHook('page:start', routeProps.Component),
|
onPending: () => nuxtApp.callHook('page:start', routeProps.Component),
|
||||||
onResolve: () => { nextTick(() => nuxtApp.callHook('page:finish', routeProps.Component).finally(done)) }
|
onResolve: () => { nextTick(() => nuxtApp.callHook('page:finish', routeProps.Component).finally(done)) }
|
||||||
}, {
|
}, {
|
||||||
// @ts-expect-error seems to be an issue in vue types
|
|
||||||
default: () => h(RouteProvider, {
|
default: () => h(RouteProvider, {
|
||||||
key,
|
key: key || undefined,
|
||||||
vnode: routeProps.Component,
|
vnode: routeProps.Component,
|
||||||
route: routeProps.route,
|
route: routeProps.route,
|
||||||
renderKey: key,
|
renderKey: key || undefined,
|
||||||
trackRootNodes: hasTransition,
|
trackRootNodes: hasTransition,
|
||||||
vnodeRef: pageRef
|
vnodeRef: pageRef
|
||||||
})
|
})
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
"@unhead/schema": "1.7.5",
|
"@unhead/schema": "1.7.5",
|
||||||
"@vitejs/plugin-vue": "4.4.0",
|
"@vitejs/plugin-vue": "4.4.0",
|
||||||
"@vitejs/plugin-vue-jsx": "3.0.2",
|
"@vitejs/plugin-vue-jsx": "3.0.2",
|
||||||
"@vue/compiler-core": "3.3.6",
|
"@vue/compiler-core": "3.3.7",
|
||||||
"c12": "1.5.1",
|
"c12": "1.5.1",
|
||||||
"esbuild-loader": "4.0.2",
|
"esbuild-loader": "4.0.2",
|
||||||
"h3": "1.8.2",
|
"h3": "1.8.2",
|
||||||
@ -46,7 +46,7 @@
|
|||||||
"unbuild": "latest",
|
"unbuild": "latest",
|
||||||
"unctx": "2.3.1",
|
"unctx": "2.3.1",
|
||||||
"vite": "4.5.0",
|
"vite": "4.5.0",
|
||||||
"vue": "3.3.6",
|
"vue": "3.3.7",
|
||||||
"vue-bundle-renderer": "2.0.0",
|
"vue-bundle-renderer": "2.0.0",
|
||||||
"vue-loader": "17.3.0",
|
"vue-loader": "17.3.0",
|
||||||
"vue-router": "4.2.5",
|
"vue-router": "4.2.5",
|
||||||
@ -56,7 +56,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/ui-templates": "^1.3.1",
|
"@nuxt/ui-templates": "^1.3.1",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"defu": "^6.1.2",
|
"defu": "^6.1.3",
|
||||||
"hookable": "^5.5.3",
|
"hookable": "^5.5.3",
|
||||||
"pathe": "^1.1.1",
|
"pathe": "^1.1.1",
|
||||||
"pkg-types": "^1.0.3",
|
"pkg-types": "^1.0.3",
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"@nuxt/kit": "workspace:*",
|
"@nuxt/kit": "workspace:*",
|
||||||
"@nuxt/schema": "workspace:*",
|
"@nuxt/schema": "workspace:*",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"defu": "^6.1.2",
|
"defu": "^6.1.3",
|
||||||
"execa": "^8.0.1",
|
"execa": "^8.0.1",
|
||||||
"get-port-please": "^3.1.1",
|
"get-port-please": "^3.1.1",
|
||||||
"ofetch": "^1.3.3",
|
"ofetch": "^1.3.3",
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"@types/estree": "1.0.3",
|
"@types/estree": "1.0.3",
|
||||||
"@types/fs-extra": "11.0.3",
|
"@types/fs-extra": "11.0.3",
|
||||||
"unbuild": "latest",
|
"unbuild": "latest",
|
||||||
"vue": "3.3.6"
|
"vue": "3.3.7"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/kit": "workspace:*",
|
"@nuxt/kit": "workspace:*",
|
||||||
@ -35,7 +35,7 @@
|
|||||||
"clear": "^0.1.0",
|
"clear": "^0.1.0",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
"defu": "^6.1.2",
|
"defu": "^6.1.3",
|
||||||
"esbuild": "^0.19.5",
|
"esbuild": "^0.19.5",
|
||||||
"escape-string-regexp": "^5.0.0",
|
"escape-string-regexp": "^5.0.0",
|
||||||
"estree-walker": "^3.0.3",
|
"estree-walker": "^3.0.3",
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"css-loader": "^6.8.1",
|
"css-loader": "^6.8.1",
|
||||||
"css-minimizer-webpack-plugin": "^5.0.1",
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
"defu": "^6.1.2",
|
"defu": "^6.1.3",
|
||||||
"esbuild-loader": "^4.0.2",
|
"esbuild-loader": "^4.0.2",
|
||||||
"escape-string-regexp": "^5.0.0",
|
"escape-string-regexp": "^5.0.0",
|
||||||
"estree-walker": "^3.0.3",
|
"estree-walker": "^3.0.3",
|
||||||
@ -72,7 +72,7 @@
|
|||||||
"@types/webpack-hot-middleware": "2.25.8",
|
"@types/webpack-hot-middleware": "2.25.8",
|
||||||
"@types/webpack-virtual-modules": "0.1.3",
|
"@types/webpack-virtual-modules": "0.1.3",
|
||||||
"unbuild": "latest",
|
"unbuild": "latest",
|
||||||
"vue": "3.3.6"
|
"vue": "3.3.7"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.3.4"
|
"vue": "^3.3.4"
|
||||||
|
498
pnpm-lock.yaml
498
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
|||||||
for (const outputDir of ['.output', '.output-inline']) {
|
for (const outputDir of ['.output', '.output-inline']) {
|
||||||
it('default client bundle size', async () => {
|
it('default client bundle size', async () => {
|
||||||
const clientStats = await analyzeSizes('**/*.js', join(rootDir, outputDir, 'public'))
|
const clientStats = await analyzeSizes('**/*.js', join(rootDir, outputDir, 'public'))
|
||||||
expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"99.2k"')
|
expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"100.0k"')
|
||||||
expect(clientStats.files.map(f => f.replace(/\..*\.js/, '.js'))).toMatchInlineSnapshot(`
|
expect(clientStats.files.map(f => f.replace(/\..*\.js/, '.js'))).toMatchInlineSnapshot(`
|
||||||
[
|
[
|
||||||
"_nuxt/entry.js",
|
"_nuxt/entry.js",
|
||||||
@ -32,10 +32,10 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
|||||||
const serverDir = join(rootDir, '.output/server')
|
const serverDir = join(rootDir, '.output/server')
|
||||||
|
|
||||||
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
||||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"197k"')
|
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"198k"')
|
||||||
|
|
||||||
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
||||||
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1830k"')
|
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1835k"')
|
||||||
|
|
||||||
const packages = modules.files
|
const packages = modules.files
|
||||||
.filter(m => m.endsWith('package.json'))
|
.filter(m => m.endsWith('package.json'))
|
||||||
@ -71,7 +71,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
|||||||
const serverDir = join(rootDir, '.output-inline/server')
|
const serverDir = join(rootDir, '.output-inline/server')
|
||||||
|
|
||||||
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
||||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"505k"')
|
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"507k"')
|
||||||
|
|
||||||
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
||||||
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"71.4k"')
|
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"71.4k"')
|
||||||
|
Loading…
Reference in New Issue
Block a user