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.0 to 5.0.0

23

terser-webpack-plugin/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for terser-webpack-plugin 4.2
// Type definitions for terser-webpack-plugin 5.0
// Project: https://github.com/webpack-contrib/terser-webpack-plugin

@@ -59,16 +59,2 @@ // Definitions by: Daniel Schopf <https://github.com/Danscho>

/**
* ⚠ Ignored in webpack 5! Please use {@link webpack.js.org/configuration/other-options/#cache.}
* Enable/disable file caching.
* Default path to cache directory: `node_modules/.cache/terser-webpack-plugin`.
* @default true
*/
cache?: boolean | string;
/**
* ⚠ Ignored in webpack 5! Please use {@link webpack.js.org/configuration/other-options/#cache}.
* Allows you to override default cache keys.
*/
cacheKeys?: (defaultCacheKeys: any, file: any) => object;
/**
* Enable/disable multi-process parallel running.

@@ -81,9 +67,2 @@ * Use multi-process parallel running to improve the build speed. Default number of concurrent runs: os.cpus().length - 1.

/**
* Use source maps to map error message locations to modules (this slows down the compilation).
* If you use your own minify function please read the minify section for handling source maps correctly.
* @default false
*/
sourceMap?: boolean;
/**
* Allows you to override default minify function.

@@ -90,0 +69,0 @@ * By default plugin uses terser package. Useful for using and testing unpublished versions or forks

8

terser-webpack-plugin/package.json
{
"name": "@types/terser-webpack-plugin",
"version": "4.2.0",
"version": "5.0.0",
"description": "TypeScript definitions for terser-webpack-plugin",

@@ -28,6 +28,6 @@ "license": "MIT",

"@types/webpack": "*",
"terser": "^4.6.13"
"terser": "^5.3.5"
},
"typesPublisherContentHash": "a76c085713c32b2651ff80fb50da82497ab6cdfb8746d1f6e6ec0c67c22e7e09",
"typeScriptVersion": "3.1"
"typesPublisherContentHash": "7f4bd68e95b672a7c8364502f1970eb02e1b020238d6dca13223a20ff4f5e9d0",
"typeScriptVersion": "3.2"
}

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

### Additional Details
* Last updated: Tue, 15 Sep 2020 07:10:16 GMT
* Last updated: Fri, 16 Oct 2020 18:53:01 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