weboptimizer 2.0.1534 → 2.0.1536

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.mjs CHANGED
@@ -44,7 +44,7 @@ if (PACKAGE_CONFIGURATION.name !== 'weboptimizer') try {
44
44
  const config = await import('../../eslint.config.mjs');
45
45
  const resolvedConfig = config.config ?? config.default ?? config.configuration ?? config;
46
46
  PROJECT_SPECIFIG_CONFIGURATION = PROJECT_SPECIFIG_CONFIGURATION.concat(resolvedConfig);
47
- } catch (_error) {
47
+ } catch {
48
48
  // Ignore regardless of an error.
49
49
  }
50
50
  export const config = typescript.config({
package/helper.js CHANGED
@@ -894,7 +894,7 @@ var _findPackageDescriptorFilePath = exports.findPackageDescriptorFilePath = fun
894
894
  var result = (0, _path.resolve)(start.join(_path.sep), fileName);
895
895
  try {
896
896
  if ((0, _fs.existsSync)(result)) return result;
897
- } catch (_error) {
897
+ } catch (_unused) {
898
898
  // Continue regardless of an error.
899
899
  }
900
900
  return _findPackageDescriptorFilePath(start, fileName);
package/jestSetup.js CHANGED
@@ -22,6 +22,6 @@ _clientnode.globalContext.TextEncoder = _util.TextEncoder;
22
22
  _clientnode.globalContext.TextDecoder = _util.TextDecoder;
23
23
  try {
24
24
  if (eval('require')('jest-canvas-mock')) console.info('Canvas mocking module loaded.');
25
- } catch (_error) {
25
+ } catch (_unused) {
26
26
  // Do nothing.
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1534",
3
+ "version": "2.0.1536",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -101,7 +101,7 @@
101
101
  "babel-loader": "^9.2.1",
102
102
  "babel-plugin-transform-modern-regexp": "^0.0.6",
103
103
  "babel-preset-minify": "^0.5.2",
104
- "clientnode": "3.0.1218",
104
+ "clientnode": "3.0.1222",
105
105
  "ejs": "^3.1.10",
106
106
  "exports-loader": "^5.0.0",
107
107
  "extract-loader": "^5.1.0",
@@ -128,32 +128,32 @@
128
128
  "@types/html-minifier": "^4.0.5",
129
129
  "@types/html-minifier-terser": "^7.0.2",
130
130
  "@types/imagemin": "^9.0.0",
131
- "@types/node": "^22.8.6",
131
+ "@types/node": "^22.9.0",
132
132
  "@types/postcss-import": "^14.0.3",
133
133
  "@types/postcss-url": "^10.0.4",
134
134
  "@types/webpack-env": "^1.18.5",
135
135
  "@types/webpack-sources": "^3.2.3",
136
- "@typescript-eslint/parser": "^8.12.2",
136
+ "@typescript-eslint/parser": "^8.14.0",
137
137
  "css-loader": "^7.1.2",
138
138
  "cssnano": "^7.0.6",
139
139
  "documentation-website": "^1.0.337",
140
- "eslint": "^9.13.0",
140
+ "eslint": "^9.14.0",
141
141
  "eslint-config-google": "^0.14.0",
142
- "eslint-plugin-jsdoc": "^50.4.3",
142
+ "eslint-plugin-jsdoc": "^50.5.0",
143
143
  "favicons": "^7.2.0",
144
144
  "favicons-webpack-plugin": "^6.0.1",
145
- "globals": "^15.11.0",
145
+ "globals": "^15.12.0",
146
146
  "image-minimizer-webpack-plugin": "^4.1.0",
147
147
  "jest": "^29.7.0",
148
148
  "jsdoc": "^4.0.4",
149
149
  "mini-css-extract-plugin": "^2.9.2",
150
150
  "mkdirp": "^3.0.1",
151
151
  "node-fetch": "^3.3.2",
152
- "postcss": "^8.4.47",
152
+ "postcss": "^8.4.49",
153
153
  "postcss-fontpath": "^1.0.0",
154
154
  "postcss-import": "^16.1.0",
155
155
  "postcss-loader": "^8.1.1",
156
- "postcss-preset-env": "^10.0.8",
156
+ "postcss-preset-env": "^10.1.0",
157
157
  "postcss-sprites": "^4.2.1",
158
158
  "postcss-url": "^10.1.3",
159
159
  "shx": "^0.3.4",
@@ -161,7 +161,7 @@
161
161
  "stylelint": "^16.10.0",
162
162
  "stylelint-config-standard": "^36.0.1",
163
163
  "stylelint-config-standard-scss": "^13.1.0",
164
- "typescript-eslint": "^8.12.2",
164
+ "typescript-eslint": "^8.14.0",
165
165
  "typescript-plugin-css-modules": "^5.1.0",
166
166
  "workbox-webpack-plugin": "^7.3.0"
167
167
  },
@@ -62,7 +62,7 @@ var HTMLTransformation = exports.HTMLTransformation = /*#__PURE__*/function () {
62
62
  unexpected escape sequences in resulting html.
63
63
  */
64
64
  dom = new _jsdom.JSDOM(data.html.replace(/<%/g, '##+#+#+##').replace(/%>/g, '##-#-#-##'));
65
- } catch (_error) {
65
+ } catch (_unused) {
66
66
  return data;
67
67
  }
68
68
  var linkables = {
@@ -52,7 +52,7 @@ eval("typeof require === 'undefined' ? null : require");
52
52
  var optionalRequire = exports.optionalRequire = function optionalRequire(id) {
53
53
  try {
54
54
  return currentRequire ? currentRequire(id) : null;
55
- } catch (_error) {
55
+ } catch (_unused) {
56
56
  return null;
57
57
  }
58
58
  };
@@ -1005,7 +1005,7 @@ if (configuration.path.configuration.json) try {
1005
1005
  } catch (error) {
1006
1006
  console.debug('Importing provided json webpack configuration file path ' + "under \"".concat(configuration.path.configuration.json, "\" failed: ") + (0, _clientnode.represent)(error));
1007
1007
  }
1008
- } catch (_error) {
1008
+ } catch (_unused2) {
1009
1009
  console.debug('Optional configuration file "' + "".concat(configuration.path.configuration.json, "\" not available."));
1010
1010
  }
1011
1011
  var webpackConfiguration = exports.webpackConfiguration = (0, _clientnode.extend)(true, {
@@ -1118,7 +1118,7 @@ if (configuration.path.configuration.javaScript) try {
1118
1118
  if ((0, _clientnode.isPlainObject)(result)) {
1119
1119
  if (Object.prototype.hasOwnProperty.call(result, 'replaceWebOptimizer')) exports.webpackConfiguration = webpackConfiguration = result.replaceWebOptimizer;else (0, _clientnode.extend)(true, webpackConfiguration, result);
1120
1120
  } else console.debug('Failed to load given JavaScript configuration file path "' + "".concat(configuration.path.configuration.javaScript, "\"."));
1121
- } catch (_error) {
1121
+ } catch (_unused3) {
1122
1122
  console.debug('Optional configuration file script "' + "".concat(configuration.path.configuration.javaScript, "\" not available."));
1123
1123
  }
1124
1124
  if (configuration.showConfiguration) {