Skip to content

Commit 6c381a6

Browse files
committed
[prop-types] v4.0.1
1 parent 6c6f7f7 commit 6c381a6

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

deprecated-react-native-prop-types/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 4.0.0 / 2022-12-13
2+
3+
- Updated dependency from `@react-native/normalize-color` to `@react-native/normalize-colors` due to
4+
upstream renaming of such dependency, needed for compatibility with 0.72
5+
16
# 3.0.1 / 2022-12-02
27

38
- Compatible with React Native 0.71

deprecated-react-native-prop-types/DeprecatedColorPropType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
'use strict';
1111

12-
const normalizeColor = require('@react-native/normalize-color');
12+
const normalizeColor = require('@react-native/normalize-colors');
1313

1414
/**
1515
* @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js

deprecated-react-native-prop-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "deprecated-react-native-prop-types",
3-
"version": "3.0.1",
3+
"version": "4.0.0",
44
"description": "Deprecated prop-types from React Native.",
55
"license": "MIT",
66
"repository": "github:facebook/react-native-deprecated-modules",
77
"dependencies": {
8-
"@react-native/normalize-color": "*",
8+
"@react-native/normalize-colors": "*",
99
"invariant": "*",
1010
"prop-types": "*"
1111
},

0 commit comments

Comments
 (0)