Deno 1.46 simplifies CLI

Published on:

Dependency administration enhancements embrace supporting dist tags and counsel npm packages. Builders now can use dist tags when including npm dependencies. Additionally, deno add now will present a useful message when making an attempt so as to add a package deal from JSR that solely is out there on npm. With deno take away, Deno now has a subcommand to take away a dependency from the config and lockfile. And builders can invoke a deno clear to purge the worldwide cache used to retailer distant dependencies for environment friendly use throughout a number of tasks.

Deno 1.46 boosts the efficiency of the Deno.serve() API by 8% to fifteen% whereas crypto.randomUUID() is 5 instances quicker, in line with Deno Land. Additional, deno serve now helps a --parallel flag that runs the server on a number of threads. Additionally, Response.clone() is 80% quicker and deno doc has been optimized to enhance reminiscence utilization. And the usual library in Deno 1.46 now’s secure.

- Advertisement -

With Deno 1.46 having now arrived, a primary launch candidate of Deno 2 is predicted shortly. Deno 2 could have some “minor” breaking adjustments, together with API adjustments and deprecations. Different enhancements in Deno 1.46 embrace:

See also  ChatGPT for Coaches and Consultants: Monetizing Expert Advice
- Advertisment -

Related

- Advertisment -

Leave a Reply

Please enter your comment!
Please enter your name here