diff --git a/dev-packages/cli/src/download-plugins.ts b/dev-packages/cli/src/download-plugins.ts index a3a39ef63f137..1f4e3208a0900 100644 --- a/dev-packages/cli/src/download-plugins.ts +++ b/dev-packages/cli/src/download-plugins.ts @@ -129,7 +129,7 @@ export default async function downloadPlugins(ovsxClient: OVSXClient, requestSer await parallelOrSequence(Array.from(ids, id => async () => { try { await rateLimiter.removeTokens(1); - const { extensions } = await ovsxClient.query({ extensionId: id }); + const { extensions } = await ovsxClient.query({ extensionId: id, includeAllVersions: true }); const extension = apiFilter.getLatestCompatibleExtension(extensions); const version = extension?.version; const downloadUrl = extension?.files.download; diff --git a/packages/vsx-registry/src/browser/vsx-extensions-model.ts b/packages/vsx-registry/src/browser/vsx-extensions-model.ts index e714952902649..620ac3b3a7bc9 100644 --- a/packages/vsx-registry/src/browser/vsx-extensions-model.ts +++ b/packages/vsx-registry/src/browser/vsx-extensions-model.ts @@ -315,7 +315,7 @@ export class VSXExtensionsModel { const client = await this.clientProvider(); let data: VSXExtensionRaw | undefined; if (version === undefined) { - const { extensions } = await client.query({ extensionId: id }); + const { extensions } = await client.query({ extensionId: id, includeAllVersions: true }); if (extensions?.length) { data = this.vsxApiFilter.getLatestCompatibleExtension(extensions); } diff --git a/packages/vsx-registry/src/node/vsx-extension-resolver.ts b/packages/vsx-registry/src/node/vsx-extension-resolver.ts index 2ea154702b4c6..cfe6ab3d09369 100644 --- a/packages/vsx-registry/src/node/vsx-extension-resolver.ts +++ b/packages/vsx-registry/src/node/vsx-extension-resolver.ts @@ -54,7 +54,7 @@ export class VSXExtensionResolver implements PluginDeployerResolver { extension = extensions[0]; } else { console.log(`[${id}]: trying to resolve latest version...`); - const { extensions } = await client.query({ extensionId: id }); + const { extensions } = await client.query({ extensionId: id, includeAllVersions: true }); extension = this.vsxApiFilter.getLatestCompatibleExtension(extensions); } if (!extension) {