Skip to content

Commit be89828

Browse files
[vuln] Update nuxt to 3.12.4 (#162)
1 parent ec6b13a commit be89828

File tree

11 files changed

+3580
-859
lines changed

11 files changed

+3580
-859
lines changed

.changeset/fair-colts-invent.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@codecov/bundler-plugin-core": minor
3+
"@codecov/nextjs-webpack-plugin": minor
4+
"@codecov/nuxt-plugin": minor
5+
"@codecov/remix-vite-plugin": minor
6+
"@codecov/rollup-plugin": minor
7+
"@codecov/solidstart-plugin": minor
8+
"@codecov/sveltekit-plugin": minor
9+
"@codecov/vite-plugin": minor
10+
"@codecov/webpack-plugin": minor
11+
---
12+
13+
Update nuxt and related dependencies

examples/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "nuxt preview"
1010
},
1111
"dependencies": {
12-
"nuxt": "^3.11.2",
12+
"nuxt": "^3.12.4",
1313
"vue": "^3.4.21",
1414
"vue-router": "^4.3.0"
1515
},

examples/sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@fontsource/fira-mono": "^4.5.10",
1414
"@neoconfetti/svelte": "^1.0.0",
1515
"@sveltejs/adapter-auto": "^3.0.0",
16-
"@sveltejs/kit": "^2.0.0",
16+
"@sveltejs/kit": "^2.5.25",
1717
"@sveltejs/vite-plugin-svelte": "^3.0.0",
1818
"svelte": "^4.2.7",
1919
"svelte-check": "^3.6.0",

