Jarred Sumner
bb9933fa7e
Exclude more files
2023-10-07 14:15:53 -07:00
Jarred Sumner
673f6fc634
Exclude more files
2023-10-07 14:14:42 -07:00
Jarred Sumner
09663a5558
Update settings.json
2023-10-07 14:11:39 -07:00
Jarred Sumner
66b15a8df6
Update settings.json
2023-10-07 14:10:54 -07:00
Dylan Conway
96aa9c0a38
fix a couple install tests
2023-10-06 22:06:28 -07:00
Dylan Conway
46736d5ecb
format
2023-10-06 22:02:55 -07:00
Jarred Sumner
25cf4016d3
Fix memory leak in fetch() ( #6350 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-10-06 20:14:44 -07:00
Silver
48635fd910
[types] allow onLoad plugin callbacks to return undefined ( #6346 )
...
Returning undefined simply falls through to the next plugin, or to the default loader.
This is defined by esbuild, and supported by Bun, but the types don't reflect it properly.
2023-10-06 19:22:38 -07:00
Paul Nodet
456d6be022
docs: file.stream() is not a promise ( #6337 )
2023-10-06 03:26:42 -07:00
Colin McDonnell
16cf1fe5f3
Generate compat docs (wip)
2023-10-05 17:19:33 -07:00
Ai Hoshino
e0e9bc16bf
fix(serve): fix close_connection behaviour in endWithoutBody ( #6315 )
...
Close : #6031
2023-10-05 20:43:58 -03:00
Filip Skokan
30b8993edd
WebCryptoAPI: remove JWK "EdDSA" alg checks ( #6294 )
2023-10-05 20:43:42 -03:00
Justin "J.R." Hill
5c37d5293c
test(bun install): cover http(s) non-github case ( #6190 )
2023-10-05 16:12:07 -07:00
Colin McDonnell
323ae0f2a3
Update Node.js compat docs ( #6282 )
...
* Update nodejs-apis
* No commas
* Updates
2023-10-05 16:03:21 -07:00
Jake Boone
7ef4cd26ac
Use singular nouns when appropriate on install messages ( #2543 )
...
* Use singular nouns when appropriate on install messages
* Fix one more pluralization
* Fix bun-add tests for "1 package installed"
* Fix bun install/remove/update tests for "1 package installed"
2023-10-05 15:59:02 -07:00
Dylan Conway
df1b0c4332
fix printing latest available version
2023-10-05 11:30:52 -07:00
Dylan Conway
4a2e1574e4
fix semver and repository host bugs ( #6312 )
...
* releases before prereleases
* handle different repo hosts
* remove log
* Update bun-install.test.ts
* test for `bun add`
* gitlab test
* use comptime hash map, another test case
* don't need length
* bump timeout, use tld
* infer git dependencies for https and ssh
2023-10-04 22:46:21 -07:00
Dylan Conway
5a315f4df0
fix another os test failure
2023-10-04 22:45:11 -07:00
Dylan Conway
f0a914ea8d
fix os test failure
2023-10-04 22:27:28 -07:00
Dylan Conway
d4a458a95b
generated
2023-10-04 21:40:02 -07:00
Jarred Sumner
5c8233515a
Fix query property of url object ( #6274 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-10-04 21:31:29 -07:00
Gavin John
c5c7934ebc
Update preload documentation to make applicability to plugins more obvious ( #6298 )
2023-10-04 21:29:54 -07:00
Jarred Sumner
b0ffe68675
Create AbortSignal without JS ( #6278 )
...
* Create `AbortSignal` without JS
* Don't leak
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-10-04 21:29:35 -07:00
Colin McDonnell
5da79a8366
Closes #6309 ( #6310 )
2023-10-04 21:28:23 -07:00
Jarred Sumner
ff88510e5f
Bump!
2023-10-04 21:19:33 -07:00
Colin McDonnell
df9461ecc5
Update tsconfigs
2023-10-03 23:16:55 -07:00
Dylan Conway
98e9e9b112
Upgrade webkit ( #6277 )
...
* `reportExtraMemoryAllocated` parameters changed
* bump webkit
* Update Dockerfile
* format
2023-10-03 19:56:33 -07:00
Ashcon Partovi
9308e1bf09
Support bun run --if-present ( #6248 )
...
* Support --if-present
Closes #5670
* More robust tests, handle more cases
2023-10-03 17:39:45 -07:00
Andrey Smirnov
aa8ccce952
compat: Buffer: allow optional positional arguments to be undefined ( #4911 )
...
* fix `Buffer` compat with Node.js: compare
* fix `Buffer` compat with Node.js: copy
2023-10-03 15:30:04 -07:00
Dylan Conway
ffe6bb0b7f
fix decorator tests
2023-10-03 13:50:36 -07:00
Ai Hoshino
b7982ac131
fix(blob): Add the current offset to the new blob. ( #6259 )
...
Close : #6252
2023-10-03 12:03:57 -07:00
Ashcon Partovi
60e7ae9aee
Remove old package
2023-10-03 12:02:28 -07:00
Ashcon Partovi
86e4f72f00
Fix permissions for Github Actions
2023-10-03 12:02:15 -07:00
axel escalada
0ca9a7889a
Fix bunx command for github package #5974 ( #6042 )
...
* fix bunx command for github package
* refactor fmt package to use it when the path is seted
* use labeled block to assign const instead of use 'undefined'
2023-10-03 11:49:24 -07:00
WingLim
476fa4deda
feat(encoding): support BOM detection with test passed ( #6074 )
2023-10-03 10:28:59 -07:00
JS Park
4f1710d2d6
docs: update typescript.md ( #6222 )
...
Fix inconsistent results from `bun init`.
2023-10-03 09:12:37 -07:00
John Beene
1acc8191f5
Docs: Update context.md ( #6256 )
...
Use token from cookies, not from ws.data
2023-10-03 09:11:52 -07:00
Mathias Wulff
0ee04261b9
Add license information to package.json ( #6255 )
2023-10-03 09:11:02 -07:00
Dylan Conway
745b6b94ee
Store workspace package versions ( #6258 )
...
* Store workspace package versions in the lockfile
* more logging
* wip
* keep information from workspace name array and cache
* hash key
* remove cache, compare workspaces with initially loaded
* uncomment sort
* remove comments
* remove allocation
* package json
* test `bun add <package>` without workspace prefix
* Update test/cli/install/bun-install.test.ts
Co-authored-by: Markus Staab <maggus.staab@googlemail.com >
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Markus Staab <maggus.staab@googlemail.com >
bun-v1.0.4
2023-10-03 02:17:21 -07:00
Colin McDonnell
47651f321a
Update ws example
2023-10-02 19:02:27 -07:00
Jarred Sumner
b444c0b98d
Set fetch timeout to 5 minutes ( #6217 )
...
* Increase timeouts
* Update uws.zig
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-10-02 18:01:59 -07:00
Ashcon Partovi
15880308b7
Fix bun install reading Github API from wrong environment variable ( #6247 )
...
* Fix `bun install` reading Github API from wrong environment variable
* Update src/install/install.zig
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-10-02 18:00:17 -07:00
Jarred Sumner
89bb526e14
Warn at start when using AVX build of Bun without AVX support ( #6242 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-10-02 17:59:38 -07:00
Colin McDonnell
63a00791fa
Update development and document env var expansion
2023-10-02 17:52:29 -07:00
Cícero Santos
a6af1c89b9
Update development.md ( #6221 )
2023-10-02 15:18:55 -07:00
Colin McDonnell
08bf8b8ad1
Add Bun.TOML to types ( #6161 )
2023-10-02 15:18:29 -07:00
Colin McDonnell
0c3c57cc35
Add dns.reverse and dns.getServers to types
2023-10-02 14:11:55 -07:00
Ashcon Partovi
237a5ada47
Fix npm tag for canary bun-types
2023-10-02 13:56:14 -07:00
Corné Dorrestijn
0a2d490bf8
Added the fileExtensions field to file-system-router.md ( #6231 )
2023-10-02 02:42:17 -07:00
Jarred Sumner
ea956e58e9
more logging
2023-10-02 02:38:47 -07:00