Age | Commit message (Collapse) | Author | Files | Lines |
|
fetch errors (#6390)
* fix abort signal and fetch error
* fix fetch error and lock behavior
|
|
|
|
Returning undefined simply falls through to the next plugin, or to the default loader.
This is defined by esbuild, and supported by Bun, but the types don't reflect it properly.
|
|
|
|
|
|
|
|
|
|
|
|
* Loop through the return values of getaddrinfo
* Remove incorrect assertion
* Remove extra check
* Remove extra check
* Update bsd.c
* More consistent
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
* Add support for `build.module` in `Bun.plugin`
* Another test
* Update docs
* Update isBuiltinModule.cpp
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
|
|
* fix(runtime): followup for `server.requestIP`
* oops
* yeah
* sure
* Update src/deps/libuwsockets.cpp
* Update Dockerfile
* lol
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
(#6165)
* [server] requestIp and AnyRequestContext
Changed Request.uws_request to the new AnyRequestContext. This
allows grabbing the IP from a Request. Unfinished.
* [server] basic `requestIp` implementation
Currently using uws's requestIpAsText, which always returns a ipv6
string. We should return a `SocketAddress` object to the user instead,
which will contain the formatted address string and what type it is.
We'll have to use requestIpAsBinary and parse that ourselves.
* TypeScript docs, use `bun.String`, return `undefined` instead of `null`
if we can't get the ip.
* binary address formatting
* uws getRemoteAddress binding
* remove dead code
* working
* final touches:sparkles:
* I will abide by the results of this poll.
---------
Co-authored-by: Parzival-3141 <29632054+Parzival-3141@users.noreply.github.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* hell
* make it so bun-debug-src
* teag
* wild
* yippee
* fas
* fix async hooks assertions
* yap
* yeah that's wild
* aa
* a
* increase time allowed
* so trivial
|
|
* add Bun.Transpiler DCE option
* mark DCE toggle experimental + tests
* full (hopefully) DCE toggle
* update DCE toggle tests
* add DCE option to types
* run fmt
* Removed uws submodule
|
|
chunked encoding, fix case when stream do not return a promise on pull (#6086)
|
|
|
|
|
|
* Implement `process.constrainedMemory()`
* Add a comment
* Handle max
* Missing header
* We can use WTF::ramSize now
* Update WebKit
* Update ZigGlobalObject.cpp
* WebKit
* :scissors:
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* test
* gadsgsagdsa
* add better err msg
* r
* oops
* ok
|
|
* Improve types for each
* more
* remove
|
|
|
|
|
|
* Fix bugs
* Fix bugs
* Revert "Fix bugs"
This reverts commit 608639eb2214fdf4310477051ce47d20702b5dd0.
|
|
|
|
* WIP
* WIP
|
|
|
|
|
|
|
|
* prototype
* asdfg
* It works!
* okay its done now fr
* self review
* ok
* fix
* fix test
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* Fix VSCode extension configuration documentation
* Fix config descriptions
* Fix typo
* Implement bun.lockb highlighter
* Update style
* Improve styling
* Revert bunlock change
* Implement bun tasks
* Revert change
* Package json codelens
* Fixes
* Refactor
|
|
|
|
|
|
* fix size limit
* uncork if needed instead of terminating
* undo unrelated changes
|
|
* Fix VSCode extension configuration documentation
* Fix config descriptions
* Fix typo
* Implement bun.lockb highlighter
* Update style
* Improve styling
* Revert bunlock change
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* async all node:fs functions
* draw the rest of the owl
* LLVM & Clang 16
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
- add missing package @oclif/plugin-plugins to resolved warning: could not find package.json with { type: 'dev',
|
|
Reading the documentation on bun-types it was not clear to me that the tsconfig.ts needs to look like this:
```
{
"compilerOptions": {
"types": ["bun-types"]
}
}
```
So i added the "compilerOptions" information.
|
|
|
|
update path
|
|
(#5161)
* Fix issues with using V1 API Gateway events with Bun Lambda Layer.
* Remove aws-lambda as it is not needed
|
|
Closes #4826
|
|
|
|
* L
* ipc
* asdfghjkl
* dfghjk
* it works!
* types
* patches for next.js
* sdfghj
* wsdfgn,./
* this
* yolo
* okay loser
* asdfghjk
* add some more APIs
* MESS
* sdfghjkl
* remove native events from streams
* stuff
* remove lazy(primordials) test
* debugging
* okay
* less fake extensions object
* fix `Buffer.toString()` args logic
* fix deserialize
* make tests work
* add test for `Buffer.toString` args
* Update server.zig
* remove test
* update test
* Update spawn-streaming-stdin.test.ts
* fix linux build
* Update fs.test.ts
* cli message improvements
* dfshaj
* Fix fs.watch bug maybe?
* remove
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
|
|
* enable root certs on fetch
* rebase
* fix lookup
* some fixes and improvements
* fmt
* more fixes
* more fixes
* check detached onHandshake
* fix promise case
* fix cert non-Native
* add fetch tls tests
* more one test
|
|
|
|
|
|
|