Files
bun.sh/src/bun.js/bindings
Jarred Sumner a119e8d636 fs.readFile & fs.writeFile encoding + simplify string handling + fix memory leak (#7797)
* Simplify string handling code

* add extra + external

* Update fs.test.ts

* Bump

* woopsie

* prettier

* Rename stats() to resourceUsage()

* Fix leak

* Fix more leaks

* Setup malloc heap breakdown

* Thread safety

* Fix bug when creating buffer from utf-16 string

cc @dylan-conway

* Use global allocator

* More new

* Update fs.test.ts

* Update setTimeout.test.js

* Fix UAF in HTMLRewriter

* More bun.new

* Remove logs

* Un-skip test which no longer is flaky

* Even more `bun.new`

* Fix memory leak in HTMLRewriter.

Fixes #2325

* Don't accept Buffer for now

* Fix issue with node-fetch polyfill

* Don't destruct the response value too soon

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-12-24 06:10:46 -08:00
..
2023-12-16 23:47:57 -08:00
2023-12-21 15:55:58 -08:00
2023-08-21 01:30:45 -07:00
2023-11-13 22:10:09 -08:00
2023-09-25 23:27:55 -07:00
2023-11-13 22:10:09 -08:00
2023-11-13 22:10:09 -08:00
2023-08-16 19:40:20 -07:00
2023-11-15 18:15:10 -08:00
2023-12-18 20:54:04 -08:00
2023-12-20 19:09:53 -08:00
2023-11-13 22:10:09 -08:00
2023-10-30 23:05:32 -07:00
2023-08-21 01:29:06 -07:00
2023-09-07 07:45:00 -07:00
2023-09-07 07:45:00 -07:00
2023-10-07 15:22:45 -07:00
2023-12-18 20:54:04 -08:00
2023-12-21 15:55:58 -08:00
2023-12-21 15:55:58 -08:00
2023-11-13 22:10:09 -08:00
2023-12-18 20:54:04 -08:00
2023-11-13 22:10:09 -08:00
2023-08-16 19:40:20 -07:00
2023-12-18 00:03:45 -08:00
2023-12-21 15:55:58 -08:00
2023-12-21 15:55:58 -08:00