Deno Adds Support For Private npm Registries
Written by Kay Ewbank   
Thursday, 06 June 2024

Deno 1.44 has been released with support for private npm registries and for gRPC connections.

Deno is built in Rust, and is described as secure by default as it has no file, network, or environment access, unless explicitly enabled. 


The main improvement in this release is the support for private npm registries, which means users can make use of internal packages. The developers say they added the feature because of requests from large organizations, the majority of which host their own private npm registries to manage internal packages. Deno 1.44 now supports using an .npmrc file to configure Deno to fetch packages from this private registry. This feature is available when using private packages in a package.json or when importing packages directly using npm: specifiers.

The second main improvement adds support for gRPC connections, using the @grpc/grpc-js client library from npm. This enables you to connect to gRPC services, such as Google Cloud Platform from Deno.

This release also improves Node.js compatibility, in what the team says is a significant step forward in Deno's compatibility with Node.js and npm packages. The developers say:

"As a major milestone, we have been able to run Next.js applications with Deno with this release. While there are some rough edges, such as the need to use DENO_FUTURE=1, we're confident that we can work through these issues quickly."

A number of other minor npm and Node.js compatibility improvements have been made, including adding buffers that ts-node relies on; and fixing missing methods when passing MessagePort to Node worker_threads.

Finally, and perhaps most noticeably, Deno 1.44 introduces several performance improvements that the developers say should make Deno faster and more memory efficient. They expect many projects to see memory usage reductions between 5-30%, depending on the workload. This has been achieved by re-enabling V8 pointer compression, allowing V8 to store pointers more efficiently.

Deno 1.44 is available now.


More Information

Deno Website

Related Articles

Deno Improves JSR Support

Deno Supports Built-in Node Modules

Deno 1.28 Stabilizes NPM Compatibility

Deno Joins ECMA

Deno 1.14 Improves Web Crypto Support

Deno 1.10 Adds Web Storage API Support

Deno Developers Form Company

Deno Adds WebGPU 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.


ScyllaDB 6 Adds Node Distribution Feature

ScyllaDB 6.0 has been released with two major features that change the way it works: a dynamic way to distribute data across nodes that significantly improves scalability; and support for strongly con [ ... ]

Amazon Updates Q Family And Previews App Studio

Amazon made multiple announcements at its AWS Summit in New York, including a preview of AWS App Studio, the addition of Q Developer to SageMaker Studio, and an Amazon Q Apps API.

More News

kotlin book



or email your comment to:

Last Updated ( Thursday, 06 June 2024 )