Skip to content

chore(deps): update dependency denoland/deno to v2.2.9 #946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2025

This PR contains the following updates:

Package Update Change
denoland/deno patch v2.2.8 -> v2.2.9

Release Notes

denoland/deno (denoland/deno)

v2.2.9

Compare Source

Deno v2.2.9 / 2025.04.11

deno upgrade
deno compile fixes

Two fixes make the deno compile tool more robust. First, a bug causing a panic when a node_modules directory was included during compilation was fixed (#​28782). Previously, running deno compile in a project with a node_modules folder could crash the compiler; now it handles such folders gracefully without errors. Second, on Windows, executable icons are embedded correctly when using the --icon option (#​28771). Deno now preserves the proper resource ordering for multi-resolution .ico files, so compiled .exe files will display their icon in all sizes as expected. Together, these improvements make Deno’s single-binary compilation more reliable across different project structures and platforms.

Node.js Compatibility Enhancements

This release brings a host of improvements to Deno’s Node compatibility layer, implementing missing APIs and fixing inconsistencies:

  • File System Streams: The fs/promises FileHandle class now supports the .createReadStream() and .createWriteStream() methods (#​28700).
  • Command-Line Parsing: The experimental util.parseArgs() API now correctly supports negated flags (the --no- prefix) via its allowNegative option (#​28811).
  • Buffer APIs: Deno implements the new Buffer.copyBytesFrom() static method (#​28829) and ensures that cipher methods return a Node Buffer object (#​28826).
  • Crypto Algorithms: SHAKE-128 and SHAKE-256 algorithm names are now aliased with hyphenated forms (#​28451).
  • Process and OS: Implements process.loadEnvFile(path) (#​28824) and a working .reset() on the event loop delay histogram (#​2888).
  • Streams and Zlib: stream.finished() now supports Web Streams (#​28600); zlib errors are more descriptive (#​28831).
  • Child Processes: spawnSync now accepts the input option (#​28792).
npm and Package Management Fixes
  • Handle missing "bin" in package.json by using registry metadata (#​28822).
  • Fix regression where postinstall scripts without extensions were skipped (#​28786).
  • Preserve peer deps when migrating to lockfile v5 (#​28844).
  • Omit default npm tarball URLs for cleaner lockfiles (#​28842).
  • Load npm resolution snapshot directly from lockfile for faster startup (#​28647).
Task Runner Shell Features

deno task now supports backticks and ~ expansion for shell-like behavior (#​28832). For example:

{
  "tasks": {
    "build": "echo Building project for `deno info | jq .version` && cp ~/config.json ./dist/"
  }
}
Developer Tools (LSP & Linting)
Crash Reporting & Symbolication Bug Fixes

This patch release includes fixes for issues introduced by the new panic.deno.com crash reporting system added in recent versions. On macOS, the Deno binary now preserves Node API (N-API) symbols that were previously stripped out as part of the size reduction effort (#​28800). This resolves a regression where native Node addons loaded via process.dlopen() could fail to load. It also ensures that native panics involving these symbols can still be properly symbolicated.

In addition, canary panic URLs now include the full Git commit SHA (#​28819), improving reliability of remote symbolication for nightly builds. These changes fix rough edges in the new crash reporting pipeline and restore compatibility with common use cases.

Other Notable Fixes
  • Fix integer overflow in createImageBitmap() (#​28764).
  • Upgrade embedded libffi to 4.0.0 (#​28816).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot merged commit 2348709 into main Apr 12, 2025
10 checks passed
@renovate renovate bot deleted the renovate/deno-monorepo branch April 12, 2025 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants