webpack-assets-manifest 6.2.2 → 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.
- package/dist/cjs/plugin.js +1 -1
- package/dist/mjs/plugin.js +1 -1
- package/dist/types/plugin.d.ts +3 -3
- package/package.json +21 -21
package/dist/cjs/plugin.js
CHANGED
|
@@ -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
|
|
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}"`);
|
package/dist/mjs/plugin.js
CHANGED
|
@@ -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
|
|
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/dist/types/plugin.d.ts
CHANGED
|
@@ -36,10 +36,10 @@ export declare class WebpackAssetsManifest implements WebpackPluginInstance {
|
|
|
36
36
|
private currentAsset?;
|
|
37
37
|
hooks: Readonly<{
|
|
38
38
|
apply: SyncHook<[manifest: WebpackAssetsManifest], void, import("tapable").UnsetAdditionalOptions>;
|
|
39
|
-
customize: SyncWaterfallHook<[entry: false | void | KeyValuePair | undefined, original: KeyValuePair, manifest: WebpackAssetsManifest, asset: Asset | undefined], import("tapable").UnsetAdditionalOptions>;
|
|
40
|
-
transform: SyncWaterfallHook<[asset: AssetsStorage, manifest: WebpackAssetsManifest], import("tapable").UnsetAdditionalOptions>;
|
|
39
|
+
customize: SyncWaterfallHook<[entry: false | void | KeyValuePair | undefined, original: KeyValuePair, manifest: WebpackAssetsManifest, asset: Asset | undefined], false | void | KeyValuePair | undefined, import("tapable").UnsetAdditionalOptions>;
|
|
40
|
+
transform: SyncWaterfallHook<[asset: AssetsStorage, manifest: WebpackAssetsManifest], AssetsStorage, import("tapable").UnsetAdditionalOptions>;
|
|
41
41
|
done: AsyncSeriesHook<[manifest: WebpackAssetsManifest, stats: Stats], import("tapable").UnsetAdditionalOptions>;
|
|
42
|
-
options: SyncWaterfallHook<[options: Options], import("tapable").UnsetAdditionalOptions>;
|
|
42
|
+
options: SyncWaterfallHook<[options: Options], Options, import("tapable").UnsetAdditionalOptions>;
|
|
43
43
|
afterOptions: SyncHook<[options: Options, manifest: WebpackAssetsManifest], void, import("tapable").UnsetAdditionalOptions>;
|
|
44
44
|
}>;
|
|
45
45
|
constructor(options?: Partial<Options>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webpack-assets-manifest",
|
|
3
|
-
"version": "6.
|
|
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.
|
|
68
|
+
"packageManager": "pnpm@10.20.0+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"clean": "rimraf ./coverage/ ./dist/ ./cache/",
|
|
71
71
|
"prebuild": "pnpm clean",
|
|
@@ -86,47 +86,47 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"deepmerge": "^4.3.1",
|
|
88
88
|
"lockfile": "^1.0.4",
|
|
89
|
-
"schema-utils": "^4.3.
|
|
90
|
-
"tapable": "^2.
|
|
89
|
+
"schema-utils": "^4.3.3",
|
|
90
|
+
"tapable": "^2.3.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
93
|
"webpack": "^5.61.0"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@commitlint/config-conventional": "^
|
|
97
|
-
"@commitlint/types": "^
|
|
96
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
97
|
+
"@commitlint/types": "^20.0.0",
|
|
98
98
|
"@types/lockfile": "^1.0.4",
|
|
99
|
-
"@types/node": "^20.19.
|
|
100
|
-
"@types/tapable": "^2.
|
|
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": "^
|
|
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
|
-
"copy-webpack-plugin": "^13.0.
|
|
110
|
-
"cspell": "^9.
|
|
109
|
+
"copy-webpack-plugin": "^13.0.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",
|
|
114
114
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
115
115
|
"eslint-plugin-import": "^2.32.0",
|
|
116
116
|
"file-loader": "^6.2.0",
|
|
117
|
-
"fs-extra": "^11.3.
|
|
117
|
+
"fs-extra": "^11.3.2",
|
|
118
118
|
"husky": "^9.1.7",
|
|
119
|
-
"lint-staged": "^16.
|
|
120
|
-
"memfs": "^4.
|
|
121
|
-
"mini-css-extract-plugin": "^2.9.
|
|
119
|
+
"lint-staged": "^16.2.6",
|
|
120
|
+
"memfs": "^4.50.0",
|
|
121
|
+
"mini-css-extract-plugin": "^2.9.4",
|
|
122
122
|
"prettier": "^3.6.2",
|
|
123
|
-
"rimraf": "^6.0
|
|
124
|
-
"sass-loader": "^16.0.
|
|
125
|
-
"semantic-release": "^24.2.
|
|
126
|
-
"typescript": "^5.
|
|
127
|
-
"validate-package-exports": "^0.
|
|
123
|
+
"rimraf": "^6.1.0",
|
|
124
|
+
"sass-loader": "^16.0.6",
|
|
125
|
+
"semantic-release": "^24.2.9",
|
|
126
|
+
"typescript": "^5.9.3",
|
|
127
|
+
"validate-package-exports": "^0.14.0",
|
|
128
128
|
"vitest": "^3.2.4",
|
|
129
|
-
"webpack": "^5.
|
|
129
|
+
"webpack": "^5.102.1",
|
|
130
130
|
"webpack-dev-server": "^5.2.2",
|
|
131
131
|
"webpack-subresource-integrity": "^5.1.0"
|
|
132
132
|
},
|