deno
deno copied to clipboard
Log on use of deprecated APIs for Deno 2.0
We should start logging on use of these deprecated APIs: https://github.com/denoland/deno/pull/14733
- Maybe this should log a stack trace in order to make it easy for people to understand where the deprecated API use is occuring.
- Maybe this should only log once per application run so it doesn't spam users (or maybe once per stack trace?)
I guess we need something like process.emitWarning
in Node
We should also add some examples to the JSDoc for these deprecated APIs telling people how to use the analogous std APIs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.