mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Upgrade devtools dependency update-notifier to 5.x (#31655)
## Summary This PR upgrades the dependency on update-notifier, used in react-devtools, to 5.x This is the latest non-ESM version, so upgrading to it should be unproblematic (while updating to 6.x and beyond will have to wait). Upgrading means we avoid installing a lot of outdated dependencies (as can be seen from the diff in yarn.lock), and resolves part of https://github.com/facebook/react/issues/28058 Changelog: https://github.com/yeoman/update-notifier/releases The most relevant breaking change seems to be that the minimum support node version is increased from v6 to v10, but I couldn't find what is currently React's official node version support. ## How did you test this change? I ran the test-suite locally (`yarn test` in root folder), but I'm not sure if that one actually covers devtools? I also built and tested this version of devtools with some internal company projects (both react and react-native based) – following guidelines from https://github.com/facebook/react/issues/28058#issuecomment-1943619292.
This commit is contained in:
@@ -27,6 +27,6 @@
|
||||
"internal-ip": "^6.2.0",
|
||||
"minimist": "^1.2.3",
|
||||
"react-devtools-core": "7.0.1",
|
||||
"update-notifier": "^2.1.0"
|
||||
"update-notifier": "^5.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user