aboutsummaryrefslogtreecommitdiff
path: root/src/node-fallbacks (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-03Update tsconfigsGravatar Colin McDonnell 1-1/+3
2023-09-11Update http.js - Fix Methods Fallback naming (#4948)Gravatar Yonathan Benolol 1-1/+1
2023-08-10remove non-node node-fallbacks (#4082)Gravatar dave caruso 4-175/+0
* remove non-node node-fallbacks. * organize the imports
2023-08-02Rewrite built-in modules to use CommonJS over ESM (#3814)Gravatar dave caruso 1-1/+0
* stfdsafsd sadffdsa stuff finish commonjs stuff asdf not done but work not done but work not done yet but this is how far i am remove files lol update built files uncomment everything in events lol export default stuff * afdsafsd * its not perfect but almost done * okay * cool * remove temp file * finish rebase * revert settings.json * a * ch-ch-ch-ch-changes * okay * remove this check in release for now * sxdcfghnjm, * lkjhgf * fmt * filename can be null * Update NodeModuleModule.h * weee * fmt --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-19Fix browser bundled string_decoder (#3693)Gravatar dave caruso 1-2/+1
* Fix #3660 * doc fix
2023-07-10feat(crypto) add getCurves (#3598)Gravatar Ciro Spaciari 1-0/+22
* add getCurves * add nodefallbacks * update docs * oops
2023-07-06fixes #3544 (#3549)Gravatar Dylan Conway 1-0/+1
2023-06-29cant believe i missed this (#3453)Gravatar dave caruso 1-0/+1
2023-06-23Make node-fallbacks build as esm not cjs / Fix `node-fetch` (#3377)Gravatar dave caruso 21-10/+65
* Make node-fallbacks build as esm not cjs. * fix stuff
2023-06-01Fix streams breaking on reverted EventEmitter / Make Discord.js work (#2913)Gravatar dave caruso 1-2520/+0
* Revert "Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652)"" This reverts commit 613bb4822ee8f4fbfd78aef391e2db8f07659a6f. * Revert "Revert "implement `node:events` in javascript (#2604)"" This reverts commit a4d0a1961abe0c6073e15cc6f7c0601b74f2e3f7. * oops * fix entrypoints stuff * fix hash copy * use native events for node streams and crypto * requested changes * oops * make discord.js work * fix webkit hash * headers tojson
2023-05-19Make `node-fetch` polyfill better (#2962)Gravatar Jarred Sumner 1-4/+88
* Make `node-fetch` polyfill better * fixup * Test using localhost * Add comment --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-21Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652)"Gravatar Jarred Sumner 1-0/+2520
This reverts commit 3a2fd65f20d3b4e99c89f789acec5e5e40615008.
2023-04-13use a lazyily initialized stream for `node:crypto` `createHash` (#2652)Gravatar dave caruso 1-2520/+0
* lazy hash * finish up crypto stuff * remove lockfiles * ok * add pipe test * update this lockfile * remove unrelated crypto benchmark from this file
2023-03-02Add a zig fmt action (#2277)Gravatar Jarred Sumner 4-136/+39
* Add a zig fmt action * add failing file * Setup prettier better * Update prettier-fmt.yml * Fail on error * Update prettier-fmt.yml * boop * boop2 * tar.gz * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * boop * Update prettier-fmt.yml * tag * newlines * multiline * fixup * Update zig-fmt.yml * update it * fixup * both * w * Update prettier-fmt.yml * prettier all the things * Update package.json * zig fmt * ❌ ✅ * bump * . * quotes * fix prettier ignore * once more * Update prettier-fmt.yml * Update fallback.ts * consistentcy --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-17update `bun.lockb`s (#2101)Gravatar Alex Lam S.L 1-0/+0
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