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


Microsoft Unveils Power Apps Powered By GPT-3
26/05/2021

During yesterday's keynote at Microsoft Build, Satya Nadella revealed that Microsoft is harnessing the power of OpenAI's GPT-3 technology to generate code from natural language input. Is this a breakt [ ... ]



Improve your Spring Boot Error Handling ...
25/05/2021

with the Error Handling Spring Boot Starter library. We look at a  project that improves on the default Spring boot error handling for REST APIs.


More News

square

 



 

Comments




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