Skip to content

Commit a10ff9c

Browse files
authored
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 #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 #28058 (comment).
1 parent fa50caf commit a10ff9c

File tree

2 files changed

+140
-260
lines changed

2 files changed

+140
-260
lines changed

packages/react-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"internal-ip": "^6.2.0",
2828
"minimist": "^1.2.3",
2929
"react-devtools-core": "7.0.1",
30-
"update-notifier": "^2.1.0"
30+
"update-notifier": "^5.0.0"
3131
}
3232
}

0 commit comments

Comments
 (0)