mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
1.7 KiB
1.7 KiB
What does this PR do?
Please include a description of the changes
- Documentation or TypeScript types (it's okay to leave the rest blank in this case)
- Code changes
How did you verify your code works?
Checklist
Please delete the sections which are not relevant, including this line. If there were no code changes, feel free to delete or ignore this section entirely
If JavaScript/TypeScript modules or builtins changed:
- I ran
make jsand committed the transpiled changes - I or my editor ran Prettier on the changed files (or I ran
bun fmt) - I included a test for the new code, or an existing test covers it
If Zig files changed:
- I checked the lifetime of memory allocated to verify it's (1) freed and (2) only freed when it should be
- I or my editor ran
zig fmton the changed files - I included a test for the new code, or an existing test covers it
- JSValue used outside outside of the stack is either wrapped in a JSC.Strong or is JSValueProtect'ed
If dependencies in tests changed:
- I made sure that specific versions of dependencies are used instead of ranged or tagged versions
If functions were added to exports.zig or bindings.zig
- I ran
make headersto regenerate the C header file
If *.classes.ts files were added or changed:
- I ran
make codegento regenerate the C++ and Zig code
If a new builtin ESM/CJS module was added:
- I updated Aliases in
module_loader.zigto include the new module - I added a test that imports the module
- I added a test that require() the module