aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-04-17`bun build` should write to stdout instead of stderrGravatar Jarred Sumner 1-1/+1
@paperdave this probably breaks all your tests
2023-04-17DCE for some global constructor callsGravatar Jarred Sumner 1-6/+10
2023-04-17Deoptimize CJS -> ESM transform on computed property access of `exports` objectGravatar Jarred Sumner 1-1/+10
Example: ```js for (var k in constants) { exports[k] = constants[k]; } ```
2023-04-16Update bundle_v2.zigGravatar Jarred Sumner 1-24/+10
2023-04-16Mark builtins as external for node and bunGravatar Jarred Sumner 3-4/+8
2023-04-16Attempt to automatically handle some cyclical import issues with ESMGravatar Jarred Sumner 2-0/+35
Fixes https://github.com/kysely-org/kysely/issues/412
2023-04-16Fix for `ReferenceError: Cannot access uninitialized variable.`Gravatar Jarred Sumner 1-5/+8
2023-04-16Add some commentsGravatar Jarred Sumner 1-2/+24
2023-04-16Lazily wrapGravatar Jarred Sumner 3-12/+24
2023-04-16Add temporary fixGravatar Jarred Sumner 1-11/+57
2023-04-16Fix some edgecases with CJS -> ESM unwrappingGravatar Jarred Sumner 1-1/+31
2023-04-16more bundler tests (#2670)Gravatar dave caruso 3-4/+3
* tests! * run formatters
2023-04-16fix: replace unknown link with bun docs (#2669)Gravatar Jozef Steinhübl 1-1/+1
2023-04-16Unwrap, but we broke code splittingGravatar Jarred Sumner 9-89/+242
2023-04-16Update cli.zigGravatar Jarred Sumner 1-2/+0
2023-04-16prepare for unwrappingGravatar Jarred Sumner 10-94/+226
2023-04-16Fix bugs with loading `jsxDEV` when it should be `jsx` or vice versaGravatar Jarred Sumner 5-61/+50
2023-04-16Rename `E.Require` -> `E.RequireString` and `E.RequireOrRequireResolve` -> ↵Gravatar Jarred Sumner 1-37/+43
`E.RequireResolveString`
2023-04-15Delete some legacy bundling codeGravatar Jarred Sumner 1-88/+3
2023-04-15toBeFalsy expect counter and test scope check (#2661)Gravatar Will Richards 2 1-1/+7
2023-04-15Handle more cases in lengthGravatar Jarred Sumner 2-0/+19
2023-04-15Mostly implement cross-module constant inlining, but disable itGravatar Jarred Sumner 7-70/+172
There are some test failures
2023-04-15Implement template string foldingGravatar Jarred Sumner 2-8/+146
@paperdave can you help write tests for this if not already covered? example: ```js if ( `${1}-${2}-${3}-${null}-${undefined}-${true}-${false}` === "1-2-3-null-undefined-true-false" ) { if ( "\uD83D\uDE0B \uD83D\uDCCB \uD83D\uDC4C".length === 8 && "😋📋👌".length === 6 ) { console.log(`such fold. very inline. wow.`); } } ```
2023-04-15Fix failing to log error with `--transform`Gravatar Jarred Sumner 1-2/+11
2023-04-15Add error for assigning to a constantGravatar Jarred Sumner 1-7/+29
2023-04-15Add unset functionGravatar Jarred Sumner 1-0/+7
2023-04-14Update bun.zigGravatar Jarred Sumner 1-1/+1
2023-04-14Implement `--transform` CLI flagGravatar Jarred Sumner 6-108/+63
2023-04-14Include the error return traceGravatar Jarred Sumner 1-12/+30
2023-04-14Fix string concatGravatar Jarred Sumner 1-1/+5
2023-04-14+6 more passing testsGravatar Jarred Sumner 1-3/+6
2023-04-14Support importing `.txt` files as strings (#2660)Gravatar Jarred Sumner 2-1/+27
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-14Fix bug with mjsGravatar Jarred Sumner 2-2/+5
2023-04-14Upgrade Zig (#2656)Gravatar Jarred Sumner 10-18/+16
* Upgrade Zig * Don't add `d` files in github actions * Revert "Don't add `d` files in github actions" This reverts commit 446e2dd6743da08ec4136233fdc9179dbbf58fca. --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-14Implement `@bun` annotationGravatar Jarred Sumner 8-28/+65
2023-04-14Update bun.zigGravatar Jarred Sumner 1-0/+12
2023-04-14fixup pragma parsingGravatar Jarred Sumner 4-31/+186
2023-04-14Support `@jsx`, `@jsxRuntime`, `@jsxImportSource`, and `@jsxFragment` ↵Gravatar Jarred Sumner 7-72/+367
pragmas (#2655) * Support parsing @pragma comments * Support `@jsx`, `@jsxRuntime`, `@jsxImportSource`, `@jsxFragment` * Fix bug where NODE_ENV would be development in certain places and production in others --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-13use a lazyily initialized stream for `node:crypto` `createHash` (#2652)Gravatar dave caruso 3-10415/+130
* lazy hash * finish up crypto stuff * remove lockfiles * ok * add pipe test * update this lockfile * remove unrelated crypto benchmark from this file
2023-04-13Fix default/ReExportDefaultExternalES6Gravatar Jarred Sumner 2-9/+13
2023-04-13fix ambiguous import (#2654)Gravatar Dylan Conway 1-12/+26
* check all files before * better error/warning * update todo
2023-04-13Fix default/ReExportCommonJSAsES6Gravatar Jarred Sumner 1-0/+7
2023-04-13Only set `is_web_browser_navigation` in debug mode serverGravatar Jarred Sumner 1-8/+16
2023-04-13fix(server) fixes UAF of uWS headers (#2648)Gravatar Ciro Spaciari 1-53/+35
* fixes UAF of uWS headers * fix transfer encoding condition
2023-04-13Upgrade WebKit (#2643)Gravatar Jarred Sumner 50-133/+92
* Missing export * Regenerate builtins * Fix crash in require() * Various breaking JSC changes * hopefully speed up C++ compilation a little * Skip failing test fo rnow * Update WebKit * Add a comment * Fix error in postinstall * Update WebKit --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-13import file path and fix disabled browser require (#2642)Gravatar Dylan Conway 2-1/+11
* print disabled `require` * bundle file paths * update tests
2023-04-12fix bundling many entry points (#2640)Gravatar Dylan Conway 1-3/+4
* fix going out of bounds when length is over 8 * remove
2023-04-12bundler bug fixes (#2637)Gravatar Dylan Conway 13-432/+469
* append import to outer wrapper prefix * print space * require text loader * import empty esm and cjs * add text to schema
2023-04-12fix(fs): remove readfile (#2630)Gravatar hiroki osame 1-2/+0
2023-04-12don't increment `i` if escaped (#2639)Gravatar Dylan Conway 1-5/+7