webpack-assets-manifest 6.3.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -266,7 +266,7 @@ class WebpackAssetsManifest {
266
266
  const infraLogger = compilation.compiler.getInfrastructureLogger(PLUGIN_NAME);
267
267
  for (const module of modules) {
268
268
  if (module instanceof NormalModule) {
269
- const codeGenData = codeGenerationResults.get(module, chunk.runtime).data;
269
+ const codeGenData = codeGenerationResults?.get(module, chunk.runtime).data;
270
270
  const filename = module.buildInfo?.['filename'] ?? codeGenData?.get('filename');
271
271
  if (!filename) {
272
272
  infraLogger.warn(`Unable to get filename from module: "${module.rawRequest}"`);
@@ -230,7 +230,7 @@ export class WebpackAssetsManifest {
230
230
  const infraLogger = compilation.compiler.getInfrastructureLogger(PLUGIN_NAME);
231
231
  for (const module of modules) {
232
232
  if (module instanceof NormalModule) {
233
- const codeGenData = codeGenerationResults.get(module, chunk.runtime).data;
233
+ const codeGenData = codeGenerationResults?.get(module, chunk.runtime).data;
234
234
  const filename = module.buildInfo?.['filename'] ?? codeGenData?.get('filename');
235
235
  if (!filename) {
236
236
  infraLogger.warn(`Unable to get filename from module: "${module.rawRequest}"`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack-assets-manifest",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "This Webpack plugin will generate a JSON file that matches the original filename with the hashed version.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -65,7 +65,7 @@
65
65
  "files": [
66
66
  "dist"
67
67
  ],
68
- "packageManager": "pnpm@10.17.1+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a",
68
+ "packageManager": "pnpm@10.20.0+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd",
69
69
  "scripts": {
70
70
  "clean": "rimraf ./coverage/ ./dist/ ./cache/",
71
71
  "prebuild": "pnpm clean",
@@ -86,8 +86,8 @@
86
86
  "dependencies": {
87
87
  "deepmerge": "^4.3.1",
88
88
  "lockfile": "^1.0.4",
89
- "schema-utils": "^4.3.2",
90
- "tapable": "^2.2.3"
89
+ "schema-utils": "^4.3.3",
90
+ "tapable": "^2.3.0"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "webpack": "^5.61.0"
@@ -96,18 +96,18 @@
96
96
  "@commitlint/config-conventional": "^20.0.0",
97
97
  "@commitlint/types": "^20.0.0",
98
98
  "@types/lockfile": "^1.0.4",
99
- "@types/node": "^20.19.17",
100
- "@types/tapable": "^2.2.7",
99
+ "@types/node": "^20.19.24",
100
+ "@types/tapable": "^2.3.0",
101
101
  "@types/webpack-sources": "^3.2.3",
102
102
  "@vitest/coverage-v8": "^3.2.4",
103
103
  "@webdeveric/eslint-config-ts": "^0.11.0",
104
104
  "@webdeveric/prettier-config": "^0.3.0",
105
- "commitlint": "^20.0.0",
105
+ "commitlint": "^20.1.0",
106
106
  "commitlint-plugin-cspell": "^0.3.0",
107
107
  "compression-webpack-plugin": "^11.1.0",
108
108
  "conventional-changelog-conventionalcommits": "^9.1.0",
109
109
  "copy-webpack-plugin": "^13.0.1",
110
- "cspell": "^9.2.1",
110
+ "cspell": "^9.3.0",
111
111
  "css-loader": "^7.1.2",
112
112
  "eslint": "^8.57.1",
113
113
  "eslint-config-prettier": "^10.1.8",
@@ -116,17 +116,17 @@
116
116
  "file-loader": "^6.2.0",
117
117
  "fs-extra": "^11.3.2",
118
118
  "husky": "^9.1.7",
119
- "lint-staged": "^16.2.1",
120
- "memfs": "^4.47.0",
119
+ "lint-staged": "^16.2.6",
120
+ "memfs": "^4.50.0",
121
121
  "mini-css-extract-plugin": "^2.9.4",
122
122
  "prettier": "^3.6.2",
123
- "rimraf": "^6.0.1",
124
- "sass-loader": "^16.0.5",
123
+ "rimraf": "^6.1.0",
124
+ "sass-loader": "^16.0.6",
125
125
  "semantic-release": "^24.2.9",
126
- "typescript": "^5.9.2",
127
- "validate-package-exports": "^0.13.0",
126
+ "typescript": "^5.9.3",
127
+ "validate-package-exports": "^0.14.0",
128
128
  "vitest": "^3.2.4",
129
- "webpack": "^5.101.3",
129
+ "webpack": "^5.102.1",
130
130
  "webpack-dev-server": "^5.2.2",
131
131
  "webpack-subresource-integrity": "^5.1.0"
132
132
  },