Skip to content

Commit cc04392

Browse files
tarunrajputnecolas
authored andcommittedApr 1, 2024
[fix] @react-native/normalize-colors dependency
Fix #2629 Close #2639
1 parent e44bcf4 commit cc04392

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed
 

‎package-lock.json

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/react-native-web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"dependencies": {
2525
"@babel/runtime": "^7.18.6",
26-
"@react-native/normalize-color": "^2.1.0",
26+
"@react-native/normalize-colors": "^0.74.1",
2727
"fbjs": "^3.0.4",
2828
"inline-style-prefixer": "^6.0.1",
2929
"memoize-one": "^6.0.0",

‎packages/react-native-web/src/exports/Touchable/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type { Node } from 'React';
1313

1414
import AccessibilityUtil from '../../modules/AccessibilityUtil';
1515
import BoundingDimensions from './BoundingDimensions';
16-
import normalizeColor from '@react-native/normalize-color';
16+
import normalizeColor from '@react-native/normalize-colors';
1717
import Position from './Position';
1818
import React from 'react';
1919
import UIManager from '../UIManager';

‎packages/react-native-web/src/exports/processColor/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @flow
99
*/
1010

11-
import normalizeColor from '@react-native/normalize-color';
11+
import normalizeColor from '@react-native/normalize-colors';
1212

1313
const processColor = (color?: string | number): ?number => {
1414
if (color === undefined || color === null) {

‎packages/react-native-web/src/vendor/react-native/Animated/nodes/AnimatedColor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
import AnimatedValue from './AnimatedValue';
1414
import AnimatedWithChildren from './AnimatedWithChildren';
15-
import normalizeColor from '@react-native/normalize-color';
15+
import normalizeColor from '@react-native/normalize-colors';
1616
import NativeAnimatedHelper from '../NativeAnimatedHelper';
1717

1818
import type {PlatformConfig} from '../AnimatedPlatformConfig';

‎packages/react-native-web/src/vendor/react-native/Animated/nodes/AnimatedInterpolation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import AnimatedWithChildren from './AnimatedWithChildren';
1818
import NativeAnimatedHelper from '../NativeAnimatedHelper';
1919

2020
import invariant from 'fbjs/lib/invariant';
21-
import normalizeColor from '@react-native/normalize-color';
21+
import normalizeColor from '@react-native/normalize-colors';
2222

2323
import type {PlatformConfig} from '../AnimatedPlatformConfig';
2424

0 commit comments

Comments
 (0)
Please sign in to comment.