| 11 | // @types/pacote uses "import = require()" syntax which is not supported by unbuild |
| 12 | // So instead of using @types/pacote, we declare the type definition with only fields we need |
| 13 | export interface PackumentVersion { |
| 14 | name: string |
| 15 | deprecated?: string | boolean |
| 16 | dist: { |
| 17 | attestations: { |
| 18 | provenance?: { predicateType: string } |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | export interface Packument { |
| 24 | 'name': string |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…