Age | Commit message (Collapse) | Author | Files | Lines |
|
* feat(test): implement `arrayContaining`
* feat: early return when expectedArray is empty
* feat: add test for toEqual
* chore: use `JSC::isArray`
* chore: use getIndex for performance
* fix: use deepEqual
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
This matches the functionality in Node.
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
application exits (#5481)
* unref next tick so exit callback can be called
* fmt + test
* oops
* add ref_count
* update pending
* comment and fix
|
|
* feat(encoding): TextDecoder support undefined
* chore: format test file
|
|
Co-authored-by: MrPalixir <73360179+MrPalixir@users.noreply.github.com>
|
|
* update files
* Update cold-jsc-start.cpp
* bump webkit
|
|
|
|
* Add failing test
* fix(node/fs.watch): Don't lose first char in event
* run prettier
|
|
* handle undefined/null/empty signal on request
* better approach
|
|
cc @paperdave
|
|
object properties lazy (#5355)
* binding uv
* we did that
* some more bindings
* fix doc
* fix uv
* yo
* static hash table nonsense <3
* huge refactor to the global object i am not ready for merge conflicts
* it works part 3
* lose
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Fixes #4622
* cleanup
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
* track one shot fds
* dup fd
* skip for rearm on mac
* dup if fd
* cleanup
* force unregister on close
* deinitForceUnregister
* test
* add prompts
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
|
|
* fix JSSink progress on sourcemap checking
* fix sourcemaps
* update JSSink fix
* undo + tests
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* allow multiple set-cookie values
* make it work for `getHeader`
* move `getHeader` to cpp
* remove set-cookie check
* move `setHeader` to cpp
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.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>
|
|
* Create v8-date-parser.test.js
* one more test
* add permalinks and enable parser in bun
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* fix(runtime): emit `node:net` connect error event vs throw
* oops
* finally
* ok
* we are good
|
|
* fix buffering clean
* fix resolveMaybeNeedsTrailingSlash and try to fix ci/cd error
* fix resolveMaybeNeedsTrailingSlash and try to fix ci/cd error
* oops
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
console iterator (#5216)
* Fix #5177
* Fix #5175
* make most globals deletable/overridable
* not done
* cool
* a
* done
* fix test
* oops
* yippee
|
|
* check the limits for file, when slicing
* check eof
* undo test
|
|
|
|
* avoid overflow
* Update src/bun.js/bindings/exports.zig
* add mongodb inspect test
* bun db test
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Check that the pid matches
* Fixup EINTR check
* Remove extra slashes
* fixup
* fixup
* != 0
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Add failing test for issue #4954
* fix(node/path): Return results with toValueGC
|
|
|
|
|
|
Close: #4919
|
|
* reload conditional vars
* test
* change `get` and `put` methods
* dont clone empty env variables
|
|
* Support named exports in json imports
* Support named imports for `*.json` files
* Remove stale comments
* Don't export arrays as non-default
* Add test for default exports
* Don't break webpack
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Fixes #4588
* typo
* fixup
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
* closeAndFail instead of close
* use constant
* add some protection
* dont deinit
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* Revert "remove native events from streams"
This reverts commit e063a47a53744a2bf5b1c2dd433698c9e37b75d6.
* finish revert
* remove accidental submodule
* dfghj
|
|
* 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
|
|
* create thread safe function task
* Update napi.zig
* Update napi.zig
|
|
* remove trim
* separate function
* a test
* trim when `stream` is true
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* Align `process.nextTick` execution order with Node
* some tests
* formatting
* fixups
* fix the test failures
* simplify the logic here
* push it up
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: dave caruso <me@paperdave.net>
|
|
* really lame prototype
* uses threads but badly
* it works i guess
* unwatchFile but lame
* it works
* test
* a
* aomitcs
* fix unwatching race condition
* use hasPendingActivity and GC stuff better
* test
* revert this
|
|
* always use readable stream if it is available
* use bun sleep
* fix tests
* rm uws dep
|