summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-21chore(tools): pull dprint from npm instead of third_party (#21281)David Sherret
This will allow this format script to work on more architectures. Also, this upgrade fixes the issue with the unstable incremental cache that's currently on main.
2023-11-20fix(fmt): maintain parens for jsx in member expr (#21280)David Sherret
Fix in https://github.com/dprint/dprint-plugin-typescript/commit/0b44991bb9cbc35999796c9864e68d8e4a0f9245 Closes https://github.com/denoland/deno/issues/21279
2023-11-20docs(cli/args/flags.rs): Update dead link for `run` example (#21277)citrusmunch
The `deno run` example in the help output uses https://deno.land/std/examples/welcome.ts which no longer exists. Replacing with https://examples.deno.land/hello-world.ts Signed-off-by: citrusmunch <citrusmunch@users.noreply.github.com>
2023-11-20fix: Deno.noColor should not be true when NO_COLOR is empty string (#21275)David Sherret
Closes https://github.com/denoland/deno/issues/21274
2023-11-20fix(ext/node): handle closing process.stdin more than once (#21267)Divy Srivastava
Fixes https://github.com/denoland/deno/issues/21112 Aligns more towards what Node.js does. Closing stdin more than once is a nop.
2023-11-20chore: update deno_doc to 0.73.3 (#21262)Bartek Iwańczuk
Removes some unnecessary dependencies.
2023-11-20fix(ext/url): add deno_console dependency for bench (#21266)Kenta Moriuchi
Should fix the benchmarks. Signed-off-by: Kenta Moriuchi <moriken@kimamass.com>
2023-11-20chore: fix `__runtime_js_sources` feature flag (#21265)Divy Srivastava
2023-11-20docs: typo fixlet in worker type comment (#21268)Jérôme Benoit
2023-11-19chore: add aarch64-apple-darwin builds to ci (#21243)Matt Mastracci
This is a prerequisite to automatic code signing.
2023-11-19fix(ext,runtime): add missing custom inspections (#21219)Kenta Moriuchi
2023-11-18chore: update wpt (#21255)Leo Kettmeir
2023-11-18chore(ext/http): bump version for re-release (#21254)Matt Mastracci
Syncs the changes to main for a deno_http version bump we needed to do. `deno_http` v1.20 was released from the v1.38 branch.
2023-11-18fix(ext/http): fix crash in dropped Deno.serve requests (#21252)Matt Mastracci
Fixes #21250 We were attempting to recycle dropped resource responses too early.
2023-11-17chore: combine `TestCommandBuilder` with `DenoCmd` (#21248)David Sherret
2023-11-18chore: disable curl --http2 tests (#21247)Matt Mastracci
2023-11-17chore: bump deno_core (#21242)Matt Mastracci
2023-11-17test(cli): http test reliability fixes (#21246)Matt Mastracci
2023-11-17chore(cli): Fix rename test for XFS (#21215)Florian Schwalm
Renaming a directory to a path where a non-empty directory already exists was asserted to always fail with `ENOTEMPTY` According to glibc manual the function may also fail with `EEXIST` on "some other systems". One such case is using XFS [^1]. This commit handles the EEXIST case. [^1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/xfs/xfs_inode.c?h=v4.18&id=94710cac0ef4ee177a63b5227664b38c95bbf703#n3082
2023-11-17refactor(upgrade): add unit tests for lsp upgrade check (#21244)David Sherret
2023-11-17chore: make http benches more reliable to start (#21240)Matt Mastracci
2023-11-17chore: fix and deflake cert store fetch tests (#21241)Matt Mastracci
2023-11-17ci: fix flaky stdio_streams_are_locked_in_permission_prompt (#21238)David Sherret
Part of #21187
2023-11-17chore: update to Rust 1.74 (#21210)林炳权
Update to Rust 1.74
2023-11-17chore: various improvements to tests (#21222)David Sherret
2023-11-17chore(tools): update release_doc_template.md (#21230)Yoshiya Hinosawa
2023-11-17chore: forward v1.38.2 release commit to main (#21236)denobot
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-11-17feat(unstable): Workspaces support (#20410)Bartek Iwańczuk
This commit adds unstable workspace support. This is extremely bare-bones and minimal first-pass at this. With this change `deno.json` supports specifying `workspaces` key, that accepts a list of subdirectories. Each workspace can have its own import map. It's required to specify a `"name"` and `"version"` properties in the configuration file for the workspace: ```jsonc // deno.json { "workspaces": [ "a", "b" }, "imports": { "express": "npm:express@5" } } ``` ``` jsonc // a/deno.json { "name": "a", "version": "1.0.2", "imports": { "kleur": "npm:kleur" } } ``` ```jsonc // b/deno.json { "name": "b", "version": "0.51.0", "imports": { "chalk": "npm:chalk" } } ``` `--unstable-workspaces` flag is required to use this feature: ``` $ deno run --unstable-workspaces mod.ts ``` --------- Co-authored-by: David Sherret <dsherret@gmail.com>
2023-11-16fix(doc): issue discovering re-exports of re-exports sometimes (#21223)David Sherret
2023-11-16fix(npm): support cjs entrypoint in node_modules folder (#21224)David Sherret
Closes #21109
2023-11-16feat(ext/cron) modify Deno.cron API to make handler arg last (#21225)Igor Zinkovsky
This PR changes the `Deno.cron` API: * Marks the existing function as deprecated * Introduces 2 new overloads, where the handler arg is always last: ```ts Deno.cron( name: string, schedule: string, handler: () => Promise<void> | void, ) Deno.cron( name: string, schedule: string, options?: { backoffSchedule?: number[]; signal?: AbortSignal }, handler: () => Promise<void> | void, ) ``` This PR also fixes a bug, when other crons continue execution after one of the crons was closed using `signal`.
2023-11-15feat(ext/net): use rustls_tokio_stream (#21205)Matt Mastracci
Fixes #21121 and #19498 Migrates fully to rustls_tokio_stream. We no longer need to maintain our own TlsStream implementation to properly support duplex. This should fix a number of errors with TLS and websockets, HTTP and "other" places where it's failing.
2023-11-15fix: use short git hash for deno version (#21218)Bartek Iwańczuk
2023-11-15fix(cli): Allow executable name start with digit (#21214)Bolat Azamat
2023-11-15perf: static bootstrap options in snapshot (#21213)Divy Srivastava
Closes https://github.com/denoland/deno/issues/21133
2023-11-15fix(runtime): fix Deno.noColor when stdout is not tty (#21208)Yoshiya Hinosawa
2023-11-14feat(lsp): upgrade check on init and notification (#21105)Nayeem Rahman
2023-11-14perf: move jupyter esm out of main snapshot (#21163)Divy Srivastava
Towards https://github.com/denoland/deno/issues/21136
2023-11-14chore: switch compile tests over to the TestBuilder (#21180)David Sherret
2023-11-14refactor: snapshot module for deno_runtime (#21162)Divy Srivastava
Closes #21134
2023-11-14fix(ext/node): add APIs perf_hook.performance (#21192)Bartek Iwańczuk
Required for Next.js.
2023-11-14fix(ext/web): webstorage has trap for symbol (#21090)Kenta Moriuchi
2023-11-13chore: bump deno_core (#21188)Matt Mastracci
Fixes https://github.com/denoland/deno/issues/21176
2023-11-13Revert "fix(ext/console): fix inspecting iterators error. (#20720)" (#21191)Bartek Iwańczuk
This reverts commit 0209f7b46954d1b7bf923b4191e5a356ec09622c. Reverting because it causes failures on `main`: https://github.com/denoland/deno/pull/20720#issuecomment-1809166755
2023-11-13chore: remove duplicate esnext.dispoable (#21184)David Sherret
2023-11-13refactor(ext/http): Use HttpRecord as response body to track until body ↵Laurence Rowe
completion (#20822) Use HttpRecord as response body so requests can be tracked all the way to response body completion. This allows Request properties to be accessed while the response body is streaming. Graceful shutdown now awaits a future instead of async spinning waiting for requests to finish. On the minimal benchmark this refactor improves performance an additional 2% over pooling alone for a net 3% increase over the previous deno main branch. Builds upon https://github.com/denoland/deno/pull/20809 and https://github.com/denoland/deno/pull/20770. --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2023-11-13fix(ext/console): fix inspecting iterators error. (#20720)Chen Su
Fixes #19776 and #20676.
2023-11-13chore(cli): unflake signal test (#21185)Matt Mastracci
If these tests do eventually break, they'll time out.
2023-11-13chore: update wpt (#21178)Leo Kettmeir
For #20849
2023-11-13chore(ext/web): use a non-resource stream for ↵Matt Mastracci
textDecoderStreamCleansUpOnCancel (#21181) Follow-up fix to #21074