assets-webpack-plugin
Advanced tools
Comparing version 3.9.12 to 3.10.0
@@ -11,2 +11,7 @@ # Change Log | ||
## 3.10.0 - 2020-06-08 | ||
- Updates several dependencies | ||
- Fixes [#226](https://github.com/ztoben/assets-webpack-plugin/issues/226) | ||
## 3.9.10 - 2019-02-28 | ||
@@ -13,0 +18,0 @@ |
@@ -43,7 +43,3 @@ 'use strict'; | ||
function mkdirpCallback(err) { | ||
if (err) { | ||
return next(error('Could not create output folder ' + options.path, err)); | ||
} | ||
function mkdirpSuccessCallback() { | ||
var outputPath = options.keepInMemory ? localFs.join(options.path, options.filename) : path.join(options.path, options.filename); | ||
@@ -83,4 +79,8 @@ | ||
options.keepInMemory ? localFs.mkdirp(options.path, mkdirpCallback) : mkdirp(options.path, mkdirpCallback); | ||
function mkdirpErrorCallback(err) { | ||
next(error('Could not create output folder ' + options.path, err)); | ||
} | ||
mkdirp(options.path, { fs: localFs }).then(mkdirpSuccessCallback).catch(mkdirpErrorCallback); | ||
}; | ||
}; |
236
package.json
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "3.9.12", | ||
"version": "3.10.0", | ||
"description": "Emits a json file with assets paths", | ||
"main": "dist/index.js", | ||
"engines": { | ||
"node": ">=10.x.x" | ||
}, | ||
"scripts": { | ||
@@ -39,226 +42,17 @@ "lint": "standard --verbose | snazzy", | ||
"chai": "4.2.0", | ||
"css-loader": "3.1.0", | ||
"mini-css-extract-plugin": "0.8.0", | ||
"mocha": "6.2.0", | ||
"rimraf": "2.6.3", | ||
"css-loader": "3.5.3", | ||
"mini-css-extract-plugin": "0.9.0", | ||
"mocha": "7.2.0", | ||
"rimraf": "3.0.2", | ||
"snazzy": "8.0.0", | ||
"standard": "13.1.0", | ||
"style-loader": "0.23.1", | ||
"webpack": "4.36.1" | ||
"standard": "14.3.4", | ||
"style-loader": "1.2.1", | ||
"webpack": "4.43.0" | ||
}, | ||
"dependencies": { | ||
"camelcase": "5.3.1", | ||
"escape-string-regexp": "2.0.0", | ||
"camelcase": "6.0.0", | ||
"escape-string-regexp": "4.0.0", | ||
"lodash": "4.17.15", | ||
"mkdirp": "0.5.3" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Zach Toben", | ||
"email": null, | ||
"url": "https://github.com/ztoben", | ||
"contributions": 40, | ||
"additions": 1070, | ||
"deletions": 739, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Jonny Gerig Meyer", | ||
"email": null, | ||
"url": "https://github.com/jgerigmeyer", | ||
"contributions": 1, | ||
"additions": 32, | ||
"deletions": 6, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Joe Lencioni", | ||
"email": null, | ||
"url": "https://github.com/lencioni", | ||
"contributions": 1, | ||
"additions": 6, | ||
"deletions": 7, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "airwin", | ||
"email": null, | ||
"url": "https://github.com/airwin", | ||
"contributions": 1, | ||
"additions": 3, | ||
"deletions": 2, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Yuriy Grunin", | ||
"email": null, | ||
"url": "https://github.com/th0r", | ||
"contributions": 1, | ||
"additions": 41, | ||
"deletions": 1, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Kane", | ||
"email": null, | ||
"url": "https://github.com/kane-c", | ||
"contributions": 1, | ||
"additions": 3, | ||
"deletions": 3, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Sebastian Porto", | ||
"email": null, | ||
"url": "https://github.com/sporto", | ||
"contributions": 40, | ||
"additions": 2822, | ||
"deletions": 2025, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": null, | ||
"email": null, | ||
"url": "https://github.com/apps/greenkeeper", | ||
"contributions": 12, | ||
"additions": 12, | ||
"deletions": 12, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Rostislav", | ||
"email": null, | ||
"url": "https://github.com/galkinrost", | ||
"contributions": 3, | ||
"additions": 47, | ||
"deletions": 3, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Danny Guo", | ||
"email": null, | ||
"url": "https://github.com/dguo", | ||
"contributions": 1, | ||
"additions": 1, | ||
"deletions": 1, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Matt Krick", | ||
"email": null, | ||
"url": "https://github.com/mattkrick", | ||
"contributions": 1, | ||
"additions": 107, | ||
"deletions": 0, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Dmitriy Kubyshkin", | ||
"email": null, | ||
"url": "https://github.com/grassator", | ||
"contributions": 1, | ||
"additions": 10, | ||
"deletions": 24, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Túlio Ornelas", | ||
"email": null, | ||
"url": "https://github.com/tulios", | ||
"contributions": 1, | ||
"additions": 50, | ||
"deletions": 5, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Dido Arellano", | ||
"email": null, | ||
"url": "https://github.com/didoarellano", | ||
"contributions": 1, | ||
"additions": 2, | ||
"deletions": 2, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": null, | ||
"email": null, | ||
"url": "https://github.com/dimchez", | ||
"contributions": 6, | ||
"additions": 369, | ||
"deletions": 196, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Islam Sharabash", | ||
"email": null, | ||
"url": "https://github.com/ibash", | ||
"contributions": 2, | ||
"additions": 63, | ||
"deletions": 12, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Alex Afonin", | ||
"email": null, | ||
"url": "https://github.com/Tuch", | ||
"contributions": 2, | ||
"additions": 17, | ||
"deletions": 3, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Hugo Monteiro", | ||
"email": null, | ||
"url": "https://github.com/monteiro", | ||
"contributions": 2, | ||
"additions": 19, | ||
"deletions": 15, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Ernesto Rocha", | ||
"email": null, | ||
"url": "https://github.com/ernestorocha", | ||
"contributions": 2, | ||
"additions": 755, | ||
"deletions": 722, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Germán Méndez Bravo", | ||
"email": null, | ||
"url": "https://github.com/Kronuz", | ||
"contributions": 4, | ||
"additions": 36, | ||
"deletions": 21, | ||
"hireable": true | ||
}, | ||
{ | ||
"name": "Wout Mertens", | ||
"email": null, | ||
"url": "https://github.com/wmertens", | ||
"contributions": 2, | ||
"additions": 12, | ||
"deletions": 17, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": null, | ||
"email": null, | ||
"url": "https://github.com/ju1ius", | ||
"contributions": 15, | ||
"additions": 1488, | ||
"deletions": 992, | ||
"hireable": null | ||
}, | ||
{ | ||
"name": "Sasha Koss", | ||
"email": null, | ||
"url": "https://github.com/kossnocorp", | ||
"contributions": 11, | ||
"additions": 726, | ||
"deletions": 801, | ||
"hireable": true | ||
} | ||
] | ||
"mkdirp": "1.0.4" | ||
} | ||
} |
@@ -25,4 +25,2 @@ # assets-webpack-plugin | ||
- [Contributors](./contributors.md) | ||
## Why Is This Useful? | ||
@@ -168,3 +166,3 @@ | ||
new AssetsPlugin({manifestFirst: true}) | ||
``` | ||
``` | ||
@@ -171,0 +169,0 @@ #### `path` |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
35593
1
364
+ Addedcamelcase@6.0.0(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedmkdirp@1.0.4(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedescape-string-regexp@2.0.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.3(transitive)
Updatedcamelcase@6.0.0
Updatedescape-string-regexp@4.0.0
Updatedmkdirp@1.0.4