Skip to content

Commit c0b7035

Browse files
Merge remote-tracking branch 'origin/main' into sshin/chore/vuln
2 parents 2200fd0 + 7767739 commit c0b7035

File tree

63 files changed

+1231
-475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1231
-475
lines changed

examples/bundle-analyzer-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"type": "module",
2020
"scripts": {
21-
"build": "rollup -c && pnpm bundle-analyzer ./dist --bundle-name=@codecov/example-bundle-analyzer-cli --upload-token=$BUNDLE_ANALYZER_UPLOAD_TOKEN --config-file=./baconfig.json"
21+
"build": "rollup -c && pnpm bundle-analyzer ./dist -v --bundle-name=@codecov/example-bundle-analyzer-cli --upload-token=$BUNDLE_ANALYZER_UPLOAD_TOKEN --api-url=$BUNDLE_ANALYZER_API_URL --config-file=./baconfig.json"
2222
},
2323
"devDependencies": {
2424
"@codecov/bundle-analyzer": "workspace:^",

examples/bundle-analyzer-lib-cjs/analyze.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const coreOpts = {
66
dryRun: false,
77
uploadToken: process.env.BUNDLE_ANALYZER_UPLOAD_TOKEN,
88
retryCount: 3,
9-
apiUrl: "https://api.codecov.io",
9+
apiUrl: process.env.BUNDLE_ANALYZER_API_URL,
1010
bundleName: "@codecov/example-bundle-analyzer-cjs",
1111
enableBundleAnalysis: true,
1212
debug: true,

examples/bundle-analyzer-lib-esm/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const coreOpts: Options = {
1010
dryRun: false,
1111
uploadToken: process.env.BUNDLE_ANALYZER_UPLOAD_TOKEN,
1212
retryCount: 3,
13-
apiUrl: "https://api.codecov.io",
13+
apiUrl: process.env.BUNDLE_ANALYZER_API_URL,
1414
bundleName: "@codecov/example-bundle-analyzer-esm",
1515
enableBundleAnalysis: true,
1616
debug: true,

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
@@ -15,7 +15,7 @@ exports[`Generating nuxt stats 3 {"format":"amd","expected":"amd"} matches the s
1515
"outputPath": StringContaining "/distV3",
1616
"plugin": {
1717
"name": StringMatching "@codecov/nuxt-plugin",
18-
"version": "1.2.1",
18+
"version": "1.3.0",
1919
},
2020
"version": "2",
2121
}
@@ -36,7 +36,7 @@ exports[`Generating nuxt stats 3 {"format":"amd","expected":"amd"} matches the s
3636
"outputPath": StringContaining "/distV3",
3737
"plugin": {
3838
"name": StringMatching "@codecov/nuxt-plugin",
39-
"version": "1.2.1",
39+
"version": "1.3.0",
4040
},
4141
"version": "2",
4242
}
@@ -57,7 +57,7 @@ exports[`Generating nuxt stats 3 {"format":"cjs","expected":"cjs"} matches the s
5757
"outputPath": StringContaining "/distV3",
5858
"plugin": {
5959
"name": StringMatching "@codecov/nuxt-plugin",
60-
"version": "1.2.1",
60+
"version": "1.3.0",
6161
},
6262
"version": "2",
6363
}
@@ -78,7 +78,7 @@ exports[`Generating nuxt stats 3 {"format":"cjs","expected":"cjs"} matches the s
7878
"outputPath": StringContaining "/distV3",
7979
"plugin": {
8080
"name": StringMatching "@codecov/nuxt-plugin",
81-
"version": "1.2.1",
81+
"version": "1.3.0",
8282
},
8383
"version": "2",
8484
}
@@ -99,7 +99,7 @@ exports[`Generating nuxt stats 3 {"format":"es","expected":"esm"} matches the sn
9999
"outputPath": StringContaining "/distV3",
100100
"plugin": {
101101
"name": StringMatching "@codecov/nuxt-plugin",
102-
"version": "1.2.1",
102+
"version": "1.3.0",
103103
},
104104
"version": "2",
105105
}
@@ -120,7 +120,7 @@ exports[`Generating nuxt stats 3 {"format":"es","expected":"esm"} matches the sn
120120
"outputPath": StringContaining "/distV3",
121121
"plugin": {
122122
"name": StringMatching "@codecov/nuxt-plugin",
123-
"version": "1.2.1",
123+
"version": "1.3.0",
124124
},
125125
"version": "2",
126126
}
@@ -141,7 +141,7 @@ exports[`Generating nuxt stats 3 {"format":"esm","expected":"esm"} matches the s
141141
"outputPath": StringContaining "/distV3",
142142
"plugin": {
143143
"name": StringMatching "@codecov/nuxt-plugin",
144-
"version": "1.2.1",
144+
"version": "1.3.0",
145145
},
146146
"version": "2",
147147
}
@@ -162,7 +162,7 @@ exports[`Generating nuxt stats 3 {"format":"esm","expected":"esm"} matches the s
162162
"outputPath": StringContaining "/distV3",
163163
"plugin": {
164164
"name": StringMatching "@codecov/nuxt-plugin",
165-
"version": "1.2.1",
165+
"version": "1.3.0",
166166
},
167167
"version": "2",
168168
}
@@ -183,7 +183,7 @@ exports[`Generating nuxt stats 3 {"format":"module","expected":"esm"} matches th
183183
"outputPath": StringContaining "/distV3",
184184
"plugin": {
185185
"name": StringMatching "@codecov/nuxt-plugin",
186-
"version": "1.2.1",
186+
"version": "1.3.0",
187187
},
188188
"version": "2",
189189
}
@@ -204,7 +204,7 @@ exports[`Generating nuxt stats 3 {"format":"module","expected":"esm"} matches th
204204
"outputPath": StringContaining "/distV3",
205205
"plugin": {
206206
"name": StringMatching "@codecov/nuxt-plugin",
207-
"version": "1.2.1",
207+
"version": "1.3.0",
208208
},
209209
"version": "2",
210210
}
@@ -225,7 +225,7 @@ exports[`Generating nuxt stats 3 {"format":"iife","expected":"iife"} matches the
225225
"outputPath": StringContaining "/distV3",
226226
"plugin": {
227227
"name": StringMatching "@codecov/nuxt-plugin",
228-
"version": "1.2.1",
228+
"version": "1.3.0",
229229
},
230230
"version": "2",
231231
}
@@ -246,7 +246,7 @@ exports[`Generating nuxt stats 3 {"format":"iife","expected":"iife"} matches the
246246
"outputPath": StringContaining "/distV3",
247247
"plugin": {
248248
"name": StringMatching "@codecov/nuxt-plugin",
249-
"version": "1.2.1",
249+
"version": "1.3.0",
250250
},
251251
"version": "2",
252252
}
@@ -267,7 +267,7 @@ exports[`Generating nuxt stats 3 {"format":"umd","expected":"umd"} matches the s
267267
"outputPath": StringContaining "/distV3",
268268
"plugin": {
269269
"name": StringMatching "@codecov/nuxt-plugin",
270-
"version": "1.2.1",
270+
"version": "1.3.0",
271271
},
272272
"version": "2",
273273
}
@@ -288,7 +288,7 @@ exports[`Generating nuxt stats 3 {"format":"umd","expected":"umd"} matches the s
288288
"outputPath": StringContaining "/distV3",
289289
"plugin": {
290290
"name": StringMatching "@codecov/nuxt-plugin",
291-
"version": "1.2.1",
291+
"version": "1.3.0",
292292
},
293293
"version": "2",
294294
}
@@ -309,7 +309,7 @@ exports[`Generating nuxt stats 3 {"format":"system","expected":"system"} matches
309309
"outputPath": StringContaining "/distV3",
310310
"plugin": {
311311
"name": StringMatching "@codecov/nuxt-plugin",
312-
"version": "1.2.1",
312+
"version": "1.3.0",
313313
},
314314
"version": "2",
315315
}
@@ -330,7 +330,7 @@ exports[`Generating nuxt stats 3 {"format":"system","expected":"system"} matches
330330
"outputPath": StringContaining "/distV3",
331331
"plugin": {
332332
"name": StringMatching "@codecov/nuxt-plugin",
333-
"version": "1.2.1",
333+
"version": "1.3.0",
334334
},
335335
"version": "2",
336336
}
@@ -351,7 +351,7 @@ exports[`Generating nuxt stats 3 {"format":"systemjs","expected":"system"} match
351351
"outputPath": StringContaining "/distV3",
352352
"plugin": {
353353
"name": StringMatching "@codecov/nuxt-plugin",
354-
"version": "1.2.1",
354+
"version": "1.3.0",
355355
},
356356
"version": "2",
357357
}
@@ -372,7 +372,7 @@ exports[`Generating nuxt stats 3 {"format":"systemjs","expected":"system"} match
372372
"outputPath": StringContaining "/distV3",
373373
"plugin": {
374374
"name": StringMatching "@codecov/nuxt-plugin",
375-
"version": "1.2.1",
375+
"version": "1.3.0",
376376
},
377377
"version": "2",
378378
}

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports[`Generating remix stats 2 {"format":"amd","expected":"amd"} matches the
1515
"outputPath": StringContaining "build",
1616
"plugin": {
1717
"name": StringMatching "@codecov/remix-vite-plugin",
18-
"version": "1.2.1",
18+
"version": "1.3.0",
1919
},
2020
"version": "2",
2121
}
@@ -36,7 +36,7 @@ exports[`Generating remix stats 2 {"format":"amd","expected":"amd"} matches the
3636
"outputPath": StringContaining "build",
3737
"plugin": {
3838
"name": StringMatching "@codecov/remix-vite-plugin",
39-
"version": "1.2.1",
39+
"version": "1.3.0",
4040
},
4141
"version": "2",
4242
}
@@ -57,7 +57,7 @@ exports[`Generating remix stats 2 {"format":"cjs","expected":"cjs"} matches the
5757
"outputPath": StringContaining "build",
5858
"plugin": {
5959
"name": StringMatching "@codecov/remix-vite-plugin",
60-
"version": "1.2.1",
60+
"version": "1.3.0",
6161
},
6262
"version": "2",
6363
}
@@ -78,7 +78,7 @@ exports[`Generating remix stats 2 {"format":"cjs","expected":"cjs"} matches the
7878
"outputPath": StringContaining "build",
7979
"plugin": {
8080
"name": StringMatching "@codecov/remix-vite-plugin",
81-
"version": "1.2.1",
81+
"version": "1.3.0",
8282
},
8383
"version": "2",
8484
}
@@ -99,7 +99,7 @@ exports[`Generating remix stats 2 {"format":"es","expected":"esm"} matches the s
9999
"outputPath": StringContaining "build",
100100
"plugin": {
101101
"name": StringMatching "@codecov/remix-vite-plugin",
102-
"version": "1.2.1",
102+
"version": "1.3.0",
103103
},
104104
"version": "2",
105105
}
@@ -120,7 +120,7 @@ exports[`Generating remix stats 2 {"format":"es","expected":"esm"} matches the s
120120
"outputPath": StringContaining "build",
121121
"plugin": {
122122
"name": StringMatching "@codecov/remix-vite-plugin",
123-
"version": "1.2.1",
123+
"version": "1.3.0",
124124
},
125125
"version": "2",
126126
}
@@ -141,7 +141,7 @@ exports[`Generating remix stats 2 {"format":"esm","expected":"esm"} matches the
141141
"outputPath": StringContaining "build",
142142
"plugin": {
143143
"name": StringMatching "@codecov/remix-vite-plugin",
144-
"version": "1.2.1",
144+
"version": "1.3.0",
145145
},
146146
"version": "2",
147147
}
@@ -162,7 +162,7 @@ exports[`Generating remix stats 2 {"format":"esm","expected":"esm"} matches the
162162
"outputPath": StringContaining "build",
163163
"plugin": {
164164
"name": StringMatching "@codecov/remix-vite-plugin",
165-
"version": "1.2.1",
165+
"version": "1.3.0",
166166
},
167167
"version": "2",
168168
}
@@ -183,7 +183,7 @@ exports[`Generating remix stats 2 {"format":"module","expected":"esm"} matches t
183183
"outputPath": StringContaining "build",
184184
"plugin": {
185185
"name": StringMatching "@codecov/remix-vite-plugin",
186-
"version": "1.2.1",
186+
"version": "1.3.0",
187187
},
188188
"version": "2",
189189
}
@@ -204,7 +204,7 @@ exports[`Generating remix stats 2 {"format":"module","expected":"esm"} matches t
204204
"outputPath": StringContaining "build",
205205
"plugin": {
206206
"name": StringMatching "@codecov/remix-vite-plugin",
207-
"version": "1.2.1",
207+
"version": "1.3.0",
208208
},
209209
"version": "2",
210210
}

0 commit comments

Comments
 (0)