aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/module_loader.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-11-30Redirect imports to `"readable-stream"` -> `"node:stream"`Gravatar Jarred Sumner 1-1/+4
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-28/+28
2022-11-28Allow overriding node:fsGravatar Jarred Sumner 1-0/+9
2022-11-22Introduce `Bun.FileSystemRouter` APIGravatar Jarred Sumner 1-1/+1
2022-11-18bun test matchers and tests (#1526)Gravatar Dylan Conway 1-0/+1
* ignore webkit for cherry-pick * toContain and toBeTruthy * toBe null, undefined, falsy, toHaveProperty, .not * markBindings * remove toHaveProperty, undo ignore webkit, more tests * undo ignore webkit * remove bad tests * check if length property exists for toHaveLength() * fix call signature * handle argument that is not an integer * getLengthOfArray returns u64 * switch to truncate * toHaveLength() edge cases * add toBooleanSlow() * infinity, nan, negative
2022-11-11Replace `libbacktrace` with `WTFGetBacktrace`Gravatar Jarred Sumner 1-0/+1
2022-11-09Add another logGravatar Jarred Sumner 1-1/+3
2022-11-07clean up some reliability issues with automatic installGravatar Jarred Sumner 1-7/+31
2022-11-06Automatically install npm packages when running a script in Bun's runtime ↵Gravatar Jarred Sumner 1-0/+2052
(#1459) * Update bundler.zig * WIP * Update README.md * Update README.md * wip * Support running scripts without package.json * Add `--no-auto-install` and `--prefer-offline` flags * WIP * wip * Update headers-handwritten.h * WIP * Build fixes * Fix UAF * Update install.zig * Must call .allocate() * Micro-optimization: only call .timestamp() once per tick when installing packages * Support progress bar * Extend the timestamp for package staleness checks to 1 day * Add `--prefer-latest`, `-i` CLI Flags * Fix crash * Support line text manually being set on an Error instance * Add a few more fields for error messages * Fix bug when counting 8 character strings in string builder * Implement error handling for automatic package installs! * Fix crash * Make it say module when there's a slash * Update module_loader.zig * Ban dependency versions in import specifiers when a package.json is present * Remove unused field * Update README.md * Update README.md * Update README.md * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>