Deno 2.6 brings dx, more granular permissions, faster TypeScript type checking, and more

Deno 2.6 brings dx, more granular permissions, faster TypeScript type checking, and more

Deno 2.6 has been released as the latest update for this modern JavaScript and TypeScript runtime. Highlighting this release, the new dx tool lets developers easily run binaries from npm and JSR packages, aligning closely with the npx workflow found in Node.js projects. In a move toward faster development, Deno 2.6 now integrates tsgo, an experimental TypeScript type checker written in Go, delivering notably improved type-checking speed compared to the former TypeScript-based system.

While bringing major workflow changes, Deno’s security and compatibility layers have also evolved. This version adds the --require flag for preloading CommonJS modules, further bridging compatibility with Node.js workflows. Granular control over permissions enhances security for projects, and the deno audit subcommand checks dependencies against the GitHub Common Vulnerabilities and Exposures (CVE) database, producing security reports for both JSR and npm packages.

Following these core changes, Deno 2.6 features new support for source phase imports, providing access to the raw source of modules in a manner different from standard imports. Alongside, notable refinements to the bundler bring increased reliability, while Node.js compatibility advances through ongoing improvements to file operations, cryptographic standards, process handling, and database APIs.

Several new APIs and stabilizations widen what is possible on the platform, and users benefit from continued performance upgrades and numerous small workflow improvements embedded throughout this release.

by Paul

cz
city_zen found this interesting
Deno iconDeno
  21
  • ...

Deno is an open-source JavaScript runtime designed for the modern web, emphasizing web standards and featuring zero-configuration TypeScript support. It offers unmatched security and a comprehensive built-in toolchain. Rated 4.3, Deno supports both TypeScript and JavaScript, making it suitable for server-side applications.

No comments so far, maybe you want to be first?
Gu