aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-10-09Add Fedora build instructions to development.md (#6359)Gravatar otterDeveloper 1-0/+10
2023-10-09added commands (#6314)Gravatar babar 1-1/+2
added commands to install unzip package and to check Linux kernel version
2023-10-09Update README.md (#6291)Gravatar TPLJ 1-1/+1
fixed some minor documentation.
2023-10-09docs: fixing a couple typos (#6331)Gravatar Michael Di Prisco 2-2/+2
2023-10-09fix: support uint8 exit code range (#6303)Gravatar Liz 2-2/+11
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-09Fix array variables preview in debugger (#6379)Gravatar 2hu 1-1/+4
2023-10-07feat(KeyObject) (#5940)Gravatar Ciro Spaciari 106-67/+9342
* 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-07Exclude more filesGravatar Jarred Sumner 1-1/+1
2023-10-07Exclude more filesGravatar Jarred Sumner 1-1/+2
2023-10-07Update settings.jsonGravatar Jarred Sumner 1-1/+2
2023-10-07Update settings.jsonGravatar Jarred Sumner 1-2/+3
2023-10-06fix a couple install testsGravatar Dylan Conway 1-8/+8
2023-10-06formatGravatar Dylan Conway 1-1/+2
2023-10-06Fix memory leak in fetch() (#6350)Gravatar Jarred Sumner 1-2/+0
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-10-06[types] allow onLoad plugin callbacks to return undefined (#6346)Gravatar Silver 1-1/+1
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-06docs: `file.stream()` is not a promise (#6337)Gravatar Paul Nodet 1-1/+1
2023-10-05Generate compat docs (wip)Gravatar Colin McDonnell 1-0/+210
2023-10-05fix(serve): fix `close_connection` behaviour in `endWithoutBody` (#6315)Gravatar Ai Hoshino 4-8/+60
Close: #6031
2023-10-05WebCryptoAPI: remove JWK "EdDSA" alg checks (#6294)Gravatar Filip Skokan 1-2/+0
2023-10-05test(bun install): cover http(s) non-github case (#6190)Gravatar Justin "J.R." Hill 1-0/+48
2023-10-05Update Node.js compat docs (#6282)Gravatar Colin McDonnell 2-19/+21
* Update nodejs-apis * No commas * Updates
2023-10-05Use singular nouns when appropriate on install messages (#2543)Gravatar Jake Boone 6-98/+102
* 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-05fix printing latest available versionGravatar Dylan Conway 2-5/+14
2023-10-04fix semver and repository host bugs (#6312)Gravatar Dylan Conway 4-18/+271
* 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-04fix another os test failureGravatar Dylan Conway 1-2/+4
2023-10-04fix os test failureGravatar Dylan Conway 1-0/+3
2023-10-04generatedGravatar Dylan Conway 1-3/+3
2023-10-04Fix `query` property of `url` object (#6274)Gravatar Jarred Sumner 2-4/+5
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-10-04Update `preload` documentation to make applicability to plugins more obvious ↵Gravatar Gavin John 1-3/+3
(#6298)
2023-10-04Create `AbortSignal` without JS (#6278)Gravatar Jarred Sumner 4-15/+24
* Create `AbortSignal` without JS * Don't leak --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-10-04Closes #6309 (#6310)Gravatar Colin McDonnell 2-4/+4
2023-10-04Bump!Gravatar Jarred Sumner 1-1/+1
2023-10-03Update tsconfigsGravatar Colin McDonnell 3-3/+7
2023-10-03Upgrade webkit (#6277)Gravatar Dylan Conway 13-40/+43
* `reportExtraMemoryAllocated` parameters changed * bump webkit * Update Dockerfile * format
2023-10-03Support `bun run --if-present` (#6248)Gravatar Ashcon Partovi 4-1/+131
* Support --if-present Closes #5670 * More robust tests, handle more cases
2023-10-03compat: Buffer: allow optional positional arguments to be undefined (#4911)Gravatar Andrey Smirnov 1-14/+51
* fix `Buffer` compat with Node.js: compare * fix `Buffer` compat with Node.js: copy
2023-10-03fix decorator testsGravatar Dylan Conway 1-1/+1
2023-10-03fix(blob): Add the current offset to the new blob. (#6259)Gravatar Ai Hoshino 2-2/+30
Close: #6252
2023-10-03Remove old packageGravatar Ashcon Partovi 7-202/+0
2023-10-03Fix permissions for Github ActionsGravatar Ashcon Partovi 7-50/+12
2023-10-03Fix bunx command for github package #5974 (#6042)Gravatar axel escalada 3-18/+72
* 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-03feat(encoding): support BOM detection with test passed (#6074)Gravatar WingLim 6-9/+71
2023-10-03docs: update `typescript.md` (#6222)Gravatar JS Park 1-2/+1
Fix inconsistent results from `bun init`.
2023-10-03Docs: Update context.md (#6256)Gravatar John Beene 1-1/+1
Use token from cookies, not from ws.data
2023-10-03Add license information to package.json (#6255)Gravatar Mathias Wulff 1-0/+1
2023-10-03Store workspace package versions (#6258)bun-v1.0.4Gravatar Dylan Conway 4-22/+346
* 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>
2023-10-02Update ws exampleGravatar Colin McDonnell 1-1/+1
2023-10-02Set `fetch` timeout to 5 minutes (#6217)Gravatar Jarred Sumner 3-19/+64
* Increase timeouts * Update uws.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-10-02Fix `bun install` reading Github API from wrong environment variable (#6247)Gravatar Ashcon Partovi 2-6/+65
* 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-02Warn at start when using AVX build of Bun without AVX support (#6242)Gravatar Jarred Sumner 3-12/+41
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>