Colin McDonnell
34fd4df646
Fix broken anchors
2023-07-26 17:11:15 -07:00
Colin McDonnell
6bfee02301
Fix typo
2023-07-25 12:27:27 -07:00
Alexander Trefz
ce77266cc5
Update nodejs-apis.md ( #3762 )
...
`structuredClone` is implemented as of v0.7
2023-07-23 03:40:46 -07:00
Colin McDonnell
53ad9b922f
Docs & types for 0.7 ( #3665 )
...
* Docs & types for 0.7
* Tweak
* Update
* Tweaks
* Tweak
* Tweaks
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-07-19 23:59:15 -07:00
Ciro Spaciari
f63398ffe4
update root certificates and add tls.rootCertificates ( #3688 )
...
* implement tls.rootCertificates
* add test
* bump uws/usockets
* bump uws + .len on certs
2023-07-19 16:02:29 -07:00
Ciro Spaciari
13b54fbdb8
[tls] General compatibility improvements ( #3596 )
...
* wip
* subjectaltname
* more progress
* bindings
* fmt
* getCert/getPeerCertificate
* fix checkServerIdentity
* fix checkServerIdentity
* add a lot of TLSSocket functions
* getEphemeralKeyInfo fix and comment
* add alternative for getEphemeralKeyInfo
* add get session and set session
* fix isSessionReused
* get back the raw data for MSSQL
* fixeup
* fixup getSession + tests
* fix doc + fmt
* getFinished/getPeerFinished
* codegen
* fixup
* revert webkit
* more fixes
* ssl helper + revert test oops
* asserts
2023-07-17 19:39:09 -07:00
Colin McDonnell
8a176913d8
Tweak test docs
2023-07-17 11:42:13 -07:00
Jarred Sumner
fa4db1de42
Document --smol
2023-07-16 23:24:00 -07:00
Jarred Sumner
7917ebd58f
Fixes base64url encoding for crypto ( #3654 )
...
* Fixes base64url encoding for crypto
* 🍏
* Update nodejs-apis.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-07-16 22:42:19 -07:00
Jarred Sumner
209dc981c0
Implement Workers ( #3645 )
...
* copy files
* format
* options
* Introduce `Worker`, `onmessage`, `onerror`, and `postMessage` globals
* Stub `Worker.prototype.ref` & `Worker.prototype.unref`
* Update web_worker.zig
* Worker works
* Add "mini" mode
* add wakeup
* Partially fix the keep-alive issue
* clean up refer behavior
* Implement `serialize` & `deserialize` in `bun:jsc` & add polyfill for `node:v8`
* Types & docs
* Update globals.d.ts
* Add mutex
* Fixes
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-07-16 21:15:24 -07:00
Jiri Spac
131ed06020
docs: add one missing line in typescript.md ( #3650 )
2023-07-16 20:31:54 -07:00
Colin McDonnell
325147261f
Update docs/types for process ( #3631 )
...
* Update docs/types for process
* Tweaks
* Tweaks
* Fix types
2023-07-13 17:40:46 -07:00
Ciro Spaciari
4af4b508a1
feat(crypto) add getCurves ( #3598 )
...
* add getCurves
* add nodefallbacks
* update docs
* oops
2023-07-10 17:14:37 -07:00
Jarred Sumner
5c0a5646cd
Update list
2023-07-06 17:11:01 -07:00
Colin McDonnell
109ebc14fd
Various docs updates ( #3437 )
...
* Various docs updates
* Add mocks page
* Fix make
* WebKit instructions
* Update instructions
* Updates
* Update nodejs compat table
* Document trusted deps
* Tweak trustedDependencies docs
* Document --exact
* Update test docs
* Tweaks
* Boring
* Remove redundant j
* Undo makefile changes
* Undo makefile changes
* Update page title
* Regen
* Undo changes
2023-07-06 13:02:29 -07:00
Tiago Teixeira
d8817c2d32
Add support for install with --frozen-lockfile ( #3365 )
...
* Add support for install with --frozen-lockfile
* Add test
* Add test for frozenLockfile in config file
2023-06-25 16:43:39 -07:00
Andreas Pfurtscheller
b691212c6e
Update module resolution order docs ( #3372 )
...
If I'm reading and interpreting [these lines](69f558db8e/src/options.zig (L605-L627) ) correct, the module resolution order [in the current docs](https://bun.sh/docs/runtime/modules#resolution ) is outdated.
This change will fix the order.
2023-06-21 12:08:05 -07:00
Colin McDonnell
c4f237572d
Update macro/test docs ( #3180 )
...
* Add test and fix plugin type
* Update docs and config pages
2023-06-02 17:43:51 -07:00
Ashcon Partovi
bfd315fc72
Support NO_COLOR environment variable ( #3055 )
2023-06-02 14:24:16 -07:00
dave caruso
2c1694f63b
Fix streams breaking on reverted EventEmitter / Make Discord.js work ( #2913 )
...
* Revert "Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652 )""
This reverts commit 613bb4822e .
* Revert "Revert "implement `node:events` in javascript (#2604 )""
This reverts commit a4d0a1961a .
* oops
* fix entrypoints stuff
* fix hash copy
* use native events for node streams and crypto
* requested changes
* oops
* make discord.js work
* fix webkit hash
* headers tojson
2023-06-01 14:31:36 -07:00
Jarred Sumner
7376ae6980
Update modules.md
2023-05-30 15:52:21 -07:00
Jarred Sumner
d0185925ff
Update modules.md
2023-05-29 12:15:33 -07:00
Colin McDonnell
9b6913e1a6
More/better docs for JSX, utils, binary data, streams, hashing, bun test, Bun.serve ( #3005 )
...
* WIP
* Updates
* Document deepEquals
* WIP
* Update typeS
* Update TLS docs for Bun.serve
* Update types for tls
* Draft binary data page. Add Streams page.
* Update test runner docs
* Add hashing, flesh out utils
* Grammar
* Update types
* Fix
* Add import.meta docs
* Tee
2023-05-29 11:49:51 -07:00
dave caruso
5b0fea7093
fix bun init and update node vm docs ( #3014 )
2023-05-23 15:02:39 -07:00
e3dio
4101eeabde
update docs hot.md ( #2954 )
...
* Update hot.md
* Update hot.md
2023-05-19 15:23:24 -07:00
dave caruso
6a163cf933
bundler tests and improve Bun.build return type ( #2833 )
...
* importstar_ts
* tests
* run acorn test suite
* bench tweaks
* test
* bun.build tests very incomplete
* remove dataurl and base64 loaders from tests since they dont work yet
* tests
* stuff
* stuff
* add errors and array of blobs
* work so far
* docs
* requested changes
* fix overwrite docs
* remove this file
2023-05-11 14:42:54 -07:00
Kruithne
e00017f7b8
Add missing JSON API to Web APIs page ( #2799 )
...
* Add missing JSON API to Web APIs page
Unless I'm missing something obvious, it appears that Bun has the JSON API (`stringify`/`parse`) but is not listed anywhere in the documentation.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON
* Include JSON in global docs
2023-05-05 12:54:54 -07:00
Colin McDonnell
386639a4c5
Start esbuild migration guide. More docs. ( #2787 )
...
* Bundler docs updates. Start esbuild migration guide.
* Updates
* Add JS API comp
* Tweaks
* Updates
* Updates
* Updates
2023-05-05 12:53:38 -07:00
Colin McDonnell
8ba13f273c
Add bundler documentation ( #2753 )
...
* WIP
* WIP
* WIP
* Document API
* Updates
* Polish bundler docs
* Tweaks
* Tweak
2023-04-26 20:07:30 -07:00
Colin McDonnell
caa90ba98e
Update TS docs for bun-types changes ( #2590 )
...
* Update TS docs for bun-types changes
* Update typescript, remove extends guidance
* Updates
* Tweaks
* Tweaks
2023-04-21 11:35:42 -07:00
Jarred Sumner
a4d0a1961a
Revert "implement node:events in javascript ( #2604 )"
...
This reverts commit 96a2ed1040 .
2023-04-21 07:16:23 -07:00
dave caruso
96a2ed1040
implement node:events in javascript ( #2604 )
...
* initial event emitter reimplementation
* implement most of node:events. tests passing
* work on emitter
* fix importing node:events
* work on event emitter tests
* event work
* event work
* event stuff and experimenting with a lazy createHash
* cleanup crypto stuff i had on this branch
* finish event stuff up
* fix error monitor
* validate listeners are functions
* changes requested
2023-04-18 14:59:51 -07:00
Simon Legner
93a43c8fc1
docs: fix code block ( #2662 )
2023-04-17 13:01:08 -07:00
Colin McDonnell
1a7c3cdf3b
Add .txt loader docs
2023-04-15 11:52:39 -07:00
Colin McDonnell
267a38f6fc
Remove Bun.dns docs
2023-04-13 18:32:22 -07:00
Colin McDonnell
011e157cac
Docs restructuring ( #2638 )
...
* Restructure
* Update nav
* Reorg
* Reshuffle ecosystem pages
* Split up runtime/runtime
* Back to runtime/index
* Fix issue
* Split up runtime/index
* Add Writing Tests page
* Prettier matcher table
* More updates
2023-04-13 18:26:45 -07:00
Lawlzer
f7d0eee0ac
In Documentation, move --watch before the script name ( #2569 )
...
Related message by Jarred: https://discord.com/channels/876711213126520882/876711213126520885/1093286199369682944
If you put `--watch` after the script name, it will not work.
2023-04-05 15:02:08 -07:00
Colin McDonnell
b0e0853360
Update vscode auto save mention
2023-03-29 17:27:13 -07:00
Colin McDonnell
f16995910a
Update vscode auto save mention
2023-03-29 17:26:52 -07:00
Colin McDonnell
b2f3dbfd43
Typo
2023-03-29 17:12:06 -07:00
Colin McDonnell
546f78a49e
Update --watch docs
2023-03-29 17:02:16 -07:00
Jarred Sumner
f0def8c770
Add doc on watch mode ( #2502 )
...
* Add doc on watch mode
* Update hot.md
* Update hot.md
* More words
* Update hot.md
* Update hot.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-28 23:26:43 -07:00
Colin McDonnell
95b59ea0ef
Document openInEditor
2023-03-07 21:05:44 -08:00
Colin McDonnell
6505e5c3a4
Fix typo
2023-03-07 18:07:53 -08:00
Colin McDonnell
9bf4d9b8a2
Improve Benchmarking page, small fixes ( #2339 )
...
* Improve benchmarking page
* WIP
* Add typescript instructions to hot
* Document preload in Plugins. Fix loader in plugin types.
2023-03-07 17:44:05 -08:00
pfg
45ddf321b1
fix the wrong thing being incremented in hmr example ( #2334 )
2023-03-07 13:11:54 -08:00
cunzaizhuyi
f89c4c3a0d
Update hot.md ( #2198 )
2023-02-26 00:23:58 -08:00
Florian Dreier
45f4353453
fix: Broken link to Node.js support status page ( #2183 )
...
Co-authored-by: Derrick Farris <mr.dcfarris@gmail.com >
2023-02-25 10:57:26 -06:00
Charlie Marsh
735d48190d
Replace docs/runtime/nodejs with docs/ecosystem/nodejs ( #2185 )
...
* Replace docs/runtime/nodejs with docs/ecosystem/nodejs
* Replace a few more usages
2023-02-25 10:54:29 -06:00
Tommaso A
8e09b1afff
docs: improved language in yaml loader example ( #2172 )
...
* docs: improved language in yaml loader example
* docs(api/http): fix typo
* docs(api/spawn): fix typo
* docs(api/transpiler): fix typo
2023-02-25 09:47:11 -06:00