aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-04-14Support importing `.txt` files as strings (#2660)Gravatar Jarred Sumner 8-1/+70
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-14[nit] minor typo in tcp.md (#2657)Gravatar Kruithne 1-1/+1
2023-04-14Upgrade Zig (#2656)Gravatar Jarred Sumner 13-28/+30
* 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 13-14032/+265
* lazy hash * finish up crypto stuff * remove lockfiles * ok * add pipe test * update this lockfile * remove unrelated crypto benchmark from this file
2023-04-13Remove Bun.dns docsGravatar Colin McDonnell 2-8/+8
2023-04-13Docs restructuring (#2638)Gravatar Colin McDonnell 38-926/+1745
* Restructure * Update nav * Reorg * Reshuffle ecosystem pages * Split up runtime/runtime * Back to runtime/index * Fix issue * Split up runtime/index * Add Writing Tests page * Prettier matcher table * More updates
2023-04-13Update default.test.tsGravatar Jarred Sumner 1-2/+5
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-13Update import-meta.test.jsGravatar Dylan Conway 1-1/+1
2023-04-13fix node-net-test hang (#2649)Gravatar Ciro Spaciari 1-29/+27
* fix tests * fix fmt * fix fmt
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-13Fixes #2645Gravatar Jarred Sumner 1-3/+1
2023-04-13Update development.md (#2647)Gravatar Nilan Marktanner 1-1/+1
2023-04-13Upgrade WebKit (#2643)Gravatar Jarred Sumner 60-163/+123
* 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 4-12/+37
* print disabled `require` * bundle file paths * update tests
2023-04-12fix expectBundled precheck (#2641)Gravatar dave caruso 1-1/+1
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-12fix types and add more reliable tests (#2621)Gravatar Ciro Spaciari 3-322/+373
2023-04-12bundler tests (#2635)Gravatar dave caruso 2-73/+310
2023-04-12bundler bug fixes (#2637)Gravatar Dylan Conway 16-438/+475
* 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 2-5/+10
2023-04-12could include `/private/` on macosGravatar Dylan Conway 1-1/+2
2023-04-11finish refining bundler tests (#2623)Gravatar dave caruso 11-829/+1568
* bundler tests * test refining, 257/847 * bundler tests, 298/849 * more bundler tests * finish dce
2023-04-11Update development.md (#2625)Gravatar Ryan Morey 1-5/+5
* Update development.md adds the `bash` language specifier to `which clang-15` so that when you click the copy button, it doesn't include the `$` * Update development.md * Update development.md * Update development.md
2023-04-11docs: remove dev container section (#2610)Gravatar hiroki osame 13-1084/+0
2023-04-10always safe deinit socket context (#2611)Gravatar Ciro Spaciari 2-6/+26
2023-04-10add original name to list (#2613)Gravatar Dylan Conway 1-13/+12
2023-04-10Implement TOML & JSON support in Bun's new bundler (#2609)Gravatar Jarred Sumner 13-330/+762
* Implement JSON & TOML support in the bundler * Fix failing to bind namespace imports * Support namespace exports better --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-09Parse import attributesGravatar Jarred Sumner 1-1/+1
https://github.com/tc39/proposal-import-attributes#import-attributes
2023-04-09Remove usages of `void{}` in favor of `{}`Gravatar Jarred Sumner 37-201/+201
See https://github.com/ziglang/zig/issues/15213
2023-04-09Add some test coverage for instantiation expressionsGravatar Jarred Sumner 1-0/+156
Related to #2203
2023-04-09Fix another case with instantiation expressionsGravatar Jarred Sumner 1-1/+9
Related to #2203
2023-04-09Lower for-in variable initializersGravatar Jarred Sumner 1-0/+22
2023-04-09Fixes #2594 (#2600)Gravatar Jarred Sumner 3-1/+28
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-09Fixes #2599Gravatar Jarred Sumner 1-4/+3
2023-04-09Update TypeScript parsing to 5.0 (#2593)Gravatar Jarred Sumner 6-350/+1190
* update syntax * seems to work, needs tests * This test wasn't supposed to be added * Many bugfixes to TypeScript parser --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-08Fix callout tag on development docs (#2595)Gravatar dave caruso 2-6/+25
* fix callout tag on development docs * add notes on cmakeconfig.h * Update Makefile
2023-04-08Rewrite Developer Docs, Improve DX for new users, moving away from ↵Gravatar dave caruso 11-149/+218
Devcontainer (#2588) * new docs starting point. missing alot of information * very experimental idea: make setup * run on ubuntu 20 * builds on ubuntu 20 (wsl) now * add release instructions * add valgrind note from jarred/new-bundler branch, just in case it gets lost when rebasing * changes requested
2023-04-07Fix `node:` prefix when `--platform=node`Gravatar Jarred Sumner 1-1/+9
2023-04-07Fix sortGravatar Jarred Sumner 1-6/+3
2023-04-07Workaround crashGravatar Jarred Sumner 1-3/+5
https://github.com/ziglang/zig/issues/15204