update licenses pkg and tests

This commit is contained in:
Eli Reisman
2024-06-10 09:51:01 -07:00
parent 2e4eaa490e
commit bbed6f340a
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
}