|Deno 1.14 Improves Web Crypto Support|
|Written by Ian Elliot|
|Tuesday, 21 September 2021|
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.
Much of the work in the new release has been additions to the Web Crypto support. There are several new Web Crypto APIs, adding the ability to export and import HMAC keys in both JWK and "raw" format, and to import and export RSA keys in pkcs#8 format. You can now generate RSA-OAEP, AES and ECDH keys. The PBKDF2 and HKDF derivations are now supported, as are RSA-OAEP encryption and decruption. The developers say they are continually working on improving the Web Crypto API, and hope to be API complete by the end of the year.
The native server side WebSocket API has been stabilized and is generally available for use. the support was added in Deno 1.12, but until now has only been available for use when the --unstable flag was set.
Four new APIs designed for file locking have been added, though they are currently marked as unstable. The APIs mean Deno can be used with projects like sqlite to provide proper database synchronization.
The developers have worked on URL parsing to improve its performance following user reports that Deno's URL parsing was significantly slower than other engines like Chrome. This was treated as a priority problem because of the impact it could have on overall performance as URL parsing is a very common operation in web server applications. The team says URL parsing is now three times faster than in 1.13, and that while this is a significant improvement, they are still investigating ways to further optimize this hotpath in the future.
The final improvement of note is to the VSCode extension. This has been improved with better configuration support and a bundled extension that decreases the install size and improves the time for startup.
Deno 1.14 is available now.
Deno 1.10 Adds Web Storage API Support
Node.js Even Its Creator Thinks Its Flawed
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.
or email your comment to: email@example.com
|Last Updated ( Tuesday, 21 September 2021 )|