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
6851a57ebd
Update nodejs-apis.md
2023-10-28 20:17:20 -07:00
Jarred Sumner
6a17ebe669
Update nodejs-apis.md
2023-10-11 01:59:56 -07:00
Colin McDonnell
323ae0f2a3
Update Node.js compat docs ( #6282 )
...
* Update nodejs-apis
* No commas
* Updates
2023-10-05 16:03:21 -07:00
Colin McDonnell
640b0b4df9
Improve docs
2023-09-28 14:14:44 -07:00
Vlad
cd09bb0e9b
Add fs.statfs{Sync} to missing fs apis ( #6030 )
2023-09-25 10:55:55 -07:00
Jarred Sumner
7027493196
Update nodejs-apis.md
2023-09-25 00:39:53 -07:00
Jarred Sumner
bd4523798f
Clarify
2023-09-24 23:47:20 -07:00
Jarred Sumner
d1e9b33cac
On Linux, respect memory limit from cgroups ( #5849 )
...
* Implement `process.constrainedMemory()`
* Add a comment
* Handle max
* Missing header
* We can use WTF::ramSize now
* Update WebKit
* Update ZigGlobalObject.cpp
* WebKit
* ✂️
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-09-21 07:25:18 -07:00
Weyert de Boer
f4e7f6db7c
docs: update node compability ( #5562 )
2023-09-19 13:26:50 -07:00
dave caruso
29b22175bf
feat(runtime): add process.binding uv/natives/config + make global 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 >
2023-09-15 08:22:06 -07:00
Steven
64033f11cc
chore(docs): include missing links to Node.js APIs ( #5281 )
...
These links make it easy to click and jump to another section.
2023-09-13 14:08:28 -07:00
Diogo Goncalves
b910db74be
Add missing full stop on nodejs-apis.md ( #5072 )
2023-09-12 18:51:15 -07:00
Colin McDonnell
5424ea3403
Doc updates for v1.0 ( #4485 )
...
* Remove v0.x messages
* Add windows section to Installatino
* update
* update
* Update
* Comment out windows
2023-09-07 10:09:09 -07:00
dave caruso
57a06745a4
Progress for Next.js ( #4468 )
...
* 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 >
2023-09-07 04:58:44 -07:00
Birk Skyum
3b9829f171
Update nodejs compat docs cp/cpSync/watchFile/unwatchFile ( #4525 )
2023-09-06 14:04:07 -07:00
Colin McDonnell
3a45f2c71b
Docs and types for v0.8.0 ( #4199 )
...
* 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-21 21:34:03 -07:00
dave caruso
67a8b75183
fix this page ( #4172 )
2023-08-15 19:02:46 -07:00
Colin McDonnell
9222316101
Update Node.js compat docs
2023-08-03 17:48:18 -07:00
Colin McDonnell
8589ba2f17
Update stricjs
2023-07-31 17:07:01 -07:00
Colin McDonnell
dd8fdd87dc
Switch table to headings in Nodejs compat page
2023-07-31 16:39:09 -07:00
Jarred Sumner
dae2928620
Update nodejs-apis.md
2023-07-28 23:58:59 -07:00
Jarred Sumner
05ef9ec141
Update nodejs-apis.md
2023-07-28 23:57:02 -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
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
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
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
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
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
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
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