integration-tests/fixtures/generate-bundle-stats/nuxt/__snapshots__/nuxt-plugin.test.ts.snap

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`Generating nuxt stats 3 {"format":"amd","expected":"amd"} matches the s
77
"bundleName": StringContaining "test-nuxt-v3-client-amd",
88
"bundler": {
99
"name": "rollup",
10-
"version": "4.16.2",
10+
"version": "4.21.2",
1111
},
1212
"chunks": ExpectArrayContaining {},
1313
"duration": Any<Number>,
@@ -28,7 +28,7 @@ exports[`Generating nuxt stats 3 {"format":"amd","expected":"amd"} matches the s
2828
"bundleName": StringContaining "test-nuxt-v3-server-esm",
2929
"bundler": {
3030
"name": "rollup",
31-
"version": "4.16.2",
31+
"version": "4.21.2",
3232
},
3333
"chunks": ExpectArrayContaining {},
3434
"duration": Any<Number>,
@@ -49,7 +49,7 @@ exports[`Generating nuxt stats 3 {"format":"cjs","expected":"cjs"} matches the s
4949
"bundleName": StringContaining "test-nuxt-v3-client-cjs",
5050
"bundler": {
5151
"name": "rollup",
52-
"version": "4.16.2",
52+
"version": "4.21.2",
5353
},
5454
"chunks": ExpectArrayContaining {},
5555
"duration": Any<Number>,
@@ -70,7 +70,7 @@ exports[`Generating nuxt stats 3 {"format":"cjs","expected":"cjs"} matches the s
7070
"bundleName": StringContaining "test-nuxt-v3-server-esm",
7171
"bundler": {
7272
"name": "rollup",
73-
"version": "4.16.2",
73+
"version": "4.21.2",
7474
},
7575
"chunks": ExpectArrayContaining {},
7676
"duration": Any<Number>,
@@ -91,7 +91,7 @@ exports[`Generating nuxt stats 3 {"format":"es","expected":"esm"} matches the sn
9191
"bundleName": StringContaining "test-nuxt-v3-client-esm",
9292
"bundler": {
9393
"name": "rollup",
94-
"version": "4.16.2",
94+
"version": "4.21.2",
9595
},
9696
"chunks": ExpectArrayContaining {},
9797
"duration": Any<Number>,
@@ -112,7 +112,7 @@ exports[`Generating nuxt stats 3 {"format":"es","expected":"esm"} matches the sn
112112
"bundleName": StringContaining "test-nuxt-v3-server-esm",
113113
"bundler": {
114114
"name": "rollup",
115-
"version": "4.16.2",
115+
"version": "4.21.2",
116116
},
117117
"chunks": ExpectArrayContaining {},
118118
"duration": Any<Number>,
@@ -133,7 +133,7 @@ exports[`Generating nuxt stats 3 {"format":"esm","expected":"esm"} matches the s
133133
"bundleName": StringContaining "test-nuxt-v3-client-esm",
134134
"bundler": {
135135
"name": "rollup",
136-
"version": "4.16.2",
136+
"version": "4.21.2",
137137
},
138138
"chunks": ExpectArrayContaining {},
139139
"duration": Any<Number>,
@@ -154,7 +154,7 @@ exports[`Generating nuxt stats 3 {"format":"esm","expected":"esm"} matches the s
154154
"bundleName": StringContaining "test-nuxt-v3-server-esm",
155155
"bundler": {
156156
"name": "rollup",
157-
"version": "4.16.2",
157+
"version": "4.21.2",
158158
},
159159
"chunks": ExpectArrayContaining {},
160160
"duration": Any<Number>,
@@ -175,7 +175,7 @@ exports[`Generating nuxt stats 3 {"format":"module","expected":"esm"} matches th
175175
"bundleName": StringContaining "test-nuxt-v3-client-esm",
176176
"bundler": {
177177
"name": "rollup",
178-
"version": "4.16.2",
178+
"version": "4.21.2",
179179
},
180180
"chunks": ExpectArrayContaining {},
181181
"duration": Any<Number>,
@@ -196,7 +196,7 @@ exports[`Generating nuxt stats 3 {"format":"module","expected":"esm"} matches th
196196
"bundleName": StringContaining "test-nuxt-v3-server-esm",
197197
"bundler": {
198198
"name": "rollup",
199-
"version": "4.16.2",
199+
"version": "4.21.2",
200200
},
201201
"chunks": ExpectArrayContaining {},
202202
"duration": Any<Number>,
@@ -217,7 +217,7 @@ exports[`Generating nuxt stats 3 {"format":"iife","expected":"iife"} matches the
217217
"bundleName": StringContaining "test-nuxt-v3-client-iife",
218218
"bundler": {
219219
"name": "rollup",
220-
"version": "4.16.2",
220+
"version": "4.21.2",
221221
},
222222
"chunks": ExpectArrayContaining {},
223223
"duration": Any<Number>,
@@ -238,7 +238,7 @@ exports[`Generating nuxt stats 3 {"format":"iife","expected":"iife"} matches the
238238
"bundleName": StringContaining "test-nuxt-v3-server-esm",
239239
"bundler": {
240240
"name": "rollup",
241-
"version": "4.16.2",
241+
"version": "4.21.2",
242242
},
243243
"chunks": ExpectArrayContaining {},
244244
"duration": Any<Number>,
@@ -259,7 +259,7 @@ exports[`Generating nuxt stats 3 {"format":"umd","expected":"umd"} matches the s
259259
"bundleName": StringContaining "test-nuxt-v3-client-umd",
260260
"bundler": {
261261
"name": "rollup",
262-
"version": "4.16.2",
262+
"version": "4.21.2",
263263
},
264264
"chunks": ExpectArrayContaining {},
265265
"duration": Any<Number>,
@@ -280,7 +280,7 @@ exports[`Generating nuxt stats 3 {"format":"umd","expected":"umd"} matches the s
280280
"bundleName": StringContaining "test-nuxt-v3-server-esm",
281281
"bundler": {
282282
"name": "rollup",
283-
"version": "4.16.2",
283+
"version": "4.21.2",
284284
},
285285
"chunks": ExpectArrayContaining {},
286286
"duration": Any<Number>,
@@ -301,7 +301,7 @@ exports[`Generating nuxt stats 3 {"format":"system","expected":"system"} matches
301301
"bundleName": StringContaining "test-nuxt-v3-client-system",
302302
"bundler": {
303303
"name": "rollup",
304-
"version": "4.16.2",
304+
"version": "4.21.2",
305305
},
306306
"chunks": ExpectArrayContaining {},
307307
"duration": Any<Number>,
@@ -322,7 +322,7 @@ exports[`Generating nuxt stats 3 {"format":"system","expected":"system"} matches
322322
"bundleName": StringContaining "test-nuxt-v3-server-esm",
323323
"bundler": {
324324
"name": "rollup",
325-
"version": "4.16.2",
325+
"version": "4.21.2",
326326
},
327327
"chunks": ExpectArrayContaining {},
328328
"duration": Any<Number>,
@@ -343,7 +343,7 @@ exports[`Generating nuxt stats 3 {"format":"systemjs","expected":"system"} match
343343
"bundleName": StringContaining "test-nuxt-v3-client-system",
344344
"bundler": {
345345
"name": "rollup",
346-
"version": "4.16.2",
346+
"version": "4.21.2",
347347
},
348348
"chunks": ExpectArrayContaining {},
349349
"duration": Any<Number>,
@@ -364,7 +364,7 @@ exports[`Generating nuxt stats 3 {"format":"systemjs","expected":"system"} match
364364
"bundleName": StringContaining "test-nuxt-v3-server-esm",
365365
"bundler": {
366366
"name": "rollup",
367-
"version": "4.16.2",
367+
"version": "4.21.2",
368368
},
369369
"chunks": ExpectArrayContaining {},
370370
"duration": Any<Number>,

integration-tests/fixtures/generate-bundle-stats/remix/vite-base.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default defineConfig({
1212
},
1313
},
1414
plugins: [
15+
//@ts-expect-error handle conflicting vite version types
1516
remix({
1617
future: {
1718
v3_fetcherPersist: true,

integration-tests/fixtures/generate-bundle-stats/sveltekit/vite-base.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
},
1515
},
1616
plugins: [
17+
//@ts-expect-error handle conflicting vite version types
1718
sveltekit(),
1819
codecovSvelteKitPlugin({
1920
enableBundleAnalysis: true,

integration-tests/fixtures/generate-bundle-stats/webpack/__snapshots__/webpack-plugin.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ exports[`Generating webpack stats 5 {"format":"commonjs","expected":"cjs"} match
150150
}
151151
`;
152152
153-
exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches the snapshot 1`] = `
153+
exports[`Generating webpack stats 5 source maps are enabled does not include any source maps 1`] = `
154154
{
155155
"assets": [
156156
{
@@ -161,7 +161,7 @@ exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches
161161
},
162162
],
163163
"builtAt": Any<Number>,
164-
"bundleName": StringContaining "test-webpack-v5-esm",
164+
"bundleName": StringNotContaining ".map",
165165
"bundler": {
166166
"name": "webpack",
167167
"version": "5.90.0",
@@ -225,7 +225,7 @@ exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches
225225
}
226226
`;
227227
228-
exports[`Generating webpack stats 5 source maps are enabled does not include any source maps 1`] = `
228+
exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches the snapshot 1`] = `
229229
{
230230
"assets": [
231231
{
@@ -236,7 +236,7 @@ exports[`Generating webpack stats 5 source maps are enabled does not include any
236236
},
237237
],
238238
"builtAt": Any<Number>,
239-
"bundleName": StringNotContaining ".map",
239+
"bundleName": StringContaining "test-webpack-v5-esm",
240240
"bundler": {
241241
"name": "webpack",
242242
"version": "5.90.0",

integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
"@rollup/plugin-commonjs": "^25.0.7",
4242
"@rollup/plugin-node-resolve": "^15.2.3",
4343
"@solidjs/start": "^1.0.6",
44-
"@sveltejs/kit": "^2.0.0",
44+
"@sveltejs/kit": "^2.5.25",
4545
"@types/bun": "^1.0.6",
4646
"@types/node": "^20.11.15",
4747
"bun": "^1.1.4",
4848
"isbot": "^4.1.0",
49-
"nuxt": "3.11.2",
49+
"nuxt": "3.12.4",
5050
"react": "^18.2.0",
5151
"react-dom": "^18.2.0",
5252
"rollupV3": "npm:[email protected]",

integration-tests/test-apps/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "nuxt preview"
1010
},
1111
"dependencies": {
12-
"nuxt": "^3.11.2",
12+
"nuxt": "^3.12.4",
1313
"vue": "^3.4.21",
1414
"vue-router": "^4.3.0"
1515
},

integration-tests/test-apps/sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@fontsource/fira-mono": "^4.5.10",
1212
"@neoconfetti/svelte": "^1.0.0",
1313
"@sveltejs/adapter-auto": "^3.0.0",
14-
"@sveltejs/kit": "^2.0.0",
14+
"@sveltejs/kit": "^2.5.25",
1515
"@sveltejs/vite-plugin-svelte": "^3.0.0",
1616
"svelte": "^4.2.7",
1717
"vite": "^5.0.3"

0 commit comments

Comments
 (0)