Deno 1.30: Built-in Node modules
Deno 1.30 exposes built-in Node.js modules such as fs, path and process to Deno code through `node:` specifiers. Bare specifiers like "fs" still require an import map, and Deno and its LSP suggest the `node:` prefix when one is missing. `deno.json` can now act directly as an import map via `imports` and `scopes` keys. The release also adds synchronous permission APIs, ReadableStream support in `Deno.writeFile`, `Deno.env.has`, bigint seek offsets, struct-by-value FFI in `Deno.dlopen`, an `inherit` default for stdin in `Deno.Command`, removal of the private `Deno.core` namespace, and a no-semicolons option for `deno fmt`.
Related posts
- Deno 1.28: Featuring 1.3 Million New Modules
Deno mediumAdeptDeno 1.28 stabilizes npm compatibility, letting programs import any of npm's 1.3 million packages via `npm:` specifiers in imports or import maps, and run npm CLIs with `deno run npm:<pkg>`, with no package.json, install step or node_modules folder by default. Deno's opt-in permission prompts restrict what npm dependencies can access, though post-install scripts, `deno compile` and some Node-layout assumptions remain unsupported. The release also auto-discovers and additively updates a `deno.lock` file whenever a deno.json config exists, stabilizes APIs such as `Deno.bench()` and `Deno.networkInterfaces()`, adds an unstable unified `Deno.Command` subprocess API replacing the `Deno.spawn` family, and upgrades to V8 10.9.
- Deno 1.19 Release Notes
Deno mediumAdeptDeno 1.19 adds `deno vendor`, which builds a module graph from entrypoints, writes remote dependencies into a `vendor/` folder with readable paths, and generates an import map so programs can run with `--no-remote`. Permission checks now prompt interactively on a TTY instead of throwing. Files, sockets and stdio expose `readable`/`writable` web streams that compose with `fetch`, the HTTP server and the new `CompressionStream`/`DecompressionStream`. `deno compile` now embeds the unbundled ES module graph via eszip so execution order and `import.meta.url` are preserved, and test sanitizers report leaked resources and async ops with clear messages and stack traces.
- Deno 1.31: package.json support
Deno mediumAdeptDeno 1.31 adds automatic package.json detection, so dependencies resolve from bare specifiers and package.json scripts run via deno task (simple scripts only for now). The Node.js compatibility layer, roughly 1.5MB that previously lived in std/node, is now embedded in the runtime and loaded from V8 snapshots to cut startup time. Node-API is stabilized, and npm specifiers now work in remote modules without --unstable. FFI pointers become opaque objects or null instead of numbers, which speeds up calls through V8 Fast API, makes pointer spoofing harder and requires migration. Deno.Command is now stable, deno bundle is deprecated, and deno bench gains JSON output.
- Deno 2.1: Wasm Imports and other enhancements
Deno mediumAdeptDeno 2.1 lets Wasm modules be imported directly as ES modules. They join the module graph, are cached and type-checked, can import JS/TS modules, and no longer need read or net permissions. The release also starts the first LTS branch with six months of fixes. Other changes include `deno outdated` for JSR/npm dependency updates, embedding asset files in `deno compile` with V8 code caching (about 2x faster subsequent startups in their benchmark), stack traces in permission prompts via DENO_TRACE_PERMISSIONS, and `deno task` support for descriptions, parallel dependencies with cycle and diamond handling, and workspaces. CommonJS detection from package.json `type` improves Node compatibility.
- Deno 1.16 Release Notes
Deno mediumAdeptDeno 1.16 adds file:// support to fetch (streamed in chunks, Firefox-like semantics with no content-length or content-type headers), React 17-style JSX transforms via @jsxImportSource, an unstable Deno.addSignalListener API, and console display of Error.cause. It stabilizes Deno.startTls, which enables STARTTLS-based Postgres, MySQL and SMTP drivers on stable, and stabilizes per-test permissions. localStorage no longer needs --location: the storage bucket key falls back to the config file path and then the main module path. The release also adds explicit TLS handshake(), BYOB stream readers, AbortSignal reasons, the dnt tool for publishing Deno modules to npm, and V8 9.7 with WebAssembly reference types and findLast.