File tree Expand file tree Collapse file tree 6 files changed +17
-7
lines changed
Expand file tree Collapse file tree 6 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ uplinks:
1515 maxSockets : 40
1616 maxFreeSockets : 10
1717packages :
18+ # Get @react-native/normalize-color from npm registry, since its used in deprecated-react-native-prop-types package
19+ ' @react-native/normalize-color ' :
20+ access : $all
21+ publish : $authenticated
22+ proxy : npmjs
1823 # Group and isolate all local packages, avoid being proxy from outside
1924 ' @react-native/* ' :
2025 access : $all
Original file line number Diff line number Diff line change 1313const { OS } = require ( '../../Utilities/Platform' ) ;
1414const normalizeColor = require ( '../normalizeColor' ) ;
1515
16- it ( 'forwards calls to @react-native/normalize-color ' , ( ) => {
17- jest . resetModules ( ) . mock ( '@react-native/normalize-color ' , ( ) => jest . fn ( ) ) ;
16+ it ( 'forwards calls to @react-native/normalize-colors ' , ( ) => {
17+ jest . resetModules ( ) . mock ( '@react-native/normalize-colors ' , ( ) => jest . fn ( ) ) ;
1818
1919 expect ( require ( '../normalizeColor' ) ( '#abc' ) ) . not . toBe ( null ) ;
20- expect ( require ( '@react-native/normalize-color ' ) ) . toBeCalled ( ) ;
20+ expect ( require ( '@react-native/normalize-colors ' ) ) . toBeCalled ( ) ;
2121} ) ;
2222
2323describe ( 'iOS' , ( ) => {
Original file line number Diff line number Diff line change 1313import type { ProcessedColorValue } from './processColor' ;
1414import type { ColorValue } from './StyleSheet' ;
1515
16- import _normalizeColor from '@react-native/normalize-color ' ;
16+ import _normalizeColor from '@react-native/normalize-colors ' ;
1717
1818function normalizeColor (
1919 color : ?( ColorValue | ProcessedColorValue ) ,
Original file line number Diff line number Diff line change 114114 "@react-native-community/cli-platform-ios" : " 10.0.0-alpha.3" ,
115115 "@react-native/assets-registry" : " ^0.72.0" ,
116116 "@react-native/gradle-plugin" : " ^0.72.1" ,
117- "@react-native/normalize-color" : " 2.1.0" ,
118117 "@react-native/polyfills" : " 2.0.0" ,
118+ "@react-native/normalize-colors" : " ^0.72.0" ,
119119 "abort-controller" : " ^3.0.0" ,
120120 "anser" : " ^1.4.9" ,
121121 "base64-js" : " ^1.1.2" ,
Original file line number Diff line number Diff line change 11{
2- "name" : " @react-native/normalize-color " ,
3- "version" : " 2.1 .0" ,
2+ "name" : " @react-native/normalize-colors " ,
3+ "version" : " 0.72 .0" ,
44 "description" : " Color normalization for React Native." ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change 22522252 prompts "^2.4.0"
22532253 semver "^6.3.0"
22542254
2255+ " @react-native/normalize-color@* " :
2256+ version "2.1.0"
2257+ resolved "https://registry.yarnpkg.com/@react-native/normalize-color/-/normalize-color-2.1.0.tgz#939b87a9849e81687d3640c5efa2a486ac266f91"
2258+ integrity sha512-Z1jQI2NpdFJCVgpY+8Dq/Bt3d+YUi1928Q+/CZm/oh66fzM0RUl54vvuXlPJKybH4pdCZey1eDTPaLHkMPNgWA==
2259+
22552260" @reactions/component@^2.0.2 " :
22562261 version "2.0.2"
22572262 resolved "https://registry.yarnpkg.com/@reactions/component/-/component-2.0.2.tgz#40f8c1c2c37baabe57a0c944edb9310dc1ec6642"
You can’t perform that action at this time.
0 commit comments