Ashcon Partovi
3933ccab3b
Attempt to debug annotations 2
2023-02-03 11:35:24 -08:00
Ashcon Partovi
92255d56c8
Attempt to debug annotations
2023-02-03 11:32:01 -08:00
Ashcon Partovi
ba076b0a2b
Fix console output in bun wiptest
2023-02-03 11:23:55 -08:00
Ashcon Partovi
10600c4abd
Use GitHub action SDK
2023-02-03 11:18:44 -08:00
Colin McDonnell
742368f03a
Update/fix types ( #1955 )
...
* WIP
* Update types
* Spacing
---------
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-02-02 17:29:10 -08:00
Ashcon Partovi
440a21eb1d
Add bun-test to run bun wiptest
2023-02-02 11:57:36 -08:00
Ashcon Partovi
69ee87d8e2
Add script to calculate semver for release
2023-02-01 14:53:57 -08:00
Ashcon Partovi
9c27b5d17f
Fix getting SHA for canary
2023-02-01 10:56:08 -08:00
Ashcon Partovi
9973df028b
Fix missing dependency from release script
2023-02-01 10:44:19 -08:00
Ashcon Partovi
73d6c888b9
Add bun-release package
2023-02-01 10:28:01 -08:00
Gaurish Sethia
661fca9cde
Add filePath property on MatchedRoute ( #1964 )
2023-02-01 05:10:48 -08:00
Jarred Sumner
b09896f06e
mostly fix node:timers
2023-01-31 17:51:36 -08:00
Devin Rhode
79b32f80fa
Use proper casing for tsconfig values ( #1644 )
...
See: https://share.cleanshot.com/gcB3gbXJz6RQk5tx559n
2023-01-31 12:22:50 -08:00
Jarred Sumner
703bee976b
[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.
2023-01-29 22:33:37 -08:00
Ashcon Partovi
309b741aa1
Tweak release scripts
2023-01-27 20:53:09 -08:00
Ciro Spaciari
6d06606135
Implement all pending resolve methods in DNS ( #1903 )
...
* 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-26 18:36:53 -08:00
Jarred Sumner
9cb1ec2c58
Undo
2023-01-25 01:10:15 -08:00
Jarred Sumner
ed2a57fcc9
Add log
2023-01-25 01:09:05 -08:00
Ashcon Partovi
fb1902448e
Add bunx to bin for npm installer
2023-01-24 12:04:35 -08:00
Ashcon Partovi
2edbf4d0ec
Iterate on canary version again
2023-01-24 11:17:08 -08:00
Ashcon Partovi
645b7271f9
npm does not accept '+build' in releases :(
2023-01-24 10:31:04 -08:00
Ashcon Partovi
77c72b3193
Fix detection of canary
2023-01-24 10:06:58 -08:00
Ashcon Partovi
34f97be86a
Copy .npmrc to each package
2023-01-24 09:59:58 -08:00
Ashcon Partovi
2ffe77140e
Maybe fix .npmrc
2023-01-24 09:38:44 -08:00
Ashcon Partovi
cd684fdad0
Tweak semver for canary again
2023-01-23 23:38:38 -08:00
Ashcon Partovi
cab1f860e4
npm install bun (#1874 )
...
* 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-23 23:06:13 -08:00
Ciro Spaciari
efd33c398f
enhancement(fetch): Merge parameters from request parameter with the second 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-23 14:38:40 -08:00
Ciro Spaciari
481dbf7c6e
feat(dns) resolveSrv ( #1870 )
...
* 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-22 14:31:08 -08:00
Jarred Sumner
5ce2b8e604
Implement process.execArgv
2023-01-21 23:52:51 -08:00
Colin McDonnell
bba4054da3
Use canary in CI ( #1823 )
...
* Use canary in CI
* Only publish canary when types change
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-01-17 23:06:26 -08:00
Ashcon Partovi
6fbf437f50
Fix Bun.dns examples to use array instead of single result
2023-01-17 18:12:49 -08:00
Jarred Sumner
9b260fb18b
Allow error instance in process.emitWarning
2023-01-17 17:11:08 -08:00
Colin McDonnell
b931c19ba3
Add types for readline, tls, net ( #1817 )
...
* Add readline, tls, net types
* Remove unimplemented methods
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2023-01-17 16:49:18 -08:00
Jarred Sumner
f927567b9f
bun install tests shouldn't fail due to terminal colors
2023-01-17 16:00:21 -08:00
Jarred Sumner
eef0e8c6bf
Fix incorrect type
2023-01-16 12:56:16 -08:00
Colin McDonnell
b0702ce7b1
Publish bun-types@canary ( #1767 )
...
* 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-16 11:58:57 -08:00
Alex Lam S.L
7fa023b8b5
support installation of NPM workspaces ( #1764 )
2023-01-14 07:14:48 -08:00
Jarred Sumner
734b5b89da
Add closeActiveConnections option to types
2023-01-12 19:38:27 -08:00
Jarred Sumner
126809f20c
Add missing type
2023-01-12 15:08:32 -08:00
Jarred Sumner
7970704222
end callback
2023-01-11 20:21:41 -08:00
Colin McDonnell
4969f068f6
Types update ( #1761 )
...
* 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-11 14:56:41 -08:00
Jarred Sumner
e945be72b4
Add some missing types
2023-01-10 14:36:00 -08:00
Jarred Sumner
c18165b30f
Allow tls: true in Bun.connect
2023-01-10 11:55:42 -08:00
Jarred Sumner
a1b2c23671
[bun:test] Implement test.skip
2023-01-09 08:25:39 -08:00
Jarred Sumner
3c8701362b
Document connectError
2023-01-07 23:47:08 -08:00
Jarred Sumner
87983464d8
Implement DNS module ( #1691 )
...
* 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-07 07:09:48 -08:00
Alex Lam S.L
7f96f72d65
improve .toThrow() compatibility with Jest ( #1728 )
2023-01-05 00:15:04 -08:00
u9g
7550658fab
Fix Bun.serve typings ( #1714 )
2023-01-04 23:54:17 -08:00
Alex Lam S.L
80736043d6
implement expect().toThrow() ( #1727 )
...
- fix bugs in `JSBufferList`
- add tests
2023-01-04 22:37:14 -08:00
Jarred Sumner
c1fd06c56d
Create readme.md
2023-01-03 13:11:44 -08:00