weboptimizer 3.0.22-1 → 3.0.22-2

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.
Files changed (2) hide show
  1. package/browser.js +11 -2
  2. package/package.json +3 -3
package/browser.js CHANGED
@@ -95,7 +95,16 @@ if (typeof TARGET_TECHNOLOGY === 'undefined' || TARGET_TECHNOLOGY === 'node')
95
95
  beforeParse: function beforeParse(window) {
96
96
  var _ref2;
97
97
  // We want to use it in a polymorphic way.
98
+ /*
99
+ eslint-disable
100
+ @typescript-eslint/no-unnecessary-type-assertion
101
+ */
98
102
  browser.window = (_ref2 = global.window) !== null && _ref2 !== void 0 ? _ref2 : window;
103
+ /*
104
+ eslint-enable
105
+ @typescript-eslint/no-unnecessary-type-assertion
106
+ */
107
+
99
108
  window.document.addEventListener('DOMContentLoaded', function () {
100
109
  /*
101
110
  Move template results into global
@@ -129,7 +138,7 @@ if (typeof TARGET_TECHNOLOGY === 'undefined' || TARGET_TECHNOLOGY === 'node')
129
138
  try {
130
139
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
131
140
  var callback = _step3.value;
132
- callback();
141
+ void callback();
133
142
  }
134
143
  } catch (err) {
135
144
  _iterator3.e(err);
@@ -204,7 +213,7 @@ if (typeof TARGET_TECHNOLOGY === 'undefined' || TARGET_TECHNOLOGY === 'node')
204
213
  try {
205
214
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
206
215
  var callback = _step4.value;
207
- callback();
216
+ void callback();
208
217
  }
209
218
  } catch (err) {
210
219
  _iterator4.e(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "3.0.22-1",
3
+ "version": "3.0.22-2",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -97,7 +97,7 @@
97
97
  "babel-loader": "^10.1.1",
98
98
  "babel-plugin-transform-modern-regexp": "^0.0.6",
99
99
  "babel-preset-minify": "^0.5.2",
100
- "clientnode": "4.0.1387",
100
+ "clientnode": "4.0.1388",
101
101
  "ejs": "^5.0.2",
102
102
  "exports-loader": "^5.0.0",
103
103
  "extract-loader": "^5.1.0",
@@ -158,7 +158,7 @@
158
158
  "stylelint-config-standard-scss": "^17.0.0",
159
159
  "typescript-eslint": "^8.59.0",
160
160
  "typescript-plugin-css-modules": "^5.2.0",
161
- "web-documentation": "^1.0.2",
161
+ "web-documentation": "^1.0.3",
162
162
  "workbox-webpack-plugin": "^7.4.0"
163
163
  },
164
164
  "peerDependencies": {