From 2c0e24babf5e46287c33ed094b404693c05e5c6d Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Thu, 3 Nov 2016 05:39:10 +0000 Subject: [PATCH] Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sets `screwIE8` to false as it is now enabled by default Files Changed: build/wp-admin/js/customize-nav-menus.min.js build/wp-admin/js/customize-widgets.min.js build/wp-includes/js/customize-loader.min.js Changelog: 2016-07-19   v2.0.0   Update uglify-js to v2.7.0. screwIE8 is enabled by default. 2016-07-19   v1.0.2   Update grunt to ^1.0.0. Fix beautify when passed as an object. Fix docs about report values. See #38199. git-svn-id: https://develop.svn.wordpress.org/trunk@39117 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 7a002fdafd..eae8afaf9f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -443,7 +443,8 @@ module.exports = function(grunt) { }, uglify: { options: { - ASCIIOnly: true + ASCIIOnly: true, + screwIE8: false }, core: { expand: true, diff --git a/package.json b/package.json index 42abf033a6..6ed02b43c0 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "grunt-contrib-imagemin": "~1.0.0", "grunt-contrib-jshint": "~1.0.0", "grunt-contrib-qunit": "^1.2.0", - "grunt-contrib-uglify": "~1.0.1", + "grunt-contrib-uglify": "~2.0.0", "grunt-contrib-watch": "~1.0.0", "grunt-includes": "~0.5.1", "grunt-jsvalidate": "~0.2.2",