aboutsummaryrefslogtreecommitdiff
path: root/docs/runtime (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-25Automatically hot reload Bun.serve() (#4344)Gravatar Jarred Sumner 1-34/+4
* Automatically hot reload Bun.serve() * Update doc * Update example --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-08-24Use noEmitGravatar Colin McDonnell 1-2/+0
2023-08-23Add Debugger docs and a couple guides (#4281)Gravatar Colin McDonnell 1-0/+90
* Add debugger docs. Add guides. * Add files
2023-08-23Fix more types. (#4273)Gravatar xxxhussein 1-0/+2
2023-08-21Docs and types for v0.8.0 (#4199)Gravatar Colin McDonnell 1-1/+1
* Improve test documentation * Update nodejs compat docs with tty * Add debugger guide * Document Bun.inspect.custom, improve bun test nav * Address reviews * Update Bun.file types * Add Nuxt guide * Add tty types
2023-08-21Fix typoGravatar Colin McDonnell 1-1/+1
2023-08-15fix this page (#4172)Gravatar dave caruso 1-5/+5
2023-08-07Improve plugin docsGravatar Colin McDonnell 1-0/+276
2023-08-03Update Node.js compat docsGravatar Colin McDonnell 2-4/+4
2023-08-03Add type tests, update modules.mdGravatar Colin McDonnell 1-4/+7
2023-08-03More guides and fixing links (#3960)bun-v0.7.2Gravatar Colin McDonnell 1-1/+1
* More guides * WIP * Updates * Fix
2023-08-02Remove module and browser conditions (#3935)Gravatar dave caruso 1-2/+1
* fix astro compiler * clean this up * Update options.zig --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2023-07-31Update stricjsGravatar Colin McDonnell 1-220/+220
2023-07-31Switch table to headings in Nodejs compat pageGravatar Colin McDonnell 1-4/+444
2023-07-29fix: small error (#3878)Gravatar 0xflotus 1-1/+1
2023-07-28Update nodejs-apis.mdGravatar Jarred Sumner 1-4/+4
2023-07-28Update nodejs-apis.mdGravatar Jarred Sumner 1-5/+5
2023-07-26Fix broken anchorsGravatar Colin McDonnell 3-3/+3
2023-07-25Fix typoGravatar Colin McDonnell 1-3/+17
2023-07-23Update nodejs-apis.md (#3762)Gravatar Alexander Trefz 1-2/+2
`structuredClone` is implemented as of v0.7
2023-07-19Docs & types for 0.7 (#3665)Gravatar Colin McDonnell 2-23/+4
* Docs & types for 0.7 * Tweak * Update * Tweaks * Tweak * Tweaks --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-07-19update root certificates and add tls.rootCertificates (#3688)Gravatar Ciro Spaciari 1-1/+1
* implement tls.rootCertificates * add test * bump uws/usockets * bump uws + .len on certs
2023-07-17[tls] General compatibility improvements (#3596)Gravatar Ciro Spaciari 1-1/+1
* 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-17Tweak test docsGravatar Colin McDonnell 1-3/+2
2023-07-16Document `--smol`Gravatar Jarred Sumner 1-70/+59
2023-07-16Fixes base64url encoding for crypto (#3654)Gravatar Jarred Sumner 1-2/+1
* Fixes base64url encoding for crypto * :green_apple: * Update nodejs-apis.md --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-16Implement Workers (#3645)Gravatar Jarred Sumner 2-1/+8
* 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-16docs: add one missing line in typescript.md (#3650)Gravatar Jiri Spac 1-0/+1
2023-07-13Update docs/types for process (#3631)Gravatar Colin McDonnell 1-1/+1
* Update docs/types for process * Tweaks * Tweaks * Fix types
2023-07-10feat(crypto) add getCurves (#3598)Gravatar Ciro Spaciari 1-1/+1
* add getCurves * add nodefallbacks * update docs * oops
2023-07-06Update listGravatar Jarred Sumner 1-5/+5
2023-07-06Various docs updates (#3437)Gravatar Colin McDonnell 2-3/+14
* 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-06-25Add support for install with --frozen-lockfile (#3365)Gravatar Tiago Teixeira 1-0/+3
* Add support for install with --frozen-lockfile * Add test * Add test for frozenLockfile in config file
2023-06-21Update module resolution order docs (#3372)Gravatar Andreas Pfurtscheller 1-2/+2
If I'm reading and interpreting [these lines](https://github.com/oven-sh/bun/blob/69f558db8e0eba637febdc62c6ba752444b54401/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-02Update macro/test docs (#3180)Gravatar Colin McDonnell 1-7/+0
* Add test and fix plugin type * Update docs and config pages
2023-06-02Support `NO_COLOR` environment variable (#3055)Gravatar Ashcon Partovi 1-3/+27
2023-06-01Fix streams breaking on reverted EventEmitter / Make Discord.js work (#2913)Gravatar dave caruso 1-1/+1
* Revert "Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652)"" This reverts commit 613bb4822ee8f4fbfd78aef391e2db8f07659a6f. * Revert "Revert "implement `node:events` in javascript (#2604)"" This reverts commit a4d0a1961abe0c6073e15cc6f7c0601b74f2e3f7. * 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-05-30Update modules.mdGravatar Jarred Sumner 1-1/+1
2023-05-29Update modules.mdGravatar Jarred Sumner 1-0/+87
2023-05-29More/better docs for JSX, utils, binary data, streams, hashing, `bun test`, ↵Gravatar Colin McDonnell 5-78/+412
`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-23fix bun init and update node vm docs (#3014)Gravatar dave caruso 1-2/+2
2023-05-19update docs hot.md (#2954)Gravatar e3dio 1-3/+3
* Update hot.md * Update hot.md
2023-05-11bundler tests and improve `Bun.build` return type (#2833)Gravatar dave caruso 2-4/+2
* 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-05Add missing JSON API to Web APIs page (#2799)Gravatar Kruithne 1-0/+5
* 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-05Start esbuild migration guide. More docs. (#2787)Gravatar Colin McDonnell 2-2/+2
* Bundler docs updates. Start esbuild migration guide. * Updates * Add JS API comp * Tweaks * Updates * Updates * Updates
2023-04-26Add bundler documentation (#2753)Gravatar Colin McDonnell 1-257/+0
* WIP * WIP * WIP * Document API * Updates * Polish bundler docs * Tweaks * Tweak
2023-04-21Update TS docs for bun-types changes (#2590)Gravatar Colin McDonnell 1-20/+54
* Update TS docs for bun-types changes * Update typescript, remove extends guidance * Updates * Tweaks * Tweaks
2023-04-21Revert "implement `node:events` in javascript (#2604)"Gravatar Jarred Sumner 1-1/+1
This reverts commit 96a2ed1040d5a0ca51ae41267cba4f8e5d0a6142.
2023-04-18implement `node:events` in javascript (#2604)Gravatar dave caruso 1-1/+1
* 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-17docs: fix code block (#2662)Gravatar Simon Legner 1-1/+1