
"JSR offers a modern, TypeScript-first and cross-platform-compatible registry, integrated into Deno, Deno's developers said. For Node.js and NPM compatibility, Deno 1.42 offers numerous improvements. The async_hooks module now supports the EventEmitterAsyncResource and AsyncLocalStorage.enterWith APIs. The crypto module adds getRandomValues(), subtle, getCipherInfo(), publicKey(), and createPublicKey() APIs, along with support for more curves in multiple APIs. The worker_threads module received a major overhaul."
"Deno 1.42 also addresses an issue with deno run --check, which previously could potentially type-check part of the way through execution when encountering a statically unanalyzable dynamic import or starting a worker. Deno's developers said this feature had a large maintenance burden, posed challenges with JSR, and potentially could result in a running application failing partway through execution. Therefore, type-checking no longer occurs after the initial type check."
Deno 1.42 introduces JSR, a modern, TypeScript-first cross-platform package registry integrated into Deno, enabling deno add and deno publish while continuing to support NPM. Node and NPM compatibility improvements include async_hooks support for EventEmitterAsyncResource and AsyncLocalStorage.enterWith, expanded crypto APIs (getRandomValues, subtle, getCipherInfo, publicKey, createPublicKey) with broader curve support, and a major worker_threads overhaul. Type-checking behavior changed so deno run --check no longer continues after the initial check; use deno check for full type checks. Startup time improved (about 10% on Linux) via warmed bootstrap snapshots and reduced allocations. DENO_FUTURE=1 enables forthcoming Deno 2.0 changes. V8 12.3 and TypeScript 5.4.3 are included.
Read at InfoWorld
Unable to calculate read time
Collection
[
|
...
]