remove-files-webpack-plugin
Advanced tools
+7
-0
@@ -0,1 +1,8 @@ | ||
| # 1.1.2 (April 4, 2019) | ||
| ## Fixed | ||
| - Fix compatibility with webpack 3.x [#3](Amaimersion/remove-files-webpack-plugin#3). | ||
| # 1.1.1 (March 20, 2019) | ||
@@ -2,0 +9,0 @@ |
+1
-1
| { | ||
| "name": "remove-files-webpack-plugin", | ||
| "version": "1.1.1", | ||
| "version": "1.1.2", | ||
| "description": "A plugin for webpack which removes files and folders before and after compilation.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
+1
-1
| /** | ||
| * @module RemoveFilesWebpackPlugin | ||
| * @version 1.1.1 | ||
| * @version 1.1.2 | ||
| * @file A plugin for webpack which removes files and folders before and after compilation. | ||
@@ -5,0 +5,0 @@ * @author Sergey Kuznetsov <https://github.com/Amaimersion> |
+1
-1
@@ -19,3 +19,3 @@ 'use strict'; | ||
| static get version() { | ||
| return '1.1.1'; | ||
| return '1.1.2'; | ||
| } | ||
@@ -22,0 +22,0 @@ |
+5
-5
@@ -138,3 +138,3 @@ 'use strict'; | ||
| */ | ||
| const applyHook = (compiler, hook, params, method) => { | ||
| const applyHook = (compiler, v4Hook, v3Hook, params, method) => { | ||
| if (!params || !Object.keys(params).length) { | ||
@@ -145,12 +145,12 @@ return; | ||
| if (compiler.hooks) { | ||
| compiler.hooks[hook].tapAsync(Info.fullName, method); | ||
| compiler.hooks[v4Hook].tapAsync(Info.fullName, method); | ||
| } else { | ||
| compiler.plugin(hook, method); | ||
| compiler.plugin(v3Hook, method); | ||
| } | ||
| }; | ||
| applyHook(compiler, 'beforeRun', this.beforeParams, (compiler, callback) => { | ||
| applyHook(compiler, 'beforeRun', 'before-run', this.beforeParams, (compiler, callback) => { | ||
| this.handleHook(compiler, callback, this.beforeParams); | ||
| }); | ||
| applyHook(compiler, 'afterEmit', this.afterParams, (compilation, callback) => { | ||
| applyHook(compiler, 'afterEmit', 'after-emit', this.afterParams, (compilation, callback) => { | ||
| this.handleHook(compilation, callback, this.afterParams); | ||
@@ -157,0 +157,0 @@ }); |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
35771
0.48%0
-100%