Revert D39268818: chore: rename polyfills to js-polyfills (umbrella 480)

Differential Revision:
D39268818 (https://github.com/facebook/react-native/commit/ca1ae5c44ffa0b1a149e69e47b7f51cb6a914734)

Original commit changeset: c87807460f27

Original Phabricator Diff: D39268818 (https://github.com/facebook/react-native/commit/ca1ae5c44ffa0b1a149e69e47b7f51cb6a914734)

fbshipit-source-id: 30fd72c56f530ed16b61094a53678daf0142f040
This commit is contained in:
Moti Zilberman
2022-11-26 10:28:56 -08:00
committed by Facebook GitHub Bot
parent ca1ae5c44f
commit 6e9d3bf7b1
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
* @flow strict
*/
import type {ErrorUtilsT} from '@react-native/js-polyfills/error-guard';
import type {ErrorUtilsT} from '@react-native/polyfills/error-guard';
/**
* The particular require runtime that we are using looks for a global
+2 -2
View File
@@ -12,8 +12,8 @@
const MockNativeMethods = jest.requireActual('./MockNativeMethods');
const mockComponent = jest.requireActual('./mockComponent');
jest.requireActual('@react-native/js-polyfills/Object.es8');
jest.requireActual('@react-native/js-polyfills/error-guard');
jest.requireActual('@react-native/polyfills/Object.es8');
jest.requireActual('@react-native/polyfills/error-guard');
global.__DEV__ = true;
+1 -1
View File
@@ -115,7 +115,7 @@
"@react-native/assets": "1.0.0",
"@react-native/gradle-plugin": "^0.72.1",
"@react-native/normalize-color": "2.1.0",
"@react-native/js-polyfills": "^0.72.0",
"@react-native/polyfills": "2.0.0",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"base64-js": "^1.1.2",
+1 -1
View File
@@ -22,7 +22,7 @@ yarn_workspace(
rn_library(
name = "polyfills",
base_path = relative_path_to_js_root() + "node_modules/@react-native/js-polyfills/",
base_path = relative_path_to_js_root() + "node_modules/@react-native/polyfills/",
is_polyfill = True,
labels = [
"pfh:ReactNative_CommonInfrastructurePlaceholder",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@react-native/js-polyfills",
"version": "0.72.0",
"name": "@react-native/polyfills",
"version": "2.0.0",
"description": "Polyfills for React Native.",
"repository": {
"type": "git",
+1 -1
View File
@@ -9,4 +9,4 @@
'use strict';
module.exports = require('@react-native/js-polyfills');
module.exports = require('@react-native/polyfills');