weboptimizer 4.0.65 → 4.0.67
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/eslint.config.d.ts +1 -1
- package/eslint.config.js +1 -1
- package/package.json +8 -7
- package/readme.md +1 -1
- package/type.d.ts +1 -1
package/eslint.config.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @returns A promise holding a boolean which indicates directory existence.
|
|
5
5
|
*/
|
|
6
6
|
export declare const isFile: (filePath: string) => Promise<boolean>;
|
|
7
|
-
export declare const config: import("eslint/config").ConfigObject[];
|
|
7
|
+
export declare const config: import("@eslint/config-helpers").ConfigObject[];
|
|
8
8
|
export default config;
|
package/eslint.config.js
CHANGED
|
@@ -42,7 +42,7 @@ for (const filePath of ['./tsconfig.eslint.json', './tsconfig.json', './tsconfig
|
|
|
42
42
|
let PROJECT_SPECIFIC_CONFIGURATION = [];
|
|
43
43
|
if (PACKAGE_CONFIGURATION.name !== 'weboptimizer') try {
|
|
44
44
|
// @ts-expect-error Need to create polymorphic type.
|
|
45
|
-
const config = await import('../../eslint.config.
|
|
45
|
+
const config = await import('../../eslint.config.js');
|
|
46
46
|
const resolvedConfig = config.config ?? config.default ?? config.configuration ?? config;
|
|
47
47
|
PROJECT_SPECIFIC_CONFIGURATION = PROJECT_SPECIFIC_CONFIGURATION.concat(resolvedConfig);
|
|
48
48
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.67",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -99,10 +99,11 @@
|
|
|
99
99
|
"@babel/plugin-transform-proto-to-assign": "^8.0.1",
|
|
100
100
|
"@babel/preset-env": "^8.0.2",
|
|
101
101
|
"@babel/preset-typescript": "^8.0.1",
|
|
102
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
102
103
|
"babel-loader": "^10.1.1",
|
|
103
104
|
"babel-plugin-polyfill-corejs3": "^1.0.0",
|
|
104
105
|
"babel-plugin-transform-rewrite-imports": "^1.5.4",
|
|
105
|
-
"clientnode": "4.0.
|
|
106
|
+
"clientnode": "4.0.1501",
|
|
106
107
|
"core-js": "^3.50.0",
|
|
107
108
|
"ejs": "^6.0.1",
|
|
108
109
|
"exports-loader": "^5.0.0",
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
"jest-environment-jsdom": "^30.4.1",
|
|
116
117
|
"rimraf": "^6.1.3",
|
|
117
118
|
"script-loader": "^0.7.2",
|
|
118
|
-
"typescript": "
|
|
119
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
119
120
|
"webpack": "^5.109.2",
|
|
120
121
|
"webpack-cli": "^7.2.2",
|
|
121
122
|
"webpack-sources": "^3.5.1"
|
|
@@ -130,14 +131,14 @@
|
|
|
130
131
|
"@types/html-minifier": "^4.0.6",
|
|
131
132
|
"@types/html-minifier-terser": "^7.0.2",
|
|
132
133
|
"@types/imagemin": "^9.0.1",
|
|
133
|
-
"@types/node": "^26.
|
|
134
|
+
"@types/node": "^26.4.0",
|
|
134
135
|
"@types/postcss-import": "^14.0.3",
|
|
135
136
|
"@types/postcss-url": "^10.0.4",
|
|
136
137
|
"@types/webpack-env": "^1.18.8",
|
|
137
138
|
"@types/webpack-sources": "^3.2.3",
|
|
138
139
|
"@typescript-eslint/parser": "^8.68.0",
|
|
139
140
|
"css-loader": "^7.1.4",
|
|
140
|
-
"cssnano": "^8.0.
|
|
141
|
+
"cssnano": "^8.0.10",
|
|
141
142
|
"eslint": "^10.9.1",
|
|
142
143
|
"eslint-config-google": "^0.14.0",
|
|
143
144
|
"eslint-plugin-jsdoc": "^64.2.1",
|
|
@@ -165,7 +166,7 @@
|
|
|
165
166
|
"terser-webpack-plugin": "^5.6.1",
|
|
166
167
|
"typescript-eslint": "^8.68.0",
|
|
167
168
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
168
|
-
"web-documentation": "^1.0.
|
|
169
|
+
"web-documentation": "^1.0.51",
|
|
169
170
|
"workbox-webpack-plugin": "^7.4.1"
|
|
170
171
|
},
|
|
171
172
|
"peerDependencies": {
|
|
@@ -1777,5 +1778,5 @@
|
|
|
1777
1778
|
"webDocumentation": {
|
|
1778
1779
|
"trackingCode": "UA-40192634-11"
|
|
1779
1780
|
},
|
|
1780
|
-
"packageManager": "yarn@4.
|
|
1781
|
+
"packageManager": "yarn@4.18.0"
|
|
1781
1782
|
}
|
package/readme.md
CHANGED
|
@@ -320,4 +320,4 @@ package.json (see the API-Documentation, link above, for more details):
|
|
|
320
320
|
2. Set Working directory:
|
|
321
321
|
/PATH/TO/PROJECT
|
|
322
322
|
3. Set configuration file path:
|
|
323
|
-
/PATH/TO/PROJECT/node_modules/weboptimizer/eslint.config.
|
|
323
|
+
/PATH/TO/PROJECT/node_modules/weboptimizer/eslint.config.js
|
package/type.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export interface BuildConfigurationItem {
|
|
|
133
133
|
outputExtension: string;
|
|
134
134
|
}
|
|
135
135
|
export type BuildConfiguration = Mapping<BuildConfigurationItem>;
|
|
136
|
-
export declare const SubConfigurationTypes: readonly [
|
|
136
|
+
export declare const SubConfigurationTypes: readonly ['debug', 'document', 'test', 'test:browser'];
|
|
137
137
|
export declare const TaskTypes: readonly ["build", "serve", "debug", "document", "test", "test:browser"];
|
|
138
138
|
export type BooleanExpression = boolean | null | string;
|
|
139
139
|
export interface AdditionalLoaderConfiguration {
|