aboutsummaryrefslogtreecommitdiff
path: root/packages (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-13Implement `FormData` (#2051)Gravatar Jarred Sumner 1-3/+85
* Backport std::forward change * Implement `FormData` * Fix io_darwin headers issue * Implement `Blob` support in FormData * Add test for file upload * Fix bug with Blob not reading Content-Type * Finish implementing FormData * Add FormData to types --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-10Add bun-ecosystem for running tests on npm packagesGravatar Ashcon Partovi 7-0/+201
2023-02-07Fix bugs with release scriptGravatar Ashcon Partovi 1-1/+1
2023-02-06Fix gaps in types (#2003)Gravatar Colin McDonnell 10-96/+598
* Add type for clearImmediate * Expose Crypto class * Add types for CustomEvent * Add types for module and exports * Add types for global * Add types for DOMException * Add types for WebAssembly * Update formatting * Fix clearTimeout * Fix formatting * Update formatting * Remove log --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-02-06Add types for node:console and node:perf_hooks (#1982)Gravatar Colin McDonnell 7-151/+1339
* Add types for node:console and node:perf_hooks * Add types for util/types --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-02-03Support passing `Date` to `Bun.sleep`Gravatar Jarred Sumner 1-3/+11
2023-02-03Introduce `await Bun.sleep(ms)`Gravatar Jarred Sumner 1-0/+26
2023-02-03Fix types for `Array.fromAsync`Gravatar Ashcon Partovi 1-1/+1
2023-02-03Fix/Update Typescript types (#1972)Gravatar Gaurish Sethia 2-168/+38
* Add filePath property on MatchedRoute * Fix #1880 #851 * Fix #1972 as well * FMC --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-02-03Attempt to debug annotations 2Gravatar Ashcon Partovi 1-4/+1
2023-02-03Attempt to debug annotationsGravatar Ashcon Partovi 1-0/+7
2023-02-03Fix console output in bun wiptestGravatar Ashcon Partovi 1-4/+3
2023-02-03Use GitHub action SDKGravatar Ashcon Partovi 4-10/+16
2023-02-02Update/fix types (#1955)Gravatar Colin McDonnell 4-28/+33
* WIP * Update types * Spacing --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-02-02Add bun-test to run `bun wiptest`Gravatar Ashcon Partovi 6-0/+112
2023-02-01Add script to calculate semver for releaseGravatar Ashcon Partovi 4-22/+22
2023-02-01Fix getting SHA for canaryGravatar Ashcon Partovi 10-122/+49
2023-02-01Fix missing dependency from release scriptGravatar Ashcon Partovi 2-2/+2
2023-02-01Add bun-release packageGravatar Ashcon Partovi 34-530/+824
2023-02-01Add filePath property on MatchedRoute (#1964)Gravatar Gaurish Sethia 1-0/+1
2023-01-31mostly fix `node:timers`Gravatar Jarred Sumner 1-4/+11
2023-01-31Use proper casing for tsconfig values (#1644)Gravatar Devin Rhode 1-4/+4
See: https://share.cleanshot.com/gcB3gbXJz6RQk5tx559n
2023-01-29[breaking] Add `binaryType` option to Bun.connect & Bun.listenGravatar Jarred Sumner 1-3/+35
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-27Tweak release scriptsGravatar Ashcon Partovi 1-3/+2
2023-01-26Implement all pending resolve methods in DNS (#1903)Gravatar Ciro Spaciari 2-227/+227
* initial steps to create generic resolve * add soa * add naptr * add naptr * add mx and fix naptr * add resolve caa * fix Caa test * fix toJS from caa * add resolveNs * add resolvePtr * fix resolvePtr test * add resolveCname * add resolve rrtype options (still missing ANY) * fix Naptr * fix drainPendingCares
2023-01-25UndoGravatar Jarred Sumner 1-1/+0
2023-01-25Add logGravatar Jarred Sumner 1-0/+1
2023-01-24Add bunx to bin for npm installerGravatar Ashcon Partovi 2-2/+7
2023-01-24Iterate on canary version againGravatar Ashcon Partovi 1-7/+23
2023-01-24npm does not accept '+build' in releases :(Gravatar Ashcon Partovi 1-2/+5
2023-01-24Fix detection of canaryGravatar Ashcon Partovi 2-3/+3
2023-01-24Copy .npmrc to each packageGravatar Ashcon Partovi 3-3/+32
2023-01-24Maybe fix .npmrcGravatar Ashcon Partovi 1-0/+1
2023-01-23Tweak semver for canary againGravatar Ashcon Partovi 1-1/+2
2023-01-23`npm install bun` (#1874)Gravatar Ashcon Partovi 26-0/+942
* Add bun-npm package to publish and install Bun via npm * Add newlines to patchJson * Update version to latest release * Tweak semver for canary * Use GITHUB_TOKEN * Prevent bun from being run in slow mode
2023-01-23enhancement(fetch): Merge parameters from request parameter with the second ↵Gravatar Ciro Spaciari 2-690/+18
parameter for fetch, move verbose and proxy options to second parameter, add non-TLS tests for fetch (#1862) * initial steps for proxy-server * added http_proxy in fetch, move 3rd argument to 3nd argument options, add some non-TLS proxy tests * some changes * use only 1 buffer for url+proxy, merge headers on fetch * initial steps * change back to override headers instead of merging in fetch * fix build response.zig * fix conditional in merged headers on fetch * updated with main and make proxy disabled if null is passed Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-22feat(dns) resolveSrv (#1870)Gravatar Ciro Spaciari 3-13/+449
* initial steps * in-progress resolveSrv support * fix memory leak and ZigGlobalObject * promise.resolve + fix priority and weight mistake * fix node dns export * little better test * add poll_ref to keep alive loop in callback for resolveSrv and lookup * add test for error case in resolveSrc * fix Bun.dns.resolveSrv type
2023-01-21Implement `process.execArgv`Gravatar Jarred Sumner 1-1/+1
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>