aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/socket/node-net.test.ts
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-29 22:33:37 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-29 22:33:37 -0800
commit703bee976b9961a3cccc96c371c833546f3505d9 (patch)
treece531762755f626837c593310e4264be1b1f9325 /test/bun.js/socket/node-net.test.ts
parenteb5105aa09767da7d015299f956ed0fdfdffb386 (diff)
downloadbun-703bee976b9961a3cccc96c371c833546f3505d9.tar.gz
bun-703bee976b9961a3cccc96c371c833546f3505d9.tar.zst
bun-703bee976b9961a3cccc96c371c833546f3505d9.zip
[breaking] Add `binaryType` option to Bun.connect & Bun.listen
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.
Diffstat (limited to 'test/bun.js/socket/node-net.test.ts')
0 files changed, 0 insertions, 0 deletions