denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.06k stars 5.14k forks source link

chore(lsp): remove diagnostics for redirected http imports #23701

Closed nayeemrmn closed 6 days ago

nayeemrmn commented 2 weeks ago

These 'info' diagnostics are bothersome to users. If it's not a warning or error we shouldn't show it. We added these to discourage unversioned deno.land/x imports but we can possibly pivot to more targeted diagnostics for jsr: and npm: specifiers in the future.

Diagnostics for extensionless imports under --unstable-sloppy-imports are preserved and upgraded to warnings ('redirect' -> 'canonicalization').