skilld 0.11.1 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1728,7 +1728,8 @@ async function fetchNpmPackage(packageName) {
1728
1728
  return $fetch(`https://registry.npmjs.org/${packageName}/latest`).catch(() => null);
1729
1729
  }
1730
1730
  async function fetchNpmRegistryMeta(packageName, version) {
1731
- const data = await $fetch(`https://registry.npmjs.org/${packageName}`).catch(() => null);
1731
+ const { name: barePackageName } = parsePackageSpec(packageName);
1732
+ const data = await $fetch(`https://registry.npmjs.org/${barePackageName}`).catch(() => null);
1732
1733
  if (!data) return {};
1733
1734
  const distTags = data["dist-tags"] ? Object.fromEntries(Object.entries(data["dist-tags"]).map(([tag, ver]) => [tag, {
1734
1735
  version: ver,