Age | Commit message (Collapse) | Author | Files | Lines |
|
* patch server.fetch
* add tests and fix types
|
|
* default automatic, merge jsx flags from multiple tsconfigs
* use entire package name
* some tests
* more tests
|
|
|
|
* add validations and allow relative path on dir
* remove unneed things
* add origin/dir validation tests
* remove workaround
* add back relative path resolution
|
|
|
|
|
|
|
|
* Fixes #3031
* Leave original input in there
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
- avoid intermittent failures due to network latencies
|
|
You can change the default per-test timeout in `bun test`:
> bun test --timeout 10
The default timeout is 5000.
|
|
|
|
|
|
|
|
Without pkg-config, the libarchive build fails in autogen.sh[1]
1: https://github.com/libarchive/libarchive/issues/742
|
|
|
|
* check if key can be printed as an identifier
* possibly escape
|
|
|
|
We already run the GC automatically whenever heap size grows, so this is mostly unnecessary
In one benchmark, this is an 83% performance improvement at a cost of 9% more memory
|
|
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Support setting a timezone via `process.env.TZ`
* Implement `setTimeZone` in `bun:jsc` module
* [breaking] `bun:test` now defaults to `Etc/UTC` timezone
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* fix extra/ArbitraryModuleNamespaceIdentifiers2
* remove assert
|
|
|
|
|
|
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* start work drafting how builtins will work
* work on ts builtin
* builtins stuff so far
* builtins
* done for today
* continue work
* working on it
* bindings so far
* well, it builds. doesnt run
* IT RUNS
* still lots of ts errors but it is functional
* sloppy mode
|
|
|
|
cc @paperdave
|
|
|
|
|
|
|
|
|
|
This changes `publishToSelf` to be `false` by default instead of `true`.
This is a breaking change because it means that `ws.publish("foo", "bar")` will exclude `ws` from the list of websockets to broadcast.
We are making this change because many people asked for this and were confused by the status quo - that `w.publish` publishes to self.
|
|
Previously, this defaulted to "uint8array", so this shouldn't be a breaking change unless you make use of `.slice()` in which case it will now be a reference to the same ArrayBuffer rather than a clone.
The rationale for this change is most usages of Uint8Array on the server need a little more than just the bytes. Many npm packages expect Buffer rather than Uint8Array. Directly returning it for binary websocket messages is faster than creating another one.
|
|
|
|
|
|
* Fix memory leak in `fetch(url)`
* Bump those numbers up
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
No performance or memory usage change
Just removing some duplicate code
|
|
|
|
|
|
* WS send with callback
* add opts.compress support
* fmt
* compress is the only option we care
* add ws client options
* only change ws client when using blob
* fmt
* fix errors
* fixup
* fixup
* fmt
|
|
|
|
|
|
|