aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
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 7-138/+422
* 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>
2023-09-24Avoid using std.net.Address.parse (#5950)Gravatar Jarred Sumner 2-19/+19
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-24Fixes #5985 (#5986)Gravatar Jarred Sumner 3-5/+9
* Fixes #5985 * Update confirm-fixture.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-23fix(lockfile): ensure all bytes of union are initialized before ↵Gravatar Ai Hoshino 1-18/+23
serialization. (#5957)
2023-09-22Bump!Gravatar Jarred Sumner 1-1/+1
2023-09-22Make this function inlineGravatar Jarred Sumner 1-1/+1
2023-09-22isBinary (#5944)Gravatar Dylan Conway 2-4/+6
2023-09-22[install] fix GitHub dependency bugs (#5941)Gravatar Dylan Conway 2-10/+21
* handle branches with slashes * handle empty repo string
2023-09-22Remove bun dev stuff from create_command (#5939)Gravatar Colin McDonnell 1-329/+330
2023-09-22fix(runtime): exclude unevaluated module in `require.cache` (#5903)Gravatar Ai Hoshino 2-3/+3
Close: #5898
2023-09-21Implement module.parent (#5889)bun-v1.0.3Gravatar dave caruso 14-6645/+6696
* Make module.parent work * yay * oops * yay
2023-09-21fix #5865 (#5890)Gravatar Dylan Conway 1-1/+1
* make sure types are the same * tests
2023-09-21disable child_process execArgv + fix crash in cli parsing (#5843)Gravatar dave caruso 4-17/+17
* stuff * stuff --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-21Hide env elapsed time when loglevel=info (#5882)Gravatar Colin McDonnell 2-6/+7
* Hide env elapsed time when loglevel=info * Updates * Update * Fix test
2023-09-21ref and deinit (#5883)Gravatar Dylan Conway 2-2/+33
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-09-21Don't use arena in node:fs (#5863)Gravatar Jarred Sumner 3-8/+8
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-21fix: correctly pass the encrypted(bool) property on "Socket" for express.js ↵Gravatar Liz 5-3708/+3708
(#5878) * fix: correctly pass the encrypted property on "Socket" for express.js Express relies on this for setting the requests protocol. Since this is on a dummy object, a property is simply set with the actual value. Which seams okay as a workaround. * chore: add generated files * chore: add test * refactor: set property directly rather then through a getter
2023-09-21fix(node:fs): use the right copyFile constants (#5874)Gravatar dave caruso 1-4/+3
2023-09-21Update completions listGravatar Colin McDonnell 1-0/+2
2023-09-21decorator metadata defaults and rest argsGravatar Dylan Conway 1-9/+20
2023-09-21Fix test failures (#5862)Gravatar Jarred Sumner 3-16/+21
* Fix test failures * Fixes #5851 --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-21On Linux, respect memory limit from cgroups (#5849)Gravatar Jarred Sumner 3-56/+69
* Implement `process.constrainedMemory()` * Add a comment * Handle max * Missing header * We can use WTF::ramSize now * Update WebKit * Update ZigGlobalObject.cpp * WebKit * :scissors: --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-21Revert "feat(encoding): support BOM detection (#5550)"Gravatar Jarred Sumner 4-47/+7
This reverts commit 5f66b4e729105286863a13955b1ed8897b45210e. This caused test failures in text-encoder. cc @WingLim
2023-09-21Fixes #5859jarred/5859Gravatar Jarred Sumner 1-6/+13
2023-09-21Regenerate builtinsGravatar Jarred Sumner 3-5009/+5009
2023-09-20fix: add check to sqlite extension loading logic (#5773)Gravatar Liz 2-0/+9
The sqlite3 logic to dynamically load extensions can be disabled to save space, which macos does by default. sqlite3 provides a api to check for these compile time settings at runtime, we can use that to throw a js error rather then crashing. It is worth noting though that the api to check for these settings at runtime itself can be disabled through SQLITE_OMIT_COMPILEOPTION_DIAGS but this seams to be a edge case.
2023-09-20fix(console.log): change default depth from 8 to 2 (#5839)Gravatar Jibran Kalia 1-1/+1
This make it as the same default depth in Node. Source: https://github.com/nodejs/node/blob/480ab8c3a40451d5ea459dd35b4039679b26e195/doc/api/console.md?plain=1#L285
2023-09-20In http client, use .toOwnedSlice() instead of potentially re-using the ↵Gravatar Jarred Sumner 1-4/+7
WTFString here
2023-09-20fix(fetch): fix redirect in relative path location. (#5781)Gravatar Ai Hoshino 1-14/+12
* fix(fetch): fix redirect in relative path location. * fix utf-8 encoding * use server.reload * check buf size * add RedirectURLTooLong test
2023-09-20fix(run): interpret extensionless files as typescript (#5711)Gravatar dave caruso 5-17/+27
* test * gadsgsagdsa * add better err msg * r * oops * ok
2023-09-20fix(ffi) fix size limit for dlopen (#5516)Gravatar Ciro Spaciari 7-5016/+5020
* fix size limit * 63 * throw error * ffi.test.js * add macos tests * oops
2023-09-20feat(encoding): support BOM detection (#5550)Gravatar WingLim 4-7/+47
* fix(encoding): export `getIgnoreBOM` * feat(encoding): support ignoreBOM * fix(encoding): not replace BOM to 0xFFFD * chore: use strict equal
2023-09-20feat(node:dns): implement `dns.lookupService` (#5613)Gravatar Ai Hoshino 5-9/+426
* feat(node:dns): implement dns.lookupService Close: #4347 * fix flags * add `getSockaddr` * fix sockaddr size * flaky test
2023-09-20implement `Module.prototype._compile` (#5840)Gravatar dave caruso 3-2/+61
2023-09-20feat(runtime): implement `console._stdout` (#5842)Gravatar dave caruso 1-1/+35
* implement console._stdout * nonenum
2023-09-20[bun install] Add `-E` as alias of `--exact` (#5104)Gravatar Jonah Snider 1-2/+2
* [bun install] Add `-E` as alias of `--exact` * Add test for -E flag
2023-09-20feat: switch disableTelemetry to bunfig (#5690)Gravatar Lucas Coratger 1-0/+5
* feat: switch disableTelemetry to bunfig * feat: zig fmt * revert: the env variable and invert the logic of telemetry --------- Co-authored-by: MrPalixir <73360179+MrPalixir@users.noreply.github.com>
2023-09-20Treat `undefined` value as empty in expect.toThrow (#5788)Gravatar LongYinan 1-3/+3
Fix: https://github.com/napi-rs/napi-rs/blob/main/examples/napi/__tests__/test.framework.js#L16-L19
2023-09-20add `emitDecoratorMetadata` (#5777)Gravatar Dylan Conway 14-110/+882
* some progess * needs more tests * make tests easier to debug * get metadata for constructor arg decorators * fix some things * merge `emitDecoratorMetadata` option * remove `^` * bundler tests and get option from tsconfig earlier * remove spaces * fix tests
2023-09-20Call `Error.prepareStackTrace` on `new Error().stack` (#5802)Gravatar Jarred Sumner 4-144/+217
* Always call `Error.prepareStackTrace` * Support node:vm * Remove this * Handle more cases --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-20Fix path used in bunx (#5785)Gravatar Jarred Sumner 1-26/+31
* Fix path used in bunx * Add test * Use a different package --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-20Fix RedirectURLTooLong errors (#5786)Gravatar ggobbe 1-1/+1
The URL to download the manifest for Artifact Registry in Google is larger than 4092 bytes. cf. issue #4748
2023-09-19Show when a newer version is available in the install screen (#5780)Gravatar Jarred Sumner 3-14/+95
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-19Fixes #5769 (#5775)Gravatar Jarred Sumner 2-4/+33
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-19fix(cli): `bun pm cache rm` command not work (#4571)Gravatar WingLim 1-1/+1
* fix(cli): rm arg is in positionals[1] * chore(cli): add cache remove test * chore: remvoe unnecessary join * chore: run formatter --------- Co-authored-by: dave caruso <me@paperdave.net>
2023-09-19Get artifactory to work (#5744)Gravatar Jarred Sumner 3-49/+112
* Get artifactory to work * Cleanup url normalization a ltitle more * Clean up tests * prettier --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-19Align fetch() redirect behavior with spec (#5729)Gravatar Jarred Sumner 1-20/+41
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-19Fixes #3712 (#5730)Gravatar Jarred Sumner 2-5/+9
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-19Make bun install --verbose more verbose (#5726)Gravatar Jarred Sumner 2-4/+11
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>