Skip to content

Commit 8965613

Browse files
committed
[prop-types] v4.0.0
1 parent 6c6f7f7 commit 8965613

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 4.0.0 / 2022-12-13
2+
3+
- Compatible with React Native 0.72
4+
- Updated dependency from `@react-native/normalize-color` to
5+
`@react-native/normalize-colors` due to upstream renaming of such dependency,
6+
needed for compatibility with 0.72
7+
- This major bump is needed as `[email protected]` will still use
8+
`@react-native/normalize-color` and we want users of 0.71 to continue depending
9+
on 3.0.1.
10+
111
# 3.0.1 / 2022-12-02
212

313
- 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
},

deprecated-react-native-prop-types/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@react-native/normalize-color@*":
6-
version "2.0.0"
7-
resolved "https://registry.yarnpkg.com/@react-native/normalize-color/-/normalize-color-2.0.0.tgz#da955909432474a9a0fe1cbffc66576a0447f567"
8-
integrity sha512-Wip/xsc5lw8vsBlmY2MO/gFLp3MvuZ2baBZjDeTjjndMgM0h5sxz7AZR62RDPGgstp8Np7JzjvVqVT7tpFZqsw==
5+
"@react-native/normalize-colors@*":
6+
version "0.72.0"
7+
resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.72.0.tgz#14294b7ed3c1d92176d2a00df48456e8d7d62212"
8+
integrity sha512-285lfdqSXaqKuBbbtP9qL2tDrfxdOFtIMvkKadtleRQkdOxx+uzGvFr82KHmc/sSiMtfXGp7JnFYWVh4sFl7Yw==
99

1010
invariant@*:
1111
version "2.2.4"

0 commit comments

Comments
 (0)