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.25 to 1.0.26

84

lib/index.js

@@ -9,12 +9,2 @@ 'use strict';

var classCallCheck = function (instance, Constructor) {

@@ -44,42 +34,2 @@ if (!(instance instanceof Constructor)) {

var toConsumableArray = function (arr) {

@@ -240,3 +190,3 @@ if (Array.isArray(arr)) {

* If the supplied destination is a directory copy inside.
* If the supplied destination is a directory that does not exist yet create it & copy inside
* If the supplied destination is a directory that does not exist yet create it & copy inside
*/

@@ -459,21 +409,31 @@

value: function apply(compiler) {
var _this4 = this;
var that = this;
compiler.plugin("compilation", function (compliation) {
var comp = function comp(compilation) {
try {
_this4.checkOptions("onStart");
that.checkOptions("onStart");
} catch (error) {
compliation.errors.push(error);
compilation.errors.push(error);
}
});
};
compiler.plugin("after-emit", function (compliation, callback) {
_this4.fileHash = compliation.hash;
var afterEmit = function afterEmit(compilation, cb) {
that.fileHash = compilation.hash;
try {
_this4.checkOptions("onEnd");
that.checkOptions("onEnd");
} catch (error) {
compliation.errors.push(error);
compilation.errors.push(error);
}
callback();
});
cb();
};
if (compiler.hooks) {
compiler.hooks.compilation.tap("compilation", comp);
compiler.hooks.afterEmit.tapAsync("afterEmit", afterEmit);
} else {
compiler.plugin("compilation", comp);
compiler.plugin("after-emit", afterEmit);
}
}

@@ -480,0 +440,0 @@ }]);

{
"name": "filemanager-webpack-plugin",
"version": "1.0.25",
"version": "1.0.26",
"description": "This Webpack plugin allows you to copy, archive (.zip), move, delete files and directories before and after builds",

@@ -11,4 +11,6 @@ "main": "lib/index.js",

"build": "npm run prettier && rollup -c",
"test": "rimraf testing && ava --verbose test.js",
"prettier": "find src/ -name \"*.js\" | xargs prettier --write",
"test": "npm run test-webpack3 && npm run test-webpack4",
"test-webpack3": "cd tests/webpack-3 && npm install && npm run test",
"test-webpack4": "cd tests/webpack-4 && npm install && npm run test",
"prettier": "prettier --write src/index.js",
"webpack": "webpack --progress",

@@ -42,7 +44,8 @@ "webpack-dev-server": "webpack-dev-server --colors --progress"

"prettier": "^1.10.2",
"rollup": "^0.55.1",
"webpack": "^4.2.0",
"webpack-cli": "2.0.12",
"webpack-dev-server": "^3.1.1",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.1"
"rollup-plugin-node-resolve": "^3.0.0"
},

@@ -49,0 +52,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

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