mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
refactor(react-native/polyfills): rename package to @react-native/js-polyfills and align version
Summary: Changelog: [General][Changed] - renamed react-native/polyfills -> react-native/js-polyfills and align with other packages versions (0.72.0) as a part of migration to monorepo Reviewed By: motiz88 Differential Revision: D41553157 fbshipit-source-id: eef70c8e7639080acdeb6716d1a915760a85458a
This commit is contained in:
parent
17f221c852
commit
71399d0891
2
Libraries/vendor/core/ErrorUtils.js
vendored
2
Libraries/vendor/core/ErrorUtils.js
vendored
@ -8,7 +8,7 @@
|
||||
* @flow strict
|
||||
*/
|
||||
|
||||
import type {ErrorUtilsT} from '@react-native/polyfills/error-guard';
|
||||
import type {ErrorUtilsT} from '@react-native/js-polyfills/error-guard';
|
||||
|
||||
/**
|
||||
* The particular require runtime that we are using looks for a global
|
||||
|
@ -12,8 +12,8 @@
|
||||
const MockNativeMethods = jest.requireActual('./MockNativeMethods');
|
||||
const mockComponent = jest.requireActual('./mockComponent');
|
||||
|
||||
jest.requireActual('@react-native/polyfills/Object.es8');
|
||||
jest.requireActual('@react-native/polyfills/error-guard');
|
||||
jest.requireActual('@react-native/js-polyfills/Object.es8');
|
||||
jest.requireActual('@react-native/js-polyfills/error-guard');
|
||||
|
||||
global.__DEV__ = true;
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
||||
"@react-native-community/cli-platform-ios": "10.0.0-alpha.3",
|
||||
"@react-native/assets-registry": "^0.72.0",
|
||||
"@react-native/gradle-plugin": "^0.72.1",
|
||||
"@react-native/polyfills": "2.0.0",
|
||||
"@react-native/js-polyfills": "^0.72.0",
|
||||
"@react-native/normalize-colors": "^0.72.0",
|
||||
"abort-controller": "^3.0.0",
|
||||
"anser": "^1.4.9",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@react-native/polyfills",
|
||||
"version": "2.0.0",
|
||||
"name": "@react-native/js-polyfills",
|
||||
"version": "0.72.0",
|
||||
"description": "Polyfills for React Native.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -9,4 +9,4 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = require('@react-native/polyfills');
|
||||
module.exports = require('@react-native/js-polyfills');
|
||||
|
Loading…
Reference in New Issue
Block a user