Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
* wip
* wip
* most of the code for mocks in bun:test
* finishing up
* Implement `toHaveBeenCalled` and `toHaveBeenCalledTimes(1)`
* Test
* visit
* results, not returnValues
* exact
* Update jest.zig
* A couple more tests
* Add jest.fn
* support resetting mocks
* Implement spyOn
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
|
|
add missing right parenthesis in example code in `HTTP server` section
|
|
|
|
|
|
queries returning 0 results (#3219)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* Update websocket docs & jsdoc
* Document Bun.password
* Update hash encoding docs
* Fix typos
* Add info about user-specific data in ws
* Update outdated websocket jsdoc
* Replace usages of req.url
* Remove log
|
|
|
|
* Bun.passwordSync -> Bun.password.{method}Sync
* Update jsdoc
* Updates
|
|
|
|
* add bundling tests for lodash-es
* add isBuffer tests
|
|
|
|
* add v to possible regexp flags
* alphabetical
|
|
* use correct length for raw template contents
* tests for raw template contents
|
|
This exposes the WebKit inspector debugger protocol over WebSockets at the endpoint `/bun:inspect` when `Bun.serve()`.
To enable, pass:
```js
Bun.serve({inspector: true, development: true, fetch(req){ /* rest of params *... });
```
Both `development` and `inspector` must be true, as this is very security sensitive to expose publicly.
|
|
* Implement `Bun.password.{verify, hash}` and `Bun.passwordSync.{verify, hash}`
* flip the booleans
* delete unused
* Add `cost` for `"bcrypt"`, add `"memoryCost"` and `"timeCost'` for argon2, use SHA512
* Update bun.zig
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* return this in `removeAllListeners`
* move `UNUSED_PARAM` for used params
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Update CommonJSModuleRecord.cpp
* smaller
* [node:path] Fix crash, mark TODO
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
* fixes with hardcoded modules
* add make hardcoded to make dev
* adjust this message
* remove debugging logs
* this
* restore2
|
|
* make sure length is equal
* add and use `indexEqualAny`
|
|
|
|
* fix discord.js again
* remove one of the async hooks warnings
* clarify hardcoded modules docs
|
|
* patch create object, so it can be used on wrap
* cleanup
* cleanup
* dont override napiRef
* make wrap strong ref
* workaround tests
* remove work around
|
|
* Add test and fix plugin type
* Update docs and config pages
|
|
|
|
|
|
|
|
|
|
|
|
* expose Bun.Env
* export bun.Env
* fix: use import instead namespace access
* fix(child_process): use import
* tests(env): use module instead namespace
|
|
* Fixes #3161
* Fix the error message
* woops
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
* move all exports.js into src/js
* finalize the sort of this
* and it works
* add test.ts to gitignore
* okay
* convert some to ts just to show
* finish up
* fixup makefile
* minify syntax in dev
* finish rebase
* dont minify all modules
* merge
* finish rebase merge
* flaky test that hangs
|
|
|