weboptimizer 2.0.1194 → 2.0.1195
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/jestSetup.js +6 -1
- package/package.json +5 -1
package/jestSetup.js
CHANGED
|
@@ -22,7 +22,12 @@ var _clientnode = require("clientnode");
|
|
|
22
22
|
var _util = require("util");
|
|
23
23
|
|
|
24
24
|
_clientnode.globalContext.TextEncoder = _util.TextEncoder;
|
|
25
|
-
_clientnode.globalContext.TextDecoder = _util.TextDecoder;
|
|
25
|
+
_clientnode.globalContext.TextDecoder = _util.TextDecoder;
|
|
26
|
+
|
|
27
|
+
try {
|
|
28
|
+
if (eval('require')('jest-canvas-mock')) console.info('Canvas mocking module loaded.');
|
|
29
|
+
} catch (error) {// Do nothing.
|
|
30
|
+
} // region vim modline
|
|
26
31
|
// vim: set tabstop=4 shiftwidth=4 expandtab:
|
|
27
32
|
// vim: foldmethod=marker foldmarker=region,endregion:
|
|
28
33
|
// endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1195",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
"image-minimizer-webpack-plugin": "*",
|
|
174
174
|
"imagemin": "*",
|
|
175
175
|
"jest": "*",
|
|
176
|
+
"jest-canvas-mock": "*",
|
|
176
177
|
"jsdoc": "*",
|
|
177
178
|
"mini-css-extract-plugin": "*",
|
|
178
179
|
"postcss": "*",
|
|
@@ -244,6 +245,9 @@
|
|
|
244
245
|
"jest": {
|
|
245
246
|
"optional": true
|
|
246
247
|
},
|
|
248
|
+
"jest-canvas-mock": {
|
|
249
|
+
"optional": true
|
|
250
|
+
},
|
|
247
251
|
"jsdoc": {
|
|
248
252
|
"optional": true
|
|
249
253
|
},
|