uglifyjs-webpack-plugin
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -5,2 +5,20 @@ # Change Log | ||
<a name="1.2.3"></a> | ||
## [1.2.3](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.2...v1.2.3) (2018-03-10) | ||
### Bug Fixes | ||
* **index:** correct `[name].js.LICENSE` file path (`options.extractComments`) ([#249](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/249)) ([430111c](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/430111c)) | ||
* **index:** relax default asset name `{RegExp}` (`options.test`) ([#251](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/251)) ([d27e822](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/d27e822)) | ||
* **package:** update `schema-utils` v0.4.3...0.4.5 (`dependencies`) ([#255](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/255)) ([4c0feb8](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/4c0feb8)) | ||
* **package:** update`cacache` v10.0.1...10.0.4 (`dependencies`) ([#253](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/253)) ([8b0c0cd](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/8b0c0cd)) | ||
### Performance Improvements | ||
* **index:** switch to `md4` for content hashing ([#243](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/243)) ([14d2c4c](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/14d2c4c)) | ||
<a name="1.2.2"></a> | ||
@@ -7,0 +25,0 @@ ## [1.2.2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.1...v1.2.2) (2018-02-24) |
@@ -16,2 +16,6 @@ 'use strict'; | ||
var _path = require('path'); | ||
var _path2 = _interopRequireDefault(_path); | ||
var _sourceMap = require('source-map'); | ||
@@ -66,3 +70,3 @@ | ||
_options$test = options.test, | ||
test = _options$test === undefined ? /\.js$/i : _options$test, | ||
test = _options$test === undefined ? /\.(js?)(\?.+)?$/i : _options$test, | ||
_options$warningsFilt = options.warningsFilter, | ||
@@ -174,3 +178,3 @@ warningsFilter = _options$warningsFilt === undefined ? function () { | ||
path: compiler.outputPath ? `${compiler.outputPath}/${file}` : file, | ||
hash: _crypto2.default.createHash('md5').update(input).digest('hex') | ||
hash: _crypto2.default.createHash('md4').update(input).digest('hex') | ||
}); | ||
@@ -224,3 +228,3 @@ } | ||
if (_this.options.extractComments.banner !== false) { | ||
var banner = _this.options.extractComments.banner || `For license information please see ${commentsFile}`; | ||
var banner = _this.options.extractComments.banner || `For license information please see ${_path2.default.posix.basename(commentsFile)}`; | ||
@@ -227,0 +231,0 @@ if (typeof banner === 'function') { |
{ | ||
"name": "uglifyjs-webpack-plugin", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "UglifyJS plugin for webpack", | ||
@@ -34,6 +34,6 @@ "author": "webpack Contrib Team", | ||
"dependencies": { | ||
"cacache": "^10.0.1", | ||
"cacache": "^10.0.4", | ||
"find-cache-dir": "^1.0.0", | ||
"serialize-javascript": "^1.4.0", | ||
"schema-utils": "^0.4.2", | ||
"schema-utils": "^0.4.5", | ||
"source-map": "^0.6.1", | ||
@@ -40,0 +40,0 @@ "uglify-es": "^3.3.4", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51659
597
Updatedcacache@^10.0.4
Updatedschema-utils@^0.4.5