aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-05-05Add missing JSON API to Web APIs page (#2799)Gravatar Kruithne 2-0/+11
* Add missing JSON API to Web APIs page Unless I'm missing something obvious, it appears that Bun has the JSON API (`stringify`/`parse`) but is not listed anywhere in the documentation. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON * Include JSON in global docs
2023-05-05Start esbuild migration guide. More docs. (#2787)Gravatar Colin McDonnell 9-73/+1279
* Bundler docs updates. Start esbuild migration guide. * Updates * Add JS API comp * Tweaks * Updates * Updates * Updates
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 2-1/+24
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-04Only checkout test folder for ecosystem testsGravatar Ashcon Partovi 1-2/+2
2023-05-04Actually fix the `git clone` URLGravatar Ashcon Partovi 1-1/+1
2023-05-04Use HTTPS instead of SSH for `git clone` in ecosystem testsGravatar Ashcon Partovi 1-1/+1
2023-05-04Fix working directory of GitHub actionGravatar Ashcon Partovi 1-1/+2
2023-05-04Add initial ecosystem tests (#2801)Gravatar Ashcon Partovi 23-707/+3319
* Add initial ecosystem tests * Run ecosystem tests every morning, after canary release
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 4-176/+419
2023-05-03Clean up edgecase causing plugins to be called too many timesGravatar Jarred Sumner 1-4/+4
2023-05-03Fix broken testGravatar Jarred Sumner 1-1/+1
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-01Fix testGravatar Jarred Sumner 1-7/+7
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-05-01Add StricJS to ecosystem (#2747)Gravatar Revenity 2-1/+41
* Create stric.md * Update nav.ts * Update stric.md Add codetabs for ArrowJS * Update stric.md * Update stric.md
2023-05-01Fix error links in markdown summaryGravatar Ashcon Partovi 1-8/+9
2023-05-01Condense errors in test runner scriptGravatar Ashcon Partovi 2-6/+9
2023-04-30Add missing type for sqlite (#2764)Gravatar Jarred Sumner 1-0/+84
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-30Bun Test matchers even/odd. Also, .toContains fix and truthy (#2754)Gravatar Will Richards 2 8-3/+362
* 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>