[terser-webpack-plugin] bump up version (#39907)

* [terser-webpack-plugin] bump up version

* source argument can be undefined
This commit is contained in:
즈눅
2019-11-04 16:31:58 -08:00
committed by Nathan Shively-Sanders
parent 49846d93c2
commit b4f18cc47a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for terser-webpack-plugin 1.2
// Type definitions for terser-webpack-plugin 2.2
// Project: https://github.com/webpack-contrib/terser-webpack-plugin
// Definitions by: Daniel Schopf <https://github.com/Danscho>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -49,6 +49,6 @@ declare namespace TerserPlugin {
| RegExp
| ExtractCommentFn
| ExtractCommentOptions;
warningsFilter?: (warning: any, source: any) => boolean;
warningsFilter?: (warning: string, source: string | undefined, file: string) => boolean;
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
"terser": "^3.16.1"
"terser": "^4.3.9"
}
}