aboutsummaryrefslogtreecommitdiff
path: root/packages/bun-error (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-23enhancement(fetch): Merge parameters from request parameter with the second ↵Gravatar Ciro Spaciari 1-666/+0
parameter for fetch, move verbose and proxy options to second parameter, add non-TLS tests for fetch (#1862) * initial steps for proxy-server * added http_proxy in fetch, move 3rd argument to 3nd argument options, add some non-TLS proxy tests * some changes * use only 1 buffer for url+proxy, merge headers on fetch * initial steps * change back to override headers instead of merging in fetch * fix build response.zig * fix conditional in merged headers on fetch * updated with main and make proxy disabled if null is passed Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-22feat(dns) resolveSrv (#1870)Gravatar Ciro Spaciari 1-1/+437
* initial steps * in-progress resolveSrv support * fix memory leak and ZigGlobalObject * promise.resolve + fix priority and weight mistake * fix node dns export * little better test * add poll_ref to keep alive loop in callback for resolveSrv and lookup * add test for error case in resolveSrc * fix Bun.dns.resolveSrv type
2023-01-03Create readme.mdGravatar Jarred Sumner 1-0/+10
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 5-37/+40
* 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-08-17slightly improve streams perfGravatar Jarred Sumner 1-0/+0
2022-08-12[bun error] fix typo in markdown.ts (#995)Gravatar Ikko Ashimine 1-1/+1
happend -> happened
2022-08-05Refresh all the bun.lockbbun-v0.1.7Gravatar Jarred Sumner 1-0/+0
2022-07-16fix/clean-up-bun-error (#753)Gravatar John Daly 4-101/+54
* Fixing TypeScript errors in bun-error package * Fixing import path * Removing unused 'isClient' prop from AsyncSourceLines * PR feedback
2022-07-10fix(bun-error): fix line endingsGravatar Snazzah 1-443/+443
2022-07-10feat(bun-error): update "powered by" logo to use new bun wordmarkGravatar Snazzah 1-443/+443
2022-07-09fix: update build files to latest Zig versionGravatar sno2 1-152/+118
2022-04-07[bun.js] Add `baseURI` support to HTTP serverGravatar Jarred Sumner 2-3/+1
2022-04-05[bun:error] Fix exceptionGravatar Jarred Sumner 2-1/+2
2022-04-04Fix error in bun:errorGravatar Jarred Sumner 1-1/+1
2022-04-03[bun error] Handle error messages with missing name/message betterGravatar Jarred Sumner 1-6/+16
2022-03-24Implement error page for HTTP serverGravatar Jarred Sumner 2-10/+51
2022-03-20the events, they loopGravatar Jarred Sumner 1-0/+0
2022-03-16bun.lockbGravatar Jarred Sumner 1-0/+0
2022-03-15[bun:error] handle errors without a name or messageGravatar Jarred Sumner 1-6/+11
2022-03-11fix bug with freeing typed arraysGravatar Jarred Sumner 2-7/+57
2022-03-11Source Maps for client-side errors & columnsGravatar Jarred Sumner 4-408/+888
2022-02-25hopefully no more unnecessary git statusGravatar Jarred Sumner 1-0/+0
2022-02-24Make alignment more consitentGravatar Jarred Sumner 3-4/+56
2022-02-20[bun dev] Implement copy as markdownGravatar Jarred Sumner 3-122/+1164
2022-02-18[bun dev] Errors with file names can be opened in editor nowGravatar Jarred Sumner 2-14/+78
2022-02-12hmGravatar Jarred Sumner 1-0/+0
2022-02-12hmGravatar Jarred Sumner 1-0/+0
2022-02-12readmeGravatar Jarred Sumner 1-0/+0
2022-02-11[bun install] Implement bunfig.toml configGravatar Jarred Sumner 1-0/+0
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 2-182/+134
* 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:nail_care: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-25[HTTP] Fix error handling modal from showing when there are no errorsGravatar Jarred Sumner 1-1/+4
2021-10-15LatestGravatar Jarred Sumner 1-3/+179
2021-10-15Linux build fixesGravatar Jarred SUmner 1-179/+3
2021-10-03Fix various macOS-specific compile errors and run `zig fmt`Gravatar Jarred Sumner 1-3/+179
2021-10-01Build stuffGravatar Jarred SUmner 1-179/+3
2021-09-11bun:error.js into separate module, ensure we don't include fast refresh in ↵Gravatar Jarred Sumner 9-0/+1580
Bun.js, log build errors to browser console, don't warn for node_modules,