Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
oven-sh
/
bun
Public
Notifications
You must be signed in to change notification settings
Fork
5.1k
Star
96k
Code
Issues
3.7k
Pull requests
5k+
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
bundler: return the
module.exports
export from require() of an ES module
- #42092
#42092
Open
robobun
wants to merge 10 commits into
main
oven-sh/bun:main
from
robobun/aaa56dd5/require-esm-module-exports
oven-sh/bun:robobun/aaa56dd5/require-esm-module-exports
Copy head branch name to clipboard
Conversation
Commits
10
(10)
Checks
Files changed
Open
bundler: return the
module.exports
export from require() of an ES module
#42092
robobun
wants to merge 10 commits into
main
oven-sh/bun:main
from
robobun/aaa56dd5/require-esm-module-exports
oven-sh/bun:robobun/aaa56dd5/require-esm-module-exports
Copy head branch name to clipboard
Commits
Commits on Sep 9, 2026
bundler: return the `module.exports` export from require() of an ES module
Show description for a6ac356
robobun
committed
a6ac356
View commit details
Copy full SHA for a6ac356
Browse repository at this point
Guard the HMR module.exports read, add a dev-server cycle test, update the bytecode snapshot
Show description for 7d60dac
robobun
committed
7d60dac
View commit details
Copy full SHA for 7d60dac
Browse repository at this point
Trim comments
robobun
committed
848dbe0
View commit details
Copy full SHA for 848dbe0
Browse repository at this point
One-line comments
robobun
committed
4d27891
View commit details
Copy full SHA for 4d27891
Browse repository at this point
Add the #29985 and #19808 programs to the require(esm) tests
Show description for 3ebbd3f
robobun
committed
3ebbd3f
View commit details
Copy full SHA for 3ebbd3f
Browse repository at this point
Keep the value of a require() that is only feature-tested
Show description for 165771c
robobun
committed
165771c
View commit details
Copy full SHA for 165771c
Browse repository at this point
docs: say which browser polyfills export `module.exports`
robobun
committed
ae5eca2
View commit details
Copy full SHA for ae5eca2
Browse repository at this point
One-line comments
robobun
committed
056f4f4
View commit details
Copy full SHA for 056f4f4
Browse repository at this point
ci: retrigger
robobun
committed
cee2baf
View commit details
Copy full SHA for cee2baf
Browse repository at this point
Merge branch 'main' and regenerate the bytecode snapshot
Show description for 5c09958
robobun
committed
5c09958
View commit details
Copy full SHA for 5c09958
Browse repository at this point
You can’t perform that action at this time.