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


Fundamental Cryptography in Theory and Python
20/09/2022

Learn to do Cryptography with Python and for free too. A course by computer scientist of ETH Zürich and cybersec expert Cyrill Gössi. He teaches the concepts of Cryptography with a practical approac [ ... ]



Next.js Updates Runtime
29/08/2022

Next.js has been updated with a new, better, runtime along with a new package that extends what’s possible with Next.js Middleware. Next.js is an open-source toolkit for universal, server-rendered ( [ ... ]


More News

pythondata

 



 

Comments




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