terser-webpack-plugin
Advanced tools
Comparing version 2.3.5 to 2.3.6
@@ -5,2 +5,9 @@ # Changelog | ||
### [2.3.6](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.5...v2.3.6) (2020-04-25) | ||
### Bug Fixes | ||
* preserve `@license` comments starting with `//` ([d3f0c81](https://github.com/webpack-contrib/terser-webpack-plugin/commit/d3f0c811672920b658edaa99815de9204716fa21)) | ||
### [2.3.5](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.4...v2.3.5) (2020-02-14) | ||
@@ -7,0 +14,0 @@ |
@@ -100,3 +100,3 @@ "use strict"; | ||
condition[key] = (astNode, comment) => { | ||
return comment.type === 'comment2' && /@preserve|@lic|@cc_on|^\**!/i.test(comment.value); | ||
return (comment.type === 'comment2' || comment.type === 'comment1') && /@preserve|@lic|@cc_on|^\**!/i.test(comment.value); | ||
}; | ||
@@ -103,0 +103,0 @@ |
{ | ||
"name": "terser-webpack-plugin", | ||
"version": "2.3.5", | ||
"version": "2.3.6", | ||
"description": "Terser plugin for webpack", | ||
@@ -45,9 +45,9 @@ "license": "MIT", | ||
"cacache": "^13.0.1", | ||
"find-cache-dir": "^3.2.0", | ||
"jest-worker": "^25.1.0", | ||
"p-limit": "^2.2.2", | ||
"schema-utils": "^2.6.4", | ||
"serialize-javascript": "^2.1.2", | ||
"find-cache-dir": "^3.3.1", | ||
"jest-worker": "^25.4.0", | ||
"p-limit": "^2.3.0", | ||
"schema-utils": "^2.6.6", | ||
"serialize-javascript": "^3.0.0", | ||
"source-map": "^0.6.1", | ||
"terser": "^4.4.3", | ||
"terser": "^4.6.12", | ||
"webpack-sources": "^1.4.3" | ||
@@ -57,4 +57,4 @@ }, | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.4", | ||
"@babel/preset-env": "^7.8.4", | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-env": "^7.9.5", | ||
"@commitlint/cli": "^8.3.5", | ||
@@ -64,4 +64,3 @@ "@commitlint/config-conventional": "^8.3.4", | ||
"@webpack-contrib/eslint-config-webpack": "^3.0.0", | ||
"babel-jest": "^25.1.0", | ||
"commitlint-azure-pipelines-cli": "^1.0.3", | ||
"babel-jest": "^25.4.0", | ||
"cross-env": "^6.0.3", | ||
@@ -71,14 +70,13 @@ "del": "^5.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"husky": "^4.2.3", | ||
"jest": "^25.1.0", | ||
"jest-junit": "^10.0.0", | ||
"lint-staged": "^10.0.7", | ||
"memfs": "^3.0.4", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
"husky": "^4.2.5", | ||
"jest": "^25.4.0", | ||
"lint-staged": "^10.1.7", | ||
"memfs": "^3.1.2", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.19.1", | ||
"standard-version": "^7.1.0", | ||
"uglify-js": "^3.7.7", | ||
"webpack": "next" | ||
"uglify-js": "^3.9.1", | ||
"webpack": "^4.43.0" | ||
}, | ||
@@ -85,0 +83,0 @@ "keywords": [ |
@@ -765,4 +765,4 @@ <div align="center"> | ||
[deps-url]: https://david-dm.org/webpack-contrib/terser-webpack-plugin | ||
[tests]: https://dev.azure.com/webpack-contrib/terser-webpack-plugin/_apis/build/status/webpack-contrib.terser-webpack-plugin?branchName=master | ||
[tests-url]: https://dev.azure.com/webpack-contrib/terser-webpack-plugin/_build/latest?definitionId=7&branchName=master | ||
[tests]: https://github.com/webpack-contrib/terser-webpack-plugin/workflows/terser-webpack-plugin/badge.svg | ||
[tests-url]: https://github.com/webpack-contrib/terser-webpack-plugin/actions | ||
[cover]: https://codecov.io/gh/webpack-contrib/terser-webpack-plugin/branch/master/graph/badge.svg | ||
@@ -769,0 +769,0 @@ [cover-url]: https://codecov.io/gh/webpack-contrib/terser-webpack-plugin |
66747
23
+ Addedserialize-javascript@3.1.0(transitive)
- Removedserialize-javascript@2.1.2(transitive)
Updatedfind-cache-dir@^3.3.1
Updatedjest-worker@^25.4.0
Updatedp-limit@^2.3.0
Updatedschema-utils@^2.6.6
Updatedserialize-javascript@^3.0.0
Updatedterser@^4.6.12