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

copify-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copify-webpack-plugin - npm Package Compare versions

Comparing version 0.1.4 to 0.2.0

5

dist/index.js

@@ -44,2 +44,3 @@ 'use strict';

path: '.',
processFromPattern: null,
filename: 'webpack-assets.json',

@@ -111,2 +112,6 @@ processOutput: function processOutput(assets) {

pattern.manifestBasePath = pattern.manifestBasePath ? pattern.manifestBasePath : options.manifest.basePath;
pattern.excludeFromManifest = pattern.excludeFromManifest ? pattern.excludeFromManifest : false;
pattern.replaceFromPattern = pattern.replaceFromPattern ? pattern.replaceFromPattern : options.manifest.replaceFromPattern;
}

@@ -113,0 +118,0 @@

2

dist/writeFile.js

@@ -88,3 +88,3 @@ 'use strict';

if (assetsMap && !pattern.excludeFromManifest) {
var manifestFrom = file.relativeFrom;
var manifestFrom = pattern.replaceFromPattern && pattern.replaceFromPattern.searchValue && pattern.replaceFromPattern.replaceValue ? file.relativeFrom.replace(pattern.replaceFromPattern) : file.relativeFrom;
var manifestTo = file.webpackTo;

@@ -91,0 +91,0 @@

{
"name": "copify-webpack-plugin",
"version": "0.1.4",
"version": "0.2.0",
"description": "Copy files and directories in webpack, supported manifest",

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

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