mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ba46e5b2cd
Summary: Installing `react-native` 0.72.x causes a warning about `react-test-renderer` because `react-native/virtualized-lists` has declared a peer dependency on it. As far as I know, it is not used for anything but tests. ``` ➤ YN0002: │ react-native@npm:0.72.0-rc.6 [292eb] doesn't provide react-test-renderer (p5a2fb), requested by react-native/virtualized-lists ``` Note that while many package managers default to warnings in this case, there are still a number of users out there for which this is an error. ## Changelog: [GENERAL] [FIXED] - `react-native/virtualized-lists` does not need `react-test-renderer` at runtime Pull Request resolved: https://github.com/facebook/react-native/pull/37955 Test Plan: n/a Reviewed By: rshest Differential Revision: D46871536 Pulled By: NickGerleman fbshipit-source-id: 1e5e15608ab394bc43cd4e6ac727a74734874642
22 lines
486 B
JSON
22 lines
486 B
JSON
{
|
|
"name": "@react-native/virtualized-lists",
|
|
"version": "0.72.5",
|
|
"description": "Virtualized lists for React Native.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git",
|
|
"directory": "packages/virtualized-lists"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"react-test-renderer": "18.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react-native": "*"
|
|
}
|
|
}
|