aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/some-fs.js (follow)
AgeCommit message (Expand)AuthorFilesLines
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-0/+51
'logsubject'>add bun update to help menuGravatar Jarred Sumner 1-0/+2 2023-08-07implement fetching data urls (#4000)Gravatar Dylan Conway 10-21/+244 * fetch data urls * `byteSlice` * deinit slice * allocate `mime_type` string if needed * `content_type_allocated` and uncomment tests * `str_` * createAtom and slice decode result 2023-08-07implement `bun update` (#4046)Gravatar Alex Lam S.L 5-89/+389 - analogous to `npm update` - `bun update <name>` to refresh specified package under `package.json` - `bun update` to refresh all package to latest versions 2023-08-07fix iterating headers with `set-cookie` (#4048)Gravatar Dylan Conway 5-53/+51 * fix iterating headers with `set-cookie` * a test * move work to `HTTPHeaderMap::set` * append set-cookie after sort * remove compare function 2023-08-07WASM test analyzer (#4043)Gravatar Jarred Sumner 25-169/+965 * wasm * WASM test scanner * Update Makefile * Update Makefile * Configurable heap limit * slightly better error * Update js_parser.zig * Update path.test.js * Update node.mjs --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-07Improve plugin docsGravatar Colin McDonnell 3-306/+283 2023-08-07Fix `path.normalize` edge case. (#4042)Gravatar Ai Hoshino 2-1/+2 Close: #4041 2023-08-06Fixes #4001 (#4034)Gravatar Jarred Sumner 3-9/+108 * Avoid a utf8 conversion in isDetached * Fixes #4001 * hit the long url codepath --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-06Fixes #4029 and fixes #4022 (#4032)Gravatar Jarred Sumner 4-29/+34 * Fixes #4029 and Fixes #4022 Fixes #4029 Fixes #4022 * Add test for all the fetches --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-06Fixes #4010 (#4031)Gravatar Jarred Sumner 1-24/+17 * Fixes #4010 * Update websocket_http_client.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-06Update build-idGravatar Jarred Sumner 1-1/+1 2023-08-06Bind require.resolve() (#4030)Gravatar Jarred Sumner 4-13/+47 Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-06Fixes #4020Gravatar Jarred Sumner 2-1/+6 2023-08-06Running missing scripts exits with non-0 (#4026)Gravatar Yash Sharma 2-1/+13 Co-authored-by: Yash Sharma <yashsharma@Yashs-MacBook-Air.local> 2023-08-06[install] handle `bun add` of existing `peerDependencies` correctly (#4028)Gravatar Alex Lam S.L 3-22/+98 2023-08-06fix nanbun-v0.7.3Gravatar Jarred Sumner 1-0/+3 2023-08-06Update coverage.mdGravatar Jarred Sumner 1-1/+1 2023-08-06Update lol-htmlGravatar Jarred Sumner 1-0/+0 2023-08-06Fixes #3129 (#4018)Gravatar Jarred Sumner 3-104/+58 * Fixes #3129 * add CloseEvent --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-06Code coverage for `bun test` (#3975)Gravatar Jarred Sumner 32-61/+1211 * WIP code coverage initial commit * almost works * one approach * Code Coverage * Update WebKit * it works but is not yet accurate * skip double ascii check * wrapper * it works but i'm not sure what to do about blocks * hide blocks for now * Update ZigSourceProvider.cpp * Create coverage.md * Update nav.ts --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-06feat: impl `dns.getServers` (#3982)Gravatar Ai Hoshino 5-3/+135 * feat: impl `dns.getServers` Close: #3981 * check return value of `ares_inet_ntop` 2023-08-06Implement --test-name-pattern (#3998)Gravatar dave caruso 8-7/+151 * Fix end not being emitted all the time * stuff * Implement -t * Undo js_printer changes * Undo http changes * Update InternalModuleRegistryConstants.h * Delete unrelated test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-05Fix(cli/init): support subpath entrypoint. (#4002)Gravatar Ai Hoshino 1-1/+8 2023-08-05Remove Bun.plugin transpiler hook, encourage usage of `--preload` instead ↵Gravatar dave caruso 5-243/+1 (#3987) * Remove Bun.plugin transpiler hook * one missing case 2023-08-04Support --dev/-D and support more flags on bun install (#3989)Gravatar Colin McDonnell 5-9/+14 2023-08-04fix macro string escaping (#3967)Gravatar Dylan Conway 4-8/+97 * handle macro escaping * remove printer * use `js_lexer.decodeEscapeSequences` 2023-08-04Fixes #3991Gravatar Jarred Sumner 2-4/+40 Fixes #3991 2023-08-04[install] handle `workspace:*` correctly (#3994)Gravatar Alex Lam S.L 2-54/+158 - parse as path so it works on unversioned workspaces - fix missed storage of workspace version fixes #3985 2023-08-04Update import-meta.mdGravatar Jarred Sumner 1-2/+1 2023-08-04Fix incorrect docsGravatar Jarred Sumner 1-2/+3 2023-08-04[types] fix `blob.json()` (#3995)Gravatar Alex Lam S.L 1-4/+4 2023-08-04FFI typo (#3973)Gravatar dave caruso 3-5/+10 * FFI typo * add tests * it was a newline 2023-08-04Buffer.copy should ignore out-of-range sourceEnd (#3971)Gravatar Yifei Wang 2-17/+34 2023-08-04[install] store resolved workspace path in lockfile (#3974)Gravatar Alex Lam S.L 5-82/+187 - resolve cwd consistently - speed up package diff - update `test/bun.lockb` fixes #3685 fixes #3958 2023-08-04Fix types (#3963)Gravatar Colin McDonnell 14-274/+892 * Fix types * Add ws module * Add *.toml module declaration * Clean up 2023-08-04feat(hot-clear-screen): clear terminal on hot reload (#3976)Gravatar simylein 1-0/+7 * feat(hot-clear-screen): clear terminal on hot reload * fix(hot-clear-screen): is now I n the correct place * fix(hot-clear-screen): enable buffering after terminal clear