update licenses pkg and tests
This commit is contained in:
Vendored
+12
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user