LicenseFinder icon indicating copy to clipboard operation
LicenseFinder copied to clipboard

not parsing OR in npm package.json

Open michaelglass opened this issue 5 years ago • 1 comments

I believe the license string in https://git.coolaj86.com/coolaj86/atob.js/src/branch/master/package.json#L22 is a valid SPDX string that should validate if either of those licenses is whitelisted, but it appears to parse the license as a single license not multiple.

michaelglass avatar Sep 19 '18 16:09 michaelglass

Just for notice: there are cases with OR, as provided above, and with AND: https://github.com/crypto-browserify/sha.js/blob/105bfe5/package.json#L29

Also with parentheses, and without them: https://github.com/jrburke/amdefine/blob/e59edc9/package.json#L7

AlexWayfer avatar Sep 08 '21 09:09 AlexWayfer