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


CSS Ecosystem In the Spotlight
06/11/2024

The 2024 edition of the State of CSS has been posted, revealing that the latest features of the language not only do away with extra tooling, but even start taking on tasks that previously requir [ ... ]



Amazon Adds AWS Lambda Code Editing Tool
04/11/2024

Amazon has added a new code editing option for AWS Lambda in the AWS console based on the Code-OSS, Visual Studio Code Open Source code editor.


More News

espbook

 

Comments




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