assets-webpack-plugin
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -8,2 +8,6 @@ # Change Log | ||
## 5.0.1 - 2020-06-15 | ||
- Fixes [#234](https://github.com/ztoben/assets-webpack-plugin/issues/234) | ||
## 5.0.0 - 2020-06-11 | ||
@@ -10,0 +14,0 @@ |
@@ -51,7 +51,7 @@ 'use strict'; | ||
} | ||
// if options.update is false and we're on first run, | ||
// start with empty data | ||
// if options.update is false and we're on first run, so start with empty data | ||
data = overwrite ? '{}' : data || '{}'; | ||
var oldAssets; | ||
var oldAssets = void 0; | ||
try { | ||
@@ -80,7 +80,7 @@ oldAssets = JSON.parse(data); | ||
function mkdirpErrorCallback(err) { | ||
next(error('Could not create output folder ' + options.path, err)); | ||
return next(error('Could not create output folder ' + options.path, err)); | ||
} | ||
mkdirp(options.path, { fs: localFs }).then(mkdirpSuccessCallback).catch(mkdirpErrorCallback); | ||
options.keepInMemory ? localFs.mkdirp(options.path).then(mkdirpSuccessCallback).catch(mkdirpErrorCallback) : mkdirp(options.path).then(mkdirpSuccessCallback).catch(mkdirpErrorCallback); | ||
}; | ||
}; |
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Emits a json file with assets paths", | ||
@@ -27,3 +27,2 @@ "main": "dist/index.js", | ||
], | ||
"author": "Sebastian Porto", | ||
"license": "MIT", | ||
@@ -30,0 +29,0 @@ "bugs": { |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
35922
0
552
1