Deno 1.36 Improves Security
Written by Kay Ewbank   
Thursday, 07 September 2023

Deno 1.36 has been released with improvements to security and to testing and benchmarking APIs. The team says there are also more robust Node.js and npm package support, and language server improvements. Deno is the JavaScript and TypeScript runtime from the creator of Node.js.

Deno uses V8 and is built in Rust. It is described as secure by default as it has no file, network, or environment access, unless explicitly enabled.  Deno was created by the same developer who created node.js - Ryan Dahl - and its name is a rearrangement of the letters in node.

deno

The new release has added to the existing --allow-- flags with --deny-- flags. This means developers can now configure both allow and deny lists for network communication, file system access, and other potentially sensitive APIs.

Testing has also received attention, with the addition of an option that can be used to transform Deno test output to a Junit XML file. The JUnit XML format can be consumed natively by many services like GitLab, CircleCI, Jenkins or BuildPulse.

There's also a newdot reporter that provides a concise output.

Node.js and npm support improvements mean you can now run npm package scripts that aren't configured as binaries, and can  use all the node:os APIs with Deno's latest polyfill, as well as being able to call native code add-ons with process.dlopen.

A number of "Quality of life improvements" have also been carried out including better error messages, language server improvements, and more forgiving WebSocket APIs.

The language server has been improved with the aim of making using Deno with an editor that supports an LSP (like Visual Studio Code) "significantly more pleasant", according to the developers. The changes supporting this include better diagnostics when the Deno namespace is missing; more reliable auto-discovery of deno.json; and better handling of the exclude setting by the LSP.

Deno 1.36 is available now.

deno

More Information

Deno Website

Related Articles

Deno Supports Built-in Node Modules

Deno 1.28 Stabilizes NPM Compatibility

Deno Joins ECMA

Deno 1.14 Improves Web Crypto Support

Deno 1.10 Adds Web Storage API Support

Deno Developers Form Company

Deno Adds WebGPU Support

Node.js Even Its Creator Thinks Its Flawed 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


ELIZA Makes a Comeback
19/01/2025

ELIZA was the world's first chatbot, more than 50 years before the term itself was coined. She was the brainchild of Joseph Weizenbaum who wrote the original program in the 1960s at MIT.  Th [ ... ]



Trees And Heaps For Xmas - A Programmer At Xmas
24/12/2024

Christmas is a time for tradition. Finding the Christmas lights in the dark recesses of a cupboard and hanging much-loved baubles on the Christmas Tree. Running this xkcd cartoon has become a part of& [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info