aboutsummaryrefslogtreecommitdiff
path: root/src/node-fallbacks (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-04Bump querystring-es3 (#1988)Gravatar Gaurish Sethia 2-9/+36
* Add filePath property on MatchedRoute * Fix #1880 #851 * Fix #1972 as well * FMC * Bump querystring-es3 --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-01-22Add extremely slow node:zlib polyfillGravatar Jarred Sumner 2-0/+2
2022-12-13[crypto] Implement `scryptSync`Gravatar Jarred Sumner 1-0/+49
Fixes https://github.com/oven-sh/bun/issues/1228
2022-12-12[crypto] Implement crypto.timingSafeEqualGravatar Jarred Sumner 1-3/+30
This uses BoringSSL's memcmp function Fixes https://github.com/oven-sh/bun/issues/1308
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 4-26/+28
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-11-08Update crypto.jsGravatar Jarred Sumner 1-1/+0
2022-11-08Add missing exportsGravatar Jarred Sumner 1-0/+3
2022-09-14Add missing `getRandomValues` to crypto polyfillGravatar Jarred Sumner 1-2/+8
2022-08-17slightly improve streams perfGravatar Jarred Sumner 1-0/+0
2022-08-05Refresh all the bun.lockbbun-v0.1.7Gravatar Jarred Sumner 1-0/+0
2022-08-05feat(util): support for util.TextDecoder (#990)Gravatar Hyro 1-1/+2
* build:(landing) automated website build * Revert "build:(landing) automated website build" This reverts commit ddee8485fd8b76160962c410b885e17aaff95b4e. * feat(util): support for util.TextDecoder * tests(util): add TextDecoder * tests: seperate text-decoder Co-authored-by: xHyroM <xHyroM@users.noreply.github.com>
2022-07-23[Bun.js] support for util.TextEncoder (#844)Gravatar Soney Mathew 1-0/+4
* [Bun.js] support for util.TextEncoder * [Bun.js] test for util.TextEncoder
2022-07-17url.js use util_isString (#772)Gravatar SheetJSDev 1-3/+3
2022-07-13switch from stream-browserify to readable-streamGravatar evanwashere 3-27/+1512
2022-07-09add partial node:net polyfillGravatar evanwashere 1-0/+58
2022-07-06Fix #253 - Explicitly exported `randomUUID` from global `crypto`Gravatar Andrea Giammarchi 1-0/+3
2022-06-25Better `node:url` polyfillGravatar Jarred Sumner 1-1/+807
2022-06-22Slightly customize the `events` polyfill so it uses ESMGravatar Jarred Sumner 1-1/+522
2022-02-25hopefully no more unnecessary git statusGravatar Jarred Sumner 1-0/+0
2022-02-12hmGravatar Jarred Sumner 1-0/+0
2022-02-12hmGravatar Jarred Sumner 1-0/+0
2022-02-12hmGravatar Jarred Sumner 1-0/+0
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 2-1178/+140
* 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}
2022-01-03:confused:Gravatar Jarred Sumner 1-0/+0
2022-01-03:lock:Gravatar Jarred Sumner 1-0/+0
2022-01-01installGravatar Jarred Sumner 1-0/+0
2022-01-01:lock:Gravatar Jarred Sumner 1-0/+0
2021-12-31Attempt to fix watcher issue with repl.itGravatar Jarred Sumner 1-0/+0
2021-12-31bumpGravatar Jarred Sumner 2-1/+1
2021-10-30[Bun.js] Implement `supports-color` polyfill (so that chalk works)Gravatar Jarred Sumner 1-0/+43
2021-10-30[Bun.js] fix node fetch polyfillsGravatar Jarred Sumner 2-2/+16
2021-10-15LatestGravatar Jarred Sumner 1-9/+1175
2021-10-15Linux build fixesGravatar Jarred SUmner 1-1175/+9
2021-10-03Fix various macOS-specific compile errors and run `zig fmt`Gravatar Jarred Sumner 1-9/+1175
2021-10-01Build stuffGravatar Jarred SUmner 1-1175/+9
2021-09-09currentjarred/fetch-experimentGravatar Jarred Sumner 3-5/+10
2021-09-09fetc h!!!Gravatar Jarred Sumner 3-0/+33
2021-09-02latestGravatar Jarred Sumner 25-0/+2133
Former-commit-id: 1086d4f894611c1171f57d9eaf82f9170e9de2d1