weboptimizer 2.0.1531 → 2.0.1533

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/configurator.js CHANGED
@@ -184,7 +184,7 @@ var load = exports.load = function load(context) {
184
184
  (0, _clientnode.extend)(true, (0, _clientnode.modifyObject)((0, _clientnode.modifyObject)(configuration, specificConfiguration), runtimeInformation), specificConfiguration, runtimeInformation);
185
185
  var result = null;
186
186
  if (runtimeInformation.givenCommandLineArguments.length > 3) result = (0, _clientnode.parseEncodedObject)(runtimeInformation.givenCommandLineArguments[runtimeInformation.givenCommandLineArguments.length - 1], configuration, 'configuration');
187
- if (result !== null && (0, _typeof2["default"])(result) === 'object') {
187
+ if ((0, _clientnode.isObject)(result)) {
188
188
  if (Object.prototype.hasOwnProperty.call(result, '__reference__')) {
189
189
  var referenceNames = [].concat(result.__reference__);
190
190
  delete result.__reference__;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1531",
3
+ "version": "2.0.1533",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -89,15 +89,15 @@
89
89
  },
90
90
  "runkitExample": "require('@babel/runtime/package.json')\n\nconst {default: main} = require('weboptimizer')\n\nawait main('./', './', ['clear'])",
91
91
  "dependencies": {
92
- "@babel/core": "^7.25.9",
92
+ "@babel/core": "^7.26.0",
93
93
  "@babel/plugin-proposal-class-properties": "^7.18.6",
94
94
  "@babel/plugin-proposal-decorators": "^7.25.9",
95
95
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
96
96
  "@babel/plugin-syntax-top-level-await": "^7.14.5",
97
97
  "@babel/plugin-transform-runtime": "^7.25.9",
98
- "@babel/preset-env": "^7.25.9",
99
- "@babel/preset-typescript": "^7.25.9",
100
- "@babel/runtime": "^7.25.9",
98
+ "@babel/preset-env": "^7.26.0",
99
+ "@babel/preset-typescript": "^7.26.0",
100
+ "@babel/runtime": "^7.26.0",
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",
@@ -114,29 +114,29 @@
114
114
  "rimraf": "^6.0.1",
115
115
  "script-loader": "^0.7.2",
116
116
  "typescript": "^5.6.3",
117
- "webpack": "^5.95.0",
117
+ "webpack": "^5.96.1",
118
118
  "webpack-cli": "^5.1.4",
119
119
  "webpack-sources": "^3.2.3"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@babel/cli": "^7.25.9",
123
123
  "@babel/eslint-parser": "^7.25.9",
124
- "@stylistic/eslint-plugin": "^2.9.0",
125
- "@stylistic/eslint-plugin-ts": "^2.9.0",
124
+ "@stylistic/eslint-plugin": "^2.10.1",
125
+ "@stylistic/eslint-plugin-ts": "^2.10.1",
126
126
  "@types/ejs": "^3.1.5",
127
127
  "@types/eslint": "^9.6.1",
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.7.9",
131
+ "@types/node": "^22.8.6",
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.11.0",
136
+ "@typescript-eslint/parser": "^8.12.2",
137
137
  "css-loader": "^7.1.2",
138
138
  "cssnano": "^7.0.6",
139
- "documentation-website": "^1.0.336",
139
+ "documentation-website": "^1.0.337",
140
140
  "eslint": "^9.13.0",
141
141
  "eslint-config-google": "^0.14.0",
142
142
  "eslint-plugin-jsdoc": "^50.4.3",
@@ -146,14 +146,14 @@
146
146
  "image-minimizer-webpack-plugin": "^4.1.0",
147
147
  "jest": "^29.7.0",
148
148
  "jsdoc": "^4.0.4",
149
- "mini-css-extract-plugin": "^2.9.1",
149
+ "mini-css-extract-plugin": "^2.9.2",
150
150
  "mkdirp": "^3.0.1",
151
151
  "node-fetch": "^3.3.2",
152
152
  "postcss": "^8.4.47",
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.7",
156
+ "postcss-preset-env": "^10.0.8",
157
157
  "postcss-sprites": "^4.2.1",
158
158
  "postcss-url": "^10.1.3",
159
159
  "shx": "^0.3.4",
@@ -161,9 +161,9 @@
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.11.0",
164
+ "typescript-eslint": "^8.12.2",
165
165
  "typescript-plugin-css-modules": "^5.1.0",
166
- "workbox-webpack-plugin": "^7.1.0"
166
+ "workbox-webpack-plugin": "^7.3.0"
167
167
  },
168
168
  "peerDependencies": {
169
169
  "@babel/eslint-parser": "*",
@@ -1177,15 +1177,15 @@
1177
1177
  "plugins": [
1178
1178
  "@babel/plugin-proposal-nullish-coalescing-operator",
1179
1179
  [
1180
- "@babel/plugin-transform-private-methods",
1180
+ "@babel/plugin-proposal-decorators",
1181
1181
  {
1182
- "loose": true
1182
+ "version": "legacy"
1183
1183
  }
1184
1184
  ],
1185
1185
  [
1186
- "@babel/plugin-proposal-decorators",
1186
+ "@babel/plugin-transform-private-methods",
1187
1187
  {
1188
- "legacy": true
1188
+ "loose": true
1189
1189
  }
1190
1190
  ],
1191
1191
  [
@@ -344,7 +344,7 @@ if (configuration.injection.external.modules === '__implicit__')
344
344
  } finally {
345
345
  _iterator5.f();
346
346
  }
347
- } else if (configuration.injection.external.aliases[request] !== null && (0, _typeof2["default"])(configuration.injection.external.aliases[request]) === 'object') (0, _clientnode.extend)(result, configuration.injection.external.aliases[request]);
347
+ } else if ((0, _clientnode.isObject)(configuration.injection.external.aliases[request])) (0, _clientnode.extend)(result, configuration.injection.external.aliases[request]);
348
348
  if (Object.prototype.hasOwnProperty.call(result, 'default')) {
349
349
  var _iterator6 = _createForOfIteratorHelper(keys),
350
350
  _step6;