aboutsummaryrefslogtreecommitdiff
path: root/.github (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-23Upgrade WebKit (#3777)Gravatar Jarred Sumner 5-27/+27
* Upgrade to latest WebKit * Upgrade WebKit * hm * Fix failing tests * Delete utf8-encoding-fixture.bin.cmp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-22Unified event loop (#3741)Gravatar Jarred Sumner 5-27/+27
* Unified event loop * Update WebKit, add test for es-module-lexer * Update README.md * Use async wasm * Explicitly set whether concurrenttask should be deinit'd * Update package.json --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-19Implement `AsyncLocalStorage` (#3089)Gravatar dave caruso 5-27/+27
* work to get async local storage working. * a * a * everything but queueMicrotask * sdfghj * . * finish * tests * test * ok * done * im so stupid * Upgrade WebKit * refactor * refactor * changes requested * oops * cool * fix runInAsyncScope
2023-07-18feature(constants) add constants/node:constants module and tests(prisma) use ↵Gravatar Ciro Spaciari 4-8/+4
prima 5.0.0 + use same connection for postgres, add prisma mssql (disabled for now) (#3672) * use prima 5.0.0 + use same connection for postgres * change mongodb test URL * constants module + mssql prisma test (disabled)
2023-07-18zig upgrade (#3667)Gravatar Dylan Conway 1-1/+1
* upgrade * more fixes * Bump Zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-12Bump WebKitGravatar Jarred Sumner 5-27/+27
2023-07-05add envs on tests (#3518)Gravatar Ciro Spaciari 4-0/+20
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-07-02Support mocking `new Date()` & `Date.now()` in bun:test (#3501)Gravatar Jarred Sumner 5-27/+27
* Support changing the time * Bump WebKit * Update bun.lockb --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-28Error.prototype.stack gets sourcemapped stacktraces and introduce ↵Gravatar Jarred Sumner 5-27/+27
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-27Fix docker tag on releasebun-v0.6.11Gravatar Ashcon Partovi 1-2/+2
2023-06-24Rewrite Bun's runtime CommonJS loader (#3379)Gravatar Jarred Sumner 5-27/+27
* 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-22fix tests for `expect()` (#3384)Gravatar Alex Lam S.L 1-1/+1
- extend test job time-out for `darwin-aarch64`
2023-06-21upgrade zig to `v0.11.0-dev.3737+9eb008717` (#3374)Gravatar Dylan Conway 1-1/+1
* progress * finish `@memset/@memcpy` update * Update build.zig * change `@enumToInt` to `@intFromEnum` and friends * update zig versions * it was 1 * add link to issue * add `compileError` reminder * fix merge * format * upgrade to llvm 16 * Revert "upgrade to llvm 16" This reverts commit cc930ceb1c5b4db9614a7638596948f704544ab8. --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-21Revert "Update Github action runners"Gravatar Jarred Sumner 4-5/+5
This reverts commit 69f558db8e0eba637febdc62c6ba752444b54401.
2023-06-21Update Github action runnersGravatar Ashcon Partovi 4-5/+5
2023-06-09replace `sudo` usage in GitHub Actions (#3254)Gravatar Alex Lam S.L 5-23/+23
2023-06-06Docs for `Bun.password` and ws publish (#3227)Gravatar Colin McDonnell 1-1/+1
* Update websocket docs & jsdoc * Document Bun.password * Update hash encoding docs * Fix typos * Add info about user-specific data in ws * Update outdated websocket jsdoc * Replace usages of req.url * Remove log
2023-06-01Add concurrency to workflows, enable cancel-in-progressGravatar Ashcon Partovi 6-59/+25
2023-06-01Disable typecheck workflow for nowGravatar Ashcon Partovi 1-34/+0
2023-06-01ci: dont run builds in forks (#3156)Gravatar Jozef Steinhübl 10-4/+28
2023-05-21Upgrade WebKit (#2980)Gravatar Jarred Sumner 5-27/+27
* [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-17BumpGravatar Jarred Sumner 5-27/+27
2023-05-04Only checkout test folder for ecosystem testsGravatar Ashcon Partovi 1-2/+2
2023-05-04Fix working directory of GitHub actionGravatar Ashcon Partovi 1-1/+2
2023-05-04Add initial ecosystem tests (#2801)Gravatar Ashcon Partovi 4-691/+48
* Add initial ecosystem tests * Run ecosystem tests every morning, after canary release
2023-05-01Fix error links in markdown summaryGravatar Ashcon Partovi 1-8/+9
2023-05-01Condense errors in test runner scriptGravatar Ashcon Partovi 2-6/+9
2023-04-28Fix race conditionGravatar Jarred Sumner 1-0/+3
2023-04-28Update bun-test.ymlGravatar Jarred Sumner 1-1/+1
2023-04-28move thisGravatar Jarred Sumner 4-1/+686
2023-04-28Use setup-bun insteadGravatar Ashcon Partovi 1-12/+15
2023-04-28Fix path of bun in workflow, try 3Gravatar Ashcon Partovi 1-1/+1
2023-04-28Fix path of bun in workflow, try 2Gravatar Ashcon Partovi 1-2/+1
2023-04-28Fix path of bun in workflowGravatar Ashcon Partovi 1-1/+2
2023-04-28Use GITHUB_PATH instead of cpGravatar Ashcon Partovi 1-1/+1
2023-04-28Maybe fix test runner on macOSGravatar Ashcon Partovi 1-2/+2
2023-04-28Improve test workflowGravatar Ashcon Partovi 2-39/+55
2023-04-28Use bun x instead of bunxGravatar Ashcon Partovi 1-1/+1
2023-04-28Fix manual test workflowGravatar Ashcon Partovi 1-2/+1
2023-04-28Use Node.js APIs for test runnerGravatar Ashcon Partovi 1-1/+1
2023-04-28New test runner with better Github integrationGravatar Ashcon Partovi 1-20/+1
2023-04-20Increase timeouts :(Gravatar Jarred Sumner 2-2/+2
2023-04-14Upgrade Zig (#2656)Gravatar Jarred Sumner 1-1/+1
* Upgrade Zig * Don't add `d` files in github actions * Revert "Don't add `d` files in github actions" This reverts commit 446e2dd6743da08ec4136233fdc9179dbbf58fca. --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-13Upgrade WebKit (#2643)Gravatar Jarred Sumner 5-27/+27
* 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-07Fix environment variables in workflowGravatar Ashcon Partovi 2-4/+4
2023-04-07Upload releases to S3Gravatar Ashcon Partovi 2-0/+67
2023-04-05Update `typecheck` (#2572)Gravatar Colin McDonnell 1-3/+6
* Update typecheck * Test ci * Test ci * Prettify files
2023-04-04:clock1: :clock2: :clock3:Gravatar Jarred Sumner 1-1/+1
2023-03-30Generate dependency files in `make bindings` (#2510)Gravatar Dylan Conway 3-3/+3
* generate dependency files, include in makefile * move `make webcrypto` to `make bindings` * update more references to `make webcrypto` * remove `-lwebcrypto`
2023-03-28Sign canary release before Docker releaseGravatar Ashcon Partovi 1-0/+32