aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-09-28Update prisma guideGravatar Colin McDonnell 2-9/+32
2023-09-28Get Next.js Pages Router to work (#6095)Gravatar dave caruso 61-393/+1283
* hell * make it so bun-debug-src * teag * wild * yippee * fas * fix async hooks assertions * yap * yeah that's wild * aa * a * increase time allowed * so trivial
2023-09-27Complete rework of the majority of `node:util`, primarily `util.inspect` (#4493)Gravatar jhmaster 23-612/+7863
* 1st revision of new util.inspect impl. (not done) * fix util.types.isArrayBuffer * fix some utl tests and bugs * fix node:tty missing primordials * fix utl stackoverflow handling & some tests * narrow down diff. context test * util.inspect indirect circulars optimization * temp workaround for buggy is...Function checks * impl. Map/Set/Iterator entries inspection * fix bigint & symbol objects inspection * error inspection fixes * misc util tests stuff * inline getExternalValue stub * leftovers * util.inspect promise internals * run bun fmt * commit make js changes * cut out unnecessary utl files * reorganize utl folder structure * remove browserify buffer check * Try to revert git messing up uws somehow This reverts commit 2c27e16e7d361657b9c3a7dc7892117cf31e15ee. * commit src/js/out files again * redo this edit too * refresh js/out files * Removed uws submodule * tidy up * unused primordials * run fmt --------- Co-authored-by: dave caruso <me@paperdave.net>
2023-09-27fix typescript metadata for import identifiers (#6130)Gravatar Dylan Conway 2-6/+58
* handle import identifiers * a test * handle dot case
2023-09-27update snapshotsGravatar Dylan Conway 1-3/+3
2023-09-27`deadCodeElimination` toggle for Bun.Transpiler (#5932)Gravatar jhmaster 7-46/+107
* add Bun.Transpiler DCE option * mark DCE toggle experimental + tests * full (hopefully) DCE toggle * update DCE toggle tests * add DCE option to types * run fmt * Removed uws submodule
2023-09-27real fix was #5679 (#6123)Gravatar Dylan Conway 1-2/+2
2023-09-27fix(bun install): Handle vercel and github tarball path dependencies (#6122)Gravatar Justin "J.R." Hill 2-1/+80
* fix(bun install): Handle vercel and github tarball path dependencies * test(bun install): test tarball path with when * Simplify github tarball detection --------- Co-authored-by: bun <noreply@oven.sh>
2023-09-27Update run.md (#6099)Gravatar Daniel Amemba 1-1/+1
Changed the verb form from ignores to ignored.
2023-09-27Update developer arch install steps for llvm and clang (#6120)Gravatar Justin "J.R." Hill 1-2/+1
`llvm` and `clang` are both at v16 `llvm16` and `clang16` are AUR packages https://aur.archlinux.org/packages/llvm16 https://aur.archlinux.org/packages/clang16 and need extra steps to setup
2023-09-27fix: implement correct behaviour for urls with blob: scheme (#5825)Gravatar Liz 2-3/+12
* fix: implement correct behaviour for urls with blob: scheme Urls using the blob scheme can have special behaviour if their origin itself is a url. This fixes that by parsing the subdomain and if valid and the schemes(protocols) are valid returns its origin. Ive used node.js here a lot to make sure its behaviour is copied 1:1 and enabled the automated tests for it. Fixes https://github.com/oven-sh/bun/issues/5805 * fix: subUrl can be const, we are not modifying it * style: add spaces after `if` keyword
2023-09-27fix: Docker - Apply workaround with `RUN` to symlink `bunx` (#6100)Gravatar Brennan Kinney 1-6/+8
Using `RUN --mount`, we can run the command with the build stage files overlayed for the `ln` and `which` commands. `/bin` is a symlink to `/usr/bin`, both seem required to work correctly.
2023-09-27fix(node:fs): fix `fs.exists` callback parameters (#6097)Gravatar Ai Hoshino 3-7/+61
Close: #6073
2023-09-26Update bun-install.test.tsGravatar Dylan Conway 1-263/+327
2023-09-26fix workspace dependency install (#6092)Gravatar Dylan Conway 2-3/+411
* handle `*` * test * always use the package name * more tests * install dependency in each
2023-09-26Remove one of the tagsGravatar Ashcon Partovi 1-1/+0
2023-09-26Fix docker tagsGravatar Ashcon Partovi 1-6/+8
2023-09-26Fix plain tag not releasingGravatar Ashcon Partovi 1-0/+1
2023-09-26fix: support console.dir options object correctly (#6059)Gravatar Liz 3-8/+50
* fix: support console,dir options object correctly `console.dir` can be passed a second argument which is a object of options. This implements that logic with the currently supported properties: `depth` and `colors`. I used node as a reference for implementation details. Fixes: https://github.com/oven-sh/bun/issues/6039 * style: format zig file * fix: implement changes from review Implements changes requested from review, like adding more test cases and refactoring code style.
2023-09-26fix server end of stream, fix fetch not streaming without content-length or ↵Gravatar Ciro Spaciari 6-32/+131
chunked encoding, fix case when stream do not return a promise on pull (#6086)
2023-09-26Add Docker section to docsGravatar Ashcon Partovi 1-0/+18
2023-09-26Fix latest tagGravatar Ashcon Partovi 1-1/+1
2023-09-26Add is-latest flag to manual releaseGravatar Ashcon Partovi 1-1/+5
2023-09-26Use `ln -s` instead of `ln` due to image sizeGravatar Ashcon Partovi 5-5/+5
2023-09-26Fix homebrewGravatar Ashcon Partovi 1-3/+3
2023-09-26Better bun-release workflowGravatar Ashcon Partovi 4-294/+88
2023-09-26Fix alpine image for arm64Gravatar Ashcon Partovi 2-9/+9
2023-09-26Fix docker release tagGravatar Ashcon Partovi 2-6/+19
2023-09-26Fix debian-slim docker workflowGravatar Ashcon Partovi 4-0/+2
2023-09-26Fix github workflow permissionsGravatar Ashcon Partovi 2-4/+20
2023-09-26fix: Docker - Include `bunx` symlink in distroless variant (#6090)Gravatar Brennan Kinney 1-6/+6
2023-09-26Remove latest tag from canary Docker workflowGravatar Ashcon Partovi 1-1/+0
2023-09-26Improve Docker images (#5771)Gravatar Ashcon Partovi 9-196/+175
* Improve Docker images * Add alpine and distroless images * Update docker workflow
2023-09-26Update astro.md to v3 (#6070)Gravatar Alba Silvente Fuentes 1-9/+5
2023-09-26docs: fixed small error (#6077)Gravatar 0xflotus 1-1/+1
2023-09-25no this value (#6063)Gravatar Dylan Conway 2-1/+16
2023-09-25Better typings for test.each()Gravatar Colin McDonnell 2-6/+38
2023-09-25Drain microtasks at end of abort() if called into JS (#6036)Gravatar Jarred Sumner 1-5/+14
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-25Add Module._extensions (#5998)Gravatar Jarred Sumner 2-2/+14
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-25Make error message for `new URL(invalid)` better (#6032)Gravatar Jarred Sumner 2-5/+28
* Make error message for `new URL(invalid)` better Thanks to @karlcow https://github.com/WebKit/WebKit/pull/13802 * redact --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-25Update docsGravatar Colin McDonnell 2-4/+19
2023-09-25Add fs.statfs{Sync} to missing fs apis (#6030)Gravatar Vlad 1-1/+1
2023-09-25Fix create command with template prefixed with @ char #6007 (#6013)Gravatar axel escalada 2-1/+33
* fix create command with template prefixed with @ char * add typescript test for create command * format test
2023-09-25fix c-string sentinel (#6026)Gravatar Ai Hoshino 1-2/+2
2023-09-25Add microbenchmark for symbol-based private variablesGravatar Jarred Sumner 1-0/+20
2023-09-25Update nodejs-apis.mdGravatar Jarred Sumner 1-4/+4
2023-09-24ClarifyGravatar Jarred Sumner 1-1/+1
2023-09-24Add buggy noteGravatar Jarred Sumner 1-0/+6
2023-09-24Do not use removefileat() (#6001)Gravatar Jarred Sumner 2-114/+9
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-24Correctly fix #5888 (#6000)Gravatar Jarred Sumner 12-140/+430
* Update our MultiArrayList * More consistent CI * Fix serialization issue * Update bun.lockb * Update bun.lockb * fixup * Fix `Bin{}` * `bun update` should not cache the manifest * Make bun install tests more consistent * This differs by platform evidently --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>