Socket
Socket
Sign inDemoInstall

filter-webpack-plugin

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

4

index.js

@@ -7,3 +7,3 @@ function FilterPlugin(options) {

compiler.plugin('emit', function(compilation, callback) {
if(typeof files !=='undefined'){
if(typeof files !=='undefined' && files.length){
if(files.constructor === Array){

@@ -13,3 +13,3 @@ for(i = 0; i < files.length; i++){

}
} else if(files.length){
} else {
delete compilation.assets[files]

@@ -16,0 +16,0 @@ }

{
"name": "filter-webpack-plugin",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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