weboptimizer 2.0.1518 → 2.0.1520

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
@@ -126,7 +126,7 @@ var load = exports.load = function load(context) {
126
126
  /// region load additional dynamically given configuration
127
127
  var count = 0;
128
128
  var filePath = null;
129
- for (var index = 0; index < _clientnode.MAXIMAL_NUMBER_OF_ITERATIONS.value; index++) {
129
+ for (var iteration = 0; iteration < _clientnode.MAXIMAL_NUMBER_OF_ITERATIONS.value; iteration++) {
130
130
  var newFilePath = "".concat(configuration.path.context, ".dynamicConfiguration-") + "".concat(String(count), ".json");
131
131
  if (!(0, _clientnode.isFileSync)(newFilePath)) break;
132
132
  filePath = newFilePath;
package/ejsLoader.js CHANGED
@@ -91,7 +91,7 @@ var loader = exports.loader = function loader(source) {
91
91
  source: source,
92
92
  template: template
93
93
  });
94
- if (evaluated.error) console.warn('Error occurred during processing given query: ' + evaluated.error);else (0, _clientnode.extend)(true, nestedLocals, evaluated.result);
94
+ if (evaluated.error) console.warn('Error occurred during processing given query: ' + evaluated.error);else if (evaluated.result) (0, _clientnode.extend)(true, nestedLocals, evaluated.result);
95
95
  }
96
96
  var nestedOptions = (0, _clientnode.copy)(options);
97
97
  delete nestedOptions.client;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1518",
3
+ "version": "2.0.1520",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -89,18 +89,19 @@
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.7",
92
+ "@babel/core": "^7.25.8",
93
93
  "@babel/plugin-proposal-class-properties": "^7.18.6",
94
94
  "@babel/plugin-proposal-decorators": "^7.25.7",
95
95
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
96
+ "@babel/plugin-syntax-top-level-await": "^7.14.5",
96
97
  "@babel/plugin-transform-runtime": "^7.25.7",
97
- "@babel/preset-env": "^7.25.7",
98
+ "@babel/preset-env": "^7.25.8",
98
99
  "@babel/preset-typescript": "^7.25.7",
99
100
  "@babel/runtime": "^7.25.7",
100
101
  "babel-loader": "^9.2.1",
101
102
  "babel-plugin-transform-modern-regexp": "^0.0.6",
102
103
  "babel-preset-minify": "^0.5.2",
103
- "clientnode": "3.0.1192",
104
+ "clientnode": "3.0.1201",
104
105
  "ejs": "^3.1.10",
105
106
  "exports-loader": "^5.0.0",
106
107
  "extract-loader": "^5.1.0",
@@ -112,36 +113,36 @@
112
113
  "jest-environment-jsdom": "^29.7.0",
113
114
  "rimraf": "^6.0.1",
114
115
  "script-loader": "^0.7.2",
115
- "typescript": "^5.6.2",
116
+ "typescript": "^5.6.3",
116
117
  "webpack": "^5.95.0",
117
118
  "webpack-cli": "^5.1.4",
118
119
  "webpack-sources": "^3.2.3"
119
120
  },
120
121
  "devDependencies": {
121
122
  "@babel/cli": "^7.25.7",
122
- "@babel/eslint-parser": "^7.25.7",
123
- "@stylistic/eslint-plugin": "^2.8.0",
124
- "@stylistic/eslint-plugin-ts": "^2.8.0",
123
+ "@babel/eslint-parser": "^7.25.8",
124
+ "@stylistic/eslint-plugin": "^2.9.0",
125
+ "@stylistic/eslint-plugin-ts": "^2.9.0",
125
126
  "@types/ejs": "^3.1.5",
126
127
  "@types/eslint": "^9.6.1",
127
128
  "@types/html-minifier": "^4.0.5",
128
129
  "@types/html-minifier-terser": "^7.0.2",
129
130
  "@types/imagemin": "^9.0.0",
130
- "@types/node": "^22.7.4",
131
+ "@types/node": "^22.7.5",
131
132
  "@types/postcss-import": "^14.0.3",
132
133
  "@types/postcss-url": "^10.0.4",
133
134
  "@types/webpack-env": "^1.18.5",
134
135
  "@types/webpack-sources": "^3.2.3",
135
- "@typescript-eslint/parser": "^8.8.0",
136
+ "@typescript-eslint/parser": "^8.9.0",
136
137
  "css-loader": "^7.1.2",
137
138
  "cssnano": "^7.0.6",
138
- "documentation-website": "^1.0.333",
139
- "eslint": "^9.11.1",
139
+ "documentation-website": "^1.0.335",
140
+ "eslint": "^9.12.0",
140
141
  "eslint-config-google": "^0.14.0",
141
- "eslint-plugin-jsdoc": "^50.3.1",
142
+ "eslint-plugin-jsdoc": "^50.4.1",
142
143
  "favicons": "^7.2.0",
143
144
  "favicons-webpack-plugin": "^6.0.1",
144
- "globals": "^15.10.0",
145
+ "globals": "^15.11.0",
145
146
  "image-minimizer-webpack-plugin": "^4.1.0",
146
147
  "jest": "^29.7.0",
147
148
  "jsdoc": "^4.0.3",
@@ -152,15 +153,15 @@
152
153
  "postcss-fontpath": "^1.0.0",
153
154
  "postcss-import": "^16.1.0",
154
155
  "postcss-loader": "^8.1.1",
155
- "postcss-preset-env": "^10.0.5",
156
+ "postcss-preset-env": "^10.0.7",
156
157
  "postcss-sprites": "^4.2.1",
157
158
  "postcss-url": "^10.1.3",
158
159
  "shx": "^0.3.4",
159
160
  "style-loader": "^4.0.0",
160
- "stylelint": "^16.9.0",
161
+ "stylelint": "^16.10.0",
161
162
  "stylelint-config-standard": "^36.0.1",
162
163
  "stylelint-config-standard-scss": "^13.1.0",
163
- "typescript-eslint": "^8.8.0",
164
+ "typescript-eslint": "^8.9.0",
164
165
  "typescript-plugin-css-modules": "^5.1.0",
165
166
  "workbox-webpack-plugin": "^7.1.0"
166
167
  },