Dylan Conway
755e16d962
fix #6416 ( #6430 )
...
* make sure latest is checked after prerelease
* test and fix
* test for when latest matches prerelease
2023-10-11 20:41:12 -07:00
Jarred Sumner
b1063edf3e
Bump WebKit
2023-10-11 20:04:15 -07:00
Jarred Sumner
edb4cbac2b
Bump!
2023-10-11 19:05:52 -07:00
Dylan Conway
a59a69e21b
Update JSCUSocketsLoopIntegration.cpp
2023-10-11 15:26:55 -07:00
Colin McDonnell
4c9e009971
Update installation.md
2023-10-11 14:31:39 -07:00
h2210316651
4531cf18c2
Docs : Added instructions to run bun apps in daemon (PM2) to address … ( #5931 )
...
* Docs : Added instructions to run bun apps in daemon (PM2) to address issue #4734
Added instructions to set bun as pm2 interpreter to extend same functionality as node.js apps.
* Add pm2 guide
* Add pm2 file
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-11 14:22:43 -07:00
Ashcon Partovi
31bda68f24
Update bun-release.yml
2023-10-11 12:05:16 -07:00
dave caruso
1bf28e0d77
feat(install): automatically migrate package-lock.json to bun.lockb ( #6352 )
...
* work so far
* stuff
* a
* basics work
* stuff
* yoo
* build lockfile
* correct
* f
* a
* install fixture havent tested
* i made it worse
* lol
* be more reasonable
* make the test easier to pass because bun install doesn't handle obscure lockfile edge cases :/
* a
* works now
* ok
* a
* a
* cool
* nah
* fix stuff
* l
* a
* idfk
* LAME
* prettier errors
* does this fix tests?
* Add more safety checks to Integrity
* Add another check
* More careful lifetime handling
* Fix linux debugger issue
* a
* tmp dir and snapshot test
---------
Co-authored-by: Jarred SUmner <jarred@jarredsumner.com >
bun-v1.0.5
2023-10-11 02:27:07 -07:00
Jarred Sumner
6a17ebe669
Update nodejs-apis.md
2023-10-11 01:59:56 -07:00
Arden Sinclair
39446ebdb8
Fix lifecycle scripts not running on reinstallation ( #6376 )
...
* Include trusted dependencies in lockfile
* Add a remote dependency to lifecycle script test
2023-10-10 21:13:42 -07:00
Elad Bezalel
c2c3b0d4a9
feat(test): implement toEqualIgnoringWhitespace ( #6293 )
...
* feat(test): implement `toEqualIgnoringWhitespace`
* equality check in matcher & incorrect arg error
2023-10-10 20:27:19 -07:00
saurabh
9a90d90966
fix: form data content type ( #6380 )
...
* fix: form data content type
* fix: condition if no extension for file
2023-10-10 20:08:32 -07:00
Dylan Conway
05781dd91e
make peer dependencies install by default ( #6396 )
...
* peer dependencies
* default true
* add test
* cleanup
* some tests
* skip peer deps if they are non optional
* remove debug print, fix build
* iterate peer dependencies
2023-10-10 20:05:58 -07:00
Aaron Dewes
a6a474a83f
Add File to binary data TOC ( #6025 )
2023-10-10 16:47:35 -07:00
cyfung1031
44dd744f0a
docs: rearranged cli/runtime related sections ( #6275 )
...
* docs: rearranged cli/runtime related sections
* docs: update README.md for the updated docs path
* Updates
* Rearrange
* Rearrange
* Add files
* readme
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-10 16:34:35 -07:00
Ashcon Partovi
df4ec8aaad
Update inspector-protocol
2023-10-10 16:14:46 -07:00
Ashcon Partovi
0348b169d6
Update debug-adapter-protocol
2023-10-10 16:14:46 -07:00
Vasilis Themelis
54dbf3ba21
Add missing ws declarations ( #6307 )
2023-10-10 15:39:20 -07:00
Clément P
5f09a4dd0a
Update vite.md ( #6399 )
...
remove outdated information
2023-10-10 15:36:28 -07:00
Nicolae-Rares Ailincai
e58e85cd5c
Documentation for the IPC of Bun.spawn ( #6400 )
...
* doc/ipc.md
* update/spawn.md
* improved-documentation-and-added-send-type
* Updates
* Updates
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-10 15:35:05 -07:00
Ciro Spaciari
6301778a58
fix(AbortSignal/fetch) fix AbortSignal.timeout, fetch lock behavior and fetch errors ( #6390 )
...
* fix abort signal and fetch error
* fix fetch error and lock behavior
2023-10-09 19:56:48 -07:00
Ashcon Partovi
3667b93871
Fix npm tag for canary bun-types, again
2023-10-09 12:14:26 -07:00
otterDeveloper
0a8aab6b23
Add Fedora build instructions to development.md ( #6359 )
2023-10-09 11:52:16 -07:00
babar
6a73f2b1e7
added commands ( #6314 )
...
added commands to install unzip package and to check Linux kernel version
2023-10-09 11:51:41 -07:00
TPLJ
99a78f8540
Update README.md ( #6291 )
...
fixed some minor documentation.
2023-10-09 11:50:08 -07:00
Michael Di Prisco
8d4b296bd2
docs: fixing a couple typos ( #6331 )
2023-10-09 11:48:07 -07:00
Liz
a9e1792607
fix: support uint8 exit code range ( #6303 )
...
The exit code support is between 0-255 and not only in the signed positive range
(0-127).
Node.js does not seam to throw on a bigger integer and just wraps around,
but throwing a error is a good approach and makes the behaviour more defined.
This allows the range to be 0-255
Fixes: https://github.com/oven-sh/bun/issues/6284
2023-10-09 11:47:38 -07:00
2hu
0965e6ddfd
Fix array variables preview in debugger ( #6379 )
2023-10-09 11:47:00 -07:00
Ciro Spaciari
35109160ca
feat(KeyObject) ( #5940 )
...
* oops
* createSecretKey but weird error
* use the right prototype, do not add a function called export lol
* HMAC JWT export + base64 fix
* Fix Equals, Fix Get KeySize, add complete export RSA
* fix RSA export
* add EC exports
* X25519 and ED25519 export + fixes
* fix default exports
* better asymmetricKeyType
* fix private exports
* fix symmetricKeySize
* createPublicKey validations + refactor
* jwt + der fixes
* oopsies
* add PEM into createPublicKey
* cleanup
* WIP
* bunch of fixes
* public from private + private OKP
* encrypted keys fixes
* oops
* fix clear tls error, add some support to jwk and other formats on publicEncrypt/publicDecrypt
* more fixes and tests working
* more fixes more tests
* more clear hmac errors
* more tests and fixes
* add generateKeyPair
* more tests passing, some skips
* fix EC key from private
* fix OKP JWK
* nodejs ignores ext and key_ops on KeyObject.exports
* add EC sign verify test
* some fixes
* add crypto.generateKeyPairSync(type, options)
* more fixes and more tests
* fix hmac tests
* jsonwebtoken tests
* oops
* oops2
* generated files
* revert package.json
* vm tests
* todos instead of failues
* toBunString -> toString
* undo simdutf
* improvements
* unlikely
* cleanup
* cleanup 2
* oops
* move _generateKeyPairSync checks to native
2023-10-07 15:22:45 -07:00
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