28.5 C
New York
Tuesday, August 27, 2024

Deno 1.46 simplifies CLI | InfoWorld



Dependency administration enhancements embody supporting dist tags and recommend npm packages. Builders now can use dist tags when including npm dependencies. Additionally, deno add now will present a useful message when attempting so as to add a package deal from JSR that solely is offered 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 initiatives.

Deno 1.46 boosts the efficiency of the Deno.serve() API by 8% to fifteen% whereas crypto.randomUUID() is 5 occasions quicker, in response to 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 normal library in Deno 1.46 now could be secure.

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



Supply hyperlink

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles