File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 8
8
* @flow strict
9
9
*/
10
10
11
- import type { ErrorUtilsT } from '@react-native/polyfills/error-guard' ;
11
+ import type { ErrorUtilsT } from '@react-native/js- polyfills/error-guard' ;
12
12
13
13
/**
14
14
* The particular require runtime that we are using looks for a global
Original file line number Diff line number Diff line change 12
12
const MockNativeMethods = jest . requireActual ( './MockNativeMethods' ) ;
13
13
const mockComponent = jest . requireActual ( './mockComponent' ) ;
14
14
15
- jest . requireActual ( '@react-native/polyfills/Object.es8' ) ;
16
- jest . requireActual ( '@react-native/polyfills/error-guard' ) ;
15
+ jest . requireActual ( '@react-native/js- polyfills/Object.es8' ) ;
16
+ jest . requireActual ( '@react-native/js- polyfills/error-guard' ) ;
17
17
18
18
global . __DEV__ = true ;
19
19
Original file line number Diff line number Diff line change 115
115
"@react-native/assets" : " 1.0.0" ,
116
116
"@react-native/gradle-plugin" : " ^0.72.1" ,
117
117
"@react-native/normalize-color" : " 2.1.0" ,
118
- "@react-native/polyfills" : " 2.0 .0" ,
118
+ "@react-native/js- polyfills" : " ^0.72 .0" ,
119
119
"abort-controller" : " ^3.0.0" ,
120
120
"anser" : " ^1.4.9" ,
121
121
"base64-js" : " ^1.1.2" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ yarn_workspace(
22
22
23
23
rn_library (
24
24
name = "polyfills" ,
25
- base_path = relative_path_to_js_root () + "node_modules/@react-native/polyfills/" ,
25
+ base_path = relative_path_to_js_root () + "node_modules/@react-native/js- polyfills/" ,
26
26
is_polyfill = True ,
27
27
labels = [
28
28
"pfh:ReactNative_CommonInfrastructurePlaceholder" ,
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @react-native/polyfills" ,
3
- "version" : " 2.0 .0" ,
2
+ "name" : " @react-native/js- polyfills" ,
3
+ "version" : " 0.72 .0" ,
4
4
"description" : " Polyfills for React Native." ,
5
5
"repository" : {
6
6
"type" : " git" ,
Original file line number Diff line number Diff line change 9
9
10
10
'use strict' ;
11
11
12
- module . exports = require ( '@react-native/polyfills' ) ;
12
+ module . exports = require ( '@react-native/js- polyfills' ) ;
You can’t perform that action at this time.
0 commit comments