aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-06Another .isFile()Gravatar Jarred Sumner 1-1/+1
2023-05-06Clone the logs moreGravatar Jarred Sumner 2-6/+13
2023-05-06Use `isFile()` helperGravatar Jarred Sumner 4-6/+10
2023-05-05[napi] Fix crash in `napi_create_external_buffer`Gravatar Jarred Sumner 2-5/+5
This impacted LightningCSS when garbage collection ran. cc @devongovett
2023-05-05Fix bug where the `Bun.file()` returned by `Bun.build()` would have an ↵Gravatar Jarred Sumner 1-1/+8
incorrect path
2023-05-05Cleanup how some of the server components stuff worksGravatar Jarred Sumner 3-117/+179
2023-05-04fix source map line offsets (#2791)Gravatar Dylan Conway 5-52/+116
* find codepoint at `i` * fix allocator usage * missing comment * switch to `Cursor` iterator
2023-05-04Add `UNLIKELY`Gravatar Jarred Sumner 1-2/+2
2023-05-04Revert "Add `setNoDelay`"Gravatar Jarred Sumner 1-4/+2
This reverts commit 8b6dd0c7e1c78a37da693dc216b18f32caa61927.
2023-05-04Throw error on non-file urlGravatar Jarred Sumner 1-1/+11
2023-05-04Add `setNoDelay`Gravatar Jarred Sumner 1-2/+4
2023-05-04Add no-op for ClientRequest.{setNoDelay,setTimeout}Gravatar Ashcon Partovi 1-0/+9
2023-05-04parse and visit catch body scope (#2796)Gravatar Dylan Conway 2-10/+15
2023-05-03Fix code splitting for server componentsGravatar Jarred Sumner 3-176/+412
2023-05-03Clean up edgecase causing plugins to be called too many timesGravatar Jarred Sumner 1-4/+4
2023-05-03re-enable our CJS optimizationGravatar Jarred Sumner 2-5/+9
2023-05-03Implement synthetic default exportGravatar Jarred Sumner 2-119/+205
2023-05-02add deoptimizationGravatar Jarred Sumner 1-1/+1
2023-05-02`entry_point_kinds` only at `source_index`Gravatar Dylan Conway 1-11/+9
2023-05-02Add missing functionGravatar Jarred Sumner 1-1/+16
2023-05-02Small refactorGravatar Jarred Sumner 1-22/+21
2023-05-02Visit the runtimeGravatar Jarred Sumner 1-0/+4
2023-05-02Add helper fnGravatar Jarred Sumner 2-4/+10
2023-05-02Fix checking for dynamic exports (#2792)Gravatar Dylan Conway 1-4/+5
* only look at import records for the current source index * skip `source_index` when it is invalid * iterate `export_star_records` at `source_index` * comment
2023-05-02alignmentGravatar Jarred Sumner 2-4/+11
2023-05-02Add `__ulock_wait2` polyfillGravatar Jarred Sumner 1-0/+24
cc @kzc
2023-05-02fix spacingGravatar Jarred Sumner 1-8/+8
2023-05-02Use prettyGravatar Jarred Sumner 1-1/+1
2023-05-01Fix a couple spltiting bugsGravatar Jarred Sumner 2-22/+64
2023-05-01Compress `let f; f=123` => `let f = 123;`Gravatar Jarred Sumner 1-0/+27
2023-05-01Small improvement to minifierGravatar Jarred Sumner 2-114/+118
2023-05-01Fixes #2783Gravatar Jarred Sumner 1-2/+3
2023-05-01Update bundle_v2.zigGravatar Jarred Sumner 1-1/+1
2023-05-01Fix some splitting bugsGravatar Jarred Sumner 3-15/+18
2023-05-01Fix another crashGravatar Jarred Sumner 1-2/+2
2023-05-01Fix crashGravatar Jarred Sumner 1-1/+4
2023-04-30Bun Test matchers even/odd. Also, .toContains fix and truthy (#2754)Gravatar Will Richards 2 7-3/+203
* bun test matcher tests for even/odd, few more truthy tests, and fix for contains empty string * implementation of even/odd matchers * didn't add the codegen bindings * linted
2023-04-30FIx esm -> cjs require interop with converted CJSGravatar Jarred Sumner 1-1/+1
TODO: make `default` namespace object for these not load the entire wrapper
2023-04-30Fix garbled line text in some errorsGravatar Jarred Sumner 2-6/+23
2023-04-30Update options.zigGravatar Jarred Sumner 1-3/+3
2023-04-30Fix missing imports in DCE testsGravatar Jarred Sumner 1-5/+5
2023-04-30Fix missing "default" export conditionGravatar Jarred Sumner 1-0/+2
2023-04-30Implement source maps (#2770)Gravatar Dylan Conway 14-210/+1100
* wip * Begin computing source map tables * source map progress * external source maps * fix merge * remove `@as` coercion * inline source maps and output source map shifts * fix `codeWithSourceMapShifts()` after merge * remove second call to `findReachableFiles()` * use `worker.allocator`, remove comment * don't reuse memory for source and sourceContents * don't reuse `quote_buf` * fix writing to stdout * Add comment * Don't include a sourcemap if the text was empty * Make the parser faster * +16% faster sourcemap generation @dylan-conway I'll need you to look this over to make sure I didn't mess anything up Though it currently doesn't generate the offsets in the right order... * 30% performance improvement to Bun.build() * Print `debugId` in source maps cc @mitsuhiko @notzeeg --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-01[install] handle `devDependencies` of local folders (#2781)Gravatar Alex Lam S.L 3-65/+27
fixes #2653
2023-04-30prevent crashGravatar Jarred Sumner 1-2/+2
2023-04-30[install] handle repeated install of GitHub dependency correctly (#2780)Gravatar Alex Lam S.L 1-3/+18
fixes #2602
2023-04-30add to symbols.txtGravatar Jarred Sumner 2-96/+32
2023-04-29Fix a load order issueGravatar Jarred Sumner 2-7/+55
2023-04-29Fix some runtime issues caused by bundlerGravatar Jarred Sumner 1-4/+9
2023-04-29Fix garbled text in errorsGravatar Jarred Sumner 1-2/+2