Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
* [workspaces] Support yarn-like `"workspaces"."packages": string[]`
* Add a test
* :scissors:
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
`FileSystemFlags.fromJS` was hardcoded to return O_RDONLY when the flag value
was null or undefined and this caused breakage when used with write functions.
Updated the function to take a `default` argument so that the caller can specify
a sane default for their use.
|
|
* add fetch abort signal
* get aborted (still segfaults)
* bidings.zig u0 error
* still GC/memory error
* fix start crash
* fix AbortSignal fromJS
* change fromJS to obj.as
* addAbortSignalEventListenner
* handle abort types, and add tests
* fix tests
* add custom reason test
* merge 2 substring methods, use MAKE_STATIC_STRING_IMPL
* fix create AbortError and TimeoutError, move globalThis and exception creation to main thread
* fix tests and rebuild headers
* no need to check with substring reason is already an exception
* no need to check with substring reason is already an exception
* fix dumb error inverting conditions for check reason
* fix custom reason behavior
|
|
|
|
|
|
Fixes #540
|
|
|
|
|
|
|
|
|
|
- report error and exit gracefully instead of crashing
|
|
* fix(node:fs): export fs.WriteStream and fs.ReadStream
* test(node:fs): add tests for fs.ReadStream and fs.WriteStream
* test(node:fs): prevent opening fd w/o closing
* fix(node:fs): hack ESM export for fs streams to keep lazy loading
* fix(node:fs): = -> ===, fix hasInstance comparison
* test(node:fs): add test that actually checks that re-exported streams work
* fix(fs): eagerly load our slow lazy fns (thanks esm)
* fix(fs): employ @alexlamsl 's constructor w/o new trick on Read/WriteStream
|
|
* Reject with error when invalid fetch() body
Resolves #2014
* Make sure the test actually throws an exception
* Update fetch error paths to return TypeErrors
|
|
|
|
|
|
|
|
* Backport std::forward change
* Implement `FormData`
* Fix io_darwin headers issue
* Implement `Blob` support in FormData
* Add test for file upload
* Fix bug with Blob not reading Content-Type
* Finish implementing FormData
* Add FormData to types
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
|
|
https://github.com/oven-sh/bun/issues/1641#issuecomment-1427017442
|
|
|
|
|
|
|
|
* add double-backslash to list of control chars
* update test
* stderr as string
|
|
fixes #2037
|
|
|
|
|
|
|
|
fixes #1939
|
|
|
|
|
|
* [install] pick `latest` tagged version by default
fixes #1993
* update `package.json` the same way as `npm
|
|
* use replacement character for invalid surrogate pairs
* return index of non-ascii
* non-allocating case
* edge cases
* function rename
* oops
* get length once, index counter
|
|
- take `peerDependencies` into account during package placement
- do not recursively resolve `workspaces` (matches `npm`)
- link binaries to non-root packages correctly
- prune empty nodes during dependency tree construction
- support non-standard `workspace:` specifier
|
|
|
|
|
|
|
|
* fix corner cases with aliases dependencies
* in-memory convert legacy `bun.lockb`
|
|
|
|
* Expose dirent and stats
* Expose Dirent and Stats inside fs
* Add tests for Dirent and Stats exposing
* Automatically generate bindings
|
|
|
|
|
|
|
|
Fixes #1984
|
|
|
|
|