CTO News Hubb
Advertisement
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact
No Result
View All Result
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact
No Result
View All Result
CTO News Hubb
No Result
View All Result
Home IT

Latest Deno release supports NPM packages

May 27, 2023
in IT


Deno 1.34, the latest release of the JavaScript and TypeScript runtime positioned as an alternative to Node.js, improves compatibility with NPM and Node.js and enhances the developer experience, according to proponents.

With Deno 1.34, unveiled on May 25, deno compile supports NPM packages. Since Deno 1.6, introduced in December 2020, deno compile has allowed the compilation of projects into a single binary executable, which lets developers distribute and execute binaries on all major platforms without installing Deno dependencies. This feature—which simplifies deployment and speeds up startup time—has now been extended to NPM.

Prior to the Deno 1.34 release, deno compile also added support for web workers and dynamic imports. More work is on the horizon for this feature, including minimizing total binary size.

Like last month’s Deno 1.33 release, Deno 1.34 is a precursor to a planned Deno 2 release. Other new capabilities include:

  • Globs, which are patterns specifying sets of filenames with wildcard characters, are supported in the configuration file deno.json, deno.task, and CLI arguments for specifying files. The glob syntax is cross-platform, so it can be used on Windows, MacOS, or Linux.
  • TLS (transport layer security) certificates containing IP addresses are supported. This is useful for purposes such as Kubernetes pods, which often use IP addresses instead of domain names, and for DNS over HTTP/TLS, which needs an IP address for the server to avoid circular dependency on name resolution.
  • For NPM and Node.js compatibility, deno vendor handles NPM specifiers and will no longer raise an error when encountering them. Also, deno task runs pre and post scripts if present when executing a script from a package.json file similar to NPM.
  • It’s possible to specify a nodeModulesDir property in the deno.json file for explicitly enabling or disabling Deno’s use of the node_modules directory.
  • Deno 1.34 ships with the Google V8 11.5 JavaScript and TypeScript engine and TypeScript 5.04.

Copyright © 2023 IDG Communications, Inc.



Source link

Previous Post

Meta Hit with Record $1.3B GDPR Fine

Next Post

Meet the Women Mapping New York City’s Halal Food

Next Post

Meet the Women Mapping New York City’s Halal Food

Introducing our newest CTO Craft coaches

Trending News

Are your hiring practices restricting the attraction of female tech talent?

March 8, 2023

Branch prediction

December 31, 2022

Robots can help find objects you’ve lost, thanks to new ‘artificial memory’ — ScienceDaily

May 17, 2023

© CTO News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • CTO News
  • IT
  • Technology
  • AI
  • QC
  • Robotics
  • Blockchain
  • Contact

Newsletter Sign Up

No Result
View All Result
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact

© 2021 JNews – Premium WordPress news & magazine theme by Jegtheme.

SUBSCRIBE TO OUR WEEKLY NEWSLETTERS