Socket
Socket
Sign inDemoInstall

terser-webpack-plugin

Package Overview
Dependencies
78
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.3 to 5.2.4

8

dist/index.js

@@ -150,2 +150,6 @@ "use strict";

/**
* @typedef {undefined | boolean | number} Parallel
*/
/**
* @typedef {Object} BasePluginOptions

@@ -156,3 +160,3 @@ * @property {Rules} [test]

* @property {ExtractCommentsOptions} [extractComments]
* @property {boolean} [parallel]
* @property {Parallel} [parallel]
*/

@@ -298,3 +302,3 @@

* @private
* @param {boolean | undefined} parallel
* @param {Parallel} parallel
* @returns {number}

@@ -301,0 +305,0 @@ */

{
"name": "terser-webpack-plugin",
"version": "5.2.3",
"version": "5.2.4",
"description": "Terser plugin for webpack",

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

@@ -83,2 +83,3 @@ export default TerserPlugin;

MinimizeFunctionHelpers;
export type Parallel = undefined | boolean | number;
export type BasePluginOptions = {

@@ -89,3 +90,3 @@ test?: Rules | undefined;

extractComments?: ExtractCommentsOptions | undefined;
parallel?: boolean | undefined;
parallel?: Parallel;
};

@@ -194,2 +195,5 @@ export type InferDefaultType<T> = T extends infer U

/**
* @typedef {undefined | boolean | number} Parallel
*/
/**
* @typedef {Object} BasePluginOptions

@@ -200,3 +204,3 @@ * @property {Rules} [test]

* @property {ExtractCommentsOptions} [extractComments]
* @property {boolean} [parallel]
* @property {Parallel} [parallel]
*/

@@ -239,3 +243,3 @@ /**

* @private
* @param {boolean | undefined} parallel
* @param {Parallel} parallel
* @returns {number}

@@ -261,3 +265,3 @@ */

extractComments: ExtractCommentsOptions;
parallel: boolean;
parallel: number | boolean;
include: Rules | undefined;

@@ -264,0 +268,0 @@ exclude: Rules | undefined;

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