aboutsummaryrefslogtreecommitdiff
path: root/packages (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-17Use canary in CI (#1823)Gravatar Colin McDonnell 1-0/+9
* Use canary in CI * Only publish canary when types change Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-01-17Fix `Bun.dns` examples to use array instead of single resultGravatar Ashcon Partovi 1-7/+7
2023-01-17Allow error instance in process.emitWarningGravatar Jarred Sumner 1-1/+7
2023-01-17Add types for `readline`, `tls`, `net` (#1817)Gravatar Colin McDonnell 8-42/+2160
* Add readline, tls, net types * Remove unimplemented methods Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-01-17bun install tests shouldn't fail due to terminal colorsGravatar Jarred Sumner 1-4/+1
2023-01-16Fix incorrect typeGravatar Jarred Sumner 1-1/+1
2023-01-16Publish bun-types@canary (#1767)Gravatar Colin McDonnell 2-2/+2
* Publish bun-types@canary * Get version from bun cli * Get version from bun cli * Fixes * Fixes * Fixes * Finalize * Update names * Add token * Remove dryrun * Switch setup-bun * Test noncanary publish * Fix path for GPR * Use latest * Remove testing code * Remove dry run * Fix paths * Update bun-types links * Verbose logging * Ignore lockfile * Run install in root * Remove debug code * Remove debug code Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-01-14support installation of NPM workspaces (#1764)Gravatar Alex Lam S.L 1-0/+10
2023-01-12Add `closeActiveConnections` option to typesGravatar Jarred Sumner 1-4/+5
2023-01-12Add missing typeGravatar Jarred Sumner 1-0/+15
2023-01-11`end` callbackGravatar Jarred Sumner 1-0/+6
2023-01-11Types update (#1761)Gravatar Colin McDonnell 14-12/+2321
* Fix type tests * Add dns types * Add node:net types * Make process.exit return never * Make ArrayBufferView tighter * Add types for node:dns * Remove docs * Use latest * Fix CI * Fix CI * Stop double trigger Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-01-10Add some missing typesGravatar Jarred Sumner 1-1/+11
2023-01-10Allow `tls: true` in Bun.connectGravatar Jarred Sumner 1-1/+6
2023-01-09[bun:test] Implement `test.skip`Gravatar Jarred Sumner 1-8/+34
2023-01-07Document `connectError`Gravatar Jarred Sumner 1-0/+15
2023-01-07Implement DNS module (#1691)Gravatar Jarred Sumner 1-0/+114
* Boilerplate for DNS stuff * Add c-ares * lookup * make * Implement dns.lookup * Create c-ares * wip * normalize * repro * Revert "repro" This reverts commit 8b93e0c295b335b8882a9601da47720348549beb. * Implement macOS `getaddrinfo_async_start` * embiggen * Update string_immutable.zig * Update Makefile * alright * Update .gitignore * Add types * more ccache * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update bun.d.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-05improve `.toThrow()` compatibility with Jest (#1728)Gravatar Alex Lam S.L 1-1/+1
2023-01-04Fix Bun.serve typings (#1714)Gravatar u9g 1-2/+2
2023-01-04implement `expect().toThrow()` (#1727)Gravatar Alex Lam S.L 1-0/+1
- fix bugs in `JSBufferList` - add tests
2023-01-03Create readme.mdGravatar Jarred Sumner 1-0/+10
2023-01-02Support any `ArrayBufferView` in StringDecoderGravatar Jarred Sumner 1-2/+2
2022-12-31Update ffi.d.ts (#1694)Gravatar Gabriel Wu 1-1/+3
* Update ffi.d.ts Add "usize" and "callback", which are used in `README` but not typed here. * Update packages/bun-types/ffi.d.ts Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2022-12-31[jest] fix and improve hooks (#1689)Gravatar Alex Lam S.L 2-5/+13
- wait for async hooks to complete before running tests - add support for `done(err)` callbacks in hooks fixes #1688
2022-12-29Update globals.d.tsGravatar Jarred Sumner 1-1/+1
2022-12-29Introduce `Bun.CryptoHasher`Gravatar Jarred Sumner 1-8/+92
2022-12-29[node] Implement `process.uptime` and `process.umask`Gravatar Jarred Sumner 1-0/+17
2022-12-29[bun-types] Add missing `performance.timeOrigin` typeGravatar Jarred Sumner 1-0/+9
2022-12-28Implement `Bun.RIPEMD160`Gravatar Jarred Sumner 1-0/+8
`RIPEMD160` is used by node:crypto.
2022-12-28[WebSocket] Implement `headers` supportGravatar Jarred Sumner 1-0/+19
Fixes https://github.com/oven-sh/bun/issues/1676
2022-12-17Update globals.d.tsGravatar Jarred Sumner 1-2/+5
2022-12-17Add warning in import.meta.requireGravatar Jarred Sumner 1-0/+5
2022-12-17[bun-types] Add optional param to Bun.deepEqualsGravatar Jarred Sumner 1-1/+7
2022-12-16Fix typo in bun.d.ts (#1619)Gravatar Ikko Ashimine 1-1/+1
occured -> occurred
2022-12-15[bun-types] Remove outdated commentsGravatar Jarred Sumner 1-2/+0
2022-12-15[node:process] Implement `process.argv0`, `process.execPath`Gravatar Jarred Sumner 1-0/+9
Fixes https://github.com/oven-sh/bun/issues/1599
2022-12-15[node:process] Implement `process.abort()`Gravatar Jarred Sumner 1-0/+5
2022-12-13[bun:jsc] Introduce `profile` functionGravatar Jarred Sumner 1-0/+108
2022-12-13Move bun-landing to another repositoryGravatar Ashcon Partovi 26-1968/+0
2022-12-11[Transpiler] Implement `minifyWhitespace` optionGravatar Jarred Sumner 1-0/+7
2022-12-11[Bun.Transpiler] Introduce `inline` flagGravatar Jarred Sumner 1-0/+14
2022-12-10Include `isTTY` in typesGravatar Jarred Sumner 1-3/+3
2022-12-06Update types (#1581)Gravatar Colin McDonnell 19-71/+223
* Fix TS types, improve child_process types * Add prettier * Add ArrayBuffer types * Add namespace Bun, improve types for SharedArrayBuffer, add toStrictEqual * Improve types, add test files for types * Update type tests * Fix typo * Add stdio * Stdio types * Use latest setup-bun * Update action * Update action * Update action Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
2022-12-06Fix glibc symbol version issues preventing `bun install` from being used in ↵Gravatar Jarred Sumner 1-0/+7
older glibc versions (#1580) * Prevent integer overflow in connectError * Add missing deepEquals() type to Bun * fix missing glibc symbols * Fix missing symbol issues * Try this * Update glibc-versions-hack.cpp * Update glibc-versions-hack.cpp * Update glibc-versions-hack.cpp Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-05indexOfLine typeGravatar Jarred Sumner 1-0/+10
2022-12-05Introduce `console.write(text, or, arrayBufferLike)`Gravatar Jarred Sumner 1-1/+43
2022-12-04Update child_processGravatar Jarred Sumner 1-1/+5
2022-12-04[breaking] `onExit` callback in Bun.spawn sets the first property to be the ↵Gravatar Jarred Sumner 1-2/+31
Subprocess object Sometimes Bun.spawn calls the onExit callback before the Bun.spawn() callback is called. Instead of delaying a tick, we set the `Subprocess` to be the first argument to the `onExit` callback now.
2022-12-03Add missing typeGravatar Jarred Sumner 1-0/+5
2022-12-02matchers for less than and greater than (#1573)Gravatar Dylan Conway 1-0/+4
* toBeGreaterThan with tests * toBeGreaterThanOrEqual and tests * toBeLessThan and toBeLessThanOrEqual with tests * expect types * switch expressions