webpack-assets-manifest 6.5.2 → 6.5.3
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/assets-manifest.json +3 -0
- package/dist/types/options-schema.d.ts +21 -21
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +38 -24
- package/dist/cjs/package.json +0 -1
- package/dist/mjs/package.json +0 -1
|
@@ -22,8 +22,8 @@ export declare const optionsSchema: {
|
|
|
22
22
|
$ref: string;
|
|
23
23
|
type?: undefined;
|
|
24
24
|
} | {
|
|
25
|
-
type: "array";
|
|
26
25
|
$ref?: undefined;
|
|
26
|
+
type: "array";
|
|
27
27
|
})[];
|
|
28
28
|
};
|
|
29
29
|
space: {
|
|
@@ -33,10 +33,10 @@ export declare const optionsSchema: {
|
|
|
33
33
|
minimum: number;
|
|
34
34
|
minLength?: undefined;
|
|
35
35
|
} | {
|
|
36
|
-
type: "string";
|
|
37
|
-
minLength: number;
|
|
38
36
|
multipleOf?: undefined;
|
|
39
37
|
minimum?: undefined;
|
|
38
|
+
type: "string";
|
|
39
|
+
minLength: number;
|
|
40
40
|
})[];
|
|
41
41
|
default: number;
|
|
42
42
|
};
|
|
@@ -45,60 +45,60 @@ export declare const optionsSchema: {
|
|
|
45
45
|
type: "boolean";
|
|
46
46
|
const?: undefined;
|
|
47
47
|
} | {
|
|
48
|
-
const: string;
|
|
49
48
|
type?: undefined;
|
|
49
|
+
const: string;
|
|
50
50
|
})[];
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
53
|
fileExtRegex: {
|
|
54
54
|
oneOf: ({
|
|
55
|
-
instanceof: string;
|
|
56
55
|
type?: undefined;
|
|
57
56
|
const?: undefined;
|
|
57
|
+
instanceof: string;
|
|
58
58
|
} | {
|
|
59
|
-
type: "null";
|
|
60
|
-
instanceof?: undefined;
|
|
61
59
|
const?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
const: false;
|
|
64
60
|
instanceof?: undefined;
|
|
61
|
+
type: "null";
|
|
62
|
+
} | {
|
|
65
63
|
type?: undefined;
|
|
64
|
+
instanceof?: undefined;
|
|
65
|
+
const: false;
|
|
66
66
|
})[];
|
|
67
67
|
};
|
|
68
68
|
sortManifest: {
|
|
69
69
|
default: true;
|
|
70
70
|
oneOf: ({
|
|
71
|
-
type: "boolean";
|
|
72
71
|
instanceof?: undefined;
|
|
72
|
+
type: "boolean";
|
|
73
73
|
} | {
|
|
74
|
-
instanceof: string;
|
|
75
74
|
type?: undefined;
|
|
75
|
+
instanceof: string;
|
|
76
76
|
})[];
|
|
77
77
|
};
|
|
78
78
|
merge: {
|
|
79
79
|
default: false;
|
|
80
80
|
oneOf: ({
|
|
81
|
-
type: "boolean";
|
|
82
81
|
const?: undefined;
|
|
82
|
+
type: "boolean";
|
|
83
83
|
} | {
|
|
84
|
-
const: string;
|
|
85
84
|
type?: undefined;
|
|
85
|
+
const: string;
|
|
86
86
|
})[];
|
|
87
87
|
};
|
|
88
88
|
publicPath: {
|
|
89
89
|
default: null;
|
|
90
90
|
oneOf: ({
|
|
91
|
-
type: "string";
|
|
92
91
|
instanceof?: undefined;
|
|
92
|
+
type: "string";
|
|
93
93
|
} | {
|
|
94
|
-
type: "boolean";
|
|
95
94
|
instanceof?: undefined;
|
|
95
|
+
type: "boolean";
|
|
96
96
|
} | {
|
|
97
|
-
type: "null";
|
|
98
97
|
instanceof?: undefined;
|
|
98
|
+
type: "null";
|
|
99
99
|
} | {
|
|
100
|
-
instanceof: string;
|
|
101
100
|
type?: undefined;
|
|
101
|
+
instanceof: string;
|
|
102
102
|
})[];
|
|
103
103
|
};
|
|
104
104
|
contextRelativeKeys: {
|
|
@@ -124,11 +124,11 @@ export declare const optionsSchema: {
|
|
|
124
124
|
entrypointsKey: {
|
|
125
125
|
default: string;
|
|
126
126
|
oneOf: ({
|
|
127
|
-
type: "string";
|
|
128
127
|
const?: undefined;
|
|
128
|
+
type: "string";
|
|
129
129
|
} | {
|
|
130
|
-
const: false;
|
|
131
130
|
type?: undefined;
|
|
131
|
+
const: false;
|
|
132
132
|
})[];
|
|
133
133
|
};
|
|
134
134
|
entrypointsUseAssets: {
|
|
@@ -163,11 +163,11 @@ export declare const optionsSchema: {
|
|
|
163
163
|
functionOrNull: {
|
|
164
164
|
default: null;
|
|
165
165
|
oneOf: ({
|
|
166
|
-
instanceof: string;
|
|
167
166
|
type?: undefined;
|
|
167
|
+
instanceof: string;
|
|
168
168
|
} | {
|
|
169
|
-
type: "null";
|
|
170
169
|
instanceof?: undefined;
|
|
170
|
+
type: "null";
|
|
171
171
|
})[];
|
|
172
172
|
};
|
|
173
173
|
};
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ 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:
|
|
39
|
+
customize: SyncWaterfallHook<[entry: void | false | KeyValuePair | undefined, original: KeyValuePair, manifest: WebpackAssetsManifest, asset: Asset | undefined], void | false | KeyValuePair | undefined, import("tapable").UnsetAdditionalOptions>;
|
|
40
40
|
transform: SyncWaterfallHook<[asset: AssetsStorage, manifest: WebpackAssetsManifest], AssetsStorage, import("tapable").UnsetAdditionalOptions>;
|
|
41
41
|
done: AsyncSeriesHook<[manifest: WebpackAssetsManifest, stats: Stats], import("tapable").UnsetAdditionalOptions>;
|
|
42
42
|
options: SyncWaterfallHook<[options: Options], Options, import("tapable").UnsetAdditionalOptions>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webpack-assets-manifest",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.3",
|
|
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": {
|
|
@@ -31,6 +31,20 @@
|
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": ">=20.10.0"
|
|
33
33
|
},
|
|
34
|
+
"devEngines": {
|
|
35
|
+
"packageManager": {
|
|
36
|
+
"name": "pnpm",
|
|
37
|
+
"version": ">=12.0.0 <13.0.0",
|
|
38
|
+
"onFail": "warn"
|
|
39
|
+
},
|
|
40
|
+
"runtime": [
|
|
41
|
+
{
|
|
42
|
+
"name": "node",
|
|
43
|
+
"version": "^26.9.0",
|
|
44
|
+
"onFail": "download"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
34
48
|
"type": "module",
|
|
35
49
|
"types": "./dist/types/index.d.ts",
|
|
36
50
|
"exports": {
|
|
@@ -65,7 +79,6 @@
|
|
|
65
79
|
"files": [
|
|
66
80
|
"dist"
|
|
67
81
|
],
|
|
68
|
-
"packageManager": "pnpm@11.2.2+sha512.36e6621fad506178936455e70247b8808ef4ec25797a9f437a93281a020484e2607f6a469a22e982987c3dbb8866e3071514ab10a4a1749e06edcd1ec118436f",
|
|
69
82
|
"scripts": {
|
|
70
83
|
"clean": "rimraf ./coverage/ ./dist/ ./cache/",
|
|
71
84
|
"prebuild": "pnpm clean",
|
|
@@ -86,48 +99,49 @@
|
|
|
86
99
|
"dependencies": {
|
|
87
100
|
"deepmerge": "^4.3.1",
|
|
88
101
|
"proper-lockfile": "^4.1.2",
|
|
89
|
-
"schema-utils": "^4.
|
|
102
|
+
"schema-utils": "^4.5.0",
|
|
90
103
|
"tapable": "^2.3.3"
|
|
91
104
|
},
|
|
92
105
|
"peerDependencies": {
|
|
93
106
|
"webpack": "^5.61.0"
|
|
94
107
|
},
|
|
95
108
|
"devDependencies": {
|
|
96
|
-
"@commitlint/config-conventional": "^21.
|
|
97
|
-
"@commitlint/types": "^21.
|
|
98
|
-
"@types/node": "^20.19.
|
|
109
|
+
"@commitlint/config-conventional": "^21.2.3",
|
|
110
|
+
"@commitlint/types": "^21.2.3",
|
|
111
|
+
"@types/node": "^20.19.43",
|
|
99
112
|
"@types/proper-lockfile": "^4.1.4",
|
|
100
113
|
"@types/tapable": "^2.3.0",
|
|
101
114
|
"@types/webpack-sources": "^3.2.3",
|
|
102
|
-
"@
|
|
103
|
-
"@
|
|
115
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
116
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
117
|
+
"@webdeveric/eslint-config-ts": "^0.12.1",
|
|
104
118
|
"@webdeveric/prettier-config": "^0.4.0",
|
|
105
|
-
"commitlint": "^21.
|
|
106
|
-
"commitlint-plugin-cspell": "^0.9.
|
|
119
|
+
"commitlint": "^21.2.3",
|
|
120
|
+
"commitlint-plugin-cspell": "^0.9.5",
|
|
107
121
|
"compression-webpack-plugin": "^12.0.0",
|
|
108
122
|
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
109
123
|
"copy-webpack-plugin": "^14.0.0",
|
|
110
|
-
"cspell": "^10.
|
|
111
|
-
"css-loader": "^7.1.
|
|
124
|
+
"cspell": "^10.3.3",
|
|
125
|
+
"css-loader": "^7.1.5",
|
|
112
126
|
"eslint": "^8.57.1",
|
|
113
127
|
"eslint-config-prettier": "^10.1.8",
|
|
114
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
128
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
115
129
|
"eslint-plugin-import": "^2.32.0",
|
|
116
130
|
"file-loader": "^6.2.0",
|
|
117
|
-
"fs-extra": "^11.
|
|
131
|
+
"fs-extra": "^11.4.0",
|
|
118
132
|
"husky": "^9.1.7",
|
|
119
|
-
"lint-staged": "^17.
|
|
120
|
-
"memfs": "^4.
|
|
133
|
+
"lint-staged": "^17.5.1",
|
|
134
|
+
"memfs": "^4.78.1",
|
|
121
135
|
"mini-css-extract-plugin": "^2.10.2",
|
|
122
|
-
"prettier": "^3.8
|
|
136
|
+
"prettier": "^3.9.8",
|
|
123
137
|
"rimraf": "^6.1.3",
|
|
124
|
-
"sass-loader": "^17.0.
|
|
125
|
-
"semantic-release": "^25.0.
|
|
126
|
-
"typescript": "
|
|
127
|
-
"validate-package-exports": "^
|
|
128
|
-
"vitest": "^4.1.
|
|
129
|
-
"webpack": "^5.
|
|
130
|
-
"webpack-dev-server": "^5.2.
|
|
138
|
+
"sass-loader": "^17.0.1",
|
|
139
|
+
"semantic-release": "^25.0.9",
|
|
140
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
141
|
+
"validate-package-exports": "^1.4.5",
|
|
142
|
+
"vitest": "^4.1.11",
|
|
143
|
+
"webpack": "^5.111.1",
|
|
144
|
+
"webpack-dev-server": "^5.2.6",
|
|
131
145
|
"webpack-subresource-integrity": "^5.1.0"
|
|
132
146
|
}
|
|
133
147
|
}
|
package/dist/cjs/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
package/dist/mjs/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|