From 54989d0aafe95dc4fbe4958227be3147ba561ff7 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Wed, 22 Mar 2017 05:38:21 -0700 Subject: [PATCH] Lock version to 2.7.5 to avoid breakage like #12772 Summary: As per uglify-js maintainer kzc's comment in https://github.com/mishoo/UglifyJS2/issues/1573#issuecomment-284940371 we should be locking our version to prevent issues like #12772 from happening again. No test plan needed, people are already using this version of uglify-js (it's the latest). Closes https://github.com/facebook/react-native/pull/12802 Differential Revision: D4749853 Pulled By: javache fbshipit-source-id: 866a19cb2c1add31b55e14d0f4dadb7f68fda64c --- package.json | 2 +- packager/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 69d7cbd7c..615c75787 100644 --- a/package.json +++ b/package.json @@ -201,7 +201,7 @@ "stacktrace-parser": "^0.1.3", "temp": "0.8.3", "throat": "^3.0.0", - "uglify-js": "^2.6.2", + "uglify-js": "2.7.5", "whatwg-fetch": "^1.0.0", "wordwrap": "^1.0.0", "worker-farm": "^1.3.1", diff --git a/packager/package.json b/packager/package.json index 91de355c3..e6386cc91 100644 --- a/packager/package.json +++ b/packager/package.json @@ -37,7 +37,7 @@ "rimraf": "^2.5.4", "source-map": "^0.5.6", "throat": "^3.0.0", - "uglify-js": "^2.6.2", + "uglify-js": "2.7.5", "worker-farm": "^1.3.1", "write-file-atomic": "^1.2.0", "xpipe": "^1.0.5"