Jarred Sumner
a2afb252bf
Update CONTRIBUTING.md
2023-02-08 21:46:53 -08:00
Jarred Sumner
abb89f489f
Create CONTRIBUTING.md
2023-02-08 20:47:11 -08:00
Jarred Sumner
ddec9e0bf6
handle more cases with util.isError
bun-v0.5.6
2023-02-08 17:18:02 -08:00
Jarred Sumner
4962bea4fc
cleanup util.test
2023-02-08 17:17:40 -08:00
Alex Lam S.L
f31330d3e2
[install] pick latest tagged version by default ( #2016 )
...
* [install] pick `latest` tagged version by default
fixes #1993
* update `package.json` the same way as `npm
2023-02-08 16:28:29 -08:00
Ashcon Partovi
ee8ccca605
Remove test run workflow, for now
2023-02-08 16:11:24 -08:00
Dylan Conway
6fdbb25f9a
utf16 to utf8 conversion validation ( #2001 )
...
* use replacement character for invalid surrogate pairs
* return index of non-ascii
* non-allocating case
* edge cases
* function rename
* oops
* get length once, index counter
2023-02-08 14:42:10 -08:00
RobViren
b8c0554839
Fix minor version bug for README.md ( #2013 )
...
Addresses issue #2012 and corrects the minor version to the current minor version
2023-02-08 14:39:57 -08:00
Alex Lam S.L
18807cef03
[install] assorted fixes & improvements ( #2011 )
...
- take `peerDependencies` into account during package placement
- do not recursively resolve `workspaces` (matches `npm`)
- link binaries to non-root packages correctly
- prune empty nodes during dependency tree construction
- support non-standard `workspace:` specifier
2023-02-08 14:37:14 -08:00
Ashcon Partovi
cbc28afd51
Fix 'MissingPackageJSON' in Dockerfile
...
Closes #2008
2023-02-07 14:33:22 -08:00
Jarred Sumner
7886bce8c8
cleanup
2023-02-07 10:51:55 -08:00
Ashcon Partovi
7cd26232b1
Update docker image in README
2023-02-07 08:46:09 -08:00
Ashcon Partovi
a0b0cd6844
Fix bugs with release script
2023-02-07 04:47:36 -08:00
Jarred Sumner
52f9c3d05e
set the type
2023-02-06 23:27:18 -08:00
Jarred Sumner
f947987a2c
default not configurable
2023-02-06 23:19:12 -08:00
Jarred Sumner
30106c4f54
Fix failing test in debug mode
2023-02-06 23:19:05 -08:00
Jarred Sumner
34b2d7fe57
Mark things as DontDelete
2023-02-06 23:15:32 -08:00
Jarred Sumner
153834cf5c
Throw on process.binding
2023-02-06 23:15:23 -08:00
Jarred Sumner
6aea31f4fc
cleanup
2023-02-06 22:41:44 -08:00
Jarred Sumner
0fd144993c
Fix test failing on macOS
2023-02-06 22:41:37 -08:00
Jarred Sumner
6699fe14e7
minor cleanup
2023-02-06 22:32:10 -08:00
Jarred Sumner
add7b1101e
Add bounds check
2023-02-06 22:29:24 -08:00
Alex Lam S.L
5a19f8434b
[WIP] fix corner cases with aliases dependencies ( #2000 )
...
* fix corner cases with aliases dependencies
* in-memory convert legacy `bun.lockb`
2023-02-06 22:24:34 -08:00
Jarred Sumner
d5f3bb1c74
Update text-decoder.mjs
2023-02-06 22:13:05 -08:00
Colin McDonnell
08e33fbd42
Fix gaps in types ( #2003 )
...
* Add type for clearImmediate
* Expose Crypto class
* Add types for CustomEvent
* Add types for module and exports
* Add types for global
* Add types for DOMException
* Add types for WebAssembly
* Update formatting
* Fix clearTimeout
* Fix formatting
* Update formatting
* Remove log
---------
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-02-06 21:36:36 -08:00
Jarred Sumner
7ddbbc53b4
Make Stat functions fast
2023-02-06 21:18:58 -08:00
Jarred Sumner
85611272c6
bump
2023-02-06 20:35:59 -08:00
Jarred Sumner
c40912b8dc
formatting
2023-02-06 20:28:59 -08:00
Jarred Sumner
77974f2a6e
tweaks to generator
2023-02-06 19:27:21 -08:00
Jarred Sumner
ed72bee373
Mark some things as not configurable
2023-02-06 19:27:16 -08:00
Jarred Sumner
05f3a22cba
Use new bindings for Stat
...
Fixes #1999
2023-02-06 18:40:52 -08:00
Jarred Sumner
f5df1044d4
Fix build
2023-02-06 18:39:03 -08:00
Jarred Sumner
4329f6ad16
Backport https://github.com/WebKit/WebKit/pull/9713
2023-02-06 14:21:25 -08:00
Michał Warda
fd4668d97c
Expose Dirent and Stats ( #1998 )
...
* Expose dirent and stats
* Expose Dirent and Stats inside fs
* Add tests for Dirent and Stats exposing
* Automatically generate bindings
2023-02-06 14:15:20 -08:00
Ciro Spaciari
8c4ed963ec
fix(uWS:capi) uws_req_set_yield typo and uws_res_override_write_offset ( #1996 )
2023-02-06 12:59:04 -08:00
Colin McDonnell
e7f9ce47f4
Add types for node:console and node:perf_hooks ( #1982 )
...
* Add types for node:console and node:perf_hooks
* Add types for util/types
---------
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-02-06 12:57:19 -08:00
Dylan Conway
98022bec1e
mark binding
2023-02-06 12:23:59 -08:00
Cheng Shao
397f559e77
Fix URL of wasi-js ( #1997 )
2023-02-06 11:35:01 -08:00
Jarred Sumner
ca2e708be1
speed it up a little more
2023-02-05 07:07:35 -08:00
Jarred Sumner
8649136845
substringSharingImpl allocates, do not use
2023-02-05 06:17:21 -08:00
Jarred Sumner
e8fe6dd2f8
Faster Buffer.toString("ascii")
2023-02-05 04:14:16 -08:00
Gaurish Sethia
df126b2f3b
Bump querystring-es3 ( #1988 )
...
* Add filePath property on MatchedRoute
* Fix #1880 #851
* Fix #1972 as well
* FMC
* Bump querystring-es3
---------
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-02-04 23:15:42 -08:00
Jarred Sumner
7d3a2ca382
Add isDeepStructEqual to node:util
2023-02-04 00:34:03 -08:00
Jarred Sumner
b7c96bfaae
Fixes #1978
2023-02-03 22:29:32 -08:00
Justin Whear
a2fd20e5c0
Implement os.cpus() for Linux ( #1977 )
...
* Implement os.cpus() for Linux
`os.cpus()` currently returns an empty array for all platforms. This PR implements full functionality for Linux and has been tested on x86-64. Other OSes will continue to return an empty array.
Note that Linux on Arm64 may report the CPU model differently; if this is the case the CPU model will currently be reported as "unknown". As I do not have Arm64 hardware to verify and develop against, a todo has been left in the code.
* resolve issues from review
2023-02-03 18:13:33 -08:00
Jarred Sumner
de613baf81
Support passing Date to Bun.sleep
2023-02-03 17:25:25 -08:00
Jarred Sumner
4590e2b83a
Add test for propagating exception
2023-02-03 17:04:47 -08:00
Jarred Sumner
2758e0cab9
Add missing crypto export
...
Fixes #1984
2023-02-03 16:39:16 -08:00
Jarred Sumner
7d386bf1f1
Introduce await Bun.sleep(ms)
2023-02-03 16:39:16 -08:00
Ashcon Partovi
164cd774f7
Fix types for Array.fromAsync
2023-02-03 16:29:03 -08:00