Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

filemanager-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filemanager-webpack-plugin - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

16

lib/index.js

@@ -437,2 +437,6 @@ 'use strict';

case "delete":
if (!Array.isArray(fileOptions)) {
throw Error(" - FileManagerPlugin: Fail - delete parameters has to be type of 'strings array' but was '" + (typeof fileOptions === "undefined" ? "undefined" : _typeof(fileOptions)) + "'. Process canceled.");
}
var _loop3 = function _loop3(key) {

@@ -513,3 +517,7 @@ var path = _this3.replaceHash(fileOptions[key]);

compiler.plugin("compilation", function (compliation) {
_this4.checkOptions("onStart");
try {
_this4.checkOptions("onStart");
} catch (error) {
compliation.errors.push(error);
}
});

@@ -519,3 +527,7 @@

_this4.fileHash = compliation.hash;
_this4.checkOptions("onEnd");
try {
_this4.checkOptions("onEnd");
} catch (error) {
compliation.errors.push(error);
}
callback();

@@ -522,0 +534,0 @@ });

5

package.json
{
"name": "filemanager-webpack-plugin",
"version": "1.0.20",
"version": "1.0.21",
"description": "This Webpack plugin allows you to copy, move, delete files and directories before and after builds",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {

@@ -7,0 +10,0 @@ "build": "npm run prettier && rollup -c",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc