Jarred Sumner
c01cba3ab5
Update types.zig
2022-09-20 23:57:45 -07:00
Jarred Sumner
ef1607c088
fixup
2022-09-20 23:57:07 -07:00
Jarred Sumner
123e8c8d2b
Update WebKit
2022-09-20 23:56:08 -07:00
Jarred Sumner
9667eec9de
Be more careful with process.argv
2022-09-20 23:56:08 -07:00
Hemanth Krishna
26625f3e2a
fix: add destination to ADD command in Dockerfile ( #1268 )
...
Signed-off-by: Hemanth Krishna <hkpdev008@gmail.com >
Signed-off-by: Hemanth Krishna <hkpdev008@gmail.com >
2022-09-20 23:43:21 -07:00
Jarred Sumner
e94e6d8d95
Allow .env files to define the same key multiple times
...
Fixes https://github.com/oven-sh/bun/issues/1262
2022-09-20 01:02:15 -07:00
Jarred Sumner
f0bc50eb71
meant to include this in the previous commit
2022-09-20 00:45:19 -07:00
Jarred Sumner
6163fb830e
Add navigator.userAgent , navigator.hardwareConcurrency
2022-09-20 00:44:59 -07:00
Jarred Sumner
167948f5c3
Fix incorrect hostname logic
...
Fixes https://github.com/oven-sh/bun/issues/1261
2022-09-20 00:07:01 -07:00
Jarred Sumner
37d191bc02
Update process.argv to more closely match node
2022-09-19 23:37:26 -07:00
Jarred Sumner
da7b648971
Pass through arguments unmodified after bun run <script> or bun <script>
...
Fixes https://github.com/oven-sh/bun/issues/231
2022-09-19 23:37:08 -07:00
Jarred Sumner
8b7f43f855
Handle nested files more correctly with "imports" in package.json
2022-09-19 21:02:26 -07:00
Jarred Sumner
21770eb0f3
Implement imports in package.json (#foo imports)
...
Fixes https://github.com/oven-sh/bun/issues/478
Fixes https://github.com/oven-sh/bun/issues/234
Fixes https://github.com/oven-sh/bun/issues/822
2022-09-19 20:03:02 -07:00
Jarred Sumner
17be8023d9
Fix broken destructors
2022-09-19 17:26:30 -07:00
Jarred Sumner
9754c5b32b
Fix larger bodies
2022-09-19 05:50:10 -07:00
Jarred Sumner
a16cb39423
Improve the perf of reading HTTP request body
2022-09-18 18:45:34 -07:00
Jarred Sumner
dfefb05b10
Fix occasional crash with .json()
2022-09-18 18:37:55 -07:00
Jarred Sumner
55bdf2682c
Update build-id
bun-v0.1.13
2022-09-18 04:09:03 -07:00
Jarred Sumner
3a50ae92ec
Fix broken sending http body
2022-09-18 04:00:40 -07:00
Jarred Sumner
fe77f6a2f3
Update http_client_async.zig
2022-09-18 02:34:58 -07:00
Jarred Sumner
cd35218141
Add a way to disable timeout and keepalive
2022-09-18 02:30:52 -07:00
Jarred Sumner
daeef8d5b3
extremely minor perf nit
bun-v0.1.12
2022-09-17 22:14:38 -07:00
Kit PANG
184230058a
feat: env loader nested values with curly braces ( #1246 )
...
* [env loader] Add support for nested value with curly braces
does not support default values for nested values, e.g., ${undefined:default}, ${undefined:-default}, or ${undefined-default}
* fix: minor fix and add more test
* [env loader] Improve nested value parsing performance
remove unnecessary branching
Co-authored-by: Like <like@ekil.sh >
2022-09-17 22:11:16 -07:00
Jarred Sumner
a08b323e61
Fix napi module registration
...
Fixes https://github.com/oven-sh/bun/issues/1240
2022-09-17 21:56:30 -07:00
Jarred Sumner
745cc5c655
Handle missing 0\r\n chunk in HTTP client
2022-09-17 21:45:03 -07:00
Jarred Sumner
3719c3b736
Update & configure SSL a little
2022-09-17 21:45:03 -07:00
Jarred Sumner
0e424de684
Update WebKit
2022-09-17 21:45:03 -07:00
Jarred Sumner
285ef0ca01
Explicitly enable ShadowRealm
2022-09-17 21:45:03 -07:00
Greg Brimble
ce0df52b7e
Update macOS contributing instructions ( #1247 )
2022-09-17 17:49:46 -07:00
Jarred Sumner
e03204dccf
Avoid undefined memory
2022-09-17 17:41:13 -07:00
Jarred Sumner
0dea2d8515
Smaller stack
2022-09-17 17:40:50 -07:00
Jarred Sumner
31469bb05b
Prevent returning resolved promises
2022-09-17 04:39:59 -07:00
Jarred Sumner
b4f8e5cdb9
Fix default hostname
2022-09-17 04:31:29 -07:00
Jarred Sumner
cefec77646
Partially implement server.fetch() on Bun.serve
2022-09-17 04:28:32 -07:00
Hyro
7c7adc1361
chore: add napi label ( #1245 )
2022-09-17 02:54:41 -07:00
Jarred Sumner
af6609b0a3
[bun install] Add a package index via symlinks to ~/.bun/install/cache
2022-09-17 01:12:59 -07:00
Jarred Sumner
3ae950d829
Fix missing reason and code in CloseEvent
...
cc @paperdave
hardcoded right now but at least tells you why it closed
2022-09-17 00:42:20 -07:00
Jarred Sumner
c2f64d4da1
Fix crash when specifying same package name twice in bun add
...
Fixes https://github.com/oven-sh/bun/issues/1202
2022-09-17 00:21:10 -07:00
Jarred Sumner
9b941dd800
Update build-id
2022-09-16 22:58:31 -07:00
Jarred Sumner
4b9f6baf79
Make fetch throw a SystemError on reject
2022-09-16 22:50:46 -07:00
Jarred Sumner
a675cbd13b
Fix issue with chunked transfer encoding
2022-09-16 22:38:09 -07:00
Jarred Sumner
bd77afb2df
Fix issue with server not starting before exiting
2022-09-16 22:36:06 -07:00
Jarred Sumner
681f5a521f
[bun install] Remove spinloop
2022-09-16 16:53:17 -07:00
Jarred Sumner
f55b9a8530
Fix origin missing protocol in URL
...
Fixes https://github.com/oven-sh/bun/issues/1244
2022-09-16 16:45:26 -07:00
Jarred Sumner
da6f954e0d
Fix process not exiting
2022-09-16 14:28:07 -07:00
Jarred Sumner
453eaf6871
Fix crash when parsing empty JSON file
2022-09-16 03:20:28 -07:00
Jarred Sumner
0ce709d96a
Make new HTTP client more stable
2022-09-16 00:53:03 -07:00
Jarred Sumner
fd808dec52
Use entropy cache for websocket mask
2022-09-14 21:35:12 -07:00
Jarred Sumner
ac949f8181
Fix issue with websockets callback not registering in canary
2022-09-14 21:34:29 -07:00
Jarred Sumner
48c2c8c049
woops that was wrong
2022-09-14 19:29:16 -07:00