Skip to content

Commit d513d74

Browse files
authored
add Bun as reserved name (#6381)
* add Bun as reserved name * changelog
1 parent 2defd97 commit d513d74

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
1313
# 11.0.0-rc.3 (Unreleased)
1414

15+
#### :nail_care: Polish
16+
17+
- Add [`Bun`](https://bun.sh) to reserved names, so that modules named `Bun` don't clash with the globally exposed `Bun` object. https://github.com/rescript-lang/rescript-compiler/pull/6381
18+
1519
#### :bug: Bug Fix
1620

1721
- Fix issue with JSX V4 when component props have the default value with same name. https://github.com/rescript-lang/rescript-compiler/pull/6377

jscomp/ext/js_reserved_map.ml

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ let sorted_keywords = [|
7171
"BroadcastChannel";
7272
"BrowserCaptureMediaStreamTrack";
7373
"Buffer";
74+
"Bun";
7475
"ByteLengthQueuingStrategy";
7576
"CDATASection";
7677
"CSS";

0 commit comments

Comments
 (0)