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
96.1k
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: hoist "use client"/"use server" directives to the top of output
- #35473
#35473
Closed
robobun
wants to merge 13 commits into
main
oven-sh/bun:main
from
farm/43520e7d/bundler-hoist-directives
oven-sh/bun:farm/43520e7d/bundler-hoist-directives
Copy head branch name to clipboard
Conversation
Commits
13
(13)
Checks
Files changed
Closed
bundler: hoist "use client"/"use server" directives to the top of output
#35473
robobun
wants to merge 13 commits into
main
oven-sh/bun:main
from
farm/43520e7d/bundler-hoist-directives
oven-sh/bun:farm/43520e7d/bundler-hoist-directives
Copy head branch name to clipboard
Commits
Commits on Aug 28, 2026
bundler: hoist "use client"/"use server" directives to the top of output
Show description for 66680a9
robobun
committed
66680a9
View commit details
Copy full SHA for 66680a9
Browse repository at this point
[autofix.ci] apply automated fixes
autofix-ci[bot]
authored and
robobun
committed
cfc7268
View commit details
Copy full SHA for cfc7268
Browse repository at this point
test: loosen DirectiveInsideWrappedDep assertion to be wrapper-shape agnostic
robobun
committed
95773b5
View commit details
Copy full SHA for 95773b5
Browse repository at this point
bundler: keep legal comments from breaking the directive prologue, escape non-ascii directives, skip stripping in REPL mode
Show description for 155855f
robobun
committed
155855f
View commit details
Copy full SHA for 155855f
Browse repository at this point
bundler: keep wrapped-dep directive prologue ahead of init calls, move runtime CJS directives inside the wrapper
Show description for 461f551
robobun
committed
461f551
View commit details
Copy full SHA for 461f551
Browse repository at this point
RuntimeTranspilerCache: bump EXPECTED_VERSION for directive hoisting
Show description for 7df3178
robobun
committed
7df3178
View commit details
Copy full SHA for 7df3178
Browse repository at this point
ci: retrigger
robobun
committed
0498ff4
View commit details
Copy full SHA for 0498ff4
Browse repository at this point
bundler: keep directives inside bake dev module closures, fix React Compiler opt-out scan past legal comments
Show description for a39e917
robobun
committed
a39e917
View commit details
Copy full SHA for a39e917
Browse repository at this point
remove review-flagged comment blocks
robobun
committed
678a130
View commit details
Copy full SHA for 678a130
Browse repository at this point
address review: early-out on writer error after the directive loop, strengthen directive test assertions
Show description for 73d9741
robobun
committed
73d9741
View commit details
Copy full SHA for 73d9741
Browse repository at this point
update bytecode portability snapshot for hoisted directives
Show description for 955ec3f
robobun
committed
955ec3f
View commit details
Copy full SHA for 955ec3f
Browse repository at this point
minify: drop directive-like strings outside function bodies
Show description for 001cbf8
robobun
committed
001cbf8
View commit details
Copy full SHA for 001cbf8
Browse repository at this point
remove review-flagged comment
robobun
committed
76a16e7
View commit details
Copy full SHA for 76a16e7
Browse repository at this point
You can’t perform that action at this time.