Skip to content

Commit f00594b

Browse files
robhoganfacebook-github-bot
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 edb7332 commit f00594b

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

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
@@ -2536,6 +2536,11 @@
25362536
prompts "^2.4.2"
25372537
semver "^7.5.2"
25382538

2539+
"@react-native/normalize-colors@^0.73.0":
2540+
version "0.73.2"
2541+
resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz#cc8e48fbae2bbfff53e12f209369e8d2e4cf34ec"
2542+
integrity sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w==
2543+
25392544
"@rnx-kit/rn-changelog-generator@^0.4.0":
25402545
version "0.4.0"
25412546
resolved "https://registry.yarnpkg.com/@rnx-kit/rn-changelog-generator/-/rn-changelog-generator-0.4.0.tgz#637d87bcf8de6e87599930ed88d9375010277660"
@@ -4315,14 +4320,14 @@ [email protected]:
43154320
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
43164321
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==
43174322

4318-
deprecated-react-native-prop-types@4.2.1:
4319-
version "4.2.1"
4320-
resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-4.2.1.tgz#8cc990ff5319fec8306e7e8f30389a92978a7231"
4321-
integrity sha512-ef9AXisRrRhxuxd7d+noOEeGTtxIPVkfOQWf9WZUWuOqI+gs7P7hKTi49Rgb/dfvkmFULhwxO2UqAkH4nJsMfw==
4323+
deprecated-react-native-prop-types@^5.0.0:
4324+
version "5.0.0"
4325+
resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-5.0.0.tgz#02a12f090da7bd9e8c3ac53c31cf786a1315d302"
4326+
integrity sha512-cIK8KYiiGVOFsKdPMmm1L3tA/Gl+JopXL6F5+C7x39MyPsQYnP57Im/D6bNUzcborD7fcMwiwZqcBdBXXZucYQ==
43224327
dependencies:
4323-
"@react-native/normalize-colors" "*"
4324-
invariant "*"
4325-
prop-types "*"
4328+
"@react-native/normalize-colors" "^0.73.0"
4329+
invariant "^2.2.4"
4330+
prop-types "^15.8.1"
43264331

43274332
deprecation@^2.0.0, deprecation@^2.3.1:
43284333
version "2.3.1"
@@ -5788,7 +5793,7 @@ interpret@^1.0.0:
57885793
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
57895794
integrity sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=
57905795

5791-
invariant@*, invariant@^2.2.4:
5796+
invariant@^2.2.4:
57925797
version "2.2.4"
57935798
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
57945799
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
@@ -7959,7 +7964,7 @@ prompts@^2.0.1, prompts@^2.4.2:
79597964
kleur "^3.0.3"
79607965
sisteransi "^1.0.5"
79617966

7962-
prop-types@*, prop-types@^15.8.1:
7967+
prop-types@^15.8.1:
79637968
version "15.8.1"
79647969
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
79657970
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==

0 commit comments

Comments
 (0)