Repository navigation
Allow newer @babel/runtime 7.x versions - #20
Merged
Merged
Conversation
@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>
There was a problem hiding this comment.
🟢 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.0to^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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@babel/runtimewas pinned to exactly7.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.^7.26.0, so the app's package manager can resolve one copy. The fork's own lockfile still resolves 7.26.0.Verification: only the version range changed. CI installs with
--frozen-lockfile, which checks that the editedyarn.lockmatchespackage.json.🤖 Generated with Claude Code