weboptimizer 2.0.1245 → 2.0.1246

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 (3) hide show
  1. package/browser.js +10 -8
  2. package/package.json +1 -1
  3. package/readme.md +2 -7
package/browser.js CHANGED
@@ -144,10 +144,11 @@ if (typeof TARGET_TECHNOLOGY === 'undefined' || TARGET_TECHNOLOGY === 'node')
144
144
  _context.next = 26;
145
145
  break;
146
146
  }
147
- filePath = path.join(__dirname, 'index.html.ejs'); /*
148
- NOTE: We load dependencies now to avoid having file imports
149
- after test runner has finished to isolate the environment.
150
- */
147
+ filePath = path.join(__dirname, 'index.html.ejs');
148
+ /*
149
+ NOTE: We load dependencies now to avoid having file imports
150
+ after test runner has finished to isolate the environment.
151
+ */
151
152
  _context.next = 17;
152
153
  return Promise.resolve().then(function () {
153
154
  return _interopRequireWildcard(require('./ejsLoader'));
@@ -231,10 +232,11 @@ var getInitializedBrowser = /*#__PURE__*/function () {
231
232
  replaceWindow = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : true;
232
233
  promise = new Promise(function (resolve) {
233
234
  resolvePromise = resolve;
234
- }); /*
235
- NOTE: We have to define window globally before anything is loaded to
236
- ensure that all future instances share the same window object.
237
- */
235
+ });
236
+ /*
237
+ NOTE: We have to define window globally before anything is loaded to
238
+ ensure that all future instances share the same window object.
239
+ */
238
240
  wrappedCallback = function wrappedCallback() {
239
241
  if (replaceWindow && typeof global !== 'undefined' && global !== browser.window) global.window = browser.window;
240
242
  resolvePromise(browser);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1245",
3
+ "version": "2.0.1246",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
package/readme.md CHANGED
@@ -18,17 +18,12 @@ Project status
18
18
 
19
19
  [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/build.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/build.yaml)
20
20
  [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/test.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/test.yaml)
21
- [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/test:coverage:report.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/test:coverage:report.yaml)
22
- [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/check:types.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/check:types.yaml)
21
+ [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/test-coverage-report.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/test-coverage-report.yaml)
22
+ [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/check-types.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/check-types.yaml)
23
23
  [![<LABEL>](https://github.com/thaibault/weboptimizer/actions/workflows/lint.yaml/badge.svg)](https://github.com/thaibault/weboptimizer/actions/workflows/lint.yaml)
24
24
 
25
25
  [![code coverage](https://coveralls.io/repos/github/thaibault/weboptimizer/badge.svg)](https://coveralls.io/github/thaibault/weboptimizer)
26
26
 
27
- <!-- Too unstable yet
28
- [![dependencies](https://img.shields.io/david/thaibault/weboptimizer.svg)](https://david-dm.org/thaibault/weboptimizer)
29
- [![development dependencies](https://img.shields.io/david/dev/thaibault/weboptimizer.svg)](https://david-dm.org/thaibault/weboptimizer?type=dev)
30
- [![peer dependencies](https://img.shields.io/david/peer/thaibault/weboptimizer.svg)](https://david-dm.org/thaibault/weboptimizer?type=peer)
31
- -->
32
27
  [![documentation website](https://img.shields.io/website-up-down-green-red/https/torben.website/weboptimizer.svg?label=documentation-website)](https://torben.website/weboptimizer)
33
28
 
34
29
  [![Try out](https://badge.runkitcdn.com/weboptimizer.svg)](https://npm.runkit.com/weboptimizer)