Skip to content

Commit

Permalink
add React Native 0.72 Hermes compat data
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jun 22, 2023
1 parent 285f4d2 commit 4f96175
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Compat data improvements:
- [`Set` methods proposal](https://github.com/tc39/proposal-set-methods) marked as [supported from Safari 17.0](https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes#JavaScript)
- New `URL` features: [`URL.canParse`](https://url.spec.whatwg.org/#dom-url-canparse), [`URLSearchParams.prototype.size`](https://url.spec.whatwg.org/#dom-urlsearchparams-size) and [`value` argument of `URLSearchParams.prototype.{ has, delete }`](https://url.spec.whatwg.org/#dom-urlsearchparams-delete) marked as [supported from Safari 17.0](https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes#Web-API)
- `AggregateError` and well-formed `JSON.stringify` marked as [supported React Native 0.72 Hermes](https://reactnative.dev/blog/2023/06/21/0.72-metro-package-exports-symlinks#more-ecmascript-support-in-hermes)

##### [3.31.0 - 2023.06.12](https://github.com/zloirock/core-js/releases/tag/v3.31.0)
- [Well-formed unicode strings proposal](https://github.com/tc39/proposal-is-usv-string):
Expand Down
3 changes: 3 additions & 0 deletions packages/core-js-compat/src/data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,13 @@ export const data = {
'es.aggregate-error.constructor': {
chrome: '85',
firefox: '79',
'react-native': '0.72',
safari: '14.0',
},
'es.aggregate-error.cause': {
chrome: '94',
firefox: '91',
'react-native': '0.72',
safari: '15.0',
},
'es.array.at': {
Expand Down Expand Up @@ -561,6 +563,7 @@ export const data = {
'es.json.stringify': {
chrome: '72',
firefox: '64',
'react-native': '0.72',
safari: '12.1',
},
'es.json.to-string-tag': {
Expand Down

0 comments on commit 4f96175

Please sign in to comment.