Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp - quick fix for unversioned npm specifiers #16479

Open
dsherret opened this issue Oct 29, 2022 · 0 comments
Open

lsp - quick fix for unversioned npm specifiers #16479

dsherret opened this issue Oct 29, 2022 · 0 comments
Labels
lsp related to the language server node compat suggestion suggestions for new features (yet to be agreed)

Comments

@dsherret
Copy link
Member

dsherret commented Oct 29, 2022

We should have a quick fix to change an import specifier like import chalk from "npm:chalk"; to have a version requirement like import chalk from "npm:chalk@^5.1";. Probably @^<major>.<minor> or maybe have a variety of options.

Relates to denoland/deno_lint#1094

@dsherret dsherret added suggestion suggestions for new features (yet to be agreed) lsp related to the language server node compat labels Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp related to the language server node compat suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

1 participant