mxclM
Deno2y 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


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.
Was this page helpful?