Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@codecov/webpack-plugin": "workspace:^",
"webpack": "^5.90.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,44 @@ exports[`Generating webpack stats 5 {"format":"array-push","expected":"array-pus
{
"assets": [
{
"gzipSize": 25254,
"name": "main-6c1d26e76f6ba1fc75c8.js",
"gzipSize": 25250,
"name": "main-2c458a0c7e378af1ec1a.js",
"normalized": "main-*.js",
"size": 70961,
"size": 70959,
},
],
"builtAt": Any<Number>,
"bundleName": StringContaining "test-webpack-v5-array-push",
"bundler": {
"name": "webpack",
"version": "5.90.0",
"version": "5.96.1",
},
"chunks": [
{
"entry": true,
"files": [
"main-6c1d26e76f6ba1fc75c8.js",
"main-2c458a0c7e378af1ec1a.js",
],
"id": "179",
"id": "792",
"initial": true,
"names": [
"main",
],
"uniqueId": "0-179",
"uniqueId": "0-792",
},
],
"duration": Any<Number>,
"modules": [
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "./test-apps/webpack/src/main.js + 1 modules",
"size": 395,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "../node_modules/.pnpm/[email protected]/node_modules/lodash/lodash.js",
"size": 544098,
Expand All @@ -53,14 +53,14 @@ exports[`Generating webpack stats 5 {"format":"array-push","expected":"array-pus
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/global",
"size": 221,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/node module decorator",
"size": 123,
Expand All @@ -79,44 +79,44 @@ exports[`Generating webpack stats 5 {"format":"commonjs","expected":"cjs"} match
{
"assets": [
{
"gzipSize": 25254,
"name": "main-6c1d26e76f6ba1fc75c8.js",
"gzipSize": 25250,
"name": "main-2c458a0c7e378af1ec1a.js",
"normalized": "main-*.js",
"size": 70961,
"size": 70959,
},
],
"builtAt": Any<Number>,
"bundleName": StringContaining "test-webpack-v5-cjs",
"bundler": {
"name": "webpack",
"version": "5.90.0",
"version": "5.96.1",
},
"chunks": [
{
"entry": true,
"files": [
"main-6c1d26e76f6ba1fc75c8.js",
"main-2c458a0c7e378af1ec1a.js",
],
"id": "179",
"id": "792",
"initial": true,
"names": [
"main",
],
"uniqueId": "0-179",
"uniqueId": "0-792",
},
],
"duration": Any<Number>,
"modules": [
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "./test-apps/webpack/src/main.js + 1 modules",
"size": 395,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "../node_modules/.pnpm/[email protected]/node_modules/lodash/lodash.js",
"size": 544098,
Expand All @@ -128,14 +128,14 @@ exports[`Generating webpack stats 5 {"format":"commonjs","expected":"cjs"} match
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/global",
"size": 221,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/node module decorator",
"size": 123,
Expand All @@ -154,44 +154,44 @@ exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches
{
"assets": [
{
"gzipSize": 25254,
"name": "main-6c1d26e76f6ba1fc75c8.js",
"gzipSize": 25250,
"name": "main-2c458a0c7e378af1ec1a.js",
"normalized": "main-*.js",
"size": 70961,
"size": 70959,
},
],
"builtAt": Any<Number>,
"bundleName": StringContaining "test-webpack-v5-esm",
"bundler": {
"name": "webpack",
"version": "5.90.0",
"version": "5.96.1",
},
"chunks": [
{
"entry": true,
"files": [
"main-6c1d26e76f6ba1fc75c8.js",
"main-2c458a0c7e378af1ec1a.js",
],
"id": "179",
"id": "792",
"initial": true,
"names": [
"main",
],
"uniqueId": "0-179",
"uniqueId": "0-792",
},
],
"duration": Any<Number>,
"modules": [
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "./test-apps/webpack/src/main.js + 1 modules",
"size": 395,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "../node_modules/.pnpm/[email protected]/node_modules/lodash/lodash.js",
"size": 544098,
Expand All @@ -203,14 +203,14 @@ exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/global",
"size": 221,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/node module decorator",
"size": 123,
Expand All @@ -229,44 +229,44 @@ exports[`Generating webpack stats 5 source maps are enabled does not include any
{
"assets": [
{
"gzipSize": 25254,
"name": "main-6c1d26e76f6ba1fc75c8.js",
"gzipSize": 25250,
"name": "main-2c458a0c7e378af1ec1a.js",
"normalized": "main-*.js",
"size": 70961,
"size": 70959,
},
],
"builtAt": Any<Number>,
"bundleName": StringNotContaining ".map",
"bundler": {
"name": "webpack",
"version": "5.90.0",
"version": "5.96.1",
},
"chunks": [
{
"entry": true,
"files": [
"main-6c1d26e76f6ba1fc75c8.js",
"main-2c458a0c7e378af1ec1a.js",
],
"id": "179",
"id": "792",
"initial": true,
"names": [
"main",
],
"uniqueId": "0-179",
"uniqueId": "0-792",
},
],
"duration": Any<Number>,
"modules": [
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "./test-apps/webpack/src/main.js + 1 modules",
"size": 395,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "../node_modules/.pnpm/[email protected]/node_modules/lodash/lodash.js",
"size": 544098,
Expand All @@ -278,14 +278,14 @@ exports[`Generating webpack stats 5 source maps are enabled does not include any
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/global",
"size": 221,
},
{
"chunkUniqueIds": [
"0-179",
"0-792",
],
"name": "webpack/runtime/node module decorator",
"size": 123,
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"unbuild": "^2.0.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.5.0",
"webpack": "^5.90.0"
"webpack": "^5.96.1"
},
"peerDependencies": {
"next": "14.x || 15.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"unbuild": "^2.0.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.5.0",
"webpack": "^5.90.0"
"webpack": "^5.96.1"
},
"peerDependencies": {
"webpack": "5.x"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe("processChunks", () => {
it("should process chunks", () => {
const chunks = [
{
id: 1,
id: "1",
entry: true,
initial: true,
files: ["file1.js"],
Expand All @@ -17,6 +17,10 @@ describe("processChunks", () => {
recorded: true,
size: 1000,
hash: "hash1",
sizes: {},
idHints: [],
auxiliaryFiles: [],
childrenByOrder: {},
},
{
id: 2,
Expand All @@ -28,6 +32,10 @@ describe("processChunks", () => {
recorded: true,
size: 2000,
hash: "hash2",
sizes: {},
idHints: [],
auxiliaryFiles: [],
childrenByOrder: {},
},
] satisfies StatsChunk[];

Expand Down Expand Up @@ -66,6 +74,10 @@ describe("processChunks", () => {
recorded: true,
size: 1000,
hash: "hash1",
sizes: {},
idHints: [],
auxiliaryFiles: [],
childrenByOrder: {},
},
{
entry: true,
Expand All @@ -76,6 +88,10 @@ describe("processChunks", () => {
recorded: true,
size: 2000,
hash: "hash2",
sizes: {},
idHints: [],
auxiliaryFiles: [],
childrenByOrder: {},
},
] satisfies StatsChunk[];

Expand Down
Loading
Loading