Bump memoize-one (#58891)

Summary:
`memoize-one@5.2.1` was published `2021-04-24`, **5.5 years ago** , latest verison is `6.0.0`. Old package versions miss bug fixes, performance and bundle size improvements, and may contain known security issues.

Used in:
- node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
- node_modules/react-native/Libraries/Lists/FlatList.js

The latest version: https://github.com/alexreardon/memoize-one/releases/tag/v6.0.0
NPM Diff: https://npmfs.com/compare/memoize-one/5.2.1/6.0.0/

## Changelog:

[GENERAL] [CHANGED] - Bump `memoize-one` package to the latest version

Pull Request resolved: https://github.com/react/react-native/pull/58891

Test Plan: ...

Reviewed By: christophpurrer

Differential Revision: D123888859

Pulled By: rubennorte

fbshipit-source-id: 57cb1b61a9926517e03ce7d2478a03b107a89d9f
This commit is contained in:
D N authored and meta-codesync[bot] committed 2026-10-19 09:40:47 -07:00
1 parent 381d74d788
commit adc45a8a03
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@
"flow-enums-runtime": "^0.0.6",
"hermes-compiler": "0.0.0",
"invariant": "^2.2.4",
"memoize-one": "^5.0.0",
"memoize-one": "^6.0.0",
"metro-runtime": "^0.87.0",
"metro-source-map": "^0.87.0",
"nullthrows": "^1.1.1",
+4 -4
View File
@@ -6733,10 +6733,10 @@ memfs@^4.38.2:
tree-dump "^1.0.3"
tslib "^2.0.0"
memoize-one@^5.0.0:
version "5.2.1"
resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.2.1.tgz#8337aa3c4335581839ec01c3d594090cebe8f00e"
integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==
memoize-one@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045"
integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==
merge-stream@^2.0.0:
version "2.0.0"