diff --git a/package.json b/package.json index 4813017f61..02b77282ff 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "nuxt": "workspace:*", "nuxt3": "workspace:nuxt@*", "unbuild": "^1.1.2", - "vite": "^4.1.3", + "vite": "^4.1.4", "vue": "3.2.47", "magic-string": "^0.29.0" }, @@ -73,9 +73,9 @@ "typescript": "^4.9.5", "ufo": "^1.1.0", "unbuild": "^1.1.2", - "vite": "^4.1.3", + "vite": "^4.1.4", "vitest": "^0.28.5", - "vue-tsc": "^1.1.5" + "vue-tsc": "^1.1.7" }, "packageManager": "pnpm@7.27.1", "engines": { diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 47557ab40d..ac6f166da7 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -66,7 +66,7 @@ "knitwork": "^1.0.0", "magic-string": "^0.29.0", "mlly": "^1.1.1", - "nitropack": "^2.2.2", + "nitropack": "^2.2.3", "nuxi": "3.2.2", "ofetch": "^1.0.1", "ohash": "^1.0.0", @@ -76,7 +76,7 @@ "strip-literal": "^1.0.1", "ufo": "^1.1.0", "unctx": "^2.1.2", - "unenv": "^1.2.0", + "unenv": "^1.2.1", "unhead": "^1.0.22", "unimport": "^2.2.4", "unplugin": "^1.1.0", diff --git a/packages/schema/package.json b/packages/schema/package.json index 7f35f6cbe5..2681296b56 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -19,9 +19,9 @@ "@unhead/schema": "^1.0.22", "@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue-jsx": "^3.0.0", - "nitropack": "^2.2.2", + "nitropack": "^2.2.3", "unbuild": "latest", - "vite": "~4.1.3" + "vite": "~4.1.4" }, "dependencies": { "c12": "^1.1.2", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 803b12137d..9b75d67d99 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -24,7 +24,7 @@ "pathe": "^1.1.0" }, "devDependencies": { - "playwright": "^1.30.0", + "playwright": "^1.31.0", "unbuild": "latest", "vitest": "^0.28.5" }, diff --git a/packages/vite/package.json b/packages/vite/package.json index 7b8447f792..1cfb375c39 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -49,7 +49,7 @@ "strip-literal": "^1.0.1", "ufo": "^1.1.0", "unplugin": "^1.1.0", - "vite": "~4.1.3", + "vite": "~4.1.4", "vite-node": "^0.28.5", "vite-plugin-checker": "^0.5.6", "vue-bundle-renderer": "^1.0.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d11e965bce..edf4a529d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ overrides: nuxt: workspace:* nuxt3: workspace:nuxt@* unbuild: ^1.1.2 - vite: ^4.1.3 + vite: ^4.1.4 vue: 3.2.47 magic-string: ^0.29.0 @@ -50,9 +50,9 @@ importers: typescript: ^4.9.5 ufo: ^1.1.0 unbuild: ^1.1.2 - vite: ^4.1.3 + vite: ^4.1.4 vitest: ^0.28.5 - vue-tsc: ^1.1.5 + vue-tsc: ^1.1.7 devDependencies: '@actions/core': 1.10.0 '@nuxt/kit': link:packages/kit @@ -86,9 +86,9 @@ importers: typescript: 4.9.5 ufo: 1.1.0 unbuild: 1.1.2 - vite: 4.1.3_@types+node@18.14.0 + vite: 4.1.4_@types+node@18.14.0 vitest: 0.28.5 - vue-tsc: 1.1.5_typescript@4.9.5 + vue-tsc: 1.1.7_typescript@4.9.5 examples/advanced/config-extends: specifiers: @@ -437,7 +437,7 @@ importers: knitwork: ^1.0.0 magic-string: ^0.29.0 mlly: ^1.1.1 - nitropack: ^2.2.2 + nitropack: ^2.2.3 nuxi: workspace:* ofetch: ^1.0.1 ohash: ^1.0.0 @@ -448,7 +448,7 @@ importers: ufo: ^1.1.0 unbuild: ^1.1.2 unctx: ^2.1.2 - unenv: ^1.2.0 + unenv: ^1.2.1 unhead: ^1.0.22 unimport: ^2.2.4 unplugin: ^1.1.0 @@ -483,7 +483,7 @@ importers: knitwork: 1.0.0 magic-string: 0.29.0 mlly: 1.1.1 - nitropack: 2.2.2 + nitropack: 2.2.3 nuxi: link:../nuxi ofetch: 1.0.1 ohash: 1.0.0 @@ -493,7 +493,7 @@ importers: strip-literal: 1.0.1 ufo: 1.1.0 unctx: 2.1.2 - unenv: 1.2.0 + unenv: 1.2.1 unhead: 1.0.22 unimport: 2.2.4 unplugin: 1.1.0 @@ -519,7 +519,7 @@ importers: defu: ^6.1.2 hookable: ^5.4.2 jiti: ^1.17.1 - nitropack: ^2.2.2 + nitropack: ^2.2.3 pathe: ^1.1.0 pkg-types: ^1.0.2 postcss-import-resolver: ^2.0.0 @@ -529,7 +529,7 @@ importers: unbuild: ^1.1.2 unimport: ^2.2.4 untyped: ^1.2.2 - vite: ^4.1.3 + vite: ^4.1.4 dependencies: c12: 1.1.2 create-require: 1.1.1 @@ -548,11 +548,11 @@ importers: '@types/lodash.template': 4.5.1 '@types/semver': 7.3.13 '@unhead/schema': 1.0.22 - '@vitejs/plugin-vue': 4.0.0_vite@4.1.3 - '@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.3 - nitropack: 2.2.2 + '@vitejs/plugin-vue': 4.0.0_vite@4.1.4 + '@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.4 + nitropack: 2.2.3 unbuild: 1.1.2 - vite: 4.1.3 + vite: 4.1.4 packages/test-utils: specifiers: @@ -565,7 +565,7 @@ importers: jiti: ^1.17.1 ofetch: ^1.0.1 pathe: ^1.1.0 - playwright: ^1.30.0 + playwright: ^1.31.0 unbuild: ^1.1.2 vitest: ^0.28.5 dependencies: @@ -579,7 +579,7 @@ importers: ofetch: 1.0.1 pathe: 1.1.0 devDependencies: - playwright: 1.30.0 + playwright: 1.31.0 unbuild: 1.1.2 vitest: 0.28.5 @@ -618,7 +618,7 @@ importers: ufo: ^1.1.0 unbuild: ^1.1.2 unplugin: ^1.1.0 - vite: ^4.1.3 + vite: ^4.1.4 vite-node: ^0.28.5 vite-plugin-checker: ^0.5.6 vue: 3.2.47 @@ -626,8 +626,8 @@ importers: dependencies: '@nuxt/kit': link:../kit '@rollup/plugin-replace': 5.0.2_rollup@3.17.2 - '@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.47 - '@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.3+vue@3.2.47 + '@vitejs/plugin-vue': 4.0.0_vite@4.1.4+vue@3.2.47 + '@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.4+vue@3.2.47 autoprefixer: 10.4.13_postcss@8.4.21 chokidar: 3.5.3 cssnano: 5.1.15_postcss@8.4.21 @@ -654,9 +654,9 @@ importers: strip-literal: 1.0.1 ufo: 1.1.0 unplugin: 1.1.0 - vite: 4.1.3 + vite: 4.1.4 vite-node: 0.28.5 - vite-plugin-checker: 0.5.6_vite@4.1.3 + vite-plugin-checker: 0.5.6_vite@4.1.4 vue-bundle-renderer: 1.0.2 devDependencies: '@nuxt/schema': link:../schema @@ -2554,7 +2554,7 @@ packages: - encoding - supports-color - /@vitejs/plugin-vue-jsx/3.0.0_vite@4.1.3: + /@vitejs/plugin-vue-jsx/3.0.0_vite@4.1.4: resolution: {integrity: sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -2564,12 +2564,12 @@ packages: '@babel/core': 7.21.0 '@babel/plugin-transform-typescript': 7.20.13_@babel+core@7.21.0 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.21.0 - vite: 4.1.3 + vite: 4.1.4 transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue-jsx/3.0.0_vite@4.1.3+vue@3.2.47: + /@vitejs/plugin-vue-jsx/3.0.0_vite@4.1.4+vue@3.2.47: resolution: {integrity: sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -2579,30 +2579,30 @@ packages: '@babel/core': 7.21.0 '@babel/plugin-transform-typescript': 7.20.13_@babel+core@7.21.0 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.21.0 - vite: 4.1.3 + vite: 4.1.4 vue: 3.2.47 transitivePeerDependencies: - supports-color dev: false - /@vitejs/plugin-vue/4.0.0_vite@4.1.3: + /@vitejs/plugin-vue/4.0.0_vite@4.1.4: resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.1.3 + vite: 4.1.4 dev: true - /@vitejs/plugin-vue/4.0.0_vite@4.1.3+vue@3.2.47: + /@vitejs/plugin-vue/4.0.0_vite@4.1.4+vue@3.2.47: resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.1.3 + vite: 4.1.4 vue: 3.2.47 dev: false @@ -2638,29 +2638,29 @@ packages: pretty-format: 27.5.1 dev: true - /@volar/language-core/1.2.0-alpha.17: - resolution: {integrity: sha512-nTJfag+EsjWPaefp7JxQ3uJIe0pLdTEfR1ZmaJgn4yKA2FkturuLdlHk3Nj3HjhAhoRDfF7S1BZFDnMjZCAegw==} + /@volar/language-core/1.2.0-alpha.19: + resolution: {integrity: sha512-l/QsncqY3aV4CwJtw3r88tmUGO9yoTwcTXqKUfMwU2RC7X97xe6yAaB2medK7T+Azx6Xpv2yh9g5V0immyMWcA==} dependencies: - '@volar/source-map': 1.2.0-alpha.17 + '@volar/source-map': 1.2.0-alpha.19 dev: true - /@volar/source-map/1.2.0-alpha.17: - resolution: {integrity: sha512-g0NO3HWSo5PaY4Vv8MuQ9qhIwyxCWFWI69b0fuwdXsHo9gJ4Ngf9BKgg7U0h3b9XtmNnj1efIpgIK1rtwC+nyw==} + /@volar/source-map/1.2.0-alpha.19: + resolution: {integrity: sha512-pkMPiP28r3zHvyoSh29q4/MY2T+UGtsEN5ASu6N0/JEI0Wl4KKk0+nKP2Fge1JtIx9ZLjpGQxPr1eHBFvHxLAg==} dependencies: muggle-string: 0.2.2 dev: true - /@volar/typescript/1.2.0-alpha.17: - resolution: {integrity: sha512-1bJnlwfew0f738eqLjIoXEgNCFBAstzorn84GB96MLcdGPpEf2upQ/7FGSpgaJaFi9LTJBggkqBhuegxjqOQKg==} + /@volar/typescript/1.2.0-alpha.19: + resolution: {integrity: sha512-KRObKfbQ5930m1nIWBsV3I8uJAaJpqkM76ArsG3cOURuJ1dQSkFm3820Ge/9Ps8Wgf/NDpLPiy21CWDXP1KjnA==} dependencies: - '@volar/language-core': 1.2.0-alpha.17 + '@volar/language-core': 1.2.0-alpha.19 dev: true - /@volar/vue-language-core/1.1.5: - resolution: {integrity: sha512-HpouTNZuwVX+DicGik6y+g9m2fI0Xvng9K9Wh8xZCXzMFEhvjsxsbtWVmLSgnSV6mgyF8YTM3R6n/buR6kYBWA==} + /@volar/vue-language-core/1.1.7: + resolution: {integrity: sha512-oEgMfbbU5kk6X+xs0U37KGdvHwq5xgQL7IhXLb0RUQVagVVnAzlkZs9m+Fv+XOioGwH75MeH2NQzk4+KVSCuEQ==} dependencies: - '@volar/language-core': 1.2.0-alpha.17 - '@volar/source-map': 1.2.0-alpha.17 + '@volar/language-core': 1.2.0-alpha.19 + '@volar/source-map': 1.2.0-alpha.19 '@vue/compiler-dom': 3.2.47 '@vue/compiler-sfc': 3.2.47 '@vue/reactivity': 3.2.47 @@ -2670,11 +2670,11 @@ packages: vue-template-compiler: 2.7.14 dev: true - /@volar/vue-typescript/1.1.5: - resolution: {integrity: sha512-X8q2YJ/1bH36ZCvdYIc46O0QcWI3T6Uk+Uju5+ssiuscQ6Ie7v+gUXW9w/18a+Ms35DcEOOQBzE7Ex3A9KQzjQ==} + /@volar/vue-typescript/1.1.7: + resolution: {integrity: sha512-JGHz+XUUS1MAgnBaDFsk2dBmMumMDYXJ40nH4EFzXUHyKOsinmuFsHaQJScZDOoM0NPeWK9jWaNOEozjygXXeQ==} dependencies: - '@volar/typescript': 1.2.0-alpha.17 - '@volar/vue-language-core': 1.1.5 + '@volar/typescript': 1.2.0-alpha.19 + '@volar/vue-language-core': 1.1.7 dev: true /@vue/babel-helper-vue-transform-on/1.0.2: @@ -6288,8 +6288,8 @@ packages: /neo-async/2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - /nitropack/2.2.2: - resolution: {integrity: sha512-bsFz+a2tn/rG6fZ9RgJVB9P7KuZBTgl3m2DugkagdbXQT/GsmMyvNZbaE+JH8tXOqV8tw9qpJWyaBLALPN9aFQ==} + /nitropack/2.2.3: + resolution: {integrity: sha512-TUuatDRF36g0VpDaHrkXXRWi9O0M+yFXcnU/QhMgbB0AOgRJMmhvtqrxbjBTNNxXukX//fe7cSvv7siGa7PJSw==} engines: {node: ^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0} hasBin: true dependencies: @@ -6348,7 +6348,7 @@ packages: source-map-support: 0.5.21 std-env: 3.3.2 ufo: 1.1.0 - unenv: 1.2.0 + unenv: 1.2.1 unimport: 2.2.4_rollup@3.17.2 unstorage: 1.1.5 transitivePeerDependencies: @@ -6738,19 +6738,19 @@ packages: mlly: 1.1.1 pathe: 1.1.0 - /playwright-core/1.30.0: - resolution: {integrity: sha512-7AnRmTCf+GVYhHbLJsGUtskWTE33SwMZkybJ0v6rqR1boxq2x36U7p1vDRV7HO2IwTZgmycracLxPEJI49wu4g==} + /playwright-core/1.31.0: + resolution: {integrity: sha512-/KquBjS5DcASCh8cGeNVHuC0kyb7c9plKTwaKxgOGtxT7+DZO2fjmFvPDBSXslEIK5CeOO/2kk5rOCktFXKEdA==} engines: {node: '>=14'} hasBin: true dev: true - /playwright/1.30.0: - resolution: {integrity: sha512-ENbW5o75HYB3YhnMTKJLTErIBExrSlX2ZZ1C/FzmHjUYIfxj/UnI+DWpQr992m+OQVSg0rCExAOlRwB+x+yyIg==} + /playwright/1.31.0: + resolution: {integrity: sha512-cFn1ie3bdYw/9/Ty3842CfPSRSy+ZWPjEhrxWgC+jL/CUjq5RKVJZwUbXV1UKBQU1Vo0NetsokXmk9EEZiqVHQ==} engines: {node: '>=14'} hasBin: true requiresBuild: true dependencies: - playwright-core: 1.30.0 + playwright-core: 1.31.0 dev: true /pluralize/8.0.0: @@ -8174,8 +8174,8 @@ packages: busboy: 1.6.0 dev: true - /unenv/1.2.0: - resolution: {integrity: sha512-8AcXA+xAz/C8ZVlIv+voD/uCe6V/LkQgZtQYOBjuKYNXhBitsOiy+QYrUPelLRDY2WB86Njw/qLawYNh8iDsvQ==} + /unenv/1.2.1: + resolution: {integrity: sha512-XzrBVHrA7xGfME90qQpcTPBxbKzDwXFppOpUKFSsB3tz0U1JKzI02h0chV88NbdlH1X/XAEwozAcUkm5i9++aA==} dependencies: defu: 6.1.2 mime: 3.0.0 @@ -8419,7 +8419,7 @@ packages: picocolors: 1.0.0 source-map: 0.6.1 source-map-support: 0.5.21 - vite: 4.1.3 + vite: 4.1.4 transitivePeerDependencies: - '@types/node' - less @@ -8442,7 +8442,7 @@ packages: picocolors: 1.0.0 source-map: 0.6.1 source-map-support: 0.5.21 - vite: 4.1.3_@types+node@18.14.0 + vite: 4.1.4_@types+node@18.14.0 transitivePeerDependencies: - '@types/node' - less @@ -8453,7 +8453,7 @@ packages: - terser dev: true - /vite-plugin-checker/0.5.6_vite@4.1.3: + /vite-plugin-checker/0.5.6_vite@4.1.4: resolution: {integrity: sha512-ftRyON0gORUHDxcDt2BErmsikKSkfvl1i2DoP6Jt2zDO9InfvM6tqO1RkXhSjkaXEhKPea6YOnhFaZxW3BzudQ==} engines: {node: '>=14.16'} peerDependencies: @@ -8496,15 +8496,15 @@ packages: npm-run-path: 4.0.1 strip-ansi: 6.0.1 tiny-invariant: 1.3.1 - vite: 4.1.3 + vite: 4.1.4 vscode-languageclient: 7.0.0 vscode-languageserver: 7.0.0 vscode-languageserver-textdocument: 1.0.8 vscode-uri: 3.0.7 dev: false - /vite/4.1.3: - resolution: {integrity: sha512-0Zqo4/Fr/swSOBmbl+HAAhOjrqNwju+yTtoe4hQX9UsARdcuc9njyOdr6xU0DDnV7YP0RT6mgTTOiRtZgxfCxA==} + /vite/4.1.4: + resolution: {integrity: sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -8535,8 +8535,8 @@ packages: optionalDependencies: fsevents: 2.3.2 - /vite/4.1.3_@types+node@18.14.0: - resolution: {integrity: sha512-0Zqo4/Fr/swSOBmbl+HAAhOjrqNwju+yTtoe4hQX9UsARdcuc9njyOdr6xU0DDnV7YP0RT6mgTTOiRtZgxfCxA==} + /vite/4.1.4_@types+node@18.14.0: + resolution: {integrity: sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -8612,7 +8612,7 @@ packages: tinybench: 2.3.1 tinypool: 0.3.1 tinyspy: 1.1.1 - vite: 4.1.3_@types+node@18.14.0 + vite: 4.1.4_@types+node@18.14.0 vite-node: 0.28.5_@types+node@18.14.0 why-is-node-running: 2.2.2 transitivePeerDependencies: @@ -8740,14 +8740,14 @@ packages: he: 1.2.0 dev: true - /vue-tsc/1.1.5_typescript@4.9.5: - resolution: {integrity: sha512-DVAbFGP/AcoQGfo7T1iRz6TNDeLGzvTbpqH5KCgNb6EuLLnbFP9Ki9KYHMkYs+hLlNVlw9Kp5WXm7I/Ur70mhA==} + /vue-tsc/1.1.7_typescript@4.9.5: + resolution: {integrity: sha512-TYuWJMQmwaV9kC1oWvw6fSHlymJpsD1ad4GaYqvUloph7E2QiVEXZyZe+lf0pHHayyltZp0Z+ZqcLuXoru8lzA==} hasBin: true peerDependencies: typescript: '*' dependencies: - '@volar/vue-language-core': 1.1.5 - '@volar/vue-typescript': 1.1.5 + '@volar/vue-language-core': 1.1.7 + '@volar/vue-typescript': 1.1.7 typescript: 4.9.5 dev: true diff --git a/test/bundle.test.ts b/test/bundle.test.ts index e9f4efd7bc..330f039ce3 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -40,10 +40,10 @@ describe.skipIf(isWindows)('minimal nuxt application', () => { it('default server bundle size', async () => { stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) - expect(stats.server.totalBytes).toBeLessThan(92000) + expect(stats.server.totalBytes).toBeLessThan(92100) const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect(modules.totalBytes).toBeLessThan(2710000) + expect(modules.totalBytes).toBeLessThan(2710200) const packages = modules.files .filter(m => m.endsWith('package.json'))