diff --git a/common.gypi b/common.gypi index 4b41641c1f3..115b53ff658 100644 --- a/common.gypi +++ b/common.gypi @@ -50,7 +50,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.54', + 'v8_embedder_string': '-node.55', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/regexp/gen-regexp-special-case.cc b/deps/v8/src/regexp/gen-regexp-special-case.cc index 53b2c1327fb..92aa1049781 100644 --- a/deps/v8/src/regexp/gen-regexp-special-case.cc +++ b/deps/v8/src/regexp/gen-regexp-special-case.cc @@ -9,6 +9,7 @@ #include "src/base/strings.h" #include "src/regexp/special-case.h" +#include "unicode/locid.h" #include "unicode/unistr.h" namespace v8 { @@ -31,7 +32,7 @@ UChar32 Canonicalize(UChar32 ch) { // c. Let u be the same result produced as if by performing the algorithm // for String.prototype.toUpperCase using s as the this value. // d. Assert: Type(u) is String. - icu::UnicodeString& u = s.toUpper(); + icu::UnicodeString& u = s.toUpper(icu::Locale::getRoot()); // e. If u does not consist of a single code unit, return ch. if (u.length() != 1) {