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
Support
import with { type: "json" }
and others
- #16624
#16624
Merged
Jarred-Sumner
merged 22 commits into
main
oven-sh/bun:main
from
pfg/fix-with-type
oven-sh/bun:pfg/fix-with-type
Copy head branch name to clipboard
Mar 6, 2025
Conversation
Commits
22
(22)
Checks
Files changed
Merged
Support
import with { type: "json" }
and others
#16624
Jarred-Sumner
merged 22 commits into
main
oven-sh/bun:main
from
pfg/fix-with-type
oven-sh/bun:pfg/fix-with-type
Copy head branch name to clipboard
Commits
Commits on Mar 6, 2025
failing tests
pfgithub
committed
c6ef832
View commit details
Copy full SHA for c6ef832
Browse repository at this point
import "./_my_file.myf" with {loader: "js"} works
pfgithub
committed
3f6e971
View commit details
Copy full SHA for 3f6e971
Browse repository at this point
add the correct answers
pfgithub
committed
a37243c
View commit details
Copy full SHA for a37243c
Browse repository at this point
reuse Loader.fromString()
pfgithub
committed
90f67da
View commit details
Copy full SHA for 90f67da
Browse repository at this point
found bug 2
pfgithub
committed
f82cde7
View commit details
Copy full SHA for f82cde7
Browse repository at this point
fix with { type: 'json' } not loading as json
pfgithub
committed
41f306f
View commit details
Copy full SHA for 41f306f
Browse repository at this point
closer to passing import-attributes, just missing support for importing jsonc
pfgithub
committed
2a3feca
View commit details
Copy full SHA for 2a3feca
Browse repository at this point
make sure skipped loaders don't crash
pfgithub
committed
7fbc8d7
View commit details
Copy full SHA for 7fbc8d7
Browse repository at this point
add napi
pfgithub
committed
d6b44e4
View commit details
Copy full SHA for d6b44e4
Browse repository at this point
faster
pfgithub
committed
14e87a2
View commit details
Copy full SHA for 14e87a2
Browse repository at this point
add "jsonc" loader and make "json" fail with jsonc
pfgithub
committed
29c9d62
View commit details
Copy full SHA for 29c9d62
Browse repository at this point
.
pfgithub
committed
ee3dd2b
View commit details
Copy full SHA for ee3dd2b
Browse repository at this point
revert attempt to remove fn loader()
pfgithub
committed
ff2e278
View commit details
Copy full SHA for ff2e278
Browse repository at this point
fix on windows
pfgithub
committed
a1276eb
View commit details
Copy full SHA for a1276eb
Browse repository at this point
windows fix
pfgithub
committed
4e5fe75
View commit details
Copy full SHA for 4e5fe75
Browse repository at this point
toml log fix
pfgithub
committed
ddb36e7
View commit details
Copy full SHA for ddb36e7
Browse repository at this point
.jsonc
pfgithub
committed
69fe71a
View commit details
Copy full SHA for 69fe71a
Browse repository at this point
share logic for determining import loader and file
pfgithub
committed
1d05575
View commit details
Copy full SHA for 1d05575
Browse repository at this point
support '?raw' imports but not in build yet
pfgithub
committed
0a3db35
View commit details
Copy full SHA for 0a3db35
Browse repository at this point
fix build
pfgithub
committed
8ba4e47
View commit details
Copy full SHA for 8ba4e47
Browse repository at this point
mention in docs
pfgithub
committed
0dfb792
View commit details
Copy full SHA for 0dfb792
Browse repository at this point
wording
pfgithub
committed
7076263
View commit details
Copy full SHA for 7076263
Browse repository at this point
You can’t perform that action at this time.