Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prop-types] v4.0.0 #11

Merged
merged 1 commit into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions deprecated-react-native-prop-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 4.0.0 / 2022-12-13

cortinico marked this conversation as resolved.
Show resolved Hide resolved
- Compatible with React Native 0.72
- Updated dependency from `@react-native/normalize-color` to
`@react-native/normalize-colors` due to upstream renaming of such dependency,
needed for compatibility with 0.72
- This major bump is needed as `react-native@0.71` will still use
`@react-native/normalize-color` and we want users of 0.71 to continue depending
on 3.0.1.

# 3.0.1 / 2022-12-02

- Compatible with React Native 0.71
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

'use strict';

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

/**
* @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js
Expand Down
4 changes: 2 additions & 2 deletions deprecated-react-native-prop-types/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "deprecated-react-native-prop-types",
"version": "3.0.1",
"version": "4.0.0",
cortinico marked this conversation as resolved.
Show resolved Hide resolved
"description": "Deprecated prop-types from React Native.",
"license": "MIT",
"repository": "github:facebook/react-native-deprecated-modules",
"dependencies": {
"@react-native/normalize-color": "*",
"@react-native/normalize-colors": "*",
"invariant": "*",
"prop-types": "*"
},
Expand Down
8 changes: 4 additions & 4 deletions deprecated-react-native-prop-types/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


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

invariant@*:
version "2.2.4"
Expand Down