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

filemanager-webpack-plugin

Package Overview
Dependencies
Maintainers
2
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 6.1.2 to 6.1.3

2

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

@@ -5,0 +5,0 @@ "author": "gregnb",

@@ -17,5 +17,8 @@ import fs from 'fs';

const ignore = ((Array.isArray(options.ignore) && options.ignore) || []).concat(destFile);
const archiverOptions = { ignore, ...(options.globOptions || {}) };
const inputGlobOptions = options.globOptions || {};
const ignore = Array.isArray(inputGlobOptions.ignore) ? [...inputGlobOptions.ignore, destFile] : [destFile];
const fileToIgnore = typeof inputGlobOptions.ignore === 'string' ? [...ignore, inputGlobOptions.ignore] : ignore;
const globOptions = { ...inputGlobOptions, ignore: fileToIgnore };
await fsExtra.ensureDir(destDir);

@@ -31,3 +34,3 @@

const opts = {
...archiverOptions,
...globOptions,
cwd: context,

@@ -42,3 +45,3 @@ };

const opts = {
...archiverOptions,
...globOptions,
cwd: absoluteSource,

@@ -45,0 +48,0 @@ };

Sorry, the diff of this file is not supported yet

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