Skip to content

Commit 31ce640

Browse files
robhoganLuna Wei
authored andcommitted
Bump dependency on deprecated-react-native-prop-types (#40869)
Summary: Pull Request resolved: #40869 Bumps DRNPT to v5 - the significant change is that this one depends on `react-native/normalize-color: ^0.73.0`, instead of `*`, so is protected from future breaking changes to that package. NOTE: We can't safely include `react-native/normalize-color: ^0.74.0` in the dependency range of DRNPT because `0.74.0` isn't a semver-compliant release (0.74 isn't cut yet), so this will pull 0.73.2 from NPM, which is fine. We may need to publish DRNPT@6 if 0.74 final turns out to contain breaking changes (eg, a Node 20 bump). Changelog: [General][Fixed] Update `deprecated-react-native-prop-types` to remove fragile transitive `*` dependencies. Reviewed By: huntie Differential Revision: D50228564 fbshipit-source-id: 01aafafad40d9a93d00de2b5f45d2796620b9b5d
1 parent 7aa46a1 commit 31ce640

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

packages/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"anser": "^1.4.9",
108108
"ansi-regex": "^5.0.0",
109109
"base64-js": "^1.5.1",
110-
"deprecated-react-native-prop-types": "4.2.1",
110+
"deprecated-react-native-prop-types": "^5.0.0",
111111
"event-target-shim": "^5.0.1",
112112
"flow-enums-runtime": "^0.0.6",
113113
"invariant": "^2.2.4",

yarn.lock

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,6 +2520,11 @@
25202520
prompts "^2.4.2"
25212521
semver "^7.5.2"
25222522

2523+
"@react-native/normalize-colors@^0.73.0":
2524+
version "0.73.2"
2525+
resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz#cc8e48fbae2bbfff53e12f209369e8d2e4cf34ec"
2526+
integrity sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w==
2527+
25232528
"@rnx-kit/rn-changelog-generator@^0.4.0":
25242529
version "0.4.0"
25252530
resolved "https://registry.yarnpkg.com/@rnx-kit/rn-changelog-generator/-/rn-changelog-generator-0.4.0.tgz#637d87bcf8de6e87599930ed88d9375010277660"
@@ -4204,14 +4209,14 @@ depd@2.0.0:
42044209
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
42054210
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==
42064211

4207-
deprecated-react-native-prop-types@4.2.1:
4208-
version "4.2.1"
4209-
resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-4.2.1.tgz#8cc990ff5319fec8306e7e8f30389a92978a7231"
4210-
integrity sha512-ef9AXisRrRhxuxd7d+noOEeGTtxIPVkfOQWf9WZUWuOqI+gs7P7hKTi49Rgb/dfvkmFULhwxO2UqAkH4nJsMfw==
4212+
deprecated-react-native-prop-types@^5.0.0:
4213+
version "5.0.0"
4214+
resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-5.0.0.tgz#02a12f090da7bd9e8c3ac53c31cf786a1315d302"
4215+
integrity sha512-cIK8KYiiGVOFsKdPMmm1L3tA/Gl+JopXL6F5+C7x39MyPsQYnP57Im/D6bNUzcborD7fcMwiwZqcBdBXXZucYQ==
42114216
dependencies:
4212-
"@react-native/normalize-colors" "*"
4213-
invariant "*"
4214-
prop-types "*"
4217+
"@react-native/normalize-colors" "^0.73.0"
4218+
invariant "^2.2.4"
4219+
prop-types "^15.8.1"
42154220

42164221
deprecation@^2.0.0, deprecation@^2.3.1:
42174222
version "2.3.1"
@@ -5679,7 +5684,7 @@ interpret@^1.0.0:
56795684
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
56805685
integrity sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=
56815686

5682-
invariant@*, invariant@^2.2.4:
5687+
invariant@^2.2.4:
56835688
version "2.2.4"
56845689
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
56855690
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
@@ -7830,7 +7835,7 @@ prompts@^2.0.1, prompts@^2.4.2:
78307835
kleur "^3.0.3"
78317836
sisteransi "^1.0.5"
78327837

7833-
prop-types@*, prop-types@^15.8.1:
7838+
prop-types@^15.8.1:
78347839
version "15.8.1"
78357840
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
78367841
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==

0 commit comments

Comments
 (0)