I am section 1.34was revealed on May 25,
deno compile supports NPM packages. Since Deno 1.6launched in December 2020,
deno compile has allowed the integration of projects into a single use case, which allows developers to distribute and execute binaries on all major platforms without installing Deno dependencies. This feature – which improves deployment and speeds up startup time – has now been added to NPM.
Before releasing Deno 1.34,
deno compile added support to Internet workers are powerful vessels. More work is on the way to do this, including reducing the size of the binary.
Like last month section 1.33 release, Deno 1.34 is a precursor to the planned Deno 2 release. Other new skills include:
- Globs, which are formats for specifying file layouts with wildcard characters, are supported in the configuration file
deno.task, are CLI arguments for specifying files. The
globsyntax is cross-platform, so it can be used on Windows, MacOS, or Linux.
- TLS (transport layer security) certificate with IP addresses is supported. This is useful for purposes such as Kubernetes pods, which often use IP addresses instead of domain names, and DNS over HTTP/TLS, which requires the server’s IP address to avoid circular dependencies in domain name resolution.
- For NPM and Node.js compatibility,
deno vendorhandles NPM monitoring and will not return an error when you encounter it. Also,
deno taskthey run
postscripts if available for scripting from a
package.jsonfile similar to NPM.
- It is possible to describe a
deno.jsonfile to enable or disable the use of Deno on
Copyright © 2023 IDG Communications, Inc.