aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/builtins/js/JSBufferConstructor.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-22Write out builtins with TypeScript + Minify them (#2999)Gravatar dave caruso 1-97/+0
* start work drafting how builtins will work * work on ts builtin * builtins stuff so far * builtins * done for today * continue work * working on it * bindings so far * well, it builds. doesnt run * IT RUNS * still lots of ts errors but it is functional * sloppy mode
2023-04-25Implement `onResolve` plugins in `Bun.build()`, support multiple onLoad and ↵Gravatar Jarred Sumner 1-1/+1
onResolve plugins (#2739) * its 2023 * WIP `onResolve` plugins * more progress * it compiles * Lots of small fixes * Seems to work excluding entry points * Update BundlerPluginBuiltins.cpp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-27`Buffer.from` doesn't need to be the Buffer constructorGravatar Jarred Sumner 1-10/+7
2023-01-21Refactor `new Buffer` to pass Node.js testsGravatar Jarred Sumner 1-6/+2
2023-01-21[buffer] Add faster path for Uint8ArrayGravatar Jarred Sumner 1-0/+6
2023-01-21[buffer] Make Buffer.from pass more testsGravatar Jarred Sumner 1-37/+59
2023-01-0410x faster `new Buffer` (#1717)Gravatar Jarred Sumner 1-1/+9
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-09-11Fix bug with `Buffer.from([123], "utf8")`Gravatar Jarred Sumner 1-1/+4
cc @worm-emoji
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+65