Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-24 | fix(ext/node): support brotli APIs (#19223) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-06-24 | fix(cli): Don't use hardcoded port 4501 in serve test (#19599) | Matt Mastracci | |
2023-06-24 | bench: fix benchmarks (#19600) | Bartek Iwańczuk | |
2023-06-23 | fix(serde_v8): Do not coerce values in serde_v8 (#19569) | Divy Srivastava | |
Fixes #19568 Values are not coerced to the desired type during deserialisation. This makes serde_v8 stricter. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-06-22 | test(ext/node): port buffer_test.ts from deno_std (#19556) | Felipe Baltor | |
2023-06-22 | refactor(npm): remove needless resolve_nv_ref_from_pkg_req_ref on ↵ | David Sherret | |
NpmResolver (#19582) | |||
2023-06-22 | test(ext/node): add fs open unit test from std (#19505) | Kaique da Silva | |
2023-06-21 | fix(cli/napi): property with getter/setter always failed (#19562) | Dj | |
with `napi_define_properties`. | |||
2023-06-21 | fix(cli/napi): `napi_get_buffer_info` accepts `ArrayBufferView` … (#19551) | Dj | |
... not just `Uint8Array`. This PR aligns behavior with Node.js Node-API implementation. | |||
2023-06-19 | test(ext/node): port _fs_writeFile_test.ts from deno_std (#19524) | Felipe Baltor | |
2023-06-17 | chore(kv) fix and re-enable queue test (#19529) | Igor Zinkovsky | |
The callback draining code is no longer needed after #19513. | |||
2023-06-16 | chore: fix typos in HrtimePermissionDescriptor and performance.now docs (#19469) | andy | |
2023-06-16 | fix(ext/node): remove fromFileUrl from "node:path" (#19504) | Ryan Clements | |
2023-06-16 | chore: forward v1.34.3 release commit to main (#19526) | denobot | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-06-15 | fix(cli): avoid crash on import of invalid module names (#19523) | Bartek Iwańczuk | |
Fixes https://github.com/denoland/deno/issues/17748 Closes #17770 Co-authored-by: Anton Bershanskiy <bershanskiy@users.noreply.github.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com> | |||
2023-06-15 | refactor(flags): move watch flags into subcommand structs (#19516) | David Sherret | |
Moves the watch setting out of the `Flags` struct and into the individual subcommands | |||
2023-06-15 | chore(ext/kv): disable flaky test (#19522) | Heyang Zhou | |
2023-06-15 | fix(node): Worker constructor doesn't check type: module of package.json ↵ | Vedant Pandey | |
(#19480) | |||
2023-06-15 | refactor(ext/fetch): simplify fetch ops (#19494) | Bartek Iwańczuk | |
Addresses feedback from https://github.com/denoland/deno/pull/19412#discussion_r1227912676 | |||
2023-06-15 | chore(ext/net): ignore startTls test (#19515) | Matt Mastracci | |
2023-06-14 | chore(kv) another fix for queue flaky test (#19513) | Igor Zinkovsky | |
2023-06-14 | fix: reload config files on watcher restarts (#19487) | David Sherret | |
Closes #19468 | |||
2023-06-14 | chore(ext/node): bring back changes to ClientRequest.onSocket (#19509) | Leo Kettmeir | |
Reverts denoland/deno#19426 | |||
2023-06-14 | chore(kv) fix flaky queue test (#19495) | Igor Zinkovsky | |
2023-06-13 | feat(kv) queue implementation (#19459) | Igor Zinkovsky | |
Extend the unstable `Deno.Kv` API to support queues. | |||
2023-06-13 | Revert "refactor(core): cleanup feature flags for js source inclusion… ↵ | Bartek Iwańczuk | |
(#19490) … (#19463)" This reverts commit ceb03cfb037cf7024a5048b17b508ddda59cfa05. This is being reverted because it causes 3.5Mb increase in the binary size, due to runtime JS code being included in the binary, even though it's already snapshotted. CC @nayeemrmn | |||
2023-06-13 | chore: fix compile error on main (#19489) | David Sherret | |
2023-06-13 | fix(lsp): don't pre-load documents matched in the config file's "exclude" ↵ | David Sherret | |
(#19431) This prevents documents specified in a deno.json's "exclude" from being pre-loaded by the lsp. For example, someone may have something like: ```jsonc // deno.json { "exclude": [ "dist" // build directory ] } ``` | |||
2023-06-13 | fix(node/buffer): make slice be the same as subarray (#19481) | Leo Kettmeir | |
2023-06-13 | fix(ext/http): replace await Deno.serve with await Deno.serve().finished ↵ | Matt Mastracci | |
(#19485) We have a bunch of these to clean up after we changed the API. | |||
2023-06-13 | fix(ext/websockets): ensure we fully send frames before close (#19484) | Matt Mastracci | |
Fixes #19483 | |||
2023-06-13 | refactor(core): cleanup feature flags for js source inclusion (#19463) | Nayeem Rahman | |
Remove `ExtensionFileSourceCode::LoadedFromFsDuringSnapshot` and feature `include_js_for_snapshotting` since they leak paths that are only applicable in this repo to embedders. Replace with feature `exclude_js_sources`. Additionally the feature `force_include_js_sources` allows negating it, if both features are set. We need both of these because features are additive and there must be a way of force including sources for snapshot creation while still having the `exclude_js_sources` feature. `force_include_js_sources` is only set for build deps, so sources are still excluded from the final binary. You can also specify `force_include_js_sources` on any extension to override the above features for that extension. Towards #19398. But there was still the snapshot-from-snapshot situation where code could be executed twice, I addressed that by making `mod_evaluate()` and scripts like `core/01_core.js` behave idempotently. This allowed unifying `ext::init_ops()` and `ext::init_ops_and_esm()` into `ext::init()`. | |||
2023-06-13 | fix(npm): warn when tarball contains hardlink or symlink (#19474) | David Sherret | |
This is to help us get some visibility into whether we need to support this. | |||
2023-06-13 | chore(repl): mark some tests as flaky (#19475) | David Sherret | |
2023-06-13 | fix(lsp): update import map config when deno.json changes (#19476) | David Sherret | |
Half of #19468 | |||
2023-06-13 | fix(ext/node): handle 'upgrade' responses (#19412) | Bartek Iwańczuk | |
This commit adds support for "upgrade" events in "node:http" "ClientRequest". Currently only "Websocket" upgrades are handled. Thanks to this change package like "npm:puppeteer" and "npm:discord" should work. Closes https://github.com/denoland/deno/issues/18913 Closes https://github.com/denoland/deno/issues/17847 | |||
2023-06-13 | test(ext/node): add fs dirent unit test from std (#19461) | Kaique da Silva | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2023-06-13 | feat(node): HTTPS server (#19362) | Leo Kettmeir | |
2023-06-12 | chore(core): fix flaky flock_test on windows (#19477) | Matt Mastracci | |
2023-06-12 | chore: update clap (#19467) | Leo Kettmeir | |
Also switches to use defer for all subcommands besides run. | |||
2023-06-10 | chore(tests): test_util - Add `PathRef` (#19450) | David Sherret | |
This adds a new `PathRef` struct to test_util for making it easier to work with paths in test code. I'm going to expand on this more in the future. | |||
2023-06-09 | chore: fix flaky package_json_auto_discovered_for_local_script_arg (#19445) | David Sherret | |
2023-06-09 | perf(node): cache realpath_sync calls in read permission check (#19379) | Gustrb | |
2023-06-09 | chore: fix flaky stdio_streams_are_locked_in_permission_prompt (#19443) | David Sherret | |
2023-06-09 | fix(fmt): do not panic formatting json with multiple values (#19442) | David Sherret | |
2023-06-09 | fix(config): do not canonicalize config file path before loading (#19436) | David Sherret | |
I'm unsure why we canonicalize the config file path when loading and the canonicalization is causing issues in #19431 because everything in the lsp is not canonicalized except the config file (actually, the config file is only canonicalized when auto-discovered and not whens pecified). We also don't canonicalize module paths when loading them. Canonicalization was added in https://github.com/denoland/deno/pull/7621 | |||
2023-06-09 | perf: add Tokio runtime monitor (#19415) | Bartek Iwańczuk | |
This commit adds ability to print metrics of the Tokio runtime to the console by passing "DENO_TOKIO_METRICS=1" env var. Metrics will be printed every second, but this can be changed by "DENO_TOKIO_METRICS_INTERVAL=500" env var. | |||
2023-06-09 | chore: forward v1.34.2 release commit to main (#19434) | denobot | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-06-08 | chore(ext/node): revert changes to ClientRequest.onSocket (#19426) | Bartek Iwańczuk | |
Partially reverts https://github.com/denoland/deno/pull/19340 because it causes hangs in some situations. | |||
2023-06-08 | chore: Use relative paths for assert imports to avoid test flakes (#19427) | Matt Mastracci | |
Tests occasionally fail if we get a bad gateway attempting to fetch the assertion module |