Bump tmp and react-native#119
Conversation
Removes [tmp](https://github.com/raszi/node-tmp). It's no longer used after updating ancestor dependency [react-native](https://github.com/facebook/react-native/tree/HEAD/packages/react-native). These dependencies need to be updated together. Removes `tmp` Updates `react-native` from 0.62.3 to 0.85.3 - [Release notes](https://github.com/facebook/react-native/releases) - [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG-0.6x.md) - [Commits](https://github.com/facebook/react-native/commits/v0.85.3/packages/react-native) --- updated-dependencies: - dependency-name: tmp dependency-version: dependency-type: indirect - dependency-name: react-native dependency-version: 0.85.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
WalkthroughThe pull request updates the React Native development dependency version in ChangesReact Native Dependency Update
🎯 1 (Trivial) | ⏱️ ~2 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Around line 34-36: The package.json currently pins react@16.11.0 while
react-native@0.85.3 requires react ^19.2.3 and the Metro preset is deprecated;
update the dependencies so React matches RN by replacing "react": "16.11.0" with
"react": "^19.2.3" (and update `@types/react` to ^19.1.1 if present), replace
"metro-react-native-babel-preset": "^0.57.0" with the recommended preset
"`@react-native/babel-preset`" (use a version compatible with react-native@0.85.3,
e.g., 0.85.x), ensure react-native remains 0.85.3 or adjust consistently, then
run install and a full build/test to verify no peer dependency or runtime
errors.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 1ec9baff-b7a8-4a87-bb7c-7a6a1e4afb61
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
| "metro-react-native-babel-preset": "^0.57.0", | ||
| "react": "16.11.0", | ||
| "react-native": "0.62.3" | ||
| "react-native": "0.85.3" |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
`For react-native 0.85.3, what are the required/compatible versions of:
- react
- metro / metro-react-native-babel-preset (or replacement package, if deprecated)
Please cite official React Native release notes/changelog and npm peerDependencies.`
💡 Result:
For React Native 0.85.3 (released 2026-05-05), the compatible/required versions are: 1) react React Native 0.85.3 requires react ^19.2.0 (peerDependency). React Native changelog confirms this release uses React 19.2+ via the React version bump noted around 0.85.3. [1][2] 2) metro / metro-react-native-babel-preset (or replacement) - metro (React Native’s bundler package): use the metro version that ships with React Native 0.85.x; Metro is updated in the React Native release train (0.85.x aligns with Metro 0.84.x in this timeframe). [3][4] - metro-react-native-babel-preset: deprecated. The npm package explicitly says: “This package has been deprecated. Use @react-native/babel-preset instead.” [5] - Replacement: @react-native/babel-preset. The deprecated preset points to @react-native/babel-preset as the replacement. [5] Notes on what I could/couldn’t directly verify from the official sources: - I was able to get an official RN tag for v0.85.3 and the npm deprecation note for metro-react-native-babel-preset, but the React Native tag page/changelog snippet I retrieved did not explicitly list metro’s exact required version number or the exact peerDependency range for metro within the limited excerpts returned. If you want, tell me whether you’re using bare React Native or Expo, and I can pin down the exact metro/@react-native/babel-preset versions by checking the corresponding package-lock/yarn.lock or the generated Metro config for RN 0.85.3.
Citations:
- 1: https://npmx.dev/diff/react-native/v/0.83.2...0.85.3
- 2: https://github.com/facebook/react-native/releases/tag/v0.85.3
- 3: https://github.com/facebook/metro/releases/tag/v0.84.0
- 4: react/metro@6181565
- 5: https://www.npmjs.com/package/metro-react-native-babel-preset
🏁 Script executed:
#!/bin/bash
# Read-only verification against npm metadata
set -euo pipefail
npm view react-native@0.85.3 version peerDependencies dependencies --json
npm view react@16.11.0 version --json
npm view metro-react-native-babel-preset version deprecated --jsonRepository: esthor/react-native-swipeable-list
Length of output: 1446
🏁 Script executed:
#!/bin/bash
set -euo pipefail
npm view metro-react-native-babel-preset@0.57.0 version deprecated peerDependencies dependencies --json
npm view `@react-native/babel-preset`@0.85.3 version peerDependencies dependencies --json
npm view `@react-native/babel-preset` version --json | head -n 40Repository: esthor/react-native-swipeable-list
Length of output: 4114
Major dependency mismatch: react-native@0.85.3 requires React ^19.2.3, but package.json pins react@16.11.0 and uses a deprecated Metro Babel preset.
react-native@0.85.3peerDependencies:reactmust be^19.2.3(and@types/react^19.1.1); currentreactis16.11.0.metro-react-native-babel-preset@0.57.0is deprecated (“Use@react-native/babel-presetinstead”); align to@react-native/babel-preset@0.85.3(or the RN-matching versions) in the same PR.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` around lines 34 - 36, The package.json currently pins
react@16.11.0 while react-native@0.85.3 requires react ^19.2.3 and the Metro
preset is deprecated; update the dependencies so React matches RN by replacing
"react": "16.11.0" with "react": "^19.2.3" (and update `@types/react` to ^19.1.1
if present), replace "metro-react-native-babel-preset": "^0.57.0" with the
recommended preset "`@react-native/babel-preset`" (use a version compatible with
react-native@0.85.3, e.g., 0.85.x), ensure react-native remains 0.85.3 or adjust
consistently, then run install and a full build/test to verify no peer
dependency or runtime errors.
Removes tmp. It's no longer used after updating ancestor dependency react-native. These dependencies need to be updated together.
Removes
tmpUpdates
react-nativefrom 0.62.3 to 0.85.3Release notes
Sourced from react-native's releases.
... (truncated)
Changelog
Sourced from react-native's changelog.
... (truncated)
Commits
22ea81bRelease 0.85.3de4e138[0.85] Backport RedBox 2.0 for iOS (#56640)28fb4a2Add feature flag to enable experimental MutationObserver (#55919) (#56600)7fc99bcFix silent tar extraction failure on EdenFS in replace-rncore-version (#55797...e77df0cAdd RCTDevSupportHeaders to React Umbrella (#55974) (#56643)7846672[0.85] Add Fast Refresh performance marker and unstable_fastRefreshComplete C...691b232[0.85] Backport performance debugging improvements (#56637)67baaf3Release 0.85.25300582Fix loading banner stuck after a reload430da64Avoid moving RawProps during animation backend commit when retries are possib...Maintainer changes
This version was pushed to npm by react-native-bot, a new releaser for react-native since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.