aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-11-02avoid calling toSlice()dylan/encoding-fixGravatar Dylan Conway 1-3/+1
2022-11-02FixupGravatar Jarred Sumner 1-1/+1
2022-11-02Fix memory leakGravatar Jarred Sumner 3-5/+9
2022-11-02Update ffi.exports.jsGravatar Jarred Sumner 1-2/+2
2022-11-02Add way to know if JSCallback is threadsafeGravatar Jarred Sumner 1-3/+8
2022-11-02[bun:ffi] Add `threadsafe` option to callbacksGravatar Jarred Sumner 3-3/+47
2022-11-02Update ffi.zig (#1449)Gravatar Bram Wasti 1-1/+1
2022-11-02Flip the callback orderGravatar Jarred Sumner 1-1/+1
2022-11-02[bun:ffi] Implement `JSCallback` so C can call into JSGravatar Jarred Sumner 5-86/+460
2022-11-02Improve async function handling code in setTimeout and setIntervalGravatar Jarred Sumner 1-19/+70
Should fix
2022-11-01Fix #1410Gravatar Jarred Sumner 1-6/+0
woops
2022-11-01fix createWriteStream (#1433)Gravatar Lawrence Chen 1-9/+35
* fix createWriteStream * remove comment
2022-10-31fix for repeated regex match calls and fix for '^' in character classes (#1419)Gravatar Dylan Conway 2-116/+114
* tests and formatting * fix for ^ in character class * formatting * test for repeated match and exec calls * create oniguruma regex for each exec/test * check errorCode from creating oniguruma regexp and always return {} on failure * oops * call onig_initialize once * fix incorrect escaping, removed unnecessary oniguruma settings * tests for "-" and "^" in character classes * free regex object before returns * force gc for some tests
2022-10-30Updating libuwebsockets C API (#1423)Gravatar Ciro Spaciari 1-1/+1
2022-10-28Remove :scissors: functionGravatar Jarred Sumner 1-1/+0
2022-10-28Support getting cached values and pending activity in the bindings generatorGravatar Jarred Sumner 1-19/+368
2022-10-28spaceGravatar Jarred Sumner 3-3/+260
2022-10-28Upgrade WebKitGravatar Jarred Sumner 10-177/+304
2022-10-27feat(core): optimize zig slice (#1408)Gravatar Carter Snook 8-75/+65
* feat(core): optimize zig slice * address concerns
2022-10-27Add missing `break`Gravatar Jarred Sumner 1-0/+1
2022-10-27Allow overriding node polyfills via `BUN_OVERRIDE_MODULE_PATH`Gravatar Jarred Sumner 4-35/+163
2022-10-27Implement `process.release`Gravatar Jarred Sumner 1-0/+31
2022-10-26Prefer `BUN_PORT` over `PORT`bun-v0.2.2Gravatar Jarred Sumner 1-1/+1
2022-10-26Update server.zigGravatar Jarred Sumner 1-1/+1
2022-10-26Make `"tls"` an explicit object we pass instead of implicit top-level optionsGravatar Jarred Sumner 2-9/+25
cc @Electroid @colinhacks
2022-10-26Fix issue with `CryptoKey` and `SubtleCrypto` constructorsGravatar Jarred Sumner 2-27/+10
2022-10-25Fix crash in TCP serverGravatar Jarred Sumner 1-18/+25
2022-10-25Fix lexer expected token error (#1387)Gravatar zhiyuan 1-0/+4
* fix: lexer expected token error * fix: handle parse error through logs
2022-10-25TCP & TLS Socket API (#1374)Gravatar Jarred Sumner 15-8/+3733
* TCP Socket API * Wip * Add snippet for StringDecoder * Rename `close` to `stop`, replace `close` with `end` * Add a tcp echo server test * Some docs * Update README.md * Fix build * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-10-24oniguruma regex lookbehind and multibyte hex fix (#1363)Gravatar Dylan Conway 1-15/+115
* handle multibyte hex characters * non extended strings used for toString() and source * add hasIndices flags * more tests for lookbehinds, unicode, and hex characters * handled case when hex doesnt have enough digit, more tests * fix adding characters out of bounds * backslash in character class * compile() returns object * escape special characters in oniguruma character class
2022-10-24Maybe fix a crashGravatar Jarred Sumner 1-1/+1
2022-10-24`Bun.peek`Gravatar Jarred Sumner 1-0/+93
2022-10-23Add `fd` to `SystemError` and fix 2 cases with invalid tagged unionGravatar Jarred Sumner 7-9/+42
cc @sno2
2022-10-23fix(web): stop segfault on invalid fd error (#1386)Gravatar Carter Snook 2-1/+15
2022-10-23Fix `ReadableStream.prototype.tee`Gravatar Jarred Sumner 2-1/+13
2022-10-23Add Web Crypto API (#1384)Gravatar Jarred Sumner 236-40/+18571
* Add Web Crypto API * Duplicate symbols * Update c_cpp_properties.json Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-10-23fix(fetch): stop `new Response(null)` from segfaulting (#1383)Gravatar Carter Snook 1-8/+1
* fix(fetch): resolve segfaults with 'Response' * nit: use shorter check
2022-10-22Fix spawn exitcode (#1371)Gravatar zhiyuan 1-1/+8
2022-10-21CodegenGravatar Jarred Sumner 2-16/+25
2022-10-21Treat invalid buffer value as utf8 stringGravatar Jarred Sumner 1-2/+3
2022-10-21Implement `fs.createReadStream`, begin `fs.createWriteStream`Gravatar Jarred Sumner 1-3/+621
2022-10-21Make Node Streams work better in BunGravatar Jarred Sumner 1-140/+214
2022-10-21Fix error handling logic in read()Gravatar Jarred Sumner 1-51/+79
2022-10-21Fix bugs in mask boolean valuesGravatar Jarred Sumner 2-15/+21
2022-10-21Emit errorsGravatar Jarred Sumner 2-2/+37
2022-10-21Fix segfault when logging position object from failed nested importGravatar Jarred Sumner 1-114/+34
2022-10-21Implement `setMaxListeners` and `getMaxListeners`Gravatar Jarred Sumner 1-1/+46
2022-10-21Fix test failureGravatar Jarred Sumner 1-2/+3
2022-10-21Reload node:fs in developmentGravatar Jarred Sumner 1-0/+9
2022-10-21micro-optimizeGravatar Jarred Sumner 1-7/+14