aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-08fix: import and export ed25519 (#2004)Gravatar Derrick Farris 5-59/+100
* fix(webcrypto): allow import and export ed25519 * fix(webcrypto): copy exportkey * fix(webcrypto): fix use after stack free
2023-02-04fix(webcrypto): fix ed25519 keypair gen (#1985)Gravatar Derrick Farris 3-10/+35
2023-02-02try this?Gravatar Jarred Sumner 1-3/+3
2023-02-02Register the algorithmGravatar Jarred Sumner 1-0/+2
2023-02-02ed25519Gravatar Jarred Sumner 11-11/+1079
2023-02-02export moreGravatar Jarred Sumner 1-0/+41
2023-02-02Update build-idGravatar Jarred Sumner 1-1/+1
2023-02-01feat: add `http.request` (#1959)Gravatar Derrick Farris 1-54/+807
* fix(node-test-helpers): make sure to call done with any Errors thrown from wrapped fn * feat(node:http): add http.request, patch some missing apis for IncomingRequest, etc. * fix(node:http): FakeSocket -> Socket * refactor(node:http): only save type from IncomingMessage.options for now * fix(node:http): remove unnecessary check for UInt8Array * perf(node:http): globalThis.fetch -> var fetch = Bun.fetch * todo(node:http): add notes about handling abort/timeout w/ AbortSignal * refactor(node:http): standardize on FakeSocket and this.#fakeSocket * fix(node:http): fix headers getter * fix(node:http): remove _headers * perf(node:http): make http headers lazy * fix(node:http): return bool from keepSocketAlive
2023-02-01fix text encoding for utf8 (#1967)Gravatar Dylan Conway 2-5/+13
* use character * replacement character * also test encoding decoded points * increase length by 1
2023-02-01resolve duplicate npm dependencies correctly (#1970)Gravatar Alex Lam S.L 3-142/+90
* resolve duplicate npm dependencies correctly fixes #1952 * modify the correct reference
2023-02-01Update javascript_core_c_api.zigGravatar Jarred Sumner 1-0/+6
2023-02-01Update module_loader.zigGravatar Jarred Sumner 1-1/+1
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 25-8441/+2518
2023-01-31Handle invalid input in clear* timerGravatar Jarred Sumner 1-2/+6
2023-01-31mostly fix `node:timers`Gravatar Jarred Sumner 1-10/+78
2023-01-31Fixes fs.constantsGravatar Jarred Sumner 2-2/+4
2023-01-31misc wasi fixes + prettierbun-v0.5.4Gravatar Jarred Sumner 1-386/+133
2023-01-31Fixes #1958Gravatar Jarred Sumner 1-2/+2
2023-01-31Remove validateionGravatar Jarred Sumner 1-9/+0
2023-01-31Update build-idGravatar Jarred Sumner 1-1/+1
2023-01-31[bun add] various fixes (#1953)Gravatar Alex Lam S.L 2-42/+40
2023-01-31Fix missing `*ms` getters in StatGravatar Jarred Sumner 1-12/+12
Related to #1949
2023-01-31Fixes #1949Gravatar Jarred Sumner 1-11/+26
2023-01-30Update build-idbun-v0.5.3Gravatar Jarred Sumner 1-1/+1
2023-01-30Fix crash in `bun install <package-name>` (#1947)Gravatar Jarred Sumner 2-25/+152
* Fix crash in `bun install <package-name>` when <package-name> already exists * Prettier * Add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-30Fixes #1928bun-v0.5.2Gravatar Jarred Sumner 1-1/+1
2023-01-30remove log that appears in productionGravatar Jarred Sumner 2-5/+13
2023-01-30fix utf16le fill and utf8 partial write of utf16 (#1943)Gravatar Ciro Spaciari 5-28/+88
2023-01-30fix `assert()` crash (#1941)Gravatar Alex Lam S.L 1-1/+1
2023-01-30report invalid input file as test failure (#1938)Gravatar Alex Lam S.L 1-0/+1
fixes #1935
2023-01-30[bunx] fix version parsing (#1937)Gravatar Alex Lam S.L 3-5/+2
2023-01-29[breaking] Add `binaryType` option to Bun.connect & Bun.listenGravatar Jarred Sumner 6-15/+129
This is a breaking change because the default is `Buffer`, but previously the default was `Uint8Array`. While `Buffer` is a subclass of `Uint8Array`, it still technically is a breaking change because `slice` in `Uint8Array` is not semantically identical to `slice` in `Buffer` cc @colinhacks, the .d.ts changes I made here aren't great.
2023-01-29[buffer] More passing Node.js testsGravatar Jarred Sumner 2-107/+150
2023-01-29Make this more carefulGravatar Jarred Sumner 1-1/+1
2023-01-29Fixes #1915Gravatar Jarred Sumner 1-17/+38
2023-01-29cleanupGravatar Jarred Sumner 1-6/+6
2023-01-29Fixes #1933Gravatar Jarred Sumner 1-2/+5
2023-01-29[buffer] Buffer.byteLength passes Node.js testsGravatar Jarred Sumner 2-37/+92
2023-01-29Bump WebKitGravatar Jarred Sumner 1-0/+0
2023-01-29Fix bug in fs.openSyncGravatar Jarred Sumner 1-1/+1
2023-01-29Add helperGravatar Jarred Sumner 3-3/+10
2023-01-28[bun add] fix more corner cases (#1930)Gravatar Alex Lam S.L 2-70/+48
2023-01-28Support running WASI (WebAssembly) files using `bun run` (#1929)Gravatar Jarred Sumner 10-4/+2348
* another micro bench * Support running WASI --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-28parse `git+https://github.com/` as GitHub URLs (#1926)Gravatar Alex Lam S.L 2-28/+58
fixes #1921
2023-01-28normalise `bun add` package specifiers (#1924)Gravatar Alex Lam S.L 2-51/+87
- fix invalid buffer references fixes #1920
2023-01-28fix corner cases with aliased dependencies (#1927)Gravatar Alex Lam S.L 3-23/+25
2023-01-28[WIP] append GitHub package after fully parsed (#1911)Gravatar Alex Lam S.L 5-100/+108
2023-01-28[buffer] Use jsDynamicCastGravatar Jarred Sumner 1-1/+1
2023-01-28use wrapperGravatar Jarred Sumner 2-17/+13
2023-01-28[buffer] Do not throw in gettersGravatar Jarred Sumner 1-4/+4