Eric L. Goldstein
185a4bf90e
Update Bun.serve() types documentation to match the exact values from bun.d.ts ( #10420 )
2024-04-29 17:40:37 -07:00
Dale Seo
72b3045758
no need to open the parentheses ( #10666 )
2024-04-29 15:46:16 -07:00
Georgijs
e2c36aabff
add docs for UDP ( #10562 )
...
Co-authored-by: Georgijs Vilums <=>
2024-04-26 21:08:51 -07:00
Meghan Denny
e3689e7e83
node:crypto: add blake2b512, sha512-224, sha3-* ( #10383 )
...
* node:crypto: add blake2b512, sha512-224, sha3-*
* update submodule
* flesh out rest of api
* remove new bun.newCatchable
* add SHA512_224 to HashClasses
* remove SHA512_224 js class
* better allocation
* remove memcpy in path where buffer is provided to us
* add back benchmark
* move zig crypto things into specific struct
* Apply formatting changes
* centralize algorithm definitions into one spot
* rsa-256 was deleted
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-23 19:35:27 -07:00
Jarred Sumner
3f10d5250a
[bun:sqlite] Support sqlite3_file_control, better closing behavior, implement Disposable ( #10262 )
...
* [bun:sqlite] Support `sqlite_file_control`, better closing behavior, support `using` statements
* docs+flaky test
* Simplify the implementation
2024-04-15 13:06:30 -07:00
David Ferguson
edeb75a84a
Reference .exists() in File-IO Docs ( #9957 )
...
* add mention of .exists()
* show that the exists method returns a promise in the docs
* remove unnecessary white space
* update type ref to show that exists returns a promise
2024-04-11 13:24:49 -07:00
dave caruso
9e6e8b0234
feat(runtime): align import.meta.resolve with node.js's implementation ( #5827 )
...
* works
* works
* a
* fix zig compiler error
* fix things
* [autofix.ci] apply automated fixes
* a
* not done
* finish this
* [autofix.ci] apply automated fixes
* self check
* delete committed generated file (#9717 )
* Fix bug with PipeWriter (#9714 )
* fix!: do not lookup cwd in which (#9691 )
* do not lookup cwd in which
* fix webkit submodule
* fix compilation on linux
* feedback
* default process.env.NODE_ENV to undefined (#9695 )
* small changes
* [autofix.ci] apply automated fixes
* fix(windows) fix node-stream tests/ windows file reader/writer (#9718 )
* fix canceled onFileRead
* report continue errors and fix closing
* also fix pipe writer
* avoid possible memory leaks
* Propagate errors in open
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* posix failures
* windows fixes
* avoid using c++ labels
* add a resolver
* fix compile test AGAIN
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-04-01 02:21:34 -07:00
dave caruso
81badbac4c
fix(ipc): add json ipc type + buffer incoming messages until a listener is attached. ( #8733 )
...
* fix a few ipc issues
* a
* my own revisions
* remove none as a valid type
* a
* fix windows build
* remove comment
* make it work !!!!!!!!
* a
* formatter nonsense
* blah
* huge update refactor
* awa
* wow
* okay
2024-04-01 01:51:15 -07:00
kunoka
32174a2a44
fix: added awaits in Bun.connect calls ( #9574 )
2024-03-22 20:46:50 -07:00
Jarred Sumner
b24d3ba5be
Fix build
2024-03-21 11:05:52 -07:00
Meghan Denny
e1593ce2e5
docs: api/ffi improvements ( #9496 )
2024-03-18 18:25:26 -07:00
Jarred Sumner
79e77f13ab
Revert "Bun.serve: error: pass Request parameter when available ( #9310 )" ( #9332 )
...
This reverts commit b92d98556b .
2024-03-09 08:44:03 -08:00
Meghan Denny
b92d98556b
Bun.serve: error: pass Request parameter when available ( #9310 )
...
* Bun.serve: error: pass Request parameter when available
* this will be null when not found not undefined
* add an assert here
* reorganize tests
* add another test
* add another test
2024-03-08 19:59:58 -08:00
Meghan Denny
968065ca73
Bun.stringWidth ambiguousIsNarrow option defaults to true ( #9064 )
...
* Bun.stringWidth ambiguousIsNarrow option defaults to true
* number was backwards too
2024-02-23 20:27:10 -08:00
Jarred Sumner
094750cc9c
Update utils.md
2024-02-22 21:59:00 -08:00
Jarred Sumner
b48e5bbebd
Update utils.md
2024-02-22 21:58:02 -08:00
Jarred Sumner
460d64a086
Update utils.md
2024-02-22 21:57:27 -08:00
Jarred Sumner
f75306db0f
Update utils.md
2024-02-22 21:52:13 -08:00
Jarred Sumner
5147c0ba73
Fix incorrect assertion
2024-02-22 21:51:44 -08:00
Jarred Sumner
abf1239976
feat: Support async generator functions in Response and Request for bodies ( #8941 )
2024-02-16 20:02:22 -08:00
Ujjwal gupta
19cb3ab6ff
fix: ws.publish() not working ( #8855 )
...
* fix: ws.publish() not working
* fixes
2024-02-11 13:56:06 -08:00
Jake Gordon
08f957d33b
fix glob example to be recursive as stated ( #8755 )
2024-02-07 12:53:28 -08:00
ふかねこ
625b172a71
docs: Update binary-data.md ( #8635 )
...
Binary notation ("0b") is appropriate instead of hexadecimal notation ("0x").
Sorry for the omission of the correction in this [PR](https://github.com/oven-sh/bun/pull/8619 ).
2024-02-02 00:16:14 -08:00
ふかねこ
c0fe042102
Update binary-data.md ( #8619 )
...
Binary notation ("0b") is appropriate instead of hexadecimal notation ("0x").
2024-02-01 12:38:54 -08:00
3λiȯ+
690346b30b
docs: Fix typo in code example for Transpiler.transformSync ( #8553 )
...
* Docs: Fix typo in code example for transformSync
* Remove await since transformSync is synchronous
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-31 21:18:57 -08:00
Jarred Sumner
b82656d9fc
Introduce Bun.stringWidth ( #8327 )
...
* Introduce `Bun.stringWidth`
* [autofix.ci] apply automated fixes
* Update utils.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-21 04:47:36 -08:00
Jarred Sumner
48d642e9e0
Add a note about timeouts and max payload size
2024-01-18 03:14:03 -08:00
Jarred Sumner
95e466628b
Add a note about reading directories
2024-01-17 22:16:34 -08:00
Jarred Sumner
a4da0acb0e
Document additions to import.meta
2024-01-15 19:53:49 -08:00
Jarred Sumner
e5421c56b1
feat: Support import db from './my.db' with {type: "sqlite"} ( #8178 )
...
* Support SQLite imports
* Docs
* Update executables.md
* Update loaders.md
* Update js_parser.zig
* Update loaders.md
* Update CMakeLists.txt
* Update Module.ts
* JSC got rid of `$trunc`?
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-15 17:56:02 -08:00
Archaeopteryx
f27fc77b3b
docs: add missing comma in examples ( #8018 )
2024-01-08 16:21:44 -08:00
johnpyp
d1dcf5ccf7
doc: improve Bun.Glob api docs ( #7859 )
...
* doc: improve Bun.Glob api docs
* Update docs/api/glob.md
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-12-26 22:20:25 -08:00
Supachai Kheawjuy
3f131c0411
docs(api): typo Diffie Hellman in http.md ( #7744 )
2023-12-19 11:17:11 -08:00
Bjön Limell
1730cfbbbf
docs: fixed Bun.gunzip ( #7738 )
2023-12-19 09:14:47 -08:00
Jarred Sumner
6fc29b6412
Recommend the .start() method
2023-12-17 23:18:41 -08:00
Dale Seo
c9e98db258
docs: remove unncessary empty line ( #7581 )
2023-12-11 14:54:18 -08:00
Jarred Sumner
2f83f32582
Update websockets.md
2023-12-02 09:30:58 -08:00
Nick Reilingh
ebae02a08b
Update file-io.md: BunFile.stream() doesn't return promise ( #7372 )
...
According to my lsp, `.stream()` returns a ReadableStream directly instead of a promise.
2023-11-29 13:44:31 -08:00
Michael H
6517252153
Environment Variables ( #7306 )
...
* Environment variables
* .
2023-11-24 18:25:34 -08:00
Jarred Sumner
d8be3e51b4
Support glob.scan(string) ( #7279 )
...
* Support `glob.scan(string)`
* Create glob.md
* Update glob.md
* fixup
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-22 16:12:28 -08:00
Jarred Sumner
a86a57e1b8
Update semver.md
2023-11-08 04:40:07 -08:00
Jarred Sumner
45f2eac44c
Add a doc on Bun.semver
2023-11-08 04:32:29 -08:00
Rohit Kaushal
08fdbb3c7d
[docs] fix ws/pubsub; closed ws don't publish to topic ( #6739 )
2023-10-30 00:07:50 -07:00
perpetualsquid
e4394ef5cc
Fixed broken link in deflatesync section ( #6774 )
...
* Fixed broken link in deflatesync section
* fixed link
* fixed link
2023-10-29 06:34:35 -07:00
Aral Roca Gomez
bbc2e96090
docs: fix ws.publish ( #6558 )
...
In this example there is no server variable in the context, and here it makes more sense to use ws.publish. It is explained below that once the serve is done, the server.publish can be used.
2023-10-17 09:23:10 -07:00
Aaron Dewes
a6a474a83f
Add File to binary data TOC ( #6025 )
2023-10-10 16:47:35 -07:00
Nicolae-Rares Ailincai
e58e85cd5c
Documentation for the IPC of Bun.spawn ( #6400 )
...
* doc/ipc.md
* update/spawn.md
* improved-documentation-and-added-send-type
* Updates
* Updates
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-10 15:35:05 -07:00
Colin McDonnell
47651f321a
Update ws example
2023-10-02 19:02:27 -07:00
Corné Dorrestijn
0a2d490bf8
Added the fileExtensions field to file-system-router.md ( #6231 )
2023-10-02 02:42:17 -07:00
Colin McDonnell
640b0b4df9
Improve docs
2023-09-28 14:14:44 -07:00