Lock uglify-js to fix minified version, #161

This commit is contained in:
Vitaly Puzrin 2019-03-01 00:35:30 +03:00
parent f256ab91b5
commit 0ce0d886c1
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@
"mocha": "^5.2.0",
"multiparty": "^4.1.3",
"ndoc": "^5.0.1",
"uglify-js": "^3.0.25",
"uglify-js": "=3.4.8",
"zlibjs": "^0.3.1"
},
"dependencies": {}

View file

@ -25,7 +25,7 @@ describe('ArrayBuffer', function () {
assert.ok(cmp(sample, pako.inflate(deflated.buffer)));
});
it.skip('Simplified minified version test', function () {
it('Simplified minified version test', function () {
// At some point minifier started to corrupt str2buf function
// https://github.com/nodeca/pako/issues/161#issuecomment-468420555
var minified = require('../dist/pako.min.js');