Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"react-native": false
},
"dependencies": {
"@babel/runtime-corejs3": "7.28.0",
"@babel/runtime-corejs3": "7.28.2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify lockfile deduplication and CI cache invalidation

Ensure the lockfile(s) and caches reflect 7.28.2 only (no mixed 7.28.0/7.28.2 installs). This avoids duplicate helper/polyfill code paths in bundles.

Run from repo root:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Searching lockfiles for @babel/runtime-corejs3 versions..."
found_any=false
for f in package-lock.json pnpm-lock.yaml yarn.lock; do
  if [[ -f "$f" ]]; then
    found_any=true
    echo "==> $f"
    rg -n "(@babel/runtime-corejs3|core-js-pure)" "$f" -C1 || true
  fi
done

if ! $found_any; then
  echo "No lockfile found. If CI generates one, ensure it resolves to 7.28.2."
fi

echo
echo "Checking for mixed versions in node_modules (if installed)..."
if [[ -d node_modules ]]; then
  fd -a '@babel/runtime-corejs3' node_modules | xargs -I{} node -e "try{console.log(require('./{}'/package.json).version, '->', './{}')}catch(e){}" || true
else
  echo "node_modules not present; skip."
fi

echo
echo "Tip: clear CI caches for node_modules and lockfile-based caches after merging."

Length of output: 4861


Action Required: Deduplicate @babel/runtime-corejs3 to 7.28.2 Across Lockfiles

We’ve detected mixed versions of @babel/runtime-corejs3 in package-lock.json, which will pull in multiple helper/polyfill code paths:

  • node_modules/@parse/push-adapter/node_modules/@babel/runtime-corejs3 at 7.26.9
  • node_modules/parse/node_modules/@babel/runtime-corejs3 at 7.27.0
  • Top-level dependency at 7.28.2

To resolve this and ensure only 7.28.2 is installed:

• Add an override (npm v8+) or resolutions (Yarn) in your package.json:

  "dependencies": {
    "@babel/runtime-corejs3": "7.28.2",
    …
  },
+ "overrides": {
+   "@babel/runtime-corejs3": "7.28.2"
+ },

• Reinstall and regenerate your lockfile:

npm install
git add package-lock.json
git commit -m "chore: enforce @babel/[email protected] via override"

• In your CI, clear caches for node_modules and any lockfile-derived caches so builds pick up the deduplicated version.

After merging, re-run the verification script to confirm no 7.26.x or 7.27.x entries remain.

🤖 Prompt for AI Agents
package.json around line 34: there are mixed versions of @babel/runtime-corejs3
in lockfiles (7.26.9, 7.27.0, and top-level 7.28.2); add an npm override (or
Yarn resolution) in package.json to force @babel/[email protected] at
install, then run npm install to regenerate package-lock.json, commit the
updated lockfile with a clear message, and clear CI node_modules/cache so
subsequent builds pick up the deduplicated version; finally re-run the
verification script to ensure no 7.26.x or 7.27.x entries remain.

"idb-keyval": "6.2.2",
"react-native-crypto-js": "1.0.0",
"uuid": "10.0.0",
Expand Down