license.js
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -21,3 +21,3 @@ const { resolve } = require('path') | ||
: null, | ||
warranty: indexFile[name].header | ||
warranty: indexFile[name].warranty | ||
? fs.readFileSync(pathToLicense(`${name}-warranty`)).toString() | ||
@@ -40,3 +40,3 @@ : null, | ||
: null, | ||
indexFile[name].header | ||
indexFile[name].warranty | ||
? readFile(pathToLicense(`${name}-warranty`)) | ||
@@ -43,0 +43,0 @@ : null, |
{ | ||
"name": "license.js", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Get SPDX license template text", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
334241