terser-webpack-plugin
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -44,11 +44,11 @@ "use strict"; | ||
/** @typedef {import("terser").ECMA} TerserECMA */ | ||
/** @typedef {import("./utils.js").TerserECMA} TerserECMA */ | ||
/** @typedef {import("terser").MinifyOptions} TerserOptions */ | ||
/** @typedef {import("./utils.js").TerserOptions} TerserOptions */ | ||
/** @typedef {import("uglify-js").MinifyOptions} UglifyJSOptions */ | ||
/** @typedef {import("./utils.js").UglifyJSOptions} UglifyJSOptions */ | ||
/** @typedef {import("@swc/core").JsMinifyOptions} SwcOptions */ | ||
/** @typedef {import("./utils.js").SwcOptions} SwcOptions */ | ||
/** @typedef {import("esbuild").TransformOptions} EsbuildOptions */ | ||
/** @typedef {import("./utils.js").EsbuildOptions} EsbuildOptions */ | ||
@@ -55,0 +55,0 @@ /** @typedef {Object.<any, any>} CustomOptions */ |
@@ -17,2 +17,5 @@ "use strict"; | ||
/** @typedef {import("terser").ECMA} TerserECMA */ | ||
// TODO do not forget to add `// @ts-ignore` on optional peer dependencies to avoid problem with `TS2307: Cannot find module 'module' or its corresponding type declarations.` | ||
/** @typedef {import("uglify-js").OutputOptions} UglifyJSOutputOptions */ | ||
@@ -19,0 +22,0 @@ |
{ | ||
"name": "terser-webpack-plugin", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "Terser plugin for webpack", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"main": "dist/cjs.js", | ||
"types": "types/index.d.ts", | ||
"types": "types/cjs.d.ts", | ||
"engines": { | ||
@@ -18,0 +18,0 @@ "node": ">= 10.13.0" |
@@ -7,7 +7,7 @@ export default TerserPlugin; | ||
export type Asset = import("webpack").Asset; | ||
export type TerserECMA = import("terser").ECMA; | ||
export type TerserOptions = import("terser").MinifyOptions; | ||
export type UglifyJSOptions = import("uglify-js").MinifyOptions; | ||
export type SwcOptions = import("@swc/core").JsMinifyOptions; | ||
export type EsbuildOptions = import("esbuild").TransformOptions; | ||
export type TerserECMA = import("./utils.js").TerserECMA; | ||
export type TerserOptions = import("./utils.js").TerserOptions; | ||
export type UglifyJSOptions = import("./utils.js").UglifyJSOptions; | ||
export type SwcOptions = import("./utils.js").SwcOptions; | ||
export type EsbuildOptions = import("./utils.js").EsbuildOptions; | ||
export type CustomOptions = any; | ||
@@ -123,7 +123,7 @@ export type JestWorker = import("jest-worker").Worker; | ||
/** @typedef {import("webpack").Asset} Asset */ | ||
/** @typedef {import("terser").ECMA} TerserECMA */ | ||
/** @typedef {import("terser").MinifyOptions} TerserOptions */ | ||
/** @typedef {import("uglify-js").MinifyOptions} UglifyJSOptions */ | ||
/** @typedef {import("@swc/core").JsMinifyOptions} SwcOptions */ | ||
/** @typedef {import("esbuild").TransformOptions} EsbuildOptions */ | ||
/** @typedef {import("./utils.js").TerserECMA} TerserECMA */ | ||
/** @typedef {import("./utils.js").TerserOptions} TerserOptions */ | ||
/** @typedef {import("./utils.js").UglifyJSOptions} UglifyJSOptions */ | ||
/** @typedef {import("./utils.js").SwcOptions} SwcOptions */ | ||
/** @typedef {import("./utils.js").EsbuildOptions} EsbuildOptions */ | ||
/** @typedef {Object.<any, any>} CustomOptions */ | ||
@@ -130,0 +130,0 @@ /** @typedef {import("jest-worker").Worker} JestWorker */ |
export type RawSourceMap = import("source-map").RawSourceMap; | ||
export type TerserFormatOptions = import("terser").FormatOptions; | ||
export type TerserOptions = import("terser").MinifyOptions; | ||
export type TerserECMA = import("terser").ECMA; | ||
export type UglifyJSOutputOptions = import("uglify-js").OutputOptions; | ||
@@ -45,2 +46,3 @@ export type UglifyJSOptions = import("uglify-js").MinifyOptions; | ||
/** @typedef {import("terser").MinifyOptions} TerserOptions */ | ||
/** @typedef {import("terser").ECMA} TerserECMA */ | ||
/** @typedef {import("uglify-js").OutputOptions} UglifyJSOutputOptions */ | ||
@@ -47,0 +49,0 @@ /** @typedef {import("uglify-js").MinifyOptions} UglifyJSOptions */ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
90697
1816
0