Alex Lam S.L
9dfbf57397
repopulate alias_map correctly ( #1847 )
2023-01-19 16:24:56 -08:00
Jarred Sumner
e04fe64a82
Add a comment
2023-01-19 16:19:15 -08:00
Jarred Sumner
495c70053f
Add a debug safety check for UAF in AST nodes
2023-01-19 16:14:56 -08:00
Jarred Sumner
9bcd4952ce
Fix UAF when opening workspaces
2023-01-19 16:14:40 -08:00
Jarred Sumner
8745f10cd3
Improve error message when a workspace is not found
2023-01-19 15:48:03 -08:00
Volodymyr Palamar
ac0dab3679
Create new example http-file-extended.ts ( #1827 )
...
New code sample with http Range and ETag support
Some code is taken from here https://github.com/gornostay25/svelte-adapter-bun/blob/master/src/sirv.js
2023-01-19 10:35:55 -08:00
Ciro Spaciari
01c97e4033
fix(fetch:HTTP_PROXY) fix support for HTTP_PROXY/HTTPS_PROXY and NO_PROXY in fetch instances ( #1844 )
...
* fix response.zig fetch
* use VM bundler env instead of DotEnv.instance
* remove unnecessary import
2023-01-19 10:34:32 -08:00
Alex Lam S.L
cd5f2ab11f
parse dependency specifier correctly ( #1840 )
2023-01-19 06:39:01 -08:00
Alex Lam S.L
61736966ad
fix stale references upon Lockfile tree cloning ( #1845 )
2023-01-19 06:38:08 -08:00
Alex Lam S.L
8bdcded5c1
fix memory reference issues ( #1841 )
2023-01-19 00:53:01 -08:00
Alex Lam S.L
c0ec61cf16
support npm dependency aliasing ( #1837 )
...
* support npm dependency aliasing
* fix variable name
2023-01-18 20:11:52 -08:00
Alex Lam S.L
d4e323b997
add fs.rmdir & friends ( #1838 )
2023-01-18 19:56:34 -08:00
Jarred Sumner
58cbd6b211
Regenerate lockb
2023-01-18 16:51:18 -08:00
Colin McDonnell
d8d148e3bb
Fix/simplify bun-types release ( #1836 )
...
* Simplify types release
* Further simplify
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-01-18 16:22:01 -08:00
Jarred Sumner
311185f6d6
Add a test for #1831
2023-01-18 15:00:00 -08:00
Jarred Sumner
7012d2fb74
Fixes #1831
2023-01-18 14:59:39 -08:00
Jarred Sumner
2db04ef9d9
Fix crash with invalid arguments in readdir()
bun-v0.5.0
2023-01-18 01:16:13 -08:00
Jarred Sumner
4cb6a34432
Don't report end() because it is inherently flaky
2023-01-18 00:28:53 -08:00
Jarred Sumner
2016e8a0af
micro-optimize loading process environment variables
2023-01-18 00:28:19 -08:00
Jarred Sumner
0759530118
opposite
2023-01-18 00:24:52 -08:00
Jarred Sumner
5ed46913c4
Update node-net.test.ts
2023-01-18 00:17:11 -08:00
Jarred Sumner
bd5b90fbf1
Fix lifetime issue in require.resolve
2023-01-17 23:41:17 -08:00
Colin McDonnell
bba4054da3
Use canary in CI ( #1823 )
...
* Use canary in CI
* Only publish canary when types change
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-01-17 23:06:26 -08:00
华晨
d16951422b
remove redundant allowSyntheticDefaultImports ( #1802 )
2023-01-17 21:01:55 -08:00
Jarred Sumner
e0eeb1c07e
workaround lifetime issue
2023-01-17 20:10:19 -08:00
Ashcon Partovi
216e872801
Add Bun.dns to the README
2023-01-17 18:17:12 -08:00
Ashcon Partovi
6fbf437f50
Fix Bun.dns examples to use array instead of single result
2023-01-17 18:12:49 -08:00
Ciro Spaciari
c00fadab9e
feat(cli): Support HTTPS_PROXY, HTTP_PROXY, and NO_PROXY #1440 ( #1814 )
...
* WIP: http_proxy implemented, first steps for https_proxy #1440
* add HTTP_PROXY support to upgrade_command and WIP: tunneling
* WIP async handshake, stuck on WANT_READ, try to defer + check
* create and upgrade with proxy working, TLS and non-TLS to proxy TLS working
* bun install/upgrade/create working with http(s)_proxy #1440
* add NO_PROXY support #1440
* remove commented code and add TODO
* fix getHttpProxy no_proxy
* fix formatting
* refactor catch and getHttpProxy, fix empty strngs in env for proxy
* allow optimization for handleResponseBody
2023-01-17 17:47:01 -08:00
Jarred Sumner
9b260fb18b
Allow error instance in process.emitWarning
2023-01-17 17:11:08 -08:00
Colin McDonnell
b931c19ba3
Add types for readline, tls, net ( #1817 )
...
* Add readline, tls, net types
* Remove unimplemented methods
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-01-17 16:49:18 -08:00
Jarred Sumner
9e403fc8bf
cleanup error message
2023-01-17 16:47:45 -08:00
Jarred Sumner
fd0edd7aa0
[process] Implement process.emitWarning
2023-01-17 16:29:08 -08:00
Jarred Sumner
848658c533
[test] Add helper for bun env
2023-01-17 16:28:49 -08:00
Jarred Sumner
37d2a98331
Update logger.zig
2023-01-17 16:27:52 -08:00
Jarred Sumner
58d1ab02bd
[canary] Fix missing .env log
2023-01-17 16:27:48 -08:00
Jarred Sumner
9f0d402a7d
[EventEmitter] Fix emitter.off("eventName")
2023-01-17 16:27:21 -08:00
Jarred Sumner
f927567b9f
bun install tests shouldn't fail due to terminal colors
2023-01-17 16:00:21 -08:00
Derrick Farris
94ea41a60b
fix(readline/promises): new Interface() -> new PromisesInterface() ( #1818 )
2023-01-17 15:45:15 -08:00
Dylan Conway
8235e59a7f
set available
2023-01-17 15:36:19 -08:00
Jarred Sumner
8924c521ba
// flaky
2023-01-17 14:00:10 -08:00
Jarred Sumner
69875d86cd
Fix console.log printing multiple properties
2023-01-17 13:44:13 -08:00
Jarred Sumner
5bdc923838
dont export twice
2023-01-17 12:53:28 -08:00
Jarred Sumner
25a2962186
Expose tls.connect
2023-01-17 12:52:49 -08:00
Jarred Sumner
c943dbadef
Update crypto-hasher.mjs
2023-01-17 12:52:33 -08:00
Jarred Sumner
aacaa9b85d
Bun v0.5.0
2023-01-17 00:43:56 -08:00
Jarred Sumner
74992f6f34
make node-redis work
2023-01-17 00:09:04 -08:00
Dylan Conway
12b8416b64
send and disconnect
2023-01-16 23:44:09 -08:00
Jarred Sumner
8a5ff676ea
Bump zig
2023-01-16 23:21:52 -08:00
Jarred Sumner
f660f8d22f
Make sure the socket keeps the process alive
2023-01-16 21:43:48 -08:00
Jarred Sumner
38cc947621
Don't need to skip these now
2023-01-16 21:42:52 -08:00