@@ -574,7 +574,7 @@ onKeyStroke(
574574 >
575575 <LinkBase
576576 variant =" tag"
577- href =" #provenance"
577+ to =" #provenance"
578578 :aria-label =" $t('package.provenance_section.view_more_details')"
579579 classicon =" i-lucide-shield-check"
580580 />
@@ -696,7 +696,7 @@ onKeyStroke(
696696 <li v-if =" repositoryUrl" >
697697 <LinkBase
698698 variant =" button-secondary"
699- :href =" repositoryUrl"
699+ :to =" repositoryUrl"
700700 :classicon =" repoProviderIcon"
701701 >
702702 <span v-if =" repoRef" >
@@ -706,24 +706,24 @@ onKeyStroke(
706706 </LinkBase >
707707 </li >
708708 <li v-if =" repositoryUrl && repoMeta && starsLink" >
709- <LinkBase variant =" button-secondary" :href =" starsLink" classicon =" i-carbon:star" >
709+ <LinkBase variant =" button-secondary" :to =" starsLink" classicon =" i-carbon:star" >
710710 {{ formatCompactNumber(stars, { decimals: 1 }) }}
711711 </LinkBase >
712712 </li >
713713 <li v-if =" forks && forksLink" >
714- <LinkBase variant =" button-secondary" :href =" forksLink" classicon =" i-carbon:fork" >
714+ <LinkBase variant =" button-secondary" :to =" forksLink" classicon =" i-carbon:fork" >
715715 {{ formatCompactNumber(forks, { decimals: 1 }) }}
716716 </LinkBase >
717717 </li >
718718 <li v-if =" homepageUrl" >
719- <LinkBase variant =" button-secondary" :href =" homepageUrl" classicon =" i-carbon:link" >
719+ <LinkBase variant =" button-secondary" :to =" homepageUrl" classicon =" i-carbon:link" >
720720 {{ $t('package.links.homepage') }}
721721 </LinkBase >
722722 </li >
723723 <li v-if =" displayVersion?.bugs?.url" >
724724 <LinkBase
725725 variant =" button-secondary"
726- :href =" displayVersion.bugs.url"
726+ :to =" displayVersion.bugs.url"
727727 classicon =" i-carbon:warning"
728728 >
729729 {{ $t('package.links.issues') }}
@@ -732,7 +732,7 @@ onKeyStroke(
732732 <li >
733733 <LinkBase
734734 variant =" button-secondary"
735- :href =" `https://www.npmjs.com/package/${pkg.name}`"
735+ :to =" `https://www.npmjs.com/package/${pkg.name}`"
736736 :title =" $t('common.view_on_npm')"
737737 classicon =" i-carbon:logo-npm"
738738 >
@@ -742,15 +742,15 @@ onKeyStroke(
742742 <li v-if =" jsrInfo?.exists && jsrInfo.url" >
743743 <LinkBase
744744 variant =" button-secondary"
745- :href =" jsrInfo.url"
745+ :to =" jsrInfo.url"
746746 :title =" $t('badges.jsr.title')"
747747 classicon =" i-simple-icons:jsr"
748748 >
749749 {{ $t('package.links.jsr') }}
750750 </LinkBase >
751751 </li >
752752 <li v-if =" fundingUrl" >
753- <LinkBase variant =" button-secondary" :href =" fundingUrl" classicon =" i-carbon:favorite" >
753+ <LinkBase variant =" button-secondary" :to =" fundingUrl" classicon =" i-carbon:favorite" >
754754 {{ $t('package.links.fund') }}
755755 </LinkBase >
756756 </li >
@@ -853,7 +853,7 @@ onKeyStroke(
853853 <LinkBase
854854 variant =" tag"
855855 v-if =" getDependencyCount(displayVersion) > 0"
856- :href =" `https://npmgraph.js.org/?q=${pkg.name}`"
856+ :to =" `https://npmgraph.js.org/?q=${pkg.name}`"
857857 :title =" $t('package.stats.view_dependency_graph')"
858858 classicon =" i-carbon:network-3"
859859 >
@@ -863,7 +863,7 @@ onKeyStroke(
863863 <LinkBase
864864 variant =" tag"
865865 v-if =" getDependencyCount(displayVersion) > 0"
866- :href =" `https://node-modules.dev/grid/depth#install=${pkg.name}${resolvedVersion ? `@${resolvedVersion}` : ''}`"
866+ :to =" `https://node-modules.dev/grid/depth#install=${pkg.name}${resolvedVersion ? `@${resolvedVersion}` : ''}`"
867867 :title =" $t('package.stats.inspect_dependency_tree')"
868868 classicon =" i-carbon:tree-view"
869869 >
@@ -1011,7 +1011,7 @@ onKeyStroke(
10111011 id =" get-started-heading"
10121012 class =" group text-xs text-fg-subtle uppercase tracking-wider"
10131013 >
1014- <LinkBase href =" #get-started" >
1014+ <LinkBase to =" #get-started" >
10151015 {{ $t('package.get_started.title') }}
10161016 </LinkBase >
10171017 </h2 >
@@ -1057,7 +1057,7 @@ onKeyStroke(
10571057 <section id =" readme" class =" area-readme min-w-0 scroll-mt-20" >
10581058 <div class =" flex flex-wrap items-center justify-between mb-3 px-1" >
10591059 <h2 id =" readme-heading" class =" group text-xs text-fg-subtle uppercase tracking-wider" >
1060- <LinkBase href =" #readme" >
1060+ <LinkBase to =" #readme" >
10611061 {{ $t('package.readme.title') }}
10621062 </LinkBase >
10631063 </h2 >
0 commit comments