update licenses pkg and tests

This commit is contained in:
Eli Reisman
2024-06-05 23:38:18 -07:00
parent 3fc792b939
commit dfbe08e4d2
4 changed files with 62 additions and 42 deletions
+12
View File
@@ -3,4 +3,16 @@ declare module '@onebeyond/spdx-license-satisfies' {
candidateExpr: string,
constraintExpr: string
): boolean
export function satisfiesAny(
candidateExpr: string,
licenses: string[]
): boolean
export function satisfiesAll(
candidateExpr: string,
licenses: string[]
): boolean
export function isValid(candidateExpr: string): boolean
}