Bump uuid and react-native#118
Conversation
Removes [uuid](https://github.com/uuidjs/uuid). 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 `uuid` 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: uuid 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>
WalkthroughThis pull request updates the React Native development dependency version in ChangesDependency Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 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: 2
🤖 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`:
- Line 36: package.json pins "react" to 16.11.0 which is incompatible with
"react-native": "0.85.3" (requires React 19.2.x); update the "react" dependency
to the 19.2.x line and, if present, update "react-dom" to the matching 19.2.x
version, then reinstall and regenerate the lockfile (npm/yarn install) and run
your project's build/tests to catch any breaking API changes; ensure your local
Node version meets React Native 0.85.3 / Gradle plugin requirements before
proceeding.
- Line 36: The project pins "react-native": "0.85.3" but the nested package-lock
for `@react-native/gradle-plugin`@0.85.3 requires Node versions ^20.19.4 ||
^22.13.0 || ^24.3.0 || >=25.0.0; add an "engines" field to package.json that
selects one of those compatible Node ranges (e.g., ^22.13.0) and update your CI
configuration's setup-node/node-version to the same version (or pin a matching
version in whatever CI step runs Node) so local dev and CI use a Node version
compatible with `@react-native/gradle-plugin`.
🪄 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: 1c8ea6de-8bf0-4729-bdc3-4a462599fa2f
⛔ 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:
What version of React is required for React Native 0.85.3?
💡 Result:
React Native 0.85.3 requires React 19.2.x (React version range: ^19.2.0 / ^19.2.3 depending on RN package sub-manifests, but the required React version is React 19.2). Evidence: React Native 0.85.0 changelog notes “React: Bump React version to 19.2” [1], and the React Native repo’s peer dependency metadata for 0.85.0/0.85.0-rc.0 shows React set to 19.2.3 [2]. The RN 0.85.3 release is part of the same 0.85.x line where the React version bump to 19.2 was applied [1][3].
Citations:
- 1: https://github.com/facebook/react-native/blob/8bac1df5a9b048c5d056b43600c11ecfe65ce11c/CHANGELOG.md
- 2: https://github.com/facebook/react-native/releases/tag/v0.85.3
- 3: https://reactnative.dev/versions
Align React with React Native 0.85.3
- React Native 0.85.3 requires React 19.2.x, but
package.jsonpinsreactto 16.11.0, creating an incompatible React/RN pairing. - Update
react(andreact-domif present) to the required 19.2.x line before proceeding with the RN 0.85.3 upgrade. Also ensure your Node version matches the RN 0.85.3 Gradle plugin expectations.
🤖 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` at line 36, package.json pins "react" to 16.11.0 which is
incompatible with "react-native": "0.85.3" (requires React 19.2.x); update the
"react" dependency to the 19.2.x line and, if present, update "react-dom" to the
matching 19.2.x version, then reinstall and regenerate the lockfile (npm/yarn
install) and run your project's build/tests to catch any breaking API changes;
ensure your local Node version meets React Native 0.85.3 / Gradle plugin
requirements before proceeding.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Check if package.json or CI configuration specifies Node version requirements
echo "=== Checking for Node version specifications ==="
# Check for .nvmrc
if [ -f .nvmrc ]; then
echo "Found .nvmrc:"
cat .nvmrc
fi
# Check for .node-version
if [ -f .node-version ]; then
echo "Found .node-version:"
cat .node-version
fi
# Check for engines field in package.json
echo -e "\n=== Checking package.json engines field ==="
cat package.json | jq -r '.engines // "No engines field specified"'
# Check CI configuration files
echo -e "\n=== Checking CI configuration for Node versions ==="
fd -t f '(\.github|\.gitlab-ci|\.circleci|travis)' --exec rg -l 'node.*version|setup-node' {} \; 2>/dev/null || echo "No CI config files found"Repository: esthor/react-native-swipeable-list
Length of output: 252
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== Confirm react-native version in package.json ==="
if [ -f package.json ]; then
rg -n '"react-native"\s*:\s*"0\.85\.3"' package.json || true
echo "--- package.json (lines ~30-45) ---"
sed -n '30,45p' package.json
else
echo "package.json not found"
fi
echo
echo "=== Check for package-lock.json and search for gradle-plugin engines ==="
if [ -f package-lock.json ]; then
echo "package-lock.json exists"
echo "--- Matches for `@react-native/gradle-plugin` ---"
rg -n '"`@react-native/gradle-plugin`"|react-native/gradle-plugin' package-lock.json | head -n 50 || true
echo
echo "--- Search for engines field near gradle-plugin entry ---"
# Try to find a nearby engines object by context
rg -n '"`@react-native/gradle-plugin`"' -n package-lock.json | head -n 20 | cat
# Print a window around line 1207-1215 if file is big enough
total_lines=$(wc -l < package-lock.json)
echo "package-lock.json total lines: $total_lines"
if [ "$total_lines" -ge 1220 ]; then
echo "--- package-lock.json (lines 1207-1215) ---"
sed -n '1207,1215p' package-lock.json
else
echo "package-lock.json has fewer than 1220 lines; skipping 1207-1215 slice"
fi
echo
echo "--- Global search for engines + Node version constraints ---"
rg -n '"engines"\s*:\s*\{[^}]*node|node"\s*:' package-lock.json | head -n 50 || true
rg -n '(\^20\.19\.4|\^22\.13\.0|\^24\.3\.0|>=\s*25\.0\.0)' package-lock.json | head -n 50 || true
else
echo "package-lock.json not found"
fi
echo
echo "=== Broader search for CI Node version configuration ==="
# Search the whole repo (but limit output)
rg -n --hidden --no-ignore-vcs 'setup-node|node-version|NODE_VERSION' .github . 2>/dev/null | head -n 100 || trueRepository: esthor/react-native-swipeable-list
Length of output: 5155
Ensure Node.js version selection matches @react-native/gradle-plugin@0.85.3 requirements
package.jsonpinsreact-nativeto0.85.3.package-lock.jsonfornode_modules/@react-native/gradle-plugin@0.85.3setsengines.nodeto^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0.- No
package.jsonenginesfield or CI Node-version configuration (e.g.,setup-node/node-version) was found, so align dev/CI to one of those ranges to prevent build failures.
🤖 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` at line 36, The project pins "react-native": "0.85.3" but the
nested package-lock for `@react-native/gradle-plugin`@0.85.3 requires Node
versions ^20.19.4 || ^22.13.0 || ^24.3.0 || >=25.0.0; add an "engines" field to
package.json that selects one of those compatible Node ranges (e.g., ^22.13.0)
and update your CI configuration's setup-node/node-version to the same version
(or pin a matching version in whatever CI step runs Node) so local dev and CI
use a Node version compatible with `@react-native/gradle-plugin`.
Removes uuid. It's no longer used after updating ancestor dependency react-native. These dependencies need to be updated together.
Removes
uuidUpdates
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.