Skip to content

Commit fc3f7dd

Browse files
committed
fix a lack of reactnative alias in core-js-compat types
1 parent be46da5 commit fc3f7dd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
- Fixed semantics of `Observable.from` with multiple subscriptions of the obsolete ECMAScript `Observable` proposal polyfill
7878
- Fixed handling of ending zeroes in the fraction part in `Number.fromString` polyfill
7979
- Fixed `esmodules: intersect` option of `core-js-compat`
80+
- Fixed a lack of `reactnative` alias in `core-js-compat` types
8081
- Fixed a minor logical bug in the debugging output of `core-js-builder`
8182
- Fixed ignorance of the obsolete `blacklist` option of `core-js-builder` - it should be removed only in the next major release
8283
- In case of bugs in `String.prototype.{ match, matchAll, replace, split }` in modern engines, add `s`, `d` and `v` flag support to polyfills of those methods

packages/core-js-compat/shared.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export type Target =
2626
| 'oculus'
2727
/** `react-native` alias */
2828
| 'react'
29+
/** `react-native` alias */
30+
| 'reactnative'
2931
/** @deprecated use `opera-android` instead */
3032
| 'opera_mobile';
3133

0 commit comments

Comments
 (0)