From f9521e559942cd01a5ddae8ccb6c7350a16e334b Mon Sep 17 00:00:00 2001 From: James Kyle Date: Mon, 26 Jan 2015 11:33:20 -0800 Subject: [PATCH 1/2] Bump Lodash to 3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0d3ec19904..e6d4a0ee02 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "esvalid": "1.1.0", "fs-readdir-recursive": "0.1.0", "jshint": "2.5.11", - "lodash": "2.4.1", + "lodash": "3.0.0", "output-file-sync": "^1.1.0", "private": "0.1.6", "regenerator": "0.8.9", From c907f8703a918c1ba8b18ab7dd274dd44c6a743e Mon Sep 17 00:00:00 2001 From: James Kyle Date: Mon, 26 Jan 2015 11:36:41 -0800 Subject: [PATCH 2/2] Fix regex transpilation test for regexpu 1.1 --- package.json | 2 +- .../fixtures/transformation/es6-unicode-regex/basic/expected.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e6d4a0ee02..3b78aaaf2c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "output-file-sync": "^1.1.0", "private": "0.1.6", "regenerator": "0.8.9", - "regexpu": "1.0.0", + "regexpu": "1.1.0", "roadrunner": "1.0.4", "source-map": "0.1.43", "source-map-support": "0.2.9" diff --git a/test/fixtures/transformation/es6-unicode-regex/basic/expected.js b/test/fixtures/transformation/es6-unicode-regex/basic/expected.js index eb24a69373..670ac43a38 100644 --- a/test/fixtures/transformation/es6-unicode-regex/basic/expected.js +++ b/test/fixtures/transformation/es6-unicode-regex/basic/expected.js @@ -1,4 +1,4 @@ "use strict"; var string = "foo💩bar"; -var match = string.match(/foo((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF]))bar/); +var match = string.match(/foo((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))bar/);