Socket
Socket
Sign inDemoInstall

@types/terser-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/terser-webpack-plugin - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

24

terser-webpack-plugin v4.2/index.d.ts

@@ -29,4 +29,4 @@ // Type definitions for terser-webpack-plugin 4.2

condition: string | RegExp | ExtractCommentFn;
filename?: string | FilenameFn;
banner?: boolean | string | FormatFn;
filename?: string | FilenameFn | undefined;
banner?: boolean | string | FormatFn | undefined;
}

@@ -45,3 +45,3 @@

*/
test?: string | RegExp | Array<string | RegExp>;
test?: string | RegExp | Array<string | RegExp> | undefined;

@@ -52,3 +52,3 @@ /**

*/
include?: string | RegExp | Array<string | RegExp>;
include?: string | RegExp | Array<string | RegExp> | undefined;

@@ -59,3 +59,3 @@ /**

*/
exclude?: string | RegExp | Array<string | RegExp>;
exclude?: string | RegExp | Array<string | RegExp> | undefined;

@@ -68,3 +68,3 @@ /**

*/
cache?: boolean | string;
cache?: boolean | string | undefined;

@@ -75,3 +75,3 @@ /**

*/
cacheKeys?: (defaultCacheKeys: any, file: any) => object;
cacheKeys?: ((defaultCacheKeys: any, file: any) => object) | undefined;

@@ -83,3 +83,3 @@ /**

*/
parallel?: boolean | number;
parallel?: boolean | number | undefined;

@@ -91,3 +91,3 @@ /**

*/
sourceMap?: boolean;
sourceMap?: boolean | undefined;

@@ -99,3 +99,3 @@ /**

*/
minify?: (file: any, sourceMap: any, minimizerOptions?: MinifyOptions) => MinifyResult;
minify?: ((file: any, sourceMap: any, minimizerOptions?: MinifyOptions) => MinifyResult) | undefined;

@@ -105,3 +105,3 @@ /**

*/
terserOptions?: MinifyOptions;
terserOptions?: MinifyOptions | undefined;

@@ -116,3 +116,3 @@ /**

*/
extractComments?: boolean | string | RegExp | ExtractCommentFn | ExtractCommentOptions;
extractComments?: boolean | string | RegExp | ExtractCommentFn | ExtractCommentOptions | undefined;
}

@@ -119,0 +119,0 @@ }

{
"name": "@types/terser-webpack-plugin",
"version": "4.2.1",
"version": "4.2.2",
"description": "TypeScript definitions for terser-webpack-plugin",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/terser-webpack-plugin",
"license": "MIT",

@@ -30,4 +31,4 @@ "contributors": [

},
"typesPublisherContentHash": "33b9564068c8d28d159fd7f946fe02fa6e7fc369e79f28e9a446145e19495f3d",
"typesPublisherContentHash": "ffd7c2813e6caeb82e9a7bba5c9936f26a1f7df6b1f324ef929933788911c348",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 31 Mar 2021 18:31:09 GMT
* Last updated: Fri, 02 Jul 2021 21:32:17 GMT
* Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack), [@types/terser](https://npmjs.com/package/@types/terser)

@@ -14,0 +14,0 @@ * Global values: none

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