Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-23 | When bundling JSON, only use JSON.parse when the input is ASCII. | 3 | -15/+63 | ||
We don't want to add an extra pass over the input to convert it to UTF16. And JS engines storing strings as UTF-16 is more expensive anyway, so the runtime win here probably isn't as big (though open to evidence to the contrary!) | |||||
2021-09-23 | Add __exportValue and __exportDefault to runtime | 5 | -4/+51 | ||
2021-09-23 | When bundling, parse the JSON to verify correctness, but print it as a ↵ | 1 | -2/+24 | ||
string for better runtime performance | |||||
2021-09-23 | Safer export default transform for bundled code | 2 | -3/+52 | ||
2021-09-23 | Fix crash when loading JS fails really quickly | 1 | -1/+1 | ||
2021-09-23 | Globally define require() so that UMD modules which check for the existence ↵ | 1 | -0/+1 | ||
of require() to determine if it's CommonJS use the CommonJS code path instead of the globalThis code path | |||||
2021-09-23 | Embed regeneratorRuntime so that things which expect it to be a global still ↵ | 3 | -0/+767 | ||
work | |||||
2021-09-23 | Fix bug when multiple-levels of nested exports when bundled have a boolean ↵ | 2 | -9/+17 | ||
.default value | |||||
2021-09-23 | Support `alwaysBundle` for workspace packages | 1 | -17/+180 | ||
2021-09-23 | Add a pointer to the parent package_json for a directory. This reduces ↵ | 2 | -23/+34 | ||
pointer chasing | |||||
2021-09-23 | Fix another simplification bug | 1 | -23/+20 | ||
2021-09-23 | Fix a simplification bug | 1 | -1/+1 | ||
2021-09-23 | Use the package_json hash for matching bundled modules instead of searching ↵ | 1 | -76/+41 | ||
strings (should improve perf a little) | |||||
2021-09-23 | Symlinks work | 1 | -1/+1 | ||
2021-09-23 | Add `"bun": { "alwaysBundle": ["packageName"] },` to package.json | 1 | -0/+23 | ||
This is for monorepos that symlink directories into node_modules. For example, if you have a design system in your monorepo, you probably want to always bundle that. | |||||
2021-09-22 | Extremely minor perf improvements | 2 | -6/+7 | ||
2021-09-22 | Update query_string_map.zig | 1 | -7/+13 | ||
2021-09-22 | Allow URLs containing absolute filepaths in imports if they match specific ↵ | 3 | -5/+46 | ||
file extensions This is to support ../../ imports Allowlisting to specific file extensions prevents common webserver security vulnerabilities like reading /etc/passwd | |||||
2021-09-22 | Fix edgecase with whether to wrap arrow expressions in parentheses when printing | 1 | -2/+2 | ||
2021-09-22 | Fix edgecase with bare imports inside .bun | 1 | -8/+13 | ||
2021-09-22 | Print how many lines of code was parsed in `bun bun` | 4 | -17/+62 | ||
2021-09-22 | Add disabled status to ESM resolutionjarred/exports-map | 1 | -0/+7 | ||
2021-09-22 | Fix parsing bug with arrays that have default values | 4 | -6/+40 | ||
2021-09-22 | package json exports seems to work now!!! | 2 | -12/+26 | ||
2021-09-22 | Switch to a single directory for storing snapshots and explicitly note whats ↵ | 55 | -20/+600 | ||
a debug snapshot and a non-debug snapshot | |||||
2021-09-21 | Fix the compiler errors | 5 | -53/+59 | ||
2021-09-21 | Resolve "exports" field in package.json (doesn't work yet) | 2 | -1/+194 | ||
2021-09-21 | Add "exports" to PackageJSON | 1 | -1/+12 | ||
2021-09-21 | Most of the ESM resolution algorithm (still untested) | 2 | -34/+657 | ||
2021-09-21 | `endsWithAny` -> `endsWithAnyComptime` | 2 | -2/+2 | ||
2021-09-21 | Parse "exports" field from package.json (WIP) | 3 | -1/+270 | ||
2021-09-21 | [Bun.js] Add Bun.readFileBytes() to get a Uint8Array of the file's contents ↵ | 3 | -1/+113 | ||
without copying. | |||||
2021-09-21 | Add comment explaining failed package.json parsing optimization | 1 | -0/+5 | ||
2021-09-21 | [Bun.js] Add support for `console.time`, `console.timeEnd` | 2 | -2/+38 | ||
2021-09-20 | Slightly improve .env loader string inference | 2 | -7/+89 | ||
2021-09-20 | Fix parsing/printing unicode identifiers, switch to UTF-8 for prefilled ↵ | 17 | -173/+2032 | ||
strings, remove eagerly loading identifier_name | |||||
2021-09-20 | Fix how error lines with strings are highlighted | 2 | -15/+51 | ||
2021-09-20 | Always log errors when generating node_modules.server.bun | 1 | -1/+11 | ||
2021-09-20 | Fix handling when file metadata store stored exceeds statically allocated ↵ | 3 | -160/+86 | ||
count (at time of writing, 16k) | |||||
2021-09-17 | Merge pull request #27 from DAlperin/main | 1 | -11/+13 | ||
2021-09-17 | All deps now build on linux | 1 | -11/+13 | ||
Move CC and CXX into variables Fix some capitalization +A few other portability improvements | |||||
2021-09-17 | Slightly improve JSX decoding perfbun-v0.0.21 | 2 | -3/+12 | ||
2021-09-17 | Package.json | 2 | -2/+2 | ||
2021-09-17 | Bumpbun-v0.0.20 | 1 | -1/+1 | ||
2021-09-17 | Fix whitespace & emoji bug when parsing JSX | 2 | -25/+82 | ||
2021-09-17 | Snapshots | 2 | -0/+62 | ||
2021-09-17 | package.json | 2 | -2/+2 | ||
2021-09-17 | Add test for "shuffle" function for lodashbun-v0.0.19 | 4 | -0/+44 | ||
2021-09-17 | Update js_printer.zig | 1 | -4/+3 | ||
2021-09-17 | Fix lexer bug with UTF-16 strings | 2 | -14/+18 | ||