weboptimizer 2.0.1605 → 2.0.1607
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/helper.js +1 -1
- package/package.json +5 -5
- package/type.d.ts +3 -3
package/helper.js
CHANGED
|
@@ -230,7 +230,7 @@ var determineExternalRequest = exports.determineExternalRequest = function deter
|
|
|
230
230
|
since we pass an already resolved request.
|
|
231
231
|
*/
|
|
232
232
|
var filePath = determineModuleFilePath(resolvedRequest, {}, {}, {
|
|
233
|
-
file: extensions.file.external
|
|
233
|
+
file: extensions.file.external.concat(extensions.file.internal)
|
|
234
234
|
}, context, requestContext, pathsToIgnore, relativeModuleLocations, packageEntryFileNames, packageMainPropertyNames, packageAliasPropertyNames, encoding);
|
|
235
235
|
/*
|
|
236
236
|
NOTE: We mark dependencies as external if there file couldn't be
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1607",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -124,18 +124,18 @@
|
|
|
124
124
|
"@types/html-minifier": "^4.0.5",
|
|
125
125
|
"@types/html-minifier-terser": "^7.0.2",
|
|
126
126
|
"@types/imagemin": "^9.0.1",
|
|
127
|
-
"@types/node": "^24.
|
|
127
|
+
"@types/node": "^24.5.1",
|
|
128
128
|
"@types/postcss-import": "^14.0.3",
|
|
129
129
|
"@types/postcss-url": "^10.0.4",
|
|
130
130
|
"@types/webpack-env": "^1.18.8",
|
|
131
131
|
"@types/webpack-sources": "^3.2.3",
|
|
132
|
-
"@typescript-eslint/parser": "^8.
|
|
132
|
+
"@typescript-eslint/parser": "^8.44.0",
|
|
133
133
|
"css-loader": "^7.1.2",
|
|
134
134
|
"cssnano": "^7.1.1",
|
|
135
135
|
"documentation-website": "^1.0.394",
|
|
136
136
|
"eslint": "^9.35.0",
|
|
137
137
|
"eslint-config-google": "^0.14.0",
|
|
138
|
-
"eslint-plugin-jsdoc": "^
|
|
138
|
+
"eslint-plugin-jsdoc": "^58.1.1",
|
|
139
139
|
"favicons": "^7.2.0",
|
|
140
140
|
"favicons-webpack-plugin": "^6.0.1",
|
|
141
141
|
"globals": "^16.4.0",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"stylelint": "^16.24.0",
|
|
158
158
|
"stylelint-config-standard": "^39.0.0",
|
|
159
159
|
"stylelint-config-standard-scss": "^16.0.0",
|
|
160
|
-
"typescript-eslint": "^8.
|
|
160
|
+
"typescript-eslint": "^8.44.0",
|
|
161
161
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
162
162
|
"workbox-webpack-plugin": "^7.3.0"
|
|
163
163
|
},
|
package/type.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface PackageDescriptor {
|
|
|
34
34
|
}
|
|
35
35
|
export type Replacements = Mapping<SecondParameter<string['replace']>>;
|
|
36
36
|
export type Resolvable = {
|
|
37
|
-
[
|
|
37
|
+
[K in '__evaluate__' | '__execute__']?: Resolvable;
|
|
38
38
|
} & Mapping<unknown>;
|
|
39
39
|
export interface RedundantRequest {
|
|
40
40
|
path: string;
|
|
@@ -289,7 +289,7 @@ export interface ResolvedConfiguration {
|
|
|
289
289
|
files: {
|
|
290
290
|
additionalPaths: Array<string>;
|
|
291
291
|
compose: {
|
|
292
|
-
cascadingStyleSheet: string | ((
|
|
292
|
+
cascadingStyleSheet: string | ((asset: unknown) => string);
|
|
293
293
|
image: string;
|
|
294
294
|
javaScript: string;
|
|
295
295
|
};
|
|
@@ -434,7 +434,7 @@ export interface GenericLoader {
|
|
|
434
434
|
export type Loader = GenericLoader & Mapping<WebpackRuleSetRule>;
|
|
435
435
|
export interface EvaluationScope {
|
|
436
436
|
configuration: ResolvedConfiguration;
|
|
437
|
-
isFilePathInDependencies: (
|
|
437
|
+
isFilePathInDependencies: (filePath: string) => boolean;
|
|
438
438
|
loader: Loader;
|
|
439
439
|
require: typeof require;
|
|
440
440
|
}
|