[fix] @react-native/normalize-colors dependency

Fix #2629
Close #2639
This commit is contained in:
tarunrajput
2024-02-07 18:32:03 +05:30
committed by Nicolas Gallagher
parent e44bcf4e81
commit cc0439299e
6 changed files with 15 additions and 15 deletions

20
package-lock.json generated
View File

@@ -2949,10 +2949,10 @@
"dev": true,
"license": "MIT"
},
"node_modules/@react-native/normalize-color": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@react-native/normalize-color/-/normalize-color-2.1.0.tgz",
"integrity": "sha512-Z1jQI2NpdFJCVgpY+8Dq/Bt3d+YUi1928Q+/CZm/oh66fzM0RUl54vvuXlPJKybH4pdCZey1eDTPaLHkMPNgWA=="
"node_modules/@react-native/normalize-colors": {
"version": "0.74.1",
"resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.74.1.tgz",
"integrity": "sha512-r+bTRs6pImqE3fx4h7bPzH2sOWSrnSHF/RJ7d00pNUj2P6ws3DdhS7WV+/7YosZkloYQfkiIkK3pIHvcYn665w=="
},
"node_modules/@sinclair/typebox": {
"version": "0.24.51",
@@ -15492,7 +15492,7 @@
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@react-native/normalize-color": "^2.1.0",
"@react-native/normalize-colors": "^0.74.1",
"fbjs": "^3.0.4",
"inline-style-prefixer": "^6.0.1",
"memoize-one": "^6.0.0",
@@ -17345,10 +17345,10 @@
"version": "1.0.0-next.21",
"dev": true
},
"@react-native/normalize-color": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@react-native/normalize-color/-/normalize-color-2.1.0.tgz",
"integrity": "sha512-Z1jQI2NpdFJCVgpY+8Dq/Bt3d+YUi1928Q+/CZm/oh66fzM0RUl54vvuXlPJKybH4pdCZey1eDTPaLHkMPNgWA=="
"@react-native/normalize-colors": {
"version": "0.74.1",
"resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.74.1.tgz",
"integrity": "sha512-r+bTRs6pImqE3fx4h7bPzH2sOWSrnSHF/RJ7d00pNUj2P6ws3DdhS7WV+/7YosZkloYQfkiIkK3pIHvcYn665w=="
},
"@sinclair/typebox": {
"version": "0.24.51",
@@ -23650,7 +23650,7 @@
"version": "file:packages/react-native-web",
"requires": {
"@babel/runtime": "^7.18.6",
"@react-native/normalize-color": "^2.1.0",
"@react-native/normalize-colors": "^0.74.1",
"fbjs": "^3.0.4",
"inline-style-prefixer": "^6.0.1",
"memoize-one": "^6.0.0",

View File

@@ -23,7 +23,7 @@
},
"dependencies": {
"@babel/runtime": "^7.18.6",
"@react-native/normalize-color": "^2.1.0",
"@react-native/normalize-colors": "^0.74.1",
"fbjs": "^3.0.4",
"inline-style-prefixer": "^6.0.1",
"memoize-one": "^6.0.0",

View File

@@ -13,7 +13,7 @@ import type { Node } from 'React';
import AccessibilityUtil from '../../modules/AccessibilityUtil';
import BoundingDimensions from './BoundingDimensions';
import normalizeColor from '@react-native/normalize-color';
import normalizeColor from '@react-native/normalize-colors';
import Position from './Position';
import React from 'react';
import UIManager from '../UIManager';

View File

@@ -8,7 +8,7 @@
* @flow
*/
import normalizeColor from '@react-native/normalize-color';
import normalizeColor from '@react-native/normalize-colors';
const processColor = (color?: string | number): ?number => {
if (color === undefined || color === null) {

View File

@@ -12,7 +12,7 @@
import AnimatedValue from './AnimatedValue';
import AnimatedWithChildren from './AnimatedWithChildren';
import normalizeColor from '@react-native/normalize-color';
import normalizeColor from '@react-native/normalize-colors';
import NativeAnimatedHelper from '../NativeAnimatedHelper';
import type {PlatformConfig} from '../AnimatedPlatformConfig';

View File

@@ -18,7 +18,7 @@ import AnimatedWithChildren from './AnimatedWithChildren';
import NativeAnimatedHelper from '../NativeAnimatedHelper';
import invariant from 'fbjs/lib/invariant';
import normalizeColor from '@react-native/normalize-color';
import normalizeColor from '@react-native/normalize-colors';
import type {PlatformConfig} from '../AnimatedPlatformConfig';