From 081d6f8e7403101806b50be82e9b30acabcb34a1 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Mon, 13 Feb 2023 00:04:46 +0700 Subject: [PATCH] mark `RegExp.prototype.flags` as fixed from V8 ~ Chrome 111 --- CHANGELOG.md | 1 + packages/core-js-compat/src/data.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d3b8eb514d1..37d75170f75c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ - Improved some cases handling of array-replacer in `JSON.stringify` symbols handling fix - Fixed many other old `JSON.{ parse, stringify }` bugs (numbers instead of strings as keys in replacer, handling negative zeroes, spaces, some more handling symbols cases, etc.) - Fixed configurability and `ToString` conversion of some accessors +- `RegExp.prototype.flags` marked as fixed from V8 ~ Chrome 111 - Added Opera Android 73 compat data mapping - Added TypeScript definitions to `core-js-builder` - Added proper error on the excess number of trailing `=` in the `atob` polyfill diff --git a/packages/core-js-compat/src/data.mjs b/packages/core-js-compat/src/data.mjs index 237ac855ef50..874038e3ad4f 100644 --- a/packages/core-js-compat/src/data.mjs +++ b/packages/core-js-compat/src/data.mjs @@ -1267,7 +1267,7 @@ export const data = { }, 'es.regexp.flags': { // modern V8 has a bug with the order getting of flags - // chrome: '62', + chrome: '111', // '62', firefox: '78', hermes: '0.4', safari: '11.1',