We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49152ff commit 23582b9Copy full SHA for 23582b9
app/components/PackageProvenanceSection.vue
@@ -2,11 +2,7 @@
2
import type { ProvenanceDetails } from '#shared/types'
3
4
defineProps<{
5
- /** Parsed provenance details from the API */
6
details: ProvenanceDetails
7
- /** Optional: link "View on npm" to package provenance page */
8
- packageName?: string
9
- version?: string
10
}>()
11
</script>
12
@@ -101,16 +97,5 @@ defineProps<{
101
97
</div>
102
98
</dl>
103
99
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>
115
100
</section>
116
</template>
0 commit comments