aboutsummaryrefslogtreecommitdiff
path: root/src/api/demo (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-25remove very old stuffGravatar Jarred Sumner 24-10361/+0
2023-06-25Add support for install with --frozen-lockfile (#3365)Gravatar Tiago Teixeira 4-0/+16
* Add support for install with --frozen-lockfile * Add test * Add test for frozenLockfile in config file
2023-06-21upgrade zig to `v0.11.0-dev.3737+9eb008717` (#3374)Gravatar Dylan Conway 1-23/+23
* 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-01Fix streams breaking on reverted EventEmitter / Make Discord.js work (#2913)Gravatar dave caruso 1-7853/+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-04-28bundler tests: rest of default.test.ts and starting jsx tests (#2765)Gravatar dave caruso 2-9/+9
2023-04-21Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652)"Gravatar Jarred Sumner 1-0/+7853
This reverts commit 3a2fd65f20d3b4e99c89f789acec5e5e40615008.
2023-04-13use a lazyily initialized stream for `node:crypto` `createHash` (#2652)Gravatar dave caruso 1-7853/+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 5-392/+108
* 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
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-1/+1
* @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 15-127/+425
* 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-03-16bun.lockbGravatar Jarred Sumner 1-0/+0
2022-03-02reduce number of global variablesGravatar Jarred Sumner 1-0/+0
2022-02-27WASMGravatar Jarred Sumner 11-301/+7643
2021-10-031% perf improvements on Linuxjarred/linuxGravatar Jarred SUmner 1-0/+1
2021-08-25latestGravatar Jarred Sumner 1-1/+1
Former-commit-id: f5600d123d3710e7ea80ff2b7c66d13382462420
2021-08-23Fix resolve bug with mixed-case node_modulesGravatar Jarred Sumner 1-1/+1
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-08-10This is alotGravatar Jarred Sumner 1-0/+0
Former-commit-id: 4b2a396611ec03270dc768b70e488b0f5eee2a37
2021-08-09Split up + generate client & server bundles, support framework +router in ↵Gravatar Jarred Sumner 1-254/+223
GenerateNodeModulesBundle , read framework from package.json + rename "publicURL" to "origin" + add import.meta.filepath Former-commit-id: 1e76ebb5375247231181ec19a6396c6acf4684fb
2021-06-01wipGravatar Jarred Sumner 7-5/+8348
Former-commit-id: a6bc130918f63bfbeac220f4e1fa55f08197e1c1
2021-05-30coolGravatar Jarred Sumner 1-0/+0
Former-commit-id: 7dc3ee4c893a476cee1e78c19f154f33a9d824a9
2021-05-15lotsGravatar Jarred Sumner 1-0/+0
Former-commit-id: d8b1d296562a01800248bd1148bc4778225b436e
2021-05-13bug fixes galoreGravatar Jarred Sumner 1-1/+1
Former-commit-id: 72439452918caa05a32d4e3607910901fa2f4f85
2021-05-08Okay this hunks solution seems to work for now. It's not _great_ though.Gravatar Jarred Sumner 1-3/+3
Former-commit-id: 32cdc13f63c0d946a3ee1ec60fb65785e1035b8a
2021-05-08Fix for loop initializerGravatar Jarred Sumner 1-1/+1
Former-commit-id: 6b863d5d51f7f1bc293e56ed395fe4ad49174f63
2021-05-07wipGravatar Jarred Sumner 3-50/+151
Former-commit-id: 79223472f7bb22c4de1f872a542f185aa7189aaa
2021-05-07This _sort of_ worksGravatar Jarred Sumner 3-23/+128
Former-commit-id: 8c4917fe60ad049789aea96018363997e9f20e8f
2021-05-07wipGravatar Jarred Sumner 3-29/+54
Former-commit-id: f4267e2d1fee0d885630dc2a87be0a5699bf526f
2021-05-07coolGravatar Jarred Sumner 12-0/+2298
Former-commit-id: 96ff169e46fcb43d5afbc9a6e2fde039e27e9d5f