Skip to content

*draft* Support Bun with patch changes #2582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

alii
Copy link

@alii alii commented Jul 21, 2025

Work in progress to support collecting Bun's versions in MDN. These changes are necessary because Bun can add new features in semver patches, which would be important and relevant for BCD to collect.

data.version = data.fullVersion;
} else {
data.version = getMajorMinorVersion(data.fullVersion);
}

if (data.browser.id == "bun") {
Copy link
Member

Choose a reason for hiding this comment

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

This line and the following two lines were my quick hack to do something similar, but I like your solution much better as it doesn't special-case Bun!

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