Socket
Socket
Sign inDemoInstall

copy-webpack-plugin

Package Overview
Dependencies
104
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.2.2 to 10.2.3

10

dist/index.js

@@ -86,3 +86,3 @@ "use strict";

* @param {{ context: string, absoluteFilename?: string }} pathData
* @return {string}
* @return {string | Promise<string>}
*/

@@ -102,3 +102,3 @@

* @param {string} absoluteFilename
* @returns {string | Buffer}
* @returns {string | Buffer | Promise<string> | Promise<Buffer>}
*/

@@ -123,3 +123,3 @@

* @param {string} filepath
* @returns {boolean}
* @returns {boolean | Promise<boolean>}
*/

@@ -130,3 +130,3 @@

* @param {{ data: Buffer, sourceFilename: string, absoluteFilename: string }[]} data
* @returns {string | Buffer}
* @returns {string | Buffer | Promise<string> | Promise<Buffer>}
*/

@@ -826,3 +826,3 @@

const filename = typeof normalizedPattern.to === "function" ? normalizedPattern.to({
const filename = typeof normalizedPattern.to === "function" ? await normalizedPattern.to({
context

@@ -829,0 +829,0 @@ }) : normalizedPattern.to;

{
"name": "copy-webpack-plugin",
"version": "10.2.2",
"version": "10.2.3",
"description": "Copy files && directories with webpack",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -40,3 +40,3 @@ export = CopyPlugin;

* @param {{ context: string, absoluteFilename?: string }} pathData
* @return {string}
* @return {string | Promise<string>}
*/

@@ -53,3 +53,3 @@ /**

* @param {string} absoluteFilename
* @returns {string | Buffer}
* @returns {string | Buffer | Promise<string> | Promise<Buffer>}
*/

@@ -70,3 +70,3 @@ /**

* @param {string} filepath
* @returns {boolean}
* @returns {boolean | Promise<boolean>}
*/

@@ -76,3 +76,3 @@ /**

* @param {{ data: Buffer, sourceFilename: string, absoluteFilename: string }[]} data
* @returns {string | Buffer}
* @returns {string | Buffer | Promise<string> | Promise<Buffer>}
*/

@@ -234,3 +234,3 @@ /**

absoluteFilename?: string;
}) => string;
}) => string | Promise<string>;
type To = string | ToFunction;

@@ -241,3 +241,3 @@ type ToType = "dir" | "file" | "template";

absoluteFilename: string
) => string | Buffer;
) => string | Buffer | Promise<string> | Promise<Buffer>;
type TransformerCacheObject =

@@ -264,3 +264,3 @@ | {

type Transform = TransformerFunction | TransformerObject;
type Filter = (filepath: string) => boolean;
type Filter = (filepath: string) => boolean | Promise<boolean>;
type TransformAllFunction = (

@@ -272,3 +272,3 @@ data: {

}[]
) => string | Buffer;
) => string | Buffer | Promise<string> | Promise<Buffer>;
type Info =

@@ -275,0 +275,0 @@ | {

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