Skip to content

Allow newer @babel/runtime 7.x versions - #20

Merged
joker-777 merged 1 commit into
kenhubfrom
deps/babel-runtime-range
Nov 2, 2026
Merged

joker-777 merged 1 commit into
kenhubfrom
deps/babel-runtime-range

Conversation

@joker-777

Copy link
Copy Markdown
  • @babel/runtime was pinned to exactly 7.26.0. An app that uses a newer 7.x version (the quiz companion has 7.29.7 in its lockfile) installs and bundles both copies.
  • It's now ^7.26.0, so the app's package manager can resolve one copy. The fork's own lockfile still resolves 7.26.0.
  • Version 8 is not an option, because the fork still compiles with Babel 7.

Verification: only the version range changed. CI installs with --frozen-lockfile, which checks that the edited yarn.lock matches package.json.

🤖 Generated with Claude Code

@babel/runtime was pinned to exactly 7.26.0, so an app that depends on a
newer 7.x version installs and bundles both. The range ^7.26.0 lets the
app's package manager resolve one copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 2, 2026 15:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the change allowing compatible @babel/runtime 7.x releases.

No open issues 🎉

What changed in this PR

Relaxes WatermelonDB’s @babel/runtime dependency to allow compatible newer 7.x releases, enabling consuming apps to share a single runtime copy while excluding Babel 8.

Changes:

  • Changes the dependency range from 7.26.0 to ^7.26.0.
  • Updates the lockfile selector while retaining the resolved version 7.26.0.
  • Documents the dependency change in the unreleased changelog.
File Description
yarn.lock Matches the new range without changing the locked version.
package.json Allows compatible @babel/runtime 7.x versions.
CHANGELOG-Unreleased.md Records the relaxed range and intended deduplication benefit.

Review effort: Balanced

@joker-777
joker-777 merged commit daac763 into kenhub Nov 2, 2026
8 checks passed
@joker-777
joker-777 deleted the deps/babel-runtime-range branch November 2, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants