aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-12Make Error.captureStackTrace 4x fasterjarred/faster-error-capturestacktraceGravatar Jarred Sumner 5-40/+123
2023-07-11Fix another crash in Error.captureStackTrace (#3611)bun-v0.6.14Gravatar Jarred Sumner 3-20/+22
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-11Fix crash on linux when throwing SystemError from C++Gravatar Jarred SUmner 3-31/+47
2023-07-11Update process.test.jsGravatar Jarred Sumner 1-2/+2
2023-07-11Update ZigGlobalObject.cppGravatar Jarred Sumner 1-1/+1
2023-07-11Implement `process.kill` and `process._kill`Gravatar Jarred Sumner 5-222/+331
2023-07-11Fixes #3595Gravatar Jarred Sumner 1-1/+19
2023-07-11typo (#3610)Gravatar dave caruso 1-1/+1
2023-07-11fix #3597 (#3609)Gravatar Dylan Conway 2-1/+24
* fix #3597 * Update http.ts * initialize to true
2023-07-11Merge branch 'jarred/throw-if'Gravatar Jarred Sumner 2-8/+55
2023-07-11Testsjarred/throw-ifGravatar Jarred Sumner 1-0/+12
2023-07-11Implement throwIfNoEntryGravatar Jarred Sumner 1-8/+43
2023-07-11Add npmrc noteGravatar Colin McDonnell 2-2/+14
2023-07-11Merge branch 'jarred/fix-http-compression'Gravatar Jarred Sumner 3-3/+60
2023-07-11Avoid Object.getPrototypeOfjarred/fix-http-compressionGravatar Jarred Sumner 2-6/+22
2023-07-11process signal events (#3569)Gravatar Dylan Conway 12-92/+352
* signal events * simple tests * ignore SIGSTOP * better tests * use `EventEmitter` * use `Bun__getDefaultGlobal` * progress * don't use 'Bun__getDefaultGlobal` * fix tests * remove signals from map * update tests * don't overwrite event emitter methods * avoid two lookups * use `std::once` * releaseEarly() * Remove signal handler after use * Update call-raise.js * Create process-signal-handler.fixture.js * Don't register duplicates * Add missing lock * another test * update test * revert some changes --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-11fix iterating stack trace (#3600)Gravatar Dylan Conway 3-3/+26
* `i + 1` and remove `defer` * a test * fix test
2023-07-11Fix: console.log with class constructors (#3602)Gravatar dave caruso 5-42/+65
* Fix console.log with class constructors * oops * fix it * lol * fix test
2023-07-11docs(sqlite): database prepare types reflect runtime (#3599)Gravatar simylein 1-0/+1
* docs(sqlite): database prepare types reflect runtime * Update sqlite.d.ts --------- Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
2023-07-11use `Object.getPrototypeOf`Gravatar Hanaasagi 2-6/+3
2023-07-11Merge branch 'main' into fix-httpGravatar Ai Hoshino 10-165/+252
2023-07-11small fix, check if the method has been reassigned.Gravatar Hanaasagi 3-5/+12
2023-07-10fix "readable" event being emitted incorrectly (#3475)Gravatar dave caruso 5-158/+182
* fix "readable" event being emitted incorrectly * fix impl and add test * changes * asdfghj * esm
2023-07-10feat(crypto) add getCurves (#3598)Gravatar Ciro Spaciari 5-7/+70
* add getCurves * add nodefallbacks * update docs * oops
2023-07-10ignore checkGravatar Hanaasagi 1-2/+2
2023-07-10Merge branch 'main' into fix-httpGravatar Ai Hoshino 31-569/+1762
2023-07-10add testsGravatar Hanaasagi 1-0/+33
2023-07-10call `writeHead` before send headersGravatar Hanaasagi 1-1/+5
Close: #3585
2023-07-10Fixes #3588 (#3590)Gravatar Jarred Sumner 2-63/+149
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-10Update globals.d.tsGravatar Jarred Sumner 1-2/+28
2023-07-10trim node:stream a littleGravatar Jarred Sumner 3-16/+38
2023-07-09Fixes #3530 (#3587)Gravatar Jarred Sumner 5-26/+133
* Fixes #3530 * Handle OOM * Add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-09Implement process.memoryUsage() and process.cpuUsage() (#3586)Gravatar Jarred Sumner 7-60/+620
* Implement process.memoryUsage() and process.cpuUsage() * Avoid mi_process_info * Update bench * Update Process.cpp * fixup * More tests + linux fixup * Skip it for now since it seems less accurate --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-09Implement nearly all of `process` object methods and properties (#3581)Gravatar Jarred Sumner 10-450/+812
* Add special case * Make process object load faster * Fix openStdin --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-09fix metadata bits of uuid (`randomUUID()`) (#3583)Gravatar Ai Hoshino 6-11/+41
* fix uuid version Close: https://github.com/oven-sh/bun/issues/3575 * add unittest * small fix * avoid unnecessary copying
2023-07-08Handle case with TS decorators and export default anonymous class (#3578)Gravatar Jarred Sumner 5-2/+38
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-08Implement `process.on("beforeExit", cb)` and `process.on("exit", cb)` (#3576)Gravatar Jarred Sumner 13-78/+402
* Support `process.on('beforeExit')` and `process.on('exit')` * [bun:sqlite] Always call sqlite3_close on exit * Update process.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-08Fix bug with decorators not being generated in `export default class` (#3577)Gravatar Jarred Sumner 3-1/+27
* Fix bug with decorators not being generated in `export default class` * Update decorator-export-default-class-fixture.ts --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-07Add assertionGravatar Jarred Sumner 1-0/+3
2023-07-07Update settings.jsonGravatar Jarred Sumner 1-0/+2
2023-07-07Unmark as TODOGravatar Jarred Sumner 1-2/+0
2023-07-07Use BunString in JSBundlerPlugin (#3557)Gravatar Jarred Sumner 3-41/+67
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-07Update testGravatar Jarred Sumner 1-6/+7
2023-07-07Fix potential coercion issue (#3558)Gravatar Jarred Sumner 1-1/+8
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-07Update installation guide in `development.md` (#3532)Gravatar Artur Androsovych 1-6/+16
* Update installation guide in `development.md` * Updates --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-07-07fix decoding invalid UTF-8 input (#3563)Gravatar Ai Hoshino 2-2/+11
* fix decoding invalid UTF-8 input Close: https://github.com/oven-sh/bun/issues/3562 * add unittest
2023-07-07Update types, partially fix `typecheck` (#3551)Gravatar Colin McDonnell 25-199/+270
* Update types * Remove caret
2023-07-07Add obscure HTTP methods (#3553)Gravatar Jarred Sumner 2-17/+85
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-07[node:fs] `read`, `write` - support large numbers and BigInt (#3556)Gravatar Jarred Sumner 3-27/+80
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-06Remove unnecessary `@setRuntimeSafety(false)`Gravatar Jarred Sumner 1-8/+8