Skip to content

Commit 23582b9

Browse files
committed
fix(PackageProvenanceSection): remove link to npm and props
1 parent 49152ff commit 23582b9

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

app/components/PackageProvenanceSection.vue

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
import type { ProvenanceDetails } from '#shared/types'
33
44
defineProps<{
5-
/** Parsed provenance details from the API */
65
details: ProvenanceDetails
7-
/** Optional: link "View on npm" to package provenance page */
8-
packageName?: string
9-
version?: string
106
}>()
117
</script>
128

@@ -101,16 +97,5 @@ defineProps<{
10197
</div>
10298
</dl>
10399
</div>
104-
105-
<p v-if="packageName && version" class="mt-4 m-0">
106-
<a
107-
:href="`https://www.npmjs.com/package/${packageName}/v/${version}#provenance`"
108-
target="_blank"
109-
rel="noopener noreferrer"
110-
class="link-subtle font-mono text-sm"
111-
>
112-
{{ $t('common.view_on_npm') }}
113-
</a>
114-
</p>
115100
</section>
116101
</template>

0 commit comments

Comments
 (0)