Age | Commit message (Collapse) | Author | Files | Lines |
|
* toBeGreaterThan with tests
* toBeGreaterThanOrEqual and tests
* toBeLessThan and toBeLessThanOrEqual with tests
* expect types
* switch expressions
|
|
* toStrictEqual and bug fix in deepEqual
* rebase Remove some dead bindings code
* remove debugging test
* canGetIndexQuickly for array holes
* isStrict template
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Update WebKit
* Use 5x less memory in Bun.serve()
* Update Dockerfile.devcontainer
* Update async-overhead.mjs
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
* toHaveProperty and tests
* emoji tests
|
|
Fixes https://github.com/oven-sh/bun/issues/1031#issuecomment-1236092120
|
|
* all of deepEquals
* remove comment, tests, move inline function
|
|
|
|
* ignore webkit for cherry-pick
* toContain and toBeTruthy
* toBe null, undefined, falsy, toHaveProperty, .not
* markBindings
* remove toHaveProperty, undo ignore webkit, more tests
* undo ignore webkit
* remove bad tests
* check if length property exists for toHaveLength()
* fix call signature
* handle argument that is not an integer
* getLengthOfArray returns u64
* switch to truncate
* toHaveLength() edge cases
* add toBooleanSlow()
* infinity, nan, negative
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There is still one memory issue to address
|
|
without an extra memory allocation
|
|
|
|
Fix crypto.getRandomValues() with > 1 byte element typed arrays
Fixes https://github.com/oven-sh/bun/issues/1237
|
|
|
|
`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));
}
```
|
|
* Update WebKit
* Fix `DataView` and non-8 bit sized typed arrays with TextDecoder
* New WebKit
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
- Fix GC not keeping WebSocket alive
- Fix ignoring messages sent immediately after upgrade
Fixes https://github.com/oven-sh/bun/issues/521
|
|
* deal with unhandled rejected promise
* use Vector<Strong<JSPromise>> to store rejected promises
|
|
|
|
thanks @Constellation
|
|
|
|
|