Colin McDonnell
1c09c1663d
Remove comment
2022-12-20 17:52:46 -08:00
Colin McDonnell
5d97d356ed
Remove log
2022-12-20 17:51:56 -08:00
Colin McDonnell
28c8ced1bd
Update completionsg
2022-12-20 17:51:19 -08:00
Jarred Sumner
d7b73dd4fc
Use endsWith
2022-12-19 23:37:53 -08:00
Jarred Sumner
5931e350cd
New subcommand: bunx ( #1634 )
...
* Implement `bunx`
* copy cleanup
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-12-19 23:05:12 -08:00
Jarred Sumner
e7a14f857d
[Bun.write] Slightly better handling for older linux kernels that lack io_uring support
...
If io_uring is unsupported, we do the writes synchronously even if they're huge
2022-12-19 12:20:59 -08:00
Jarred Sumner
79abd245e2
Regenerate builtins
2022-12-18 08:52:50 -08:00
Alex Lam S.L
2b622162ef
bug compatible with stdin.on("readable") ( #1626 )
2022-12-17 22:37:45 -08:00
Jarred Sumner
5a3e0836b1
Upgrade WebKit
2022-12-17 17:02:56 -08:00
Jarred Sumner
24c4d92c0b
Update globals.d.ts
2022-12-17 16:18:01 -08:00
Jarred Sumner
184c56704b
Add warning in import.meta.require
2022-12-17 16:15:58 -08:00
Jarred Sumner
feea8824f1
Delete Oniguruma ( #1625 )
...
* Update .gitmodules
* Delete oniguruma
* Delete Oniguruma
* Make this test less flaky
* ✂️
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-12-17 15:41:47 -08:00
Jarred Sumner
028e48ed97
Missing from commit
2022-12-17 14:38:54 -08:00
Jarred Sumner
609222d05e
Fixes https://github.com/oven-sh/bun/issues/1624
...
This was disabled anyway
2022-12-17 14:37:37 -08:00
Jarred Sumner
5d91922c5d
Regenerate builtins
2022-12-17 12:31:07 -08:00
Jarred Sumner
d66831c4f3
Update transpiler.test.js
2022-12-17 12:26:19 -08:00
Jarred Sumner
7f1caaaa44
Update WebKit
2022-12-17 12:26:19 -08:00
Jarred Sumner
42fc49d413
Add node:assert bench
2022-12-17 12:26:19 -08:00
Jarred Sumner
72970ecd15
Update Makefile
2022-12-17 12:26:19 -08:00
Jarred Sumner
f9b573aa89
[bun-types] Add optional param to Bun.deepEquals
2022-12-17 12:26:19 -08:00
Jarred Sumner
bbf8a17bf5
Use Bun.deepEqual in assert module
2022-12-17 12:26:19 -08:00
Jarred Sumner
8c8accf968
Use Buffer.isBuffer and node:util/types in util module
2022-12-17 12:26:19 -08:00
Jarred Sumner
24be0f4fc5
Implement node:util/types
...
Fixes #1617
2022-12-17 12:26:19 -08:00
Jarred Sumner
e59c6f642d
Add strict option to Bun.deepEquals
2022-12-17 12:26:19 -08:00
Jarred Sumner
1bdb4b2466
[napi] Fix assertion failure when argv is null
2022-12-17 12:26:19 -08:00
Hossein Pourdavar
ca0ab9508f
docs(README.md): specify bun-types new path ( #1622 )
2022-12-17 10:34:35 -08:00
Alex Lam S.L
68fd43313d
add tests for process.stdin ( #1621 )
2022-12-16 20:40:41 -08:00
Ikko Ashimine
b06ca07eee
Fix typo in bun.d.ts ( #1619 )
...
occured -> occurred
2022-12-16 10:36:07 -08:00
Jarred Sumner
01ed3045cb
[napi] Implement napi_create_bigint_words
...
warning: not tested
2022-12-16 00:40:08 -08:00
Jarred Sumner
6b3be4d821
[js parser] Workaround symbol collision bug
...
See https://github.com/oven-sh/bun/issues/1616
Fixes https://github.com/oven-sh/bun/issues/1594
2022-12-15 23:42:08 -08:00
Jarred Sumner
e399bceb3c
[js parser] Skip appending empty statements
2022-12-15 23:41:40 -08:00
Jarred Sumner
a8fca7d679
[js parser] Make fnBodyContainsUseStrict faster
2022-12-15 23:41:24 -08:00
Jarred Sumner
b249d1b75b
[js parser] Ignore calls to import.meta.require that will never happen
2022-12-15 23:39:59 -08:00
Jarred Sumner
3495b7c1f8
[bun-types] Remove outdated comments
2022-12-15 21:48:50 -08:00
Jarred Sumner
3c20290e49
[js parser] Fix bug where const {resolve} = require throws "require is not defined"
2022-12-15 21:48:38 -08:00
Jarred Sumner
0df3485132
[js printer] Fix missing space when printing import aliases with whitespace minification enabled
2022-12-15 21:40:56 -08:00
Jarred Sumner
3ea983578f
[node:process] Implement process.argv0, process.execPath
...
Fixes https://github.com/oven-sh/bun/issues/1599
2022-12-15 17:31:18 -08:00
Jarred Sumner
000a0c9dca
Fix missing error when command not found
2022-12-15 17:03:08 -08:00
Jarred Sumner
c1d7ec9564
[node:process] Implement process.abort()
2022-12-15 16:28:47 -08:00
Jarred Sumner
9e909dcae1
[bun run] Include signal code on error
2022-12-15 16:28:47 -08:00
Jarred Sumner
3c1ad4b568
prettier
2022-12-15 16:28:47 -08:00
Jarred Sumner
743531b4ac
[bun run] Introduce --bun flag to run in bun instead of node
2022-12-15 16:28:47 -08:00
Jarred Sumner
d1834b5a92
[process.stdin] Support reading from process.stdin in the same tick
2022-12-15 16:28:47 -08:00
Jarred Sumner
e38a3e5d85
[bun run] Use execve instead of posix_spawn when bun no longer needs to run script/bin
...
When we launch a script & there's nothing left to do, we should replace the process image with the new process instead of keeping the bun process alive while the other script is running.
2022-12-15 16:28:47 -08:00
Derrick Farris
6a1fc20835
fix(stream): make Readable.read work w/o _construct implemented ( #1613 )
...
* fix(stream): put Readable._readableState.constructed default in spec (true, not false)
* cleanup(readable): remove unnecessary _construct methods
* test(stream): add test for Readable w/o _construct method
2022-12-15 00:25:19 -08:00
Dylan Conway
95c747f598
undo bad free
2022-12-14 17:50:14 -08:00
Dylan Conway
65302a1db5
remove incorrect connector character
2022-12-14 14:01:03 -08:00
Dylan Conway
c4557e57a1
add bun pm ls for printing lockfiles ( #1612 )
...
* list directory structure from lockfile
* dim connectors and versions
2022-12-13 22:47:46 -08:00
Jarred Sumner
f61d9e340d
[bun:jsc] Introduce profile function
2022-12-13 20:47:51 -08:00
Jarred Sumner
47a2548cbf
Fix crash in startSamplingProfiler
2022-12-13 20:39:49 -08:00