File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 22import { parseLicenseExpression } from ' #shared/utils/spdx'
33
44import { useLicenseChanges } from ' ~/composables/useLicenseChanges'
5- import { useI18n } from ' vue-i18n'
65
76const props = defineProps <{
87 license: string
98 packageName? : string
109}>()
1110
12- const { t } = useI18n ()
13-
1411const tokens = computed (() => parseLicenseExpression (props .license ))
1512const licenseChanges = useLicenseChanges (() => props .packageName )
1613
@@ -19,7 +16,7 @@ const changes = computed(() => licenseChanges.data.value?.changes ?? [])
1916const licenseChangeText = computed (() =>
2017 changes .value
2118 .map (item =>
22- t (' package.versions.license_change_item' , {
19+ $ t (' package.versions.license_change_item' , {
2320 from: item .from ,
2421 to: item .to ,
2522 version: item .version ,
You can’t perform that action at this time.
0 commit comments