diff --git a/package.json b/package.json index 18819a70de..1d226313da 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "globby": "13.2.2", "h3": "1.8.2", "happy-dom": "12.10.3", - "jiti": "1.20.0", + "jiti": "1.21.0", "markdownlint-cli": "0.37.0", "nitropack": "2.7.2", "nuxi": "3.9.1", diff --git a/packages/kit/package.json b/packages/kit/package.json index dd7df20e34..4af8fced06 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -28,7 +28,7 @@ "globby": "^13.2.2", "hash-sum": "^2.0.0", "ignore": "^5.2.4", - "jiti": "^1.20.0", + "jiti": "^1.21.0", "knitwork": "^1.0.0", "mlly": "^1.4.2", "pathe": "^1.1.1", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index afaabe86b1..bbf6f38a5f 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -60,9 +60,9 @@ "@nuxt/telemetry": "^2.5.2", "@nuxt/ui-templates": "^1.3.1", "@nuxt/vite-builder": "workspace:*", - "@unhead/dom": "^1.8.0", - "@unhead/ssr": "^1.8.0", - "@unhead/vue": "^1.8.0", + "@unhead/dom": "^1.8.1", + "@unhead/ssr": "^1.8.1", + "@unhead/vue": "^1.8.1", "@vue/shared": "^3.3.7", "acorn": "8.11.2", "c12": "^1.5.1", @@ -78,7 +78,7 @@ "globby": "^13.2.2", "h3": "^1.8.2", "hookable": "^5.5.3", - "jiti": "^1.20.0", + "jiti": "^1.21.0", "klona": "^2.0.6", "knitwork": "^1.0.0", "magic-string": "^0.30.5", diff --git a/packages/schema/package.json b/packages/schema/package.json index 905c594044..56d5fa727b 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -33,7 +33,7 @@ "@types/file-loader": "5.0.3", "@types/pug": "2.0.8", "@types/sass-loader": "8.0.7", - "@unhead/schema": "1.8.0", + "@unhead/schema": "1.8.1", "@vitejs/plugin-vue": "4.4.0", "@vitejs/plugin-vue-jsx": "3.0.2", "@vue/compiler-core": "3.3.7", diff --git a/packages/vite/package.json b/packages/vite/package.json index 807b0bb62e..797308d944 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@nuxt/kit": "workspace:*", - "@rollup/plugin-replace": "^5.0.4", + "@rollup/plugin-replace": "^5.0.5", "@vitejs/plugin-vue": "^4.4.0", "@vitejs/plugin-vue-jsx": "^3.0.2", "autoprefixer": "^10.4.16", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index d774cfbdec..0737cd4f55 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -31,7 +31,7 @@ "escape-string-regexp": "^5.0.0", "estree-walker": "^3.0.3", "file-loader": "^6.2.0", - "fork-ts-checker-webpack-plugin": "^9.0.0", + "fork-ts-checker-webpack-plugin": "^9.0.2", "fs-extra": "^11.1.1", "h3": "^1.8.2", "hash-sum": "^2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3bd16c4697..3fae8e4168 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -77,8 +77,8 @@ importers: specifier: 12.10.3 version: 12.10.3 jiti: - specifier: 1.20.0 - version: 1.20.0 + specifier: 1.21.0 + version: 1.21.0 markdownlint-cli: specifier: 0.37.0 version: 0.37.0 @@ -164,8 +164,8 @@ importers: specifier: ^5.2.4 version: 5.2.4 jiti: - specifier: ^1.20.0 - version: 1.20.0 + specifier: ^1.21.0 + version: 1.21.0 knitwork: specifier: ^1.0.0 version: 1.0.0 @@ -252,14 +252,14 @@ importers: specifier: ^14.18.0 || >=16.10.0 version: 20.8.9 '@unhead/dom': - specifier: ^1.8.0 - version: 1.8.0 + specifier: ^1.8.1 + version: 1.8.1 '@unhead/ssr': - specifier: ^1.8.0 - version: 1.8.0 + specifier: ^1.8.1 + version: 1.8.1 '@unhead/vue': - specifier: ^1.8.0 - version: 1.8.0(vue@3.3.7) + specifier: ^1.8.1 + version: 1.8.1(vue@3.3.7) '@vue/shared': specifier: ^3.3.7 version: 3.3.7 @@ -306,8 +306,8 @@ importers: specifier: ^5.5.3 version: 5.5.3 jiti: - specifier: ^1.20.0 - version: 1.20.0 + specifier: ^1.21.0 + version: 1.21.0 klona: specifier: ^2.0.6 version: 2.0.6 @@ -464,8 +464,8 @@ importers: specifier: 8.0.7 version: 8.0.7 '@unhead/schema': - specifier: 1.8.0 - version: 1.8.0 + specifier: 1.8.1 + version: 1.8.1 '@vitejs/plugin-vue': specifier: 4.4.0 version: 4.4.0(vite@4.5.0)(vue@3.3.7) @@ -573,8 +573,8 @@ importers: specifier: workspace:* version: link:../kit '@rollup/plugin-replace': - specifier: ^5.0.4 - version: 5.0.4(rollup@3.29.4) + specifier: ^5.0.5 + version: 5.0.5(rollup@3.29.4) '@vitejs/plugin-vue': specifier: ^4.4.0 version: 4.4.0(vite@4.5.0)(vue@3.3.7) @@ -724,8 +724,8 @@ importers: specifier: ^6.2.0 version: 6.2.0(webpack@5.89.0) fork-ts-checker-webpack-plugin: - specifier: ^9.0.0 - version: 9.0.0(typescript@5.2.2)(webpack@5.89.0) + specifier: ^9.0.2 + version: 9.0.2(typescript@5.2.2)(webpack@5.89.0) fs-extra: specifier: ^11.1.1 version: 11.1.1 @@ -2175,7 +2175,7 @@ packages: dotenv: 16.3.1 git-url-parse: 13.1.0 is-docker: 3.0.0 - jiti: 1.20.0 + jiti: 1.21.0 mri: 1.2.0 nanoid: 4.0.2 ofetch: 1.3.3 @@ -2440,8 +2440,8 @@ packages: resolve: 1.22.8 rollup: 3.29.4 - /@rollup/plugin-replace@5.0.4(rollup@3.29.4): - resolution: {integrity: sha512-E2hmRnlh09K8HGT0rOnnri9OTh+BILGr7NVJGB30S4E3cLRn3J0xjdiyOZ74adPs4NiAMgrjUMGAZNJDBgsdmQ==} + /@rollup/plugin-replace@5.0.5(rollup@3.29.4): + resolution: {integrity: sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ==} engines: {node: '>=14.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 @@ -2685,10 +2685,6 @@ packages: resolution: {integrity: sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==} dev: true - /@types/parse-json@4.0.1: - resolution: {integrity: sha512-3YmXzzPAdOTVljVMkTMBdBEvlOLg2cDQaDhnnhT3nT9uDbnJzjWhKlzb+desT12Y7tGqaN6d+AbozcKzyL36Ng==} - dev: false - /@types/pify@5.0.3: resolution: {integrity: sha512-pfi5GX+1QTZV25QNMUZKf21I0j/6n7YDpzNz1aEh9z4N3jmED81Mhx9+zHrngYPHkad8JOeeFKYj8FjHv9V71A==} dev: true @@ -2924,41 +2920,41 @@ packages: /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - /@unhead/dom@1.8.0: - resolution: {integrity: sha512-6L/KS/R8GdnsAA/bS8qTc4AML6zp+v+L9cDtS1CBb8ra5ZjEkOpqFFqSbdvrlkQZqB0t7LPQxNAXl9HIAudUnA==} + /@unhead/dom@1.8.1: + resolution: {integrity: sha512-cBGCXSeJVizG95dTudB069N0DMzWCHznbjYAJUv6sh0fwPUXUfKSHgf3h+Av3rkKeWEYguULN+bpnPOIfs7fJQ==} dependencies: - '@unhead/schema': 1.8.0 - '@unhead/shared': 1.8.0 + '@unhead/schema': 1.8.1 + '@unhead/shared': 1.8.1 dev: false - /@unhead/schema@1.8.0: - resolution: {integrity: sha512-4xI8wgC2bobvuhNG/MbZcFdmS/Xx0JgPc2xgSimvrvSeZUZzFvsXvzerMT9R4XXuSaQt2g8DwjJrF3dh7suGNA==} + /@unhead/schema@1.8.1: + resolution: {integrity: sha512-mR9i4BANtAug7gZEuyPkGYtVv2CF0wv8bqbPrt3OVSmpW0ts6bin1+ILM7HVKDpAOC7O1l4iyRrHOPocNPeVKQ==} dependencies: hookable: 5.5.3 zhead: 2.2.4 - /@unhead/shared@1.8.0: - resolution: {integrity: sha512-BoOgy/B4tgFvX3Obw0QzHhlReodenQxRPs5V5E+UJATUmz9/A8cOu4n731u+EM50dCAbJB1xEz8BGF67XCUY+Q==} + /@unhead/shared@1.8.1: + resolution: {integrity: sha512-sFPx36i+InwneUJggwgobvta5KpE/Aj8SIOwHVMXZyj2w/TJshVpR+APFNKn3VMVlliZgl8UPLOROBDxAMXRDQ==} dependencies: - '@unhead/schema': 1.8.0 + '@unhead/schema': 1.8.1 dev: false - /@unhead/ssr@1.8.0: - resolution: {integrity: sha512-uuDKVbto5gqBZiPgbbQgK9EHxFsZJp1dD8AmVUbSmezDM1FnMkVS5oH9UfMmJ1RtYnPTqkOcoKmRXZmqEyrv9g==} + /@unhead/ssr@1.8.1: + resolution: {integrity: sha512-SRP+eEQMw+eAGxyTpXDwWDEATY1N8YIpcZwYLJ8dqUaiEYUZTuigCvWv38MAJbT6Os9XSYioWuEwB95HAJwfKg==} dependencies: - '@unhead/schema': 1.8.0 - '@unhead/shared': 1.8.0 + '@unhead/schema': 1.8.1 + '@unhead/shared': 1.8.1 dev: false - /@unhead/vue@1.8.0(vue@3.3.7): - resolution: {integrity: sha512-gpKVw3qHpTfOFVujlPalXdDrK6abGwwAs7VNkwZ2BjwK5RvPA7mujG6Nw5XkTh0bxY3U0yOknEZ7TWO8ep0pZQ==} + /@unhead/vue@1.8.1(vue@3.3.7): + resolution: {integrity: sha512-qLxrbbr4+AJjlRsayPnIoaMN6p+qndmGNLLslrcfxq0w3qCUSfVbPA/02AD1vpEUlxXy4hHFnnhQzi0b7gEufg==} peerDependencies: vue: 3.3.7 dependencies: - '@unhead/schema': 1.8.0 - '@unhead/shared': 1.8.0 + '@unhead/schema': 1.8.1 + '@unhead/shared': 1.8.1 hookable: 5.5.3 - unhead: 1.8.0 + unhead: 1.8.1 vue: 3.3.7(typescript@5.2.2) dev: false @@ -3814,7 +3810,7 @@ packages: defu: 6.1.3 dotenv: 16.3.1 giget: 1.1.3 - jiti: 1.20.0 + jiti: 1.21.0 mlly: 1.4.2 ohash: 1.1.3 pathe: 1.1.1 @@ -4146,17 +4142,6 @@ packages: /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - /cosmiconfig@7.1.0: - resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} - engines: {node: '>=10'} - dependencies: - '@types/parse-json': 4.0.1 - import-fresh: 3.3.0 - parse-json: 5.2.0 - path-type: 4.0.0 - yaml: 1.10.2 - dev: false - /cosmiconfig@8.3.6(typescript@5.2.2): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} @@ -5396,8 +5381,8 @@ packages: cross-spawn: 7.0.3 signal-exit: 4.1.0 - /fork-ts-checker-webpack-plugin@9.0.0(typescript@5.2.2)(webpack@5.89.0): - resolution: {integrity: sha512-Kw3JjsfGs0piB0V2Em8gCuo51O3p4KyCOK0Tn8X57oq2mSNBrMmONALRBw5frcmWsOVU7iELXXsJ+FVxJeQuhA==} + /fork-ts-checker-webpack-plugin@9.0.2(typescript@5.2.2)(webpack@5.89.0): + resolution: {integrity: sha512-Uochze2R8peoN1XqlSi/rGUkDQpRogtLFocP9+PGu68zk1BDAKXfdeCdyVZpgTk8V8WFVQXdEz426VKjXLO1Gg==} engines: {node: '>=12.13.0', yarn: '>=1.0.0'} peerDependencies: typescript: '>3.6.0' @@ -5406,7 +5391,7 @@ packages: '@babel/code-frame': 7.22.13 chalk: 4.1.2 chokidar: 3.5.3 - cosmiconfig: 7.1.0 + cosmiconfig: 8.3.6(typescript@5.2.2) deepmerge: 4.3.1 fs-extra: 10.1.0 memfs: 3.5.3 @@ -6376,8 +6361,8 @@ packages: merge-stream: 2.0.0 supports-color: 8.1.1 - /jiti@1.20.0: - resolution: {integrity: sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==} + /jiti@1.21.0: + resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} hasBin: true /js-beautify@1.14.9: @@ -6560,7 +6545,7 @@ packages: get-port-please: 3.1.1 h3: 1.8.2 http-shutdown: 1.2.2 - jiti: 1.20.0 + jiti: 1.21.0 mlly: 1.4.2 node-forge: 1.3.1 pathe: 1.1.1 @@ -7040,7 +7025,7 @@ packages: esbuild: 0.18.20 fs-extra: 11.1.1 globby: 13.2.2 - jiti: 1.20.0 + jiti: 1.21.0 mlly: 1.4.2 mri: 1.2.0 pathe: 1.1.1 @@ -7113,7 +7098,7 @@ packages: '@rollup/plugin-inject': 5.0.5(rollup@3.29.4) '@rollup/plugin-json': 6.0.1(rollup@3.29.4) '@rollup/plugin-node-resolve': 15.2.3(rollup@3.29.4) - '@rollup/plugin-replace': 5.0.4(rollup@3.29.4) + '@rollup/plugin-replace': 5.0.5(rollup@3.29.4) '@rollup/plugin-terser': 0.4.4(rollup@3.29.4) '@rollup/plugin-wasm': 6.2.2(rollup@3.29.4) '@rollup/pluginutils': 5.0.5(rollup@3.29.4) @@ -7139,7 +7124,7 @@ packages: hookable: 5.5.3 httpxy: 0.1.5 is-primitive: 3.0.1 - jiti: 1.20.0 + jiti: 1.21.0 klona: 2.0.6 knitwork: 1.0.0 listhen: 1.5.5 @@ -7837,7 +7822,7 @@ packages: webpack: ^5.0.0 dependencies: cosmiconfig: 8.3.6(typescript@5.2.2) - jiti: 1.20.0 + jiti: 1.21.0 postcss: 8.4.31 semver: 7.5.4 webpack: 5.89.0 @@ -9317,7 +9302,7 @@ packages: '@rollup/plugin-commonjs': 25.0.7(rollup@3.29.4) '@rollup/plugin-json': 6.0.1(rollup@3.29.4) '@rollup/plugin-node-resolve': 15.2.3(rollup@3.29.4) - '@rollup/plugin-replace': 5.0.4(rollup@3.29.4) + '@rollup/plugin-replace': 5.0.5(rollup@3.29.4) '@rollup/pluginutils': 5.0.5(rollup@3.29.4) chalk: 5.3.0 citty: 0.1.4 @@ -9326,7 +9311,7 @@ packages: esbuild: 0.19.5 globby: 13.2.2 hookable: 5.5.3 - jiti: 1.20.0 + jiti: 1.21.0 magic-string: 0.30.5 mkdist: 1.3.0(typescript@5.2.2) mlly: 1.4.2 @@ -9372,12 +9357,12 @@ packages: node-fetch-native: 1.4.1 pathe: 1.1.1 - /unhead@1.8.0: - resolution: {integrity: sha512-k/o6SonFWrzgyVW1BmFKeYbkCKLrA2z6YKf/+28YoEDoN53pguMgLH9qWBla/GNkNXXWPGAt0Ax8S1/VJaX+3g==} + /unhead@1.8.1: + resolution: {integrity: sha512-hidjRl/irt/kvbJmyA+oED8xh+VnlQqfye3oxoZEuGr+JEKnU7keWNyiQxkSWpo9z5rwg52CKgCmY7oMuPMtmw==} dependencies: - '@unhead/dom': 1.8.0 - '@unhead/schema': 1.8.0 - '@unhead/shared': 1.8.0 + '@unhead/dom': 1.8.1 + '@unhead/schema': 1.8.1 + '@unhead/shared': 1.8.1 hookable: 5.5.3 dev: false @@ -9523,7 +9508,7 @@ packages: '@babel/standalone': 7.23.2 '@babel/types': 7.23.0 defu: 6.1.3 - jiti: 1.20.0 + jiti: 1.21.0 mri: 1.2.0 scule: 1.0.0 transitivePeerDependencies: @@ -10274,11 +10259,6 @@ packages: /yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - /yaml@1.10.2: - resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} - engines: {node: '>= 6'} - dev: false - /yaml@2.3.3: resolution: {integrity: sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==} engines: {node: '>= 14'} diff --git a/test/bundle.test.ts b/test/bundle.test.ts index f09a720f69..56c64cb059 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -74,7 +74,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"507k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"76.5k"') + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"76.4k"') const packages = modules.files .filter(m => m.endsWith('package.json'))