aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/readdir.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-0/+9
* very very wip * almost ready to fix the errors * Update identity_context.zig * Update base.zig * [bun test] It runs successfully * Remove unnecessary call * [Bun.js] Improve JS <> Zig unicode string interop This fixes longstanding unicode bugs with `console.log` & `fetch`. I believe @evanwashere reported this first awhile ago * [Bun.js] Implement `Object.is()` binding and a way to set a timeout for script execution * Update PLCrashReport.zig * [Bun.js] Make `console.log` more closely match Node.js and Deno * [Bun.js] Implement formatting specifier for console.* * Implement `console.clear()` * bug fix * Support console.clear() * Buffer stderr * [bun test] Begin implementing Node.js `fs` * Update darwin_c.zig * Implement more of `fs` * `mkdir`, `mkdir` recursive, `mkdtemp` * `open`, `read` (and pread) * Move some things into more files * Implement readdir * `readFile`, `readLink`, and `realpath` * `writeFile`, `symlink`, `chown`, `rename`, `stat`, `unlink`, `truncate` * `lutimes` * Implement `SystemError` and begin wiring up the `fs` module * `"fs"` - Most of the arguments / validation * `fs` - Rest of the arguments / validations * Begin wiring up the `fs` module * Fix all the build errors * support printing typed arrays in console.log * It...works? * Support `require("fs")`, `import fs from 'fs';`, `import * as fs from 'fs'` * Fix a couple bugs * get rid of the crash reporter for now * Update fs.exports.js * [bun.js] slight improvement to startup time * [bun.js] Improve error message printing * [Bun.js] Add `Bun.gc()` to run the garbage collector manually and report heap size * [Bun.js] Add Bun.generateHeapSnapshot to return what JS types are using memory * [Bun.js] Add `Bun.shrink()` to tell JSC to shrink the VM size * Improve encoding reader * [bun.js] Improve callback & microtask performance * Update node_fs.zig * Implement `console.assert` * simple test * [Bun.js] Prepare for multiple globals/realms to support testing * Create callbacks-overhead.mjs * Update http.zig * [Bun.js] Implement `queueMicrotask` * Add test for queueMicrotask * :sleepy: * [Bun.js] Implement `process.versions`, `process.pid`, `process.ppid`, `process.nextTick`, `process.versions`, * Implement `process.env.toJSON()` * [Bun.js] Improve performance of `fs.existsSync` * :nail_care: * [Bun.js] Implement `process.chdir(str)` and `process.cwd()`, support up to 4 args in `process.nextTick` * Make creating Zig::Process lazy * Split processi nto separte file * [Bun.js] Node.js Streams - Part 1/? * [Bun.js] Node.js streams 2/? * WIP streams * fix crash * Reduce allocations in many places * swap * Make `bun` start 2ms faster * Always use an apiLock() * libBacktrace doesn't really work yet * Fix crash in the upgrade checker * Clean up code for importing the runtime when not bundling * :camera: * Update linker.zig * 68! * backtrace * no, really backtrace * Fix * Linux fixes * Fixes on Linux * Update mimalloc * [bun test] Automatically scan for {.test,_test,.spec,_spec}.{jsx,tsx,js,cts,mts,ts,cjs}
rc/jsc.zig?h=dylan/github-api-option&id=64f1af0aa6cdc536339b17887cd6cbcfa8e740a7&follow=1'>skeletonGravatar Jarred Sumner 7-0/+437 2022-03-11fix bug with freeing typed arraysGravatar Jarred Sumner 3-12/+63 2022-03-11Source Maps for client-side errors & columnsGravatar Jarred Sumner 21-579/+115079 2022-03-10twiddle with formattingGravatar Jarred Sumner 3-30/+89 2022-03-10[bun.js] Map the sources when handling the errorGravatar Jarred Sumner 1-29/+169 2022-03-10Update comptime_string_map.zigGravatar Jarred Sumner 1-1/+1 2022-03-10[bun.js] Support sourcemaps!Gravatar Jarred Sumner 3-89/+78 2022-03-10Update js_printer.zigGravatar Jarred Sumner 1-15/+42 2022-03-10WIP sourcemap parsingGravatar Jarred Sumner 1-11/+265 2022-03-10woopsGravatar Jarred Sumner 1-1/+1 2022-03-10console.log(<JSX>) supportGravatar Jarred Sumner 48-2349/+2744 2022-03-09Update linker.zigGravatar Jarred Sumner 1-12/+12 2022-03-0969% perf improvement for long string literalsGravatar Jarred Sumner 3-82/+132 2022-03-09Update options.zigGravatar Jarred Sumner 1-1/+1 2022-03-09make the map slightly smallerGravatar Jarred Sumner 2-94/+108 2022-03-09[JS Printer] Add function for printing a string as JSONGravatar Jarred Sumner 1-0/+104 2022-03-0910% perf improvement to JSX entity code parsing in microbenchmarkGravatar Jarred Sumner 2-284/+269 2022-03-09fix bug with UTF-16 template literal escape codesGravatar Jarred Sumner 1-6/+6 2022-03-08Fix quoting console.logGravatar Jarred Sumner 3-42/+203 2022-03-08print size of headersGravatar Jarred Sumner 2-12/+20 2022-03-08sourcemappingsGravatar Jarred Sumner 60-0/+120 2022-03-08rename _global -> bunGravatar Jarred Sumner 88-2476/+1719 2022-03-08[bun.js] Support logging `Headers`, `Response`, and `Request`Gravatar Jarred Sumner 4-72/+270 2022-03-08Fix https://github.com/Jarred-Sumner/bun/issues/122Gravatar Jarred Sumner 2-2/+16 2022-03-08Update sourcemap.zigGravatar Jarred Sumner 1-6/+6 2022-03-08[bun.js] WIP sourcemap supportGravatar Jarred Sumner 3-249/+646 2022-03-07Add VLQ bench, improve decodeVLQ perfGravatar Jarred Sumner 3-3/+138 2022-03-07Optimize sourcemapsGravatar Jarred Sumner 6-90/+210 2022-03-07Update options.zigGravatar Jarred Sumner 1-4/+37 2022-03-07source maps optimizationsGravatar Jarred Sumner 11-85/+458 2022-03-07[JS] Don't make this inlineGravatar Jarred Sumner 1-2/+2 2022-03-07[JS] Slight optimization for newlinesGravatar Jarred Sumner 1-36/+2 2022-03-07[JS Parser] Fix bug with decoding escape sequencesGravatar Jarred Sumner 1-4/+4 2022-03-07[JS/JSON] Optimize parsing long stringsGravatar Jarred Sumner 1-1/+37 2022-03-07[JS Parser] Add optimization for JSX spreadGravatar Jarred Sumner 1-0/+11 2022-03-061.7x faster sourcemap printingGravatar Jarred Sumner 1-24/+32 2022-03-06source maps work for app code in `bun dev`!Gravatar Jarred Sumner 19-153/+1098 2022-03-05[JS Parser] dot property shorthand for JSXGravatar Jarred Sumner 3-10/+82 2022-03-05Update README.mdGravatar Jarred Sumner 1-1/+1 2022-03-05Update README.mdGravatar Jarred Sumner 1-1/+1 2022-03-05Update README.mdGravatar Jarred Sumner 1-1/+12