Socket
Socket
Sign inDemoInstall

assets-webpack-plugin

Package Overview
Dependencies
4
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.0.1

4

changelog.md

@@ -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 @@

10

dist/lib/output/createOutputWriter.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc