aboutsummaryrefslogtreecommitdiff
path: root/bun.lockb (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-28Error.prototype.stack gets sourcemapped stacktraces and introduce ↵Gravatar Jarred Sumner 1-0/+0
Error.appendStackTrace (#3441) * Fix potential crash when reading sourcemapped stack traces * Format & sourcemap Error.prototype.stack * prevent double sourcemapping * Introduce Error.appendStackTrace * Fix source url * hide private stack traces in non-debug builds * fixes #3443 * Bump WebKit * Fix test failure in vm.test * Support new() & add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-24Rewrite Bun's runtime CommonJS loader (#3379)Gravatar Jarred Sumner 1-0/+0
* wip changes for CommonJS * this rewrite is almost complete * even more code * wip * Remove usages of `import.meta.require` from builtins * Remove usages of require * Regenerate * :scissors: builtin rewrite commonjs in printer * Use lazy custom getters for import.meta * fixups * Remove depd * ugh * still crashing * fixup undici * comment out import.meta.require.resolve temporarily not a real solution but it stops the crashes * Redo import.meta.primordials * Builtins now have a `builtin://` protocol in source origin * Seems to work? * Finsih getting rid of primordials * switcharoo * No more function * just one more bug * Update launch.json * Implement `require.main` * :scissors: * Bump WebKit * Fixup import cycles * Fixup improt cycles * export more things * Implement `createCommonJSModule` builtin * More exports * regenerate * i broke some stuff * some of these tests work now * We lost the encoding * Sort of fix zlib * Sort of fix util * Update events.js * bump * bump * bump * Fix missing export in fs * fix some bugs with builtin esm modules (stream, worker_threads, events). its not perfect yet. * fix some other internal module bugs * oops * fix some extra require default stuff * uncomment this file but it crsahes on my machine * tidy code here * fixup tls exports * make simdutf happier * Add hasPrefix binding * Add test for `require.main` * Fix CommonJS evaluation order race condition * Make node:http load faster * Add missing exports to tls.js * Use the getter * Regenerate builtins * Fix assertion failure in Bun.write() * revamp dotEnv parser (#3347) - fixes `strings.indexOfAny()` - fixes OOB array access fixes #411 fixes #2823 fixes #3042 * fix tests for `expect()` (#3384) - extend test job time-out for `darwin-aarch64` * `expect().resolves` and `expect().rejects` (#3318) * Move expect and snapshots to their own files * expect().resolves and expect().rejects * Fix promise being added to unhandled rejection list * Handle timeouts in expect(<promise>) * wip merge * Fix merge issue --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> * fixup min/memcopy (#3388) * Fix crash in builtins * Don't attempt to evaluate modules with no source code * Update WebCoreJSBuiltins.cpp * Update WebCoreJSBuiltins.cpp * Update WebCoreJSBuiltins.cpp * Fix crash * cleanup * Fix test cc @paperdave * Fixup Undici * Fix issue in node:http * Create util-deprecate.mjs * Fix several bugs * Use the identifier * Support error.code in `util.deprecate` * make the CJs loader slightly more resilient * Update WebCoreJSBuiltins.cpp * Fix macros --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: dave caruso <me@paperdave.net> Co-authored-by: Alex Lam S.L <alexlamsl@gmail.com> Co-authored-by: Ashcon Partovi <ashcon@partovi.net> Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
2023-06-21finish implementing JSMockFunction prototype + lots of expect test ↵Gravatar dave caruso 1-0/+0
organizing (#3304) * mock tests * fix mistake * stuff * partially implement mock return promises * lot of housecleaning on jest tests * document / rename internalFields in jsmockfunction * finish implementing JSMockFunction prototype * cleanup * more progress * everything is done * remove demo.test.js * finish rebase * requested changes * fix compile error
2023-05-21Upgrade WebKit (#2980)Gravatar Jarred Sumner 1-0/+0
* [internal] Show the file path to the calling function from JS * [internal] Make `JSC.NewFunction` more type safe * Upgrade WebKit * Finish --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-17Finish bumpingjarred/webkit-upgrade-may-17Gravatar Jarred Sumner 1-0/+0
2023-04-13Upgrade WebKit (#2643)Gravatar Jarred Sumner 1-0/+0
* Missing export * Regenerate builtins * Fix crash in require() * Various breaking JSC changes * hopefully speed up C++ compilation a little * Skip failing test fo rnow * Update WebKit * Add a comment * Fix error in postinstall * Update WebKit --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-08Rewrite Developer Docs, Improve DX for new users, moving away from ↵Gravatar dave caruso 1-0/+0
Devcontainer (#2588) * new docs starting point. missing alot of information * very experimental idea: make setup * run on ubuntu 20 * builds on ubuntu 20 (wsl) now * add release instructions * add valgrind note from jarred/new-bundler branch, just in case it gets lost when rebasing * changes requested
2023-03-22Fix types (#2453)Gravatar Colin McDonnell 1-0/+0
* WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs
2023-02-25Bump WebKitGravatar Jarred Sumner 1-0/+0
2023-02-17update `bun.lockb`s (#2101)Gravatar Alex Lam S.L 1-0/+0
2023-02-09Upgrade WebKitGravatar Jarred Sumner 1-0/+0
2023-01-29Bump WebKitGravatar Jarred Sumner 1-0/+0
2023-01-23clean up depsGravatar Jarred Sumner 1-0/+0
2023-01-23fix(Buffer) Fix arguments in buffer.write, fix size returned from ↵Gravatar Ciro Spaciari 1-0/+0
buffer.write for utf16, fix size calc for base64, fix calc for hex byte size (#1881) * fix buffer write when more than 2 args are passed * fix encoding parameter * better buffer write tests * fix ucs2/utf8 len return * fix base64 size in Buffer write * fix hex encoding size * actual fix base64 * actual fix base64 * fix segfault * add fill parameter in Buffer.alloc * use createUnitialized when alloc have fill parameter, use RETURN_IF_EXCEPTION when static casting * fix utf16le, ucs2 copying in Buffer write
2023-01-18Regenerate lockbGravatar Jarred Sumner 1-0/+0
2023-01-02Auto-install and link webkitGravatar Jarred Sumner 1-0/+0
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-0/+0
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-0/+0
* 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-10-31Update React fizz server (#1432)Gravatar Colin McDonnell 1-0/+0
* Update fizz server * Use production build Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2022-10-25TCP & TLS Socket API (#1374)Gravatar Jarred Sumner 1-0/+0
* TCP Socket API * Wip * Add snippet for StringDecoder * Rename `close` to `stop`, replace `close` with `end` * Add a tcp echo server test * Some docs * Update README.md * Fix build * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-09-03Plugin API (#1199)Gravatar Jarred Sumner 1-0/+0
* Plugin API * Fix the bugs * Implement `"object"` loader Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-27Update WebKit (#1165)Gravatar Jarred Sumner 1-0/+0
* Update WebKit * Fix `DataView` and non-8 bit sized typed arrays with TextDecoder * New WebKit Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-07Update bun.lockbGravatar Jarred Sumner 1-0/+0
2022-08-05Refresh all the bun.lockbbun-v0.1.7Gravatar Jarred Sumner 1-0/+0
2022-07-09Migrate to Zig v0.10.0Gravatar Alexander 1-0/+0
2022-07-04Fix npm peer dep issueGravatar Jarred Sumner 1-0/+0
2022-07-04Update bun.lockbGravatar Jarred Sumner 1-0/+0
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+0
2022-05-03ffi overhead benchGravatar Jarred Sumner 1-0/+0
2022-04-18fix wasm build take 2 (one more thing is broken)Gravatar Jarred Sumner 1-0/+0
2022-04-03cleanup a few thingsGravatar Jarred Sumner 1-0/+0
2022-03-16bun.lockbGravatar Jarred Sumner 1-0/+0
2022-02-25hopefully no more unnecessary git statusGravatar Jarred Sumner 1-0/+0
2022-02-12hmGravatar Jarred Sumner 1-0/+0
2022-02-11[bun install] Implement global installsGravatar Jarred Sumner 1-0/+0
2022-02-11[bun install] Implement bunfig.toml configGravatar Jarred Sumner 1-0/+0
2022-01-19Bun.Transpiler – API for scanning imports/exports of JSX/TSX/TS/JS filesGravatar Jarred Sumner 1-0/+0
2022-01-03:confused:Gravatar Jarred Sumner 1-0/+0
2022-01-03:lock:Gravatar Jarred Sumner 1-0/+0
2021-12-31Bump peechy againGravatar Jarred Sumner 1-0/+0
2021-12-30Update bun.lockbGravatar Jarred Sumner 1-0/+0
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-0/+0
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-26github actions (#91)Gravatar Jarred Sumner 1-0/+0
* Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update Dockerfile * switch * :hushed: * Update bun.yml * Update Dockerfile * Update Dockerfile * wip * Update bun.yml * Update bun.yml * Update bun.yml * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * cache is broken * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update bun.yml * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update bun.yml * Update Dockerfile * Update Dockerfile * Update bun.yml * bust it * Update Dockerfile * jm * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update Dockerfile * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * wip * Update bun.yml * Update Dockerfile * Update Dockerfile * Update Makefile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * pass executablePath * alright * Update Makefile * Update Dockerfile * Update Dockerfile * Update Makefile * Update Makefile * Update Dockerfile * lets try that * Update Dockerfile * Update bun.yml * hm * Update Dockerfile * Update Dockerfile * Update Dockerfile * not interactive * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * simplify this * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * missing * Update Dockerfile * Update Dockerfile * wrong dir * Update Dockerfile * Update bun.yml * Update Dockerfile * Update Dockerfile * Update bun.yml * ordering * Update Dockerfile * Update bun.yml * run-test file * pass github workspace * hm * Update bun.yml * copy the file * Update run-test.sh * Update bun.yml * Update bun.yml * Update bun.yml * try this way * Update bun.yml * maybe? * Update bun.yml * maybe taht's it? * maybe this * cache * up * Update bun.yml * Update bun.yml * try this one i guess * okay that might do it * Update Dockerfile * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update chrome.json * Update chrome.json * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * hm * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * fix caching I think * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * Update bun.yml * maybe * Update bun.yml * fixup * Update bun.yml * Update bun.yml * Update bun.yml * maybe this time * Update bun.yml * Update Dockerfile * random name * ok * explicit runner * Update bun.yml * Update bun.yml * try deleting the files so the layer caching doesn't happen * :runner: * Update bun.yml * Update bun.yml * Update Dockerfile * Update Dockerfile * Update Dockerfile * Dockerfile.base * node.js * Update bun.yml * Update Dockerfile * Update Dockerfile.base * cleanup