Ashcon Partovi
c3f5baa091
Fix toHaveBeenCalled having wrong error signature
...
Fixes #6527
2023-10-16 15:14:15 -07:00
Ashcon Partovi
800ad150ff
Fix formatting
2023-10-16 15:14:15 -07:00
Ashcon Partovi
5608e59270
Add reusePort to Bun.serve types
2023-10-16 15:14:15 -07:00
Ashcon Partovi
e31ed84b1b
Fix request.url having incorrect port
...
Fixes #6443
2023-10-16 15:14:15 -07:00
Ashcon Partovi
548b1d02f2
Remove uWebSockets header from Bun.serve responses
2023-10-16 15:14:15 -07:00
Ashcon Partovi
f63955a01f
Rename some tests
2023-10-16 15:14:15 -07:00
Ashcon Partovi
2996ef7156
Fix #6467
2023-10-16 15:14:15 -07:00
Dylan Conway
2b1f3438e6
Update InternalModuleRegistryConstants.h
2023-10-16 14:21:39 -07:00
Colin McDonnell
2a8f3a3b4e
Development -> Contributing ( #6538 )
...
Co-authored-by: Colin McDonnell <colin@KennyM1.local >
2023-10-16 16:11:03 -04:00
Ciro Spaciari
a87aa2fafe
fix(net/tls) fix pg hang on end + hanging on query ( #6487 )
...
* fix pg hang on end + hanging on query
* remove dummy function
* fix node-stream
* add test
* fix test
* return error in test
* fix test use once instead of on
* fix OOM
* generated
* 💅
* 💅
2023-10-14 16:16:49 -07:00
Dylan Conway
9b5e66453b
fix installing dependencies that match workspace versions ( #6494 )
...
* check if dependency matches workspace version
* test
* Update lockfile.zig
* set resolution to workspace package id
2023-10-13 20:37:48 -07:00
Dylan Conway
46f978838d
fix lockfile struct padding ( #6495 )
...
* integrity padding
* error message for bytes at end of struct
2023-10-13 20:37:06 -07:00
Nicolae-Rares Ailincai
21576589c6
Guide to containerize a bun application using Docker ( #6478 )
...
* docker.md
* use-debian
* Updates
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-13 18:03:32 -07:00
Jarred Sumner
d7062eb367
[node:dns] Fix unnecessary array creation + prettier
2023-10-13 17:57:43 -07:00
João Alisson
851dc9aadc
fix(node): dns lookup deprecated behavior ( #6391 )
...
Co-authored-by: alisson <alisson@Ubuntu.myguest.virtualbox.org >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-10-13 17:52:57 -07:00
Ai Hoshino
d08e112d41
fix(error): correct the path field in syscall error message. ( #6370 )
...
* fix(error): correct the `path` field in syscall error message.
Close : #6336
* fix pathlike union case
2023-10-13 17:51:36 -07:00
Ashcon Partovi
77d7e47019
Fix dns.lookup returning wrong address for family ( #6474 )
...
* Fix #6452
* Fix formatting
2023-10-13 17:47:05 -07:00
Dylan Conway
1bad64bc5e
Update settings.json
2023-10-13 16:29:06 -07:00
Nicolae-Rares Ailincai
0794767291
Adds systemd guide to run a bun application as a daemon ( #6451 )
...
* systemd-guide
* remove-root-from-example
* add-more-description
* Updates
* Updates
* Updates
* Update
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-13 11:14:57 -07:00
Clay Curry
d7c8a58453
fix obvious typo in CONTRIBUTING.md ( #6479 )
...
Co-authored-by: Clay Curry <me@claycurry.com >
2023-10-13 09:33:44 -07:00
Colin McDonnell
4fab8fee21
Update descriptions
2023-10-12 23:19:53 -07:00
Colin McDonnell
3f2df4526e
Fix links
2023-10-12 23:17:51 -07:00
Colin McDonnell
d6d4ead438
Tweaks to pm docs
2023-10-12 23:08:52 -07:00
Colin McDonnell
4e67862753
Add overrides/resolutions docs ( #6476 )
2023-10-12 23:05:20 -07:00
dave caruso
584e6dd1c2
Upgrade zig to 0.12.0-dev.888+130227491 ( #6471 )
...
* update build.zig
* save
* works?
* better workaround
* fix install
* Fix compiler crash
2023-10-12 19:38:33 -07:00
Dylan Conway
4bb753295d
use a different package
2023-10-12 19:35:00 -07:00
Dylan Conway
892593c73b
fix install test
2023-10-12 15:17:03 -07:00
Dylan Conway
691cf338c2
fix editing package json when adding github dependency ( #6432 )
...
* fix package name added to package json
* check for github tag
* remove alloc
* some tests
* fix test
2023-10-12 15:02:05 -07:00
Colin McDonnell
beb746e5ea
Update installation.md
2023-10-12 14:12:53 -07:00
Colin McDonnell
89faee2522
Update installation.md
2023-10-12 13:43:45 -07:00
dave caruso
969da088f5
fix(install): re-evaluate overrides when removed
bun-v1.0.6
2023-10-12 02:03:02 -07:00
Luna
c50be68790
chore: add missing ending quote ( #6436 )
2023-10-12 01:00:27 -07:00
dave caruso
2fbb95142a
feat(install): support npm overrides/yarn resolutions, one level deep only ( #6435 )
...
* disable zig fmt on generated ResolvedSourceTag.zig
* overrides
* it works
* ok
* a
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-10-12 00:44:15 -07:00
Dylan Conway
755e16d962
fix #6416 ( #6430 )
...
* make sure latest is checked after prerelease
* test and fix
* test for when latest matches prerelease
2023-10-11 20:41:12 -07:00
Jarred Sumner
b1063edf3e
Bump WebKit
2023-10-11 20:04:15 -07:00
Jarred Sumner
edb4cbac2b
Bump!
2023-10-11 19:05:52 -07:00
Dylan Conway
a59a69e21b
Update JSCUSocketsLoopIntegration.cpp
2023-10-11 15:26:55 -07:00
Colin McDonnell
4c9e009971
Update installation.md
2023-10-11 14:31:39 -07:00
h2210316651
4531cf18c2
Docs : Added instructions to run bun apps in daemon (PM2) to address … ( #5931 )
...
* Docs : Added instructions to run bun apps in daemon (PM2) to address issue #4734
Added instructions to set bun as pm2 interpreter to extend same functionality as node.js apps.
* Add pm2 guide
* Add pm2 file
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-11 14:22:43 -07:00
Ashcon Partovi
31bda68f24
Update bun-release.yml
2023-10-11 12:05:16 -07:00
dave caruso
1bf28e0d77
feat(install): automatically migrate package-lock.json to bun.lockb ( #6352 )
...
* work so far
* stuff
* a
* basics work
* stuff
* yoo
* build lockfile
* correct
* f
* a
* install fixture havent tested
* i made it worse
* lol
* be more reasonable
* make the test easier to pass because bun install doesn't handle obscure lockfile edge cases :/
* a
* works now
* ok
* a
* a
* cool
* nah
* fix stuff
* l
* a
* idfk
* LAME
* prettier errors
* does this fix tests?
* Add more safety checks to Integrity
* Add another check
* More careful lifetime handling
* Fix linux debugger issue
* a
* tmp dir and snapshot test
---------
Co-authored-by: Jarred SUmner <jarred@jarredsumner.com >
bun-v1.0.5
2023-10-11 02:27:07 -07:00
Jarred Sumner
6a17ebe669
Update nodejs-apis.md
2023-10-11 01:59:56 -07:00
Arden Sinclair
39446ebdb8
Fix lifecycle scripts not running on reinstallation ( #6376 )
...
* Include trusted dependencies in lockfile
* Add a remote dependency to lifecycle script test
2023-10-10 21:13:42 -07:00
Elad Bezalel
c2c3b0d4a9
feat(test): implement toEqualIgnoringWhitespace ( #6293 )
...
* feat(test): implement `toEqualIgnoringWhitespace`
* equality check in matcher & incorrect arg error
2023-10-10 20:27:19 -07:00
saurabh
9a90d90966
fix: form data content type ( #6380 )
...
* fix: form data content type
* fix: condition if no extension for file
2023-10-10 20:08:32 -07:00
Dylan Conway
05781dd91e
make peer dependencies install by default ( #6396 )
...
* peer dependencies
* default true
* add test
* cleanup
* some tests
* skip peer deps if they are non optional
* remove debug print, fix build
* iterate peer dependencies
2023-10-10 20:05:58 -07:00
Aaron Dewes
a6a474a83f
Add File to binary data TOC ( #6025 )
2023-10-10 16:47:35 -07:00
cyfung1031
44dd744f0a
docs: rearranged cli/runtime related sections ( #6275 )
...
* docs: rearranged cli/runtime related sections
* docs: update README.md for the updated docs path
* Updates
* Rearrange
* Rearrange
* Add files
* readme
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-10-10 16:34:35 -07:00
Ashcon Partovi
df4ec8aaad
Update inspector-protocol
2023-10-10 16:14:46 -07:00
Ashcon Partovi
0348b169d6
Update debug-adapter-protocol
2023-10-10 16:14:46 -07:00