Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-09-11 | typo | 1 | -1/+1 | ||
2022-09-11 | New HTTP client (#1231) | 17 | -747/+1563 | ||
* wip * It mostly works! * Support `bun install` * Support `bun create` * Support chunked transfer encoding * Handle Keep Alive when redirecting to a different domain Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> | |||||
2022-09-09 | Fix segfault due to GC and some more helper functions (#1221) | 8 | -193/+292 | ||
* Fix segfault due to GC and some more helper functions * fix upon reviews * add visitChildren | |||||
2022-09-09 | Update README.md | 1 | -4/+19 | ||
2022-09-09 | Fix import path issue in ffi bench | 1 | -3/+5 | ||
2022-09-09 | Add `read` to README | 1 | -2/+39 | ||
2022-09-09 | [node:fs] Fix readFileSync on non-regular files | 2 | -0/+54 | ||
Fixes https://github.com/oven-sh/bun/issues/1220 | |||||
2022-09-09 | Fix potential crash when returning an empty string | 2 | -0/+22 | ||
2022-09-09 | [bun:ffi] Add `f32`, `f64`, `i64`, u64` to `read` | 8 | -12/+322 | ||
2022-09-09 | Fix failing tests after ptr change | 2 | -3/+11 | ||
2022-09-09 | [breaking][bun:ffi] Change the pointer representation to be a 52-bit integer | 5 | -33/+46 | ||
Storing the pointer this way enables DOMJIT to be used with a new API in `bun:ffi` that lets you efficiently read values from a pointer without creating a new `DataView` ```js import {read} from 'bun:ffi'; const myPtr = myFunctionThatReturnsAPtr(); // new: const value = read.u32(myPtr, 0); // old: const view = new DataView(toArrayBuffer(myPtr)); const otherValue = view.getUint32(0, true); ``` cc @bwasti this might be a breaking change for that call to `napi_add_finalizer` | |||||
2022-09-08 | Last commit was missing some code | 2 | -36/+233 | ||
2022-09-08 | [bun:ffi] Implement `read.{u8,i8,i16,i32,u16,u32,ptr,intptr}` | 16 | -48/+502 | ||
`read` in `bun:ffi` lets you read data from a pointer without creating a new DataView/ArrayBufferView ``` import {read} from 'bun:ffi'; expect(read.i8(ptr_, i)).toBe(view.getInt8(i, true)); expect(read.i16(ptr_, i)).toBe(view.getInt16(i, true)); expect(read.i32(ptr_, i)).toBe(view.getInt32(i, true)); expect(read.u8(ptr_, i)).toBe(view.getUint8(i, true)); expect(read.u16(ptr_, i)).toBe(view.getUint16(i, true)); expect(read.u32(ptr_, i)).toBe(view.getUint32(i, true)); } ``` | |||||
2022-09-08 | Add native helper functions for Readable and convert ReadableState ↵ | 6 | -138/+405 | ||
properties to getter/setter (#1218) | |||||
2022-09-08 | Make some more globals modifiable | 3 | -90/+69 | ||
2022-09-07 | Fix crash with file descriptor | 1 | -10/+6 | ||
2022-09-07 | Add benchmark for small write() performance | 2 | -0/+51 | ||
2022-09-07 | Helper for seeing if a File Blob is seekable | 1 | -0/+12 | ||
2022-09-07 | [Bun.write] clean up some error handling | 1 | -14/+32 | ||
2022-09-07 | Bun.write - only truncate if its a path string | 1 | -2/+2 | ||
2022-09-07 | More tests for Bun.write | 1 | -0/+26 | ||
2022-09-07 | Fix flaky tests | 1 | -7/+15 | ||
2022-09-07 | Handle `default` better with ESM node | 1 | -12/+41 | ||
2022-09-07 | Fast path for `Bun.write` with short-ish strings & typed arrays | 1 | -11/+225 | ||
Helps with https://github.com/oven-sh/bun/issues/646 but does not fully fix | |||||
2022-09-07 | Mild perf improvement for bindings | 1 | -0/+1 | ||
2022-09-07 | Fix issue with loading bundled entry pointsbun-v0.1.11 | 1 | -3/+5 | ||
2022-09-06 | Fix missing file in SQL-raw test | 2 | -8/+9 | ||
2022-09-06 | workaround test failure | 9 | -103/+136 | ||
2022-09-06 | Move some things to the stack | 1 | -9/+10 | ||
2022-09-06 | Add a helper for static strings | 3 | -85/+94 | ||
2022-09-06 | [Bun.plugin] Fix validating `loader` | 1 | -3/+4 | ||
2022-09-06 | [Bun.plugin] Throw an error when the loader is invalid | 1 | -0/+2 | ||
2022-09-06 | Fix potential crash when resolving package.json "exports" | 1 | -1/+1 | ||
Have not seen a crash happen here yet | |||||
2022-09-06 | Fix bug with macros | 1 | -10/+8 | ||
2022-09-06 | [Bun.plugin] Allow slashes in namespaces | 1 | -1/+1 | ||
2022-09-06 | Update README.md | 1 | -151/+168 | ||
2022-09-06 | Rename LinkerMap to Aliases to be less confusing | 1 | -1/+1 | ||
2022-09-06 | Return a `Buffer` object for fs.readFile | 4 | -3/+56 | ||
2022-09-06 | Fix issue with `process` esm node export | 1 | -31/+68 | ||
2022-09-06 | Set a default Loader based on filename | 1 | -5/+7 | ||
2022-09-06 | Add `node:assert` to list of hardcoded modules to fix ESM compat issue | 2 | -13/+3241 | ||
2022-09-06 | Update README.md | 1 | -4/+27 | ||
2022-09-06 | Start to document loader api | 1 | -2/+130 | ||
2022-09-06 | preserve statements when generating a separate module for bun plugin | 1 | -2/+29 | ||
2022-09-06 | Loosen-up the streams polyfill | 1 | -21/+10 | ||
2022-09-06 | Add `@` to acceptable namespace characters | 1 | -1/+1 | ||
2022-09-06 | Make the plugins a little more resilient | 5 | -53/+81 | ||
2022-09-06 | Add missing `Blob` | 1 | -2/+2 | ||
2022-09-06 | Make fs extensible | 1 | -108/+113 | ||
2022-09-06 | Fix crash in Buffer module | 1 | -8/+11 | ||