Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

revert(package): use exact uglify-es version (dependencies) (#199) #202

Merged
merged 3 commits into from
Jan 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 42 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 15 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "UglifyJS plugin for webpack",
"author": "webpack Contrib Team",
"license": "MIT",
"engines": {
"node": ">= 4.8 < 5.0.0 || >= 5.10"
},
"main": "dist/cjs.js",
"files": [
"dist"
Expand Down Expand Up @@ -35,7 +38,7 @@
"serialize-javascript": "^1.4.0",
"schema-utils": "^0.3.0",
"source-map": "^0.6.1",
"uglify-es": "3.2.2",
"uglify-es": "^3.3.4",
"webpack-sources": "^1.0.1",
"worker-farm": "^1.4.1"
},
Expand All @@ -45,39 +48,33 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"cross-env": "^5.1.0",
"cross-env": "^5.1.3",
"del-cli": "^1.1.0",
"eslint": "^4.9.0",
"eslint": "^4.14.0",
"eslint-config-webpack": "^1.2.5",
"eslint-plugin-import": "^2.8.0",
"jest": "^21.2.1",
"lint-staged": "^4.3.0",
"memory-fs": "^0.4.1",
"nsp": "^2.8.1",
"pre-commit": "^1.2.2",
"standard-version": "^4.2.0",
"standard-version": "^4.3.0",
"webpack": "^3.8.1",
"webpack-defaults": "^1.6.0"
},
"repository": {
"type": "git",
"url": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin.git"
"peerDependencies": {
"webpack": "^2.0.0 || ^3.0.0"
},
"keywords": [
"uglify",
"uglify-js",
"uglify-es",
"webpack",
"uglifyjs",
"plugin"
"webpack-plugin"
],
"bugs": {
"url": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues"
},
"bugs": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues",
"homepage": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin",
"peerDependencies": {
"webpack": "^2.0.0 || ^3.0.0"
},
"engines": {
"node": ">= 4.8 < 5.0.0 || >= 5.10"
},
"repository": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin.git",
"pre-commit": "lint-staged",
"lint-staged": {
"*.js": [
Expand Down
36 changes: 18 additions & 18 deletions test/__snapshots__/all-options.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ exports[`main.0c220ec66316af2c1b24.js 1`] = `

exports[`manifest.6afe1bc6685e9ab36c1c.js 1`] = `
"!function(modules) {
function __webpack_require__(moduleId) {
if (installedModules[moduleId]) return installedModules[moduleId].exports;
var module = installedModules[moduleId] = {
i: moduleId,
l: !1,
exports: {}
};
return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__),
module.l = !0, module.exports;
}
var parentJsonpFunction = window.webpackJsonp;
window.webpackJsonp = function(chunkIds, moreModules, executeModules) {
for (var moduleId, chunkId, result, i = 0, resolves = []; i < chunkIds.length; i++) chunkId = chunkIds[i],
Expand All @@ -34,13 +24,17 @@ exports[`manifest.6afe1bc6685e9ab36c1c.js 1`] = `
var installedModules = {}, installedChunks = {
1: 0
};
function __webpack_require__(moduleId) {
if (installedModules[moduleId]) return installedModules[moduleId].exports;
var module = installedModules[moduleId] = {
i: moduleId,
l: !1,
exports: {}
};
return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__),
module.l = !0, module.exports;
}
__webpack_require__.e = function(chunkId) {
function onScriptComplete() {
script.onerror = script.onload = null, clearTimeout(timeout);
var chunk = installedChunks[chunkId];
0 !== chunk && (chunk && chunk[1](new Error(\\"Loading chunk \\" + chunkId + \\" failed.\\")),
installedChunks[chunkId] = void 0);
}
var installedChunkData = installedChunks[chunkId];
if (0 === installedChunkData) return new Promise(function(resolve) {
resolve();
Expand All @@ -59,8 +53,14 @@ exports[`manifest.6afe1bc6685e9ab36c1c.js 1`] = `
\\"0\\": \\"0c220ec66316af2c1b24\\"
}[chunkId] + \\".js\\";
var timeout = setTimeout(onScriptComplete, 12e4);
return script.onerror = script.onload = onScriptComplete, head.appendChild(script),
promise;
script.onerror = script.onload = onScriptComplete;
function onScriptComplete() {
script.onerror = script.onload = null, clearTimeout(timeout);
var chunk = installedChunks[chunkId];
0 !== chunk && (chunk && chunk[1](new Error(\\"Loading chunk \\" + chunkId + \\" failed.\\")),
installedChunks[chunkId] = void 0);
}
return head.appendChild(script), promise;
}, __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.d = function(exports, name, getter) {
__webpack_require__.o(exports, name) || Object.defineProperty(exports, name, {
configurable: !1,
Expand Down
Loading