aboutsummaryrefslogtreecommitdiff
path: root/src/javascript (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-03dead codeGravatar Jarred Sumner 1-35/+0
2022-01-02LLVM 13 for WebKitGravatar Jarred Sumner 1-0/+0
2022-01-02Update WebKitGravatar Jarred Sumner 1-0/+0
2022-01-02copy: replace Bun with bun (#99)Gravatar luke miles 2-4/+4
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
2022-01-01[bun dev] Automatically set `origin` - improve support for proxying BunGravatar Jarred Sumner 3-17/+36
Previously, when running Bun behind a reverse proxy, you had to pass an explicit `--origin` arg and it could only run behind one proxy at a time. Now, Bun automatically determines the origin from the request if possible. It reads `Forwarded`, `X-Forwarded-Proto`, `X-Forwarded-Host`, `Origin`, and lastly `Host`. If none are available, it falls back to the `--origin` CLI arg. This change is important for usecases like Replit which shows multiple iframes in different origins.
2021-12-31Attempt to fix watcher issue with repl.itGravatar Jarred Sumner 1-1/+2
2021-12-30Fix issue with headersGravatar Jarred Sumner 5-3/+17
2021-12-30linuxGravatar Jarred Sumner 3-2/+400
2021-12-30[internal] Move network_thread into http packageGravatar Jarred Sumner 6-422/+20
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 18-666/+896
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-28dead codeGravatar Jarred Sumner 1-6/+1
2021-12-28[Bun.js] Add Bun.argv api, so you can get the arguments that started a scriptGravatar Jarred Sumner 1-1/+26
2021-12-27Prepare to run unit tests & remove some dead code (#92)Gravatar Jarred Sumner 2-20/+14
* Remove some dead code * :skull: code * Fix the zig tests * [JS Printer] Print integers faster & less scientific notation on decimals * :skull: dead code * skip * Run all the unit tests
2021-12-24muslGravatar Jarred Sumner 1-0/+0
2021-12-23Workaround miscompilation so JavaScriptCore runs on Linux AARCH64Gravatar Jarred Sumner 7-47/+38
2021-12-22[Bun.js] Fix SSR when using `fetch`Gravatar Jarred Sumner 2-5/+11
2021-12-21Slightly less pointer chasingGravatar Jarred SUmner 2-1/+1
2021-12-19Remove duplicate codeGravatar Jarred Sumner 1-2/+2
2021-12-18Use new http in `bun upgrade`Gravatar Jarred Sumner 2-2/+2
2021-12-17bindingsGravatar Jarred Sumner 1-0/+6
2021-12-17👶event loopGravatar Jarred Sumner 13-105/+393
2021-12-16wipGravatar Jarred Sumner 2-3/+33
2021-12-16[macros] Do not automatically load node_modules.bun in macrosGravatar Jarred Sumner 1-11/+11
2021-11-06[internal] Generated filesGravatar Jarred Sumner 3-8/+2
2021-11-04[internal] fmtGravatar Jarred Sumner 1-20/+28
2021-11-03[Bun.js] Rename `Bun.sleep` -> `Bun.sleepSync`bun-v0.0.44Gravatar Jarred Sumner 1-3/+3
2021-10-31[Bun.js] Bun.sleep() lets you synchronously sleep. Thanks @evanwashereGravatar Jarred Sumner 1-0/+19
2021-10-30Update javascript.zigGravatar Jarred Sumner 1-0/+1
2021-10-30[Bun.js] Lazily add `FORCE_COLOR` environment variable for better ↵Gravatar Jarred Sumner 1-1/+13
compatibility with Node.js modules that detect whether the terminal supports colors
2021-10-30[Bun.js] Partially fix loading Node.js fallback modulesGravatar Jarred Sumner 1-2/+19
2021-10-30[Bun.js] Add API for detecting if ANSI colors are enabledGravatar Jarred Sumner 1-25/+29
2021-10-30[Bun.js] Enable SharedArrayBufferGravatar Jarred Sumner 1-0/+3
2021-10-30[Bun.js] Add performance.now()Gravatar Jarred Sumner 1-0/+40
2021-10-29[internal] This is no longer a feature flag in JSCGravatar Jarred Sumner 1-1/+0
2021-10-29[Bun.js] Fix silly oversight with fetch implementationGravatar Jarred Sumner 1-3/+6
2021-10-29[internal] Fix missing symbol errors when building JavaScriptCore bindings ↵Gravatar Jarred Sumner 6-23/+20
without already having the object files
2021-10-28FIx webkit commitGravatar Jarred Sumner 1-0/+0
2021-10-28New subcommand: `bun upgrade`. It upgrades bun to the latest version.Gravatar Jarred Sumner 1-0/+0
2021-10-25Fix JSX unicode handling, slightly improve perfGravatar Jarred Sumner 1-0/+4
2021-10-25[Bun.js] When `Body` is UTF-16 encoded, convert it to UTF-8.Gravatar Jarred Sumner 1-6/+30
2021-10-24Mark all exported symbols as weak, always `zig fmt` the headers file to ↵Gravatar Jarred Sumner 3-5/+9
reduce diff churn
2021-10-24[internal] Get source URLs in C++Gravatar Jarred Sumner 1-45/+0
2021-10-23[internal] Remove more dead code, add script to find .zig files that aren't ↵Gravatar Jarred Sumner 4-0/+0
imported by other .zig files
2021-10-23[internal] :scissors: dead codeGravatar Jarred Sumner 4-154/+0
2021-10-23Add "process.env" to global objectGravatar Jarred Sumner 4-18/+36
2021-10-23[Bun.js] Add `Bun.env` and support `process.env` for non-transpiled ↵Gravatar Jarred Sumner 1-2/+129
environment variables
2021-10-21[Bun.js] Fix `SyntaxError` not showing source file or line numberGravatar Jarred Sumner 1-1/+24
2021-10-20rewrote most of the routerGravatar Jarred Sumner 2-7/+33
2021-10-15Linux build fixesGravatar Jarred SUmner 1-0/+0
2021-10-13Add TLS 1.3 support, improve fetch() HTTPS performanceGravatar Jarred Sumner 1-1/+3