mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
chore(deps): update all non-major dependencies (main) (#11127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Pooya Parsa <pooya@pi0.io>
This commit is contained in:
parent
2ba89ed44d
commit
7c1712013c
14
package.json
14
package.json
@ -50,13 +50,13 @@
|
||||
"@types/crawler": "^1.2.2",
|
||||
"@types/node": "^18.11.18",
|
||||
"@types/rimraf": "^3",
|
||||
"@types/semver": "^7",
|
||||
"@types/semver": "^7.3.13",
|
||||
"@unocss/reset": "^0.48.4",
|
||||
"case-police": "^0.5.10",
|
||||
"changelogen": "^0.4.0",
|
||||
"changelogen": "^0.4.1",
|
||||
"crawler": "^1.4.0",
|
||||
"eslint": "^8.31.0",
|
||||
"eslint-plugin-jsdoc": "^39.6.4",
|
||||
"eslint": "^8.32.0",
|
||||
"eslint-plugin-jsdoc": "^39.6.7",
|
||||
"execa": "^6.1.0",
|
||||
"expect-type": "^0.15.0",
|
||||
"globby": "^13.1.3",
|
||||
@ -66,17 +66,17 @@
|
||||
"nuxt": "workspace:*",
|
||||
"ofetch": "^1.0.0",
|
||||
"pathe": "^1.0.0",
|
||||
"rimraf": "^4.0.4",
|
||||
"rimraf": "^4.1.1",
|
||||
"semver": "^7.3.8",
|
||||
"std-env": "^3.3.1",
|
||||
"typescript": "^4.9.4",
|
||||
"ufo": "^1.0.1",
|
||||
"unbuild": "^1.1.1",
|
||||
"vite": "^4.0.4",
|
||||
"vitest": "^0.27.1",
|
||||
"vitest": "^0.27.2",
|
||||
"vue-tsc": "^1.0.24"
|
||||
},
|
||||
"packageManager": "pnpm@7.25.0",
|
||||
"packageManager": "pnpm@7.25.1",
|
||||
"engines": {
|
||||
"node": "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
||||
}
|
||||
|
@ -29,12 +29,12 @@
|
||||
"scule": "^1.0.0",
|
||||
"semver": "^7.3.8",
|
||||
"unctx": "^2.1.1",
|
||||
"unimport": "^1.2.0",
|
||||
"unimport": "^1.3.0",
|
||||
"untyped": "^1.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash.template": "^4",
|
||||
"@types/semver": "^7",
|
||||
"@types/semver": "^7.3.13",
|
||||
"unbuild": "latest"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -23,7 +23,7 @@
|
||||
"@types/clear": "^0",
|
||||
"@types/flat": "^5.0.2",
|
||||
"@types/mri": "^1.1.1",
|
||||
"@types/semver": "^7",
|
||||
"@types/semver": "^7.3.13",
|
||||
"c12": "^1.1.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"clear": "^0.1.0",
|
||||
|
@ -39,20 +39,20 @@
|
||||
"@nuxt/devalue": "^2.0.0",
|
||||
"@nuxt/kit": "3.0.0",
|
||||
"@nuxt/schema": "3.0.0",
|
||||
"@nuxt/telemetry": "^2.1.8",
|
||||
"@nuxt/telemetry": "^2.1.9",
|
||||
"@nuxt/ui-templates": "^1.1.0",
|
||||
"@nuxt/vite-builder": "3.0.0",
|
||||
"@vue/reactivity": "^3.2.45",
|
||||
"@vue/shared": "^3.2.45",
|
||||
"@vueuse/head": "^1.0.22",
|
||||
"unhead": "^1.0.15",
|
||||
"@unhead/ssr": "^1.0.15",
|
||||
"unhead": "^1.0.17",
|
||||
"@unhead/ssr": "^1.0.17",
|
||||
"chokidar": "^3.5.3",
|
||||
"cookie-es": "^0.5.0",
|
||||
"defu": "^6.1.1",
|
||||
"destr": "^1.2.2",
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"estree-walker": "^3.0.2",
|
||||
"estree-walker": "^3.0.3",
|
||||
"fs-extra": "^11.1.0",
|
||||
"globby": "^13.1.3",
|
||||
"h3": "^1.0.2",
|
||||
@ -61,7 +61,7 @@
|
||||
"knitwork": "^1.0.0",
|
||||
"magic-string": "^0.27.0",
|
||||
"mlly": "^1.1.0",
|
||||
"nitropack": "npm:nitropack-edge@2.0.0-27894171.0638f64",
|
||||
"nitropack": "^2.0.0-rc.0",
|
||||
"nuxi": "3.0.0",
|
||||
"ohash": "^1.0.0",
|
||||
"ofetch": "^1.0.0",
|
||||
@ -73,7 +73,7 @@
|
||||
"ultrahtml": "^1.2.0",
|
||||
"unctx": "^2.1.1",
|
||||
"unenv": "^1.0.1",
|
||||
"unimport": "^1.2.0",
|
||||
"unimport": "^1.3.0",
|
||||
"unplugin": "^1.0.1",
|
||||
"untyped": "^1.2.2",
|
||||
"vue": "^3.2.45",
|
||||
|
@ -4,6 +4,7 @@ import { parseQuery, parseURL, stringifyQuery } from 'ufo'
|
||||
import type { StaticImport } from 'mlly'
|
||||
import { findStaticImports, findExports, parseStaticImport } from 'mlly'
|
||||
import type { CallExpression, Identifier, Expression } from 'estree'
|
||||
import type { Node } from 'estree-walker'
|
||||
import { walk } from 'estree-walker'
|
||||
import MagicString from 'magic-string'
|
||||
import { isAbsolute, normalize } from 'pathe'
|
||||
@ -71,7 +72,7 @@ export const PageMetaPlugin = createUnplugin((options: PageMetaPluginOptions) =>
|
||||
walk(this.parse(code, {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 'latest'
|
||||
}), {
|
||||
}) as Node, {
|
||||
enter (_node) {
|
||||
if (_node.type !== 'CallExpression' || (_node as CallExpression).callee.type !== 'Identifier') { return }
|
||||
const node = _node as CallExpression & { start: number, end: number }
|
||||
@ -128,7 +129,7 @@ export const PageMetaPlugin = createUnplugin((options: PageMetaPluginOptions) =>
|
||||
walk(this.parse(code, {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 'latest'
|
||||
}), {
|
||||
}) as Node, {
|
||||
enter (_node) {
|
||||
if (_node.type !== 'CallExpression' || (_node as CallExpression).callee.type !== 'Identifier') { return }
|
||||
const node = _node as CallExpression & { start: number, end: number }
|
||||
|
@ -15,10 +15,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash.template": "^4",
|
||||
"@types/semver": "^7",
|
||||
"@unhead/schema": "^1.0.15",
|
||||
"@types/semver": "^7.3.13",
|
||||
"@unhead/schema": "^1.0.17",
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"nitropack": "npm:nitropack-edge@2.0.0-27894171.0638f64",
|
||||
"nitropack": "^2.0.0-rc.0",
|
||||
"unbuild": "latest",
|
||||
"vite": "~4.0.4"
|
||||
},
|
||||
@ -34,7 +34,7 @@
|
||||
"scule": "^1.0.0",
|
||||
"std-env": "^3.3.1",
|
||||
"ufo": "^1.0.1",
|
||||
"unimport": "^1.2.0",
|
||||
"unimport": "^1.3.0",
|
||||
"untyped": "^1.2.2"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -26,7 +26,7 @@
|
||||
"devDependencies": {
|
||||
"playwright": "^1.29.2",
|
||||
"unbuild": "latest",
|
||||
"vitest": "^0.27.1"
|
||||
"vitest": "^0.27.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.2.45"
|
||||
|
@ -14,7 +14,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/schema": "3.0.0",
|
||||
"@types/cssnano": "^5",
|
||||
"@types/cssnano": "^5.1.0",
|
||||
"unbuild": "latest",
|
||||
"vue": "3.2.45"
|
||||
},
|
||||
@ -27,9 +27,9 @@
|
||||
"chokidar": "^3.5.3",
|
||||
"cssnano": "^5.1.14",
|
||||
"defu": "^6.1.1",
|
||||
"esbuild": "^0.16.17",
|
||||
"esbuild": "^0.17.3",
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"estree-walker": "^3.0.2",
|
||||
"estree-walker": "^3.0.3",
|
||||
"externality": "^1.0.0",
|
||||
"fs-extra": "^11.1.0",
|
||||
"get-port-please": "^3.0.1",
|
||||
@ -44,13 +44,13 @@
|
||||
"postcss": "^8.4.21",
|
||||
"postcss-import": "^15.1.0",
|
||||
"postcss-url": "^10.1.3",
|
||||
"rollup": "^3.10.0",
|
||||
"rollup": "^3.10.1",
|
||||
"rollup-plugin-visualizer": "^5.9.0",
|
||||
"ufo": "^1.0.1",
|
||||
"unplugin": "^1.0.1",
|
||||
"vite": "~4.0.4",
|
||||
"vite-node": "^0.27.1",
|
||||
"vite-plugin-checker": "^0.5.3",
|
||||
"vite-node": "^0.27.2",
|
||||
"vite-plugin-checker": "^0.5.4",
|
||||
"vue-bundle-renderer": "^1.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { pathToFileURL } from 'node:url'
|
||||
import { createUnplugin } from 'unplugin'
|
||||
import { isAbsolute, relative } from 'pathe'
|
||||
import type { Node } from 'estree-walker'
|
||||
import { walk } from 'estree-walker'
|
||||
import MagicString from 'magic-string'
|
||||
import { hash } from 'ohash'
|
||||
@ -36,7 +37,7 @@ export const composableKeysPlugin = createUnplugin((options: ComposableKeysOptio
|
||||
walk(this.parse(script, {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 'latest'
|
||||
}), {
|
||||
}) as Node, {
|
||||
enter (_node) {
|
||||
if (_node.type !== 'CallExpression' || (_node as CallExpression).callee.type !== 'Identifier') { return }
|
||||
const node: CallExpression = _node as CallExpression
|
||||
|
@ -25,7 +25,7 @@
|
||||
"cssnano": "^5.1.14",
|
||||
"esbuild-loader": "^2.21.0",
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"estree-walker": "^3.0.2",
|
||||
"estree-walker": "^3.0.3",
|
||||
"file-loader": "^6.2.0",
|
||||
"fork-ts-checker-webpack-plugin": "^7.3.0",
|
||||
"fs-extra": "^11.1.0",
|
||||
@ -61,7 +61,7 @@
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/pify": "^5.0.1",
|
||||
"@types/webpack-bundle-analyzer": "^4.6.0",
|
||||
"@types/webpack-dev-middleware": "^5.0.2",
|
||||
"@types/webpack-dev-middleware": "^5.3.0",
|
||||
"@types/webpack-hot-middleware": "^2.25.6",
|
||||
"@types/webpack-virtual-modules": "^0",
|
||||
"unbuild": "latest",
|
||||
|
1341
pnpm-lock.yaml
1341
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -93,8 +93,13 @@ async function analyzeSizes (pattern: string | string[], rootDir: string) {
|
||||
const files: string[] = await globby(pattern, { cwd: rootDir })
|
||||
let totalBytes = 0
|
||||
for (const file of files) {
|
||||
const bytes = Buffer.byteLength(await fsp.readFile(join(rootDir, file)))
|
||||
totalBytes += bytes
|
||||
const path = join(rootDir, file)
|
||||
const isSymlink = (await fsp.lstat(path).catch(() => null))?.isSymbolicLink()
|
||||
|
||||
if (!isSymlink) {
|
||||
const bytes = Buffer.byteLength(await fsp.readFile(path))
|
||||
totalBytes += bytes
|
||||
}
|
||||
}
|
||||
return { files, totalBytes }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user