Jarred Sumner
8549134658
[Bun.Transpiler] Introduce inline flag
2022-12-11 16:38:52 -08:00
Jarred Sumner
27e40b0836
Update WebKit
...
cc @cirospaciari you will need to re-download the precompiled WebKit build from the releases page https://github.com/oven-sh/WebKit/releases/tag/dec11 because there is one small WebKit API change. LMK if you have any trouble with that
2022-12-11 16:14:53 -08:00
Jarred Sumner
b57f51fda2
Add a test for some scopes
2022-12-11 14:18:09 -08:00
Jarred Sumner
fad1742410
[transpiler] Never trim exports
2022-12-11 13:55:31 -08:00
Jarred Sumner
768f4539e8
[transpiler] Fix unbalanced class_name scope
...
surprised this was never caught sooner
2022-12-11 13:55:15 -08:00
Jarred Sumner
37b16a9007
Add _read
2022-12-11 13:01:41 -08:00
Jarred Sumner
a2d96f9040
Fix checking the UTF-16 length twice
2022-12-11 13:01:24 -08:00
Jarred Sumner
b5519af7e7
cleanup some tests
2022-12-11 12:58:48 -08:00
Jarred Sumner
9d94f148dc
Avoid re-visting AST nodes which create scopes
2022-12-11 11:55:06 -08:00
Jarred Sumner
5cf64b07be
Fix segfault in release mode when module list is empty
2022-12-10 22:25:33 -08:00
Jarred Sumner
e301fde96d
Include isTTY in types
2022-12-10 22:25:19 -08:00
Jarred Sumner
2a7687fff8
Regenerate builtins
2022-12-10 22:24:34 -08:00
Alex Lam S.L
780f7de843
override process.stdin.on() correctly ( #1603 )
...
* override `process.stdin.on()` correctly
fixes #1601
* add tests
2022-12-10 21:51:02 -08:00
Jarred Sumner
660eb46b17
[transpiler] Improve constant propagation
2022-12-10 21:36:14 -08:00
Jarred Sumner
c6f3044654
[transpiler] Fix issue with async macros in bun build
2022-12-10 15:30:09 -08:00
Jarred Sumner
b374c67c16
[transpiler] Fix bug with === on statically-known rope strings
2022-12-10 15:29:53 -08:00
Jarred Sumner
ce960f9506
♻️
2022-12-10 00:37:32 -08:00
Jarred Sumner
ab49f95ef2
📷
2022-12-10 00:19:19 -08:00
Jarred Sumner
047754d5dd
Implement simple version of inlining single-use expressions and statements
2022-12-10 00:19:19 -08:00
YuX
b400dfb386
fix path string ( #1597 )
2022-12-09 18:17:12 -08:00
Jarred Sumner
88538b7c2c
Deprecate very incomplete Solid.js JSX transform
...
We don't have time to do a good job of this and Bun.plugin makes it possible to use Solid with Bun
2022-12-09 16:41:38 -08:00
Jarred Sumner
79138c4c7c
Add "bun" to list
2022-12-09 16:10:33 -08:00
Colin McDonnell
24fbcb8f52
Exclude other ts declaration file extensions ( #1596 )
...
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2022-12-09 14:26:33 -08:00
Jarred Sumner
51e437e8a0
EventEmitter - return original this value for better chainability
2022-12-08 18:27:16 -08:00
Colin McDonnell
e6c2f48895
Add filename completions on naked bun command ( #1593 )
...
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2022-12-08 17:32:25 -08:00
Ashcon Partovi
cf961336d0
Update install issue template
2022-12-08 09:50:03 -08:00
Ashcon Partovi
b44615a916
Improve bug report issue template
2022-12-08 09:49:19 -08:00
Ashcon Partovi
fd740d41e5
Fix issue template for docs
2022-12-08 09:44:55 -08:00
Ashcon Partovi
46a9b124f5
Remove needs-repro label from issue template
2022-12-08 09:33:59 -08:00
Simon He
7c2180194c
chore: add eslintcache ( #1586 )
2022-12-07 22:03:11 -08:00
Jarred Sumner
3150ff49a7
fix dirname on an empty string
2022-12-07 21:41:30 -08:00
Jarred Sumner
2fe5b4da2f
📷
2022-12-07 21:41:30 -08:00
Dylan Conway
0b94ccdf8c
disable assignment on user specified assigns
2022-12-07 21:29:32 -08:00
Dylan Conway
845421c44b
fix __require linker collision ( #1585 )
2022-12-07 20:39:55 -08:00
Jarred Sumner
42ea8b2402
[node:events] EventEmitter#on and EventEmitter#off should return the EventEmitter instance
2022-12-07 14:06:18 -08:00
Jarred Sumner
a13e64c286
Update html_rewriter.zig
bun-v0.3.0
2022-12-07 00:37:40 -08:00
Derrick Farris
60d0e6b73f
fix(stream): Fix Transform class constructor fn ( #1583 )
...
* fix(stream): fix ReadableFromWeb class, fix Transform
* test(stream): add tests for .call on stream constructors
2022-12-07 00:18:10 -08:00
Jarred Sumner
a315ee7e03
try
2022-12-06 22:31:26 -08:00
Jarred Sumner
57672eb266
try
2022-12-06 22:29:21 -08:00
Jarred Sumner
511c0ab386
Fix aarch64
2022-12-06 22:17:55 -08:00
Dylan Conway
d9306c2681
first_non_ascii != offset
2022-12-06 21:46:20 -08:00
Dylan Conway
aa17f97d13
fix failing text decoder test
2022-12-06 21:04:38 -08:00
Jarred Sumner
e547efbf4a
Don't call getters in console.log
2022-12-06 20:20:08 -08:00
Jarred Sumner
3d243e5e95
Fix node:stream/consumers
2022-12-06 19:56:36 -08:00
Colin McDonnell
5ea8fe8c90
Update types ( #1581 )
...
* Fix TS types, improve child_process types
* Add prettier
* Add ArrayBuffer types
* Add namespace Bun, improve types for SharedArrayBuffer, add toStrictEqual
* Improve types, add test files for types
* Update type tests
* Fix typo
* Add stdio
* Stdio types
* Use latest setup-bun
* Update action
* Update action
* Update action
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2022-12-06 18:48:02 -08:00
Dylan Conway
84b2cc1739
fix child process test
2022-12-06 18:15:20 -08:00
Jarred Sumner
15ce587fa2
Update glibc-versions-hack.cpp
2022-12-06 18:10:17 -08:00
Dylan Conway
20a4b72ff4
add base64url switch case
2022-12-06 17:36:24 -08:00
Jarred Sumner
41d778fbfb
dlsym pow
2022-12-06 17:21:07 -08:00
Dylan Conway
5f3a6f2bf3
add server scheduleDeinit, ignore logs in test
2022-12-06 17:10:14 -08:00