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

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.

.

deno 

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.

Banner


Can C++ Be As Safe As Rust?
10/04/2024

Herb Sutter is a well known and respected C++ champion and he thinks that the language only needs a few tweaks to make it as safe as Rust. Can this be true?



VLOGGER - AI Does Talking Heads
24/03/2024

Developed by Google researchers VLOGGER AI is a system that can create realistic videos of people talking and moving from a single still image and an audio clip as input. 


More News

raspberry pi books

 

Comments




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