From 0030e6ee9250987600837f376dd13bd34fc50d3c Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Tue, 10 Sep 2019 10:57:54 +0200 Subject: [PATCH] :up: terser@4.3.1 (#80627) --- build/lib/optimize.js | 3 --- build/lib/optimize.ts | 3 --- build/package.json | 2 +- build/yarn.lock | 11 ++++++++++- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/build/lib/optimize.js b/build/lib/optimize.js index 9acf2704586..45f11698463 100644 --- a/build/lib/optimize.js +++ b/build/lib/optimize.js @@ -244,9 +244,6 @@ function uglifyWithCopyrights() { const output = input .pipe(flatmap((stream, f) => { return stream.pipe(minify({ - compress: { - hoist_funs: true // required due to https://github.com/microsoft/vscode/issues/80202 - }, output: { comments: preserveComments(f), max_line_len: 1024 diff --git a/build/lib/optimize.ts b/build/lib/optimize.ts index e66355b6b28..46189514c30 100644 --- a/build/lib/optimize.ts +++ b/build/lib/optimize.ts @@ -327,9 +327,6 @@ function uglifyWithCopyrights(): NodeJS.ReadWriteStream { const output = input .pipe(flatmap((stream, f) => { return stream.pipe(minify({ - compress: { - hoist_funs: true // required due to https://github.com/microsoft/vscode/issues/80202 - }, output: { comments: preserveComments(f), max_line_len: 1024 diff --git a/build/package.json b/build/package.json index a48af3c1d8f..bf3ec5ce3f9 100644 --- a/build/package.json +++ b/build/package.json @@ -40,7 +40,7 @@ "mime": "^1.3.4", "minimist": "^1.2.0", "request": "^2.85.0", - "terser": "^4.2.1", + "terser": "4.3.1", "tslint": "^5.9.1", "typescript": "3.6.2", "vsce": "1.48.0", diff --git a/build/yarn.lock b/build/yarn.lock index 223ecd968ef..3ff05c280fa 100644 --- a/build/yarn.lock +++ b/build/yarn.lock @@ -2169,7 +2169,7 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -terser@*, terser@^4.2.1: +terser@*: version "4.2.1" resolved "https://registry.yarnpkg.com/terser/-/terser-4.2.1.tgz#1052cfe17576c66e7bc70fcc7119f22b155bdac1" integrity sha512-cGbc5utAcX4a9+2GGVX4DsenG6v0x3glnDi5hx8816X1McEAwPlPgRtXPJzSBsbpILxZ8MQMT0KvArLuE0HP5A== @@ -2178,6 +2178,15 @@ terser@*, terser@^4.2.1: source-map "~0.6.1" source-map-support "~0.5.12" +terser@4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.3.1.tgz#09820bcb3398299c4b48d9a86aefc65127d0ed65" + integrity sha512-pnzH6dnFEsR2aa2SJaKb1uSCl3QmIsJ8dEkj0Fky+2AwMMcC9doMqLOQIH6wVTEKaVfKVvLSk5qxPBEZT9mywg== + dependencies: + commander "^2.20.0" + source-map "~0.6.1" + source-map-support "~0.5.12" + through2@2.X, through2@^2.0.0, through2@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" -- GitLab