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 5.0.3 to 5.0.4

18

terser-webpack-plugin/index.d.ts

@@ -30,4 +30,4 @@ // Type definitions for terser-webpack-plugin 5.0

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

@@ -46,3 +46,3 @@

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

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

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

@@ -60,3 +60,3 @@ /**

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

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

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

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

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

@@ -82,3 +82,3 @@ /**

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

@@ -93,3 +93,3 @@ /**

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

@@ -96,0 +96,0 @@ }

{
"name": "@types/terser-webpack-plugin",
"version": "5.0.3",
"version": "5.0.4",
"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": "9e3860c2b192cfb8fb9925e254e1c5fec34802d8dcf6682fe51b8a39c1d262b1",
"typesPublisherContentHash": "0f68407b6d91d936eae116ec2d1cca31f12ad184b62ff482af0311d705813258",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Thu, 25 Mar 2021 20:32:08 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