Releases: kemitchell/validate-npm-package-license.js
Releases · kemitchell/validate-npm-package-license.js
3.0.0
The objects returned by the function may now contain a number of additional metadata properties describing the kind of license value passed.
returned.spdx === truewhen the argument was an SPDX license expression, with or without permittedLicenseRefidentifiers.typeof returned.inFile === 'string'where the argument was a"SEE LICENSE..."value.returned.unlicensed === truewhere the argument was"UNLICENSED"or"UNLICENSED".
Properties returned by previous versions remain unchanged, except for a small punctuation change to clarify the message describing valid values.