-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Comparing changes
Open a pull request
base repository: denoland/deno
base: v1.43.3
head repository: denoland/deno
compare: v1.43.4
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99babe5 - Browse repository at this point
Copy the full SHA 99babe5View commit details -
fix(ext/node): process.uptime works without this (#23786)
Fixes #23761 Co-authored-by: Satya Rohith <me@satyarohith.com>
Configuration menu - View commit details
-
Copy full SHA for eca12e0 - Browse repository at this point
Copy the full SHA eca12e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e25512 - Browse repository at this point
Copy the full SHA 9e25512View commit details -
fix(cli): panic with
deno coverage
(#23353)This PR directly addresses the issue raised in #23282 where Deno panics if `deno coverage` is called with `--include` regex that returns no matches. I've opted not to change the return value of `collect_summary` for simplicity and return an empty `HashMap` instead
Configuration menu - View commit details
-
Copy full SHA for ac32c0b - Browse repository at this point
Copy the full SHA ac32c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for faf0896 - Browse repository at this point
Copy the full SHA faf0896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 420023c - Browse repository at this point
Copy the full SHA 420023cView commit details -
fix(ext/web): update ongoing promise in async iterator
return()
met……hod (#23642) See whatwg/webidl#1387 for context. There are new WPT tests for this change in web-platform-tests/wpt#44456. They pass on my local machine, but I'm not sure if I should update the WPT submodule for all of Deno as part of this PR? Fixes #22389 --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.
Configuration menu - View commit details
-
Copy full SHA for 03488ca - Browse repository at this point
Copy the full SHA 03488caView commit details -
fix(doc/publish): support expando properties (#23795)
* denoland/deno_graph#428 * denoland/deno_doc#575 Closes #23276
Configuration menu - View commit details
-
Copy full SHA for ad01a39 - Browse repository at this point
Copy the full SHA ad01a39View commit details -
fix: Add missing
"junction"
type forSymlinkOptions.types
(#23756)Junction symlink support is added in #22762, but `SymlinkOptions` and its documents are not updated.
Configuration menu - View commit details
-
Copy full SHA for 798fd09 - Browse repository at this point
Copy the full SHA 798fd09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a766b1 - Browse repository at this point
Copy the full SHA 5a766b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4270e2 - Browse repository at this point
Copy the full SHA d4270e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 470dd8b - Browse repository at this point
Copy the full SHA 470dd8bView commit details -
fix(npm): make tarball extraction more reliable (#23759)
1. Extracts to a directory beside the destination. 2. Renames to the destination with retries.
Configuration menu - View commit details
-
Copy full SHA for bce6907 - Browse repository at this point
Copy the full SHA bce6907View commit details -
chore(tests): increase repl timeout on ci (#23812)
https://github.com/denoland/deno/actions/runs/9084225162/job/24964698935 ``` ---- run::file_fetcher_preserves_permissions stdout ---- command /Users/runner/work/deno/deno/target/debug/deno repl --quiet command cwd /Users/runner/work/deno/deno/tests/testdata ------ Start Full Text ------ "const a = await import('http://localhost:4545/run/019_media_types.ts');\r\n" ------- End Full Text ------- Next text: "\r\n" thread 'run::file_fetcher_preserves_permissions' panicked at tests/integration/run_tests.rs:4615:15: Timed out. ``` Closes #23690 Closes #23682 Closes #23625
Configuration menu - View commit details
-
Copy full SHA for 44cfb4f - Browse repository at this point
Copy the full SHA 44cfb4fView commit details -
fix(runtime): output to stderr with colors if a tty and stdout is pip…
…ed (#23813) This also fixes a bug where Deno would output to stderr with colours when piped and stdout was not piped.
Configuration menu - View commit details
-
Copy full SHA for 0684ab3 - Browse repository at this point
Copy the full SHA 0684ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ce9aa5 - Browse repository at this point
Copy the full SHA 8ce9aa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd484c3 - Browse repository at this point
Copy the full SHA fd484c3View commit details -
fix: update swc_ecma_parser to 0.114.1 (#23816)
Has some explicit resource management fixes.
Configuration menu - View commit details
-
Copy full SHA for bf30a43 - Browse repository at this point
Copy the full SHA bf30a43View commit details -
fix(node): stub
AsyncResource.emitDestroy()
(#23802)<!-- Before submitting a PR, please read https://docs.deno.com/runtime/manual/references/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. 7. Open as a draft PR if your work is still in progress. The CI won't run all steps, but you can add '[ci]' to a commit message to force it to. 8. If you would like to run the benchmarks on the CI, add the 'ci-bench' label. --> Fixes #23397
Configuration menu - View commit details
-
Copy full SHA for f06fe73 - Browse repository at this point
Copy the full SHA f06fe73View commit details -
Configuration menu - View commit details
-
Copy full SHA for b68e0cd - Browse repository at this point
Copy the full SHA b68e0cdView commit details -
perf(lsp): Cache semantic tokens for open documents (#23799)
VScode will typically send a `textDocument/semanticTokens/full` request followed by `textDocument/semanticTokens/range`, and occassionally request semantic tokens even when we know nothing has changed. Semantic tokens also get refreshed on each change. Computing semantic tokens is relatively heavy in TSC, so we should avoid it as much as possible. Caches the semantic tokens for open documents, to avoid making TSC do unnecessary work. Results in a noticeable improvement in local benchmarking before: ``` Starting Deno benchmark -> Start benchmarking lsp - Simple Startup/Shutdown (10 runs, mean: 383ms) - Big Document/Several Edits (5 runs, mean: 1079ms) - Find/Replace (10 runs, mean: 59ms) - Code Lens (10 runs, mean: 440ms) - deco-cx/apps Multiple Edits + Navigation (5 runs, mean: 9921ms) <- End benchmarking lsp ``` after: ``` Starting Deno benchmark -> Start benchmarking lsp - Simple Startup/Shutdown (10 runs, mean: 395ms) - Big Document/Several Edits (5 runs, mean: 1024ms) - Find/Replace (10 runs, mean: 56ms) - Code Lens (10 runs, mean: 438ms) - deco-cx/apps Multiple Edits + Navigation (5 runs, mean: 8927ms) <- End benchmarking lsp ```
Configuration menu - View commit details
-
Copy full SHA for 17ed600 - Browse repository at this point
Copy the full SHA 17ed600View commit details -
Configuration menu - View commit details
-
Copy full SHA for af47c06 - Browse repository at this point
Copy the full SHA af47c06View commit details -
fix(node): wrong
worker_threads.terminate()
return value (#23803)<!-- Before submitting a PR, please read https://docs.deno.com/runtime/manual/references/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. 7. Open as a draft PR if your work is still in progress. The CI won't run all steps, but you can add '[ci]' to a commit message to force it to. 8. If you would like to run the benchmarks on the CI, add the 'ci-bench' label. --> Fixes #23801 --------- Signed-off-by: Marvin Hagemeister <marvinhagemeister50@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5a3ad02 - Browse repository at this point
Copy the full SHA 5a3ad02View commit details -
fix: widen aarch64 linux minimum GLIBC version by improving sysroot b…
…uild (#23791) Fixes the sysroot to make it more reliable on aarch64. The sysroot we download as part of the build process now includes a small script to set up the linker flags required to build in that sysroot. Fixes #23775 Before: ``` matt@raspberrypi:~ $ ~/.deno/bin/deno /home/matt/.deno/bin/deno: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /home/matt/.deno/bin/deno) ``` After: ``` matt@raspberrypi:/tmp $ ./deno Deno 1.43.3 exit using ctrl+d, ctrl+c, or close() REPL is running with all permissions allowed. To specify permissions, run `deno repl` with allow flags. ```
Configuration menu - View commit details
-
Copy full SHA for 62fcce2 - Browse repository at this point
Copy the full SHA 62fcce2View commit details -
Use the smaller, reproducible sysroot from https://github.com/denoland/deno_sysroot_build This saves about 50% of the transfer for each sysroot download.
Configuration menu - View commit details
-
Copy full SHA for 126091a - Browse repository at this point
Copy the full SHA 126091aView commit details -
chore: Fix flaky semantic tokens caching test (#23831)
The stderr stream from the LSP is consumed by a separate thread, so it may not have processed the part we care about yet. Instead, wait until you see the measure for the request you care about.
Configuration menu - View commit details
-
Copy full SHA for 03c7baf - Browse repository at this point
Copy the full SHA 03c7bafView commit details -
fix(doc): --lint - private ref diagnostic was displaying incorrect in…
…formation (#23834) * denoland/deno_doc#576 Closes #23303
Configuration menu - View commit details
-
Copy full SHA for 125b420 - Browse repository at this point
Copy the full SHA 125b420View commit details -
Configuration menu - View commit details
-
Copy full SHA for b84eacf - Browse repository at this point
Copy the full SHA b84eacfView commit details -
perf(compile): Do not checksum eszip content (#23839)
Related: denoland/eszip#181 eszip < v0.69.0 hashes all its contents to ensure data integrity. This feature is not necessary in Deno CLI as the binary integrity guarantee is deemed an external responsibility (ie it is to be assumed that, if necessary, the compiled binary will be checksumed externally prior to being executed). eszip >= v0.69.0 no longer performs this checksum by default. This reduces the cold-start time of the compiled binaries, proportionally to their size.
Configuration menu - View commit details
-
Copy full SHA for 042376f - Browse repository at this point
Copy the full SHA 042376fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b46e81b - Browse repository at this point
Copy the full SHA b46e81bView commit details -
fix(ext/node): homedir()
getpwuid
/SHGetKnownFolderPath
fallback (#……23841) **Unix**: Returns the value of the HOME environment variable if it is set even if it is an empty string. Otherwise, it tries to determine the home directory by invoking the [getpwuid_r](https://linux.die.net/man/3/getpwuid_r) function with the UID of the current user. **Windows**: Returns the value of the USERPROFILE environment variable if it is set and it is not an empty string. Otherwise, it tries to determine the home directory by invoking the [SHGetKnownFolderPath](https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath) function with [FOLDERID_Profile](https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid). Fixes #23824
Configuration menu - View commit details
-
Copy full SHA for 925be25 - Browse repository at this point
Copy the full SHA 925be25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4137a08 - Browse repository at this point
Copy the full SHA 4137a08View commit details -
fix(node): error when throwing
FS_EISDIR
(#23829)The `EISDIR` error code is not available as a global variable, but must be accessed through the `osConstants.errno` object. Fixes #23695
Configuration menu - View commit details
-
Copy full SHA for 10ce4b1 - Browse repository at this point
Copy the full SHA 10ce4b1View commit details -
fix(ext/node): fix grpc error_handling example (#23755)
gRPC depends only on the END_STREAM flag to emit "trailers" event which is responsible to propagate the errors correctly. This patch uses Body::is_end_stream() to determine if a stream will end and set the END_STREAM flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e857039 - Browse repository at this point
Copy the full SHA e857039View commit details -
Configuration menu - View commit details
-
Copy full SHA for f15ad5d - Browse repository at this point
Copy the full SHA f15ad5dView commit details -
Bumped versions for 1.43.4 Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d64921c - Browse repository at this point
Copy the full SHA d64921cView commit details
There are no files selected for viewing