aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/console-log.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-0/+58
* 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}
ions'>+2 2022-05-12wrangler 2 released (#166)Gravatar Hugo Romano 1-1/+1 2022-05-11Update README.mdGravatar Jarred Sumner 1-1/+1 2022-05-11Update README.mdGravatar Jarred Sumner 1-2/+3 2022-05-11Add section about napiGravatar Jarred Sumner 1-0/+37 2022-05-11Update README.mdbun-v0.0.82Gravatar Jarred Sumner 1-2/+6 2022-05-11Update build-idGravatar Jarred Sumner 1-1/+1 2022-05-11Fix several bugs in napiGravatar Jarred Sumner 3-22/+54 2022-05-11Make the napi mjs file runnable in both bun & nodeGravatar Jarred Sumner 1-7/+6 2022-05-11Update build-idbun-v0.0.81Gravatar Jarred Sumner 1-1/+1 2022-05-11disable the new target allowed errorGravatar Jarred Sumner 1-4/+5 2022-05-11Update Makefilebun-v0.0.80Gravatar Jarred Sumner 1-0/+1 2022-05-11Update MakefileGravatar Jarred Sumner 1-1/+1 2022-05-11Fix export symbols on LinuxGravatar Jarred Sumner 4-25/+153 2022-05-11Add test for import.meta.requireGravatar Jarred Sumner 2-1/+11 2022-05-11[napi] Add a couple more symbolsGravatar Jarred Sumner 1-0/+2 2022-05-11[napi] Fix panic inside napi_fatal_errorGravatar Jarred Sumner 1-11/+18 2022-05-11[napi] Stub a couple moreGravatar Jarred Sumner 3-6/+52 2022-05-11[bun.js] eagerly convert to import.meta.requireGravatar Jarred Sumner 2-3/+24 2022-05-11[json] Fix bug with negative integers in json parserGravatar Jarred Sumner 1-3/+6 2022-05-11[bun.js] Implement a polyfill for the `detect-libc` npm packageGravatar Jarred Sumner 2-0/+53 2022-05-11[bun.js] Implement `import.meta.require`Gravatar Jarred Sumner 13-158/+539 2022-05-11[bun.js] Implement `import.meta.resolveSync`Gravatar Jarred Sumner 3-1/+78 2022-05-10Include napi in plus100Gravatar Jarred Sumner 1-4/+20 2022-05-10Add test for Buffer.byteLengthGravatar Jarred Sumner 1-0/+7 2022-05-10[napi] Error on import .nodeGravatar Jarred Sumner 1-29/+1 2022-05-10Update napi.cppGravatar Jarred Sumner 1-1/+0 2022-05-10[napi] Fix string bugGravatar Jarred Sumner 4-58/+125 2022-05-10[napi] transpile require(*.node) into process.dlopenGravatar Jarred Sumner 4-3/+30 2022-05-10[bun.js] Implement `Buffer.byteLength`Gravatar Jarred Sumner 7-47/+443 2022-05-09Fix extra quote in bundled require errorsGravatar Jarred Sumner 1-2/+2 2022-05-09few more napi functionsGravatar Jarred Sumner 2-1/+30 2022-05-09Update MakefileGravatar Jarred Sumner 1-3/+3 2022-05-09Update Dockerfile.baseGravatar Jarred Sumner 1-1/+1 2022-05-09[napi] getters & setters workGravatar Jarred Sumner 1-26/+39