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

Add deno.reloadImportRegistries, remove deno/cache and deno/reloadImportRegistries from Language Server Overview #391

Open
Milly opened this issue Mar 28, 2024 · 0 comments

Comments

@Milly
Copy link

Milly commented Mar 28, 2024

about deno.cache

It is already exists, but deno.reloadImportRegistries is not.

- `deno.cache` - This is sent as a resolution code action when there is an
un-cached module specifier that is being imported into a module. It will be
sent with and argument that contains the resolved specifier as a string to be
cached.

about deno/cache

Should remove.

- `deno/cache` - This command will instruct Deno to attempt to cache a module
and all of its dependencies. If a `referrer` only is passed, then all
dependencies for the module specifier will be loaded. If there are values in
the `uris`, then only those `uris` will be cached.
It expects parameters of:
```ts
interface CacheParams {
referrer: TextDocumentIdentifier;
uris: TextDocumentIdentifier[];
}
```

about deno/reloadImportRegistries

Should remove.

- `deno/reloadImportRegistries` - Reloads any cached responses from import
registries.
It does not expect any parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant