Lines Matching refs:license
89 let license = node.package?.license
90 if (license) {
91 if (typeof license === 'object') {
92 license = license.type
96 parsedLicense = parseLicense(license)
159 // If license is a single SPDX license, use the license field
160 if (parsedLicense?.license) {
161 component.licenses = [{ license: { id: parsedLicense.license } }]
162 // If license is a conjunction, use the expression field
164 component.licenses = [{ expression: node.package.license }]