aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-29cant believe i missed this (#3453)Gravatar dave caruso 1-0/+1
2023-06-29Revert "[jest] fix lifecycle hook execution order (#3447)" (#3455)Gravatar Jarred Sumner 1-96/+66
This reverts commit 182e8aa1392af9ba92beccce06f49f8e4593fe5c.
2023-06-28Prevent integer overflowGravatar Jarred Sumner 1-2/+2
2023-06-28Ref the stringsGravatar Jarred Sumner 1-2/+9
2023-06-28Add GC test for errorsGravatar Jarred Sumner 3-4/+8
2023-06-28Use `bun.String` for `ZigException` (#3451)Gravatar Jarred Sumner 10-143/+198
* Use `bun.String` for `ZigException` * woopsie --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-28use main field over module for runtime (#3448)Gravatar Dylan Conway 2-1/+10
* use main field over module for runtime * move flag to `Resolver` * set `prefer_module_field` in `initWithModuleGraph`
2023-06-28export resolve6 from dns/promises (#3450)Gravatar dave caruso 1-0/+2
2023-06-28[jest] fix lifecycle hook execution order (#3447)Gravatar Alex Lam S.L 1-66/+96
2023-06-28bump!Gravatar Jarred Sumner 1-1/+1
2023-06-28Introduce `await Bun.file(path).exists()` (#3446)Gravatar Jarred Sumner 4-0/+64
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-28[node:http] Stub `_implicitHeader` fnGravatar Jarred Sumner 2-0/+10
2023-06-28Error.prototype.stack gets sourcemapped stacktraces and introduce ↵Gravatar Jarred Sumner 3-38/+200
Error.appendStackTrace (#3441) * Fix potential crash when reading sourcemapped stack traces * Format & sourcemap Error.prototype.stack * prevent double sourcemapping * Introduce Error.appendStackTrace * Fix source url * hide private stack traces in non-debug builds * fixes #3443 * Bump WebKit * Fix test failure in vm.test * Support new() & add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-28Fix assertion failure in escapeHTML with UTF-16 text (#3436)Gravatar Jarred Sumner 1-10/+5
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-28Fix .randomInt() export (#3438)Gravatar Silas Rech 2-2/+2
2023-06-28[install] workaround run-time module loading issue (#3432)Gravatar Alex Lam S.L 3-27/+46
2023-06-27don't overwrite `__esModule`Gravatar Dylan Conway 2-79/+83
2023-06-27add `__esModule`Gravatar Dylan Conway 2-117/+119
2023-06-27Fix some checksGravatar Jarred Sumner 1-3/+3
2023-06-27add todo commentGravatar Dylan Conway 1-0/+2
2023-06-27getIfPropertyExists is safer than getDirect (#3391)Gravatar Jarred Sumner 1-16/+17
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-27fix macrosGravatar Dylan Conway 1-1/+1
2023-06-27RegenerateGravatar Jarred Sumner 1-3/+3
2023-06-27Fix `node:util.callbackify` (#3428)Gravatar Ai Hoshino 1-2/+3
* remove the incorrect parameters Close: https://github.com/oven-sh/bun/issues/3424 * fix error code * add callbackify tests * fix function type * ensure `done` is called when error occurred
2023-06-27Update NodeModuleModule.cppGravatar Jarred Sumner 1-2/+5
2023-06-27Update build-idGravatar Jarred Sumner 1-1/+1
2023-06-27minor build diffs (#3427)Gravatar Alex Lam S.L 6-48/+48
2023-06-26Fix default export of `"module"` modulebun-v0.6.10Gravatar Jarred Sumner 1-46/+56
2023-06-26fix #3412 (#3422)Gravatar dave caruso 1-4/+8
2023-06-26webpack test and add empty `prototype` prop to module (#3421)Gravatar Dylan Conway 1-3/+6
2023-06-26Tweak the ramSize setting because /= 1024 is causing CI to fail on arm64 ↵Gravatar Jarred Sumner 1-1/+7
when there's only 8 GB of ram
2023-06-26change the text from "error" to "warn"Gravatar Jarred Sumner 1-5/+7
2023-06-26Update bundle_v2.zig (#3420)Gravatar Dylan Conway 1-1/+1
2023-06-26docs: add troubleshooting section to installation page (#3389)Gravatar Peter Weinberg 1-1/+1
* docs: add troubleshooting section to installation page * Add note for unzip * Update msg in install.sh --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-06-26[bun install] Implement `--exact` flag (#3409)Gravatar Jarred Sumner 7-15/+100
* [bun install] Implement `--exact` flag * Rename to --save-exact * Rename --exact to --save-exact * Update bun-add.test.ts * We're going with --exact as the flag name --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-26Fix .rejectsGravatar Jarred Sumner 1-14/+7
2023-06-26`.randomInt()` support (#3357)Gravatar Silas Rech 5-5/+28
* Add initial .randomInt() fallback * Add basic .randomInt() test * Attempt creating a native implementation * Switch to JSC.wrapWithHasContainer * Switch to .jsNumberFromUint64(), it seems like using just .jsNumber() causes the number to overflow in some cases * Regenerate out folder after rebasing
2023-06-26Runtime support for `__esModule` annotations (#3393)Gravatar Jarred Sumner 6-15/+135
* Runtime support for `__esModule` annotations * Ignore `__esModule` annotation when `"type": "module"` is set --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-26Implement writev & readv (#3419)Gravatar Jarred Sumner 9-12/+546
* [node:fs] Implement `writev` and `readv` * writev & readv tests * cast to const type * woops * cast --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-26[install] support trustedDependencies (#3288)Gravatar Alex Lam S.L 8-258/+269
* [install] support trustedDependencies closes #2073 * use `strings.indexOfChar()` * use hashes instead of strings * utilise `inline else`
2023-06-26implement `_nodeModulePaths` and `require.main.paths` (#3411)Gravatar Dylan Conway 4-11/+131
* tests in progress * add `require.main.paths`, add every dir up to root * remove imports
2023-06-25Fix test failures in import.meta (#3403)Gravatar Jarred Sumner 15-289/+341
* Fix test failures in import.meta * regenerate * Use bound functions for `import.meta.require` and `import.meta.require.resolve` and `Module.createRequire` --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-25Fixes #3334 (#3401)Gravatar Jarred Sumner 1-34/+63
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-25Use bun.String in mkdir (#3404)Gravatar Jarred Sumner 1-13/+19
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-25Update schema.zigGravatar Jarred Sumner 1-1/+1
2023-06-25remove very old stuffGravatar Jarred Sumner 24-10361/+0
2023-06-25Update WebKitGravatar Jarred Sumner 1-0/+0
2023-06-25chore: update lol-html version (#3356)Gravatar Brúnó Salomon 4-3/+14
* chore: update lol-html version * add tests --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-06-25Add support for install with --frozen-lockfile (#3365)Gravatar Tiago Teixeira 10-0/+57
* Add support for install with --frozen-lockfile * Add test * Add test for frozenLockfile in config file
2023-06-25fixupGravatar Jarred Sumner 1-2/+2