aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/net.exports.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 1-9/+2
2023-01-29[breaking] Add `binaryType` option to Bun.connect & Bun.listenGravatar Jarred Sumner 1-5/+6
This is a breaking change because the default is `Buffer`, but previously the default was `Uint8Array`. While `Buffer` is a subclass of `Uint8Array`, it still technically is a breaking change because `slice` in `Uint8Array` is not semantically identical to `slice` in `Buffer` cc @colinhacks, the .d.ts changes I made here aren't great.
2023-01-17make node-redis workGravatar Jarred Sumner 1-0/+2
2023-01-16Make sure the socket keeps the process aliveGravatar Jarred Sumner 1-0/+2
2023-01-12Reduce amount of cloningGravatar Jarred Sumner 1-5/+11
2023-01-11[node:net] Hopefully fix unix socketsGravatar Jarred Sumner 1-1/+4
2023-01-10Support socketPathGravatar Jarred Sumner 1-7/+22
2023-01-10potentially support tls in some casesGravatar Jarred Sumner 1-7/+34
2023-01-04Support non-classes in node:net (#1712)Gravatar Jarred Sumner 1-198/+216
* Support non-classes * Update net.exports.js * Make it less observable * Update net.exports.js Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-02[socket] handle `connectError` (#1705)Gravatar Alex Lam S.L 1-0/+4
assorted clean-ups & fixes
2023-01-02implement `net.Socket` (#1701)Gravatar Alex Lam S.L 1-0/+248
- support TCP sockets for now, i.e. no IPC - extra features like keep-alive, no-delay etc. are absent due to limitations of uSockets - fix `jest` to treat `done(nullish)` as success
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-1/+1
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-27Allow overriding node polyfills via `BUN_OVERRIDE_MODULE_PATH`Gravatar Jarred Sumner 1-0/+61