weboptimizer 2.0.1566 → 2.0.1568
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/ejsLoader.js +1 -1
- package/package.json +11 -11
- package/webpackConfigurator.js +4 -10
package/ejsLoader.js
CHANGED
|
@@ -191,7 +191,7 @@ var loader = exports.loader = function loader(source) {
|
|
|
191
191
|
while (scopeNames.includes(localsName)) localsName = "_".concat(localsName);
|
|
192
192
|
|
|
193
193
|
/* eslint-disable @typescript-eslint/no-implied-eval */
|
|
194
|
-
result = (0, _construct2["default"])(Function, (0, _toConsumableArray2["default"])(scopeNames).concat([localsName, "return ".concat(result.toString(), "(") + "".concat(localsName, ",").concat(localsName, ".escapeFn,include,") + "".concat(localsName, ".rethrow)")]));
|
|
194
|
+
result = (0, _construct2["default"])(Function, (0, _toConsumableArray2["default"])(scopeNames).concat([localsName, "return ".concat(result.toString(), "(") + "".concat(localsName, ",") + "".concat(localsName, ".escapeFn,") + "".concat(localsName, ".include,") + "".concat(localsName, ".rethrow)")]));
|
|
195
195
|
/* eslint-enable @typescript-eslint/no-implied-eval */
|
|
196
196
|
}
|
|
197
197
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1568",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
"@babel/preset-env": "^7.26.9",
|
|
98
98
|
"@babel/preset-typescript": "^7.26.0",
|
|
99
99
|
"@babel/runtime": "^7.26.9",
|
|
100
|
-
"babel-loader": "^
|
|
100
|
+
"babel-loader": "^10.0.0",
|
|
101
101
|
"babel-plugin-transform-modern-regexp": "^0.0.6",
|
|
102
102
|
"babel-preset-minify": "^0.5.2",
|
|
103
|
-
"clientnode": "3.0.
|
|
103
|
+
"clientnode": "3.0.1273",
|
|
104
104
|
"ejs": "^3.1.10",
|
|
105
105
|
"exports-loader": "^5.0.0",
|
|
106
106
|
"extract-loader": "^5.1.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"jest-environment-jsdom": "^29.7.0",
|
|
113
113
|
"rimraf": "^6.0.1",
|
|
114
114
|
"script-loader": "^0.7.2",
|
|
115
|
-
"typescript": "^5.
|
|
115
|
+
"typescript": "^5.8.2",
|
|
116
116
|
"webpack": "^5.98.0",
|
|
117
117
|
"webpack-cli": "^6.0.1",
|
|
118
118
|
"webpack-sources": "^3.2.3"
|
|
@@ -120,22 +120,22 @@
|
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@babel/cli": "^7.26.4",
|
|
122
122
|
"@babel/eslint-parser": "^7.26.8",
|
|
123
|
-
"@stylistic/eslint-plugin": "^4.
|
|
124
|
-
"@stylistic/eslint-plugin-ts": "^4.
|
|
123
|
+
"@stylistic/eslint-plugin": "^4.2.0",
|
|
124
|
+
"@stylistic/eslint-plugin-ts": "^4.2.0",
|
|
125
125
|
"@types/ejs": "^3.1.5",
|
|
126
126
|
"@types/eslint": "^9.6.1",
|
|
127
127
|
"@types/html-minifier": "^4.0.5",
|
|
128
128
|
"@types/html-minifier-terser": "^7.0.2",
|
|
129
129
|
"@types/imagemin": "^9.0.1",
|
|
130
|
-
"@types/node": "^22.13.
|
|
130
|
+
"@types/node": "^22.13.9",
|
|
131
131
|
"@types/postcss-import": "^14.0.3",
|
|
132
132
|
"@types/postcss-url": "^10.0.4",
|
|
133
133
|
"@types/webpack-env": "^1.18.8",
|
|
134
134
|
"@types/webpack-sources": "^3.2.3",
|
|
135
|
-
"@typescript-eslint/parser": "^8.
|
|
135
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
136
136
|
"css-loader": "^7.1.2",
|
|
137
137
|
"cssnano": "^7.0.6",
|
|
138
|
-
"documentation-website": "^1.0.
|
|
138
|
+
"documentation-website": "^1.0.345",
|
|
139
139
|
"eslint": "^9.21.0",
|
|
140
140
|
"eslint-config-google": "^0.14.0",
|
|
141
141
|
"eslint-plugin-jsdoc": "^50.6.3",
|
|
@@ -157,10 +157,10 @@
|
|
|
157
157
|
"postcss-url": "^10.1.3",
|
|
158
158
|
"shx": "^0.3.4",
|
|
159
159
|
"style-loader": "^4.0.0",
|
|
160
|
-
"stylelint": "^16.
|
|
160
|
+
"stylelint": "^16.15.0",
|
|
161
161
|
"stylelint-config-standard": "^37.0.0",
|
|
162
162
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
163
|
-
"typescript-eslint": "^8.
|
|
163
|
+
"typescript-eslint": "^8.26.0",
|
|
164
164
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
165
165
|
"workbox-webpack-plugin": "^7.3.0"
|
|
166
166
|
},
|
package/webpackConfigurator.js
CHANGED
|
@@ -1027,16 +1027,10 @@ try {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
if (!_module.optimizer.minimizer) {
|
|
1029
1029
|
_module.optimizer.minimizer = [];
|
|
1030
|
-
if (plugins.Terser)
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
*/
|
|
1035
|
-
_module.optimizer.minimizer.push(new plugins.Terser({
|
|
1036
|
-
exclude: /\\.html(?: \\.js)?(?: \\?.*)?$/,
|
|
1037
|
-
extractComments: false,
|
|
1038
|
-
parallel: true
|
|
1039
|
-
}));
|
|
1030
|
+
if (plugins.Terser) _module.optimizer.minimizer.push(new plugins.Terser({
|
|
1031
|
+
extractComments: false,
|
|
1032
|
+
parallel: true
|
|
1033
|
+
}));
|
|
1040
1034
|
if (plugins.ImageMinimizer) _module.optimizer.minimizer.push(new plugins.ImageMinimizer((0, _clientnode.extend)(true, {
|
|
1041
1035
|
minimizer: {
|
|
1042
1036
|
implementation: plugins.ImageMinimizer.imageminMinify
|