DenoDDeno
Powered by
mxclM
Deno•3y ago•
9 replies
mxcl

how to avoid deprecation warnings in compiled binaries

$ pkgx --version
warning: Use of deprecated "Deno.stderr.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.isatty()" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.stdin.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
pkgx 1.1.6
$ pkgx --version
warning: Use of deprecated "Deno.stderr.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.isatty()" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.stdin.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
pkgx 1.1.6


What I don’t get is that when I compile it locally I don’t get these warnings. Only in the CI/CD produced binaries.

Which means I didn’t see this, but all my users did.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to get the path to the compiled binary?
QuantumQQuantum / help
3y ago
How to get the path of compiled executable?
Nanashi.NNanashi. / help
3y ago
how to use .ts files (or their compiled .js equivalents) in the browser?
Jasmine Boba'teaJJasmine Boba'tea / help
14mo ago
any way to skip setting up binaries?
alina 🌸Aalina 🌸 / help
8mo ago