Deno 1.10 Adds Web Storage API Support
Written by Kay Ewbank   
Monday, 24 May 2021

Version 1.10 of Deno, the JavaScript and TypeScript runtime from the creator of Node.js, has been released, with improvements including support for the Web Storage API and shared WASM memory.

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 provides server-side JavaScript even though it is based on TypeScript because the TypeScript compiler sits on top of a V* JavaScript engine.

This release adds support for the Web Storage API. This API provides local and session storage that can be used to store a small amount of data persistently, without direct file system access. Support has also been added for WASM (WebAssembly Shared Memory), as well as support for atomics. This feature is already enabled by default in Chrome and Firefox, and now also in Deno. The developers note that WASM threading is not yet possible in Deno, because of the lack of support for transferring (shared) array buffers to workers.

Deno now works better with one of the main Web Workers, which offer a way to run multiple bits of JavaScript, TypeScript, or WASM concurrently, in separate execution environments. While Deno has supported web workers since the initial 1.0 release, it didn't handle JSON-stringified messages in a standard way. This has now been fixed so that all values and objects are serialized properly.

The new version also adds support for remote import maps, which were stabilized in Chrome 89. Import maps define which URLs are fetched by JavaScript import statements. Deno 1.10 enables the use of remote import maps, meaning that import maps now do not have to be stored on the local file system, they can also be loaded over HTTP.

The new release is available for download now.



More Information

Deno Website

Related Articles

Deno Developers Form Company

Deno Adds WebGPU Support

Node.js Even Its Creator Thinks Its Flawed

Node.js 8 Includes npm 5

ECMAScript 2018 Is Feature Complete

jQuery Still Our Favourite Framework

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.


Grafana Releases Loki 3

Grafana has announced the release of Loki 3, with improvements including query acceleration with Bloom filters and native OpenTelemetry support.

Wasmer's py2wasm Compiles Python To WebAssembly

py2wasm is a compiler that turns your Python code into WebAssembly, "running it at 3x faster speeds".

More News

raspberry pi books



or email your comment to: