Skip to content

Commit

Permalink
Merge pull request #1137 from clearlydefined/update-scancode-licensedb
Browse files Browse the repository at this point in the history
Update license mapping with latest ScanCode LicenseDB data
  • Loading branch information
qtomlinson authored Jun 25, 2024
2 parents 96c7db7 + f038f33 commit 00420cf
Showing 1 changed file with 44 additions and 12 deletions.
56 changes: 44 additions & 12 deletions lib/scancodeMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
module.exports = new Map([
['389-exception', '389-exception'],
['3com-microcode', 'LicenseRef-scancode-3com-microcode'],
['3dslicer-1.0', 'LicenseRef-scancode-3dslicer-1.0'],
['3dslicer-1.0', '3D-Slicer-1.0'],
['4suite-1.1', 'LicenseRef-scancode-4suite-1.1'],
['996-icu-1.0', 'LicenseRef-scancode-996-icu-1.0'],
['aardvark-py-2014', 'LicenseRef-scancode-aardvark-py-2014'],
Expand Down Expand Up @@ -88,7 +88,7 @@ module.exports = new Map([
['amazon-redshift-jdbc', 'LicenseRef-scancode-amazon-redshift-jdbc'],
['amazon-sl', 'LicenseRef-.amazon.com.-AmznSL-1.0'],
['amd-aspf-2023', 'LicenseRef-scancode-amd-aspf-2023'],
['amd-historical', 'LicenseRef-scancode-amd-historical'],
['amd-historical', 'AMD-newlib'],
['amd-linux-firmware', 'LicenseRef-scancode-amd-linux-firmware'],
['amd-linux-firmware-export', 'LicenseRef-scancode-amd-linux-firmware-export'],
['amdplpa', 'AMDPLPA'],
Expand All @@ -106,6 +106,7 @@ module.exports = new Map([
['antlr-pd', 'ANTLR-PD'],
['antlr-pd-fallback', 'ANTLR-PD-fallback'],
['anu-license', 'LicenseRef-scancode-anu-license'],
['any-osi', 'any-OSI'],
['aop-pd', 'null'],
['apache-1.0', 'Apache-1.0'],
['apache-1.1', 'Apache-1.1'],
Expand Down Expand Up @@ -157,6 +158,7 @@ module.exports = new Map([
['asmus', 'LicenseRef-scancode-asmus'],
['asn1', 'LicenseRef-scancode-asn1'],
['asterisk-exception', 'Asterisk-exception'],
['asterisk-linking-protocols-exception', 'Asterisk-linking-protocols-exception'],
['aswf-digital-assets-1.0', 'ASWF-Digital-Assets-1.0'],
['aswf-digital-assets-1.1', 'ASWF-Digital-Assets-1.1'],
['ati-eula', 'LicenseRef-scancode-ati-eula'],
Expand Down Expand Up @@ -251,6 +253,7 @@ module.exports = new Map([
['bsd-1-clause', 'BSD-1-Clause'],
['bsd-1-clause-build', 'LicenseRef-scancode-bsd-1-clause-build'],
['bsd-1988', 'LicenseRef-scancode-bsd-1988'],
['bsd-2-clause-first-lines', 'BSD-2-Clause-first-lines'],
['bsd-2-clause-freebsd', 'null'],
['bsd-2-clause-netbsd', 'null'],
['bsd-2-clause-plus-advertizing', 'LicenseRef-scancode-bsd-2-clause-plus-advertizing'],
Expand Down Expand Up @@ -338,7 +341,7 @@ module.exports = new Map([
['careware', 'LicenseRef-scancode-careware'],
['carnegie-mellon', 'LicenseRef-scancode-carnegie-mellon'],
['carnegie-mellon-contributors', 'CMU-Mach'],
['catharon-osl', 'LicenseRef-scancode-catharon-osl'],
['catharon-osl', 'Catharon'],
['cavium-linux-firmware', 'LicenseRef-scancode-cavium-linux-firmware'],
['cavium-malloc', 'LicenseRef-scancode-cavium-malloc'],
['cavium-targeted-hardware', 'LicenseRef-scancode-cavium-targeted-hardware'],
Expand Down Expand Up @@ -433,13 +436,15 @@ module.exports = new Map([
['cern-ohl-p-2.0', 'CERN-OHL-P-2.0'],
['cern-ohl-s-2.0', 'CERN-OHL-S-2.0'],
['cern-ohl-w-2.0', 'CERN-OHL-W-2.0'],
['cexcept-2008', 'LicenseRef-scancode-cexcept-2008'],
['cfitsio', 'CFITSIO'],
['cgic', 'LicenseRef-scancode-cgic'],
['chartdirector-6.0', 'LicenseRef-scancode-chartdirector-6.0'],
['check-cvs', 'check-cvs'],
['checkmk', 'checkmk'],
['chelsio-linux-firmware', 'LicenseRef-scancode-chelsio-linux-firmware'],
['chicken-dl-0.2', 'LicenseRef-scancode-chicken-dl-0.2'],
['chillicream-1.0', 'LicenseRef-scancode-chillicream-1.0'],
['chris-maunder', 'LicenseRef-scancode-chris-maunder'],
['chris-stoy', 'LicenseRef-scancode-chris-stoy'],
['christopher-velazquez', 'LicenseRef-scancode-christopher-velazquez'],
Expand Down Expand Up @@ -477,7 +482,7 @@ module.exports = new Map([
['code-credit-license-1.1.0', 'LicenseRef-scancode-code-credit-license-1.1.0'],
['codeguru-permissions', 'LicenseRef-scancode-codeguru-permissions'],
['codelite-exception-to-gpl', 'LicenseRef-scancode-codelite-exception-to-gpl'],
['codesourcery-2004', 'LicenseRef-scancode-codesourcery-2004'],
['codesourcery-2004', 'HPND-merchantability-variant'],
['codexia', 'LicenseRef-scancode-codexia'],
['cognitive-web-osl-1.1', 'LicenseRef-scancode-cognitive-web-osl-1.1'],
['coil-1.0', 'COIL-1.0'],
Expand Down Expand Up @@ -532,7 +537,7 @@ module.exports = new Map([
['cups', 'LicenseRef-scancode-cups'],
['cups-apple-os-exception', 'LicenseRef-scancode-cups-apple-os-exception'],
['curl', 'curl'],
['cve-tou', 'LicenseRef-scancode-cve-tou'],
['cve-tou', 'cve-tou'],
['cvwl', 'LicenseRef-scancode-cvwl'],
['cwe-tou', 'LicenseRef-scancode-cwe-tou'],
['cximage', 'LicenseRef-scancode-cximage'],
Expand Down Expand Up @@ -685,8 +690,10 @@ module.exports = new Map([
['fawkes-runtime-exception', 'Fawkes-Runtime-exception'],
['fbm', 'FBM'],
['ferguson-twofish', 'Ferguson-Twofish'],
['fftpack-2004', 'LicenseRef-scancode-fftpack-2004'],
['ffsl-1', 'LicenseRef-scancode-ffsl-1'],
['fftpack-2004', 'NCL'],
['filament-group-mit', 'LicenseRef-scancode-filament-group-mit'],
['first-epss-usage', 'LicenseRef-scancode-first-epss-usage'],
['first-works-appreciative-1.2', 'LicenseRef-scancode-first-works-appreciative-1.2'],
['flex-2.5', 'BSD-3-Clause-flex'],
['flex2sdk', 'LicenseRef-scancode-flex2sdk'],
Expand Down Expand Up @@ -775,6 +782,7 @@ module.exports = new Map([
['ghostscript-1988', 'LicenseRef-scancode-ghostscript-1988'],
['github-codeql-terms-2020', 'LicenseRef-scancode-github-codeql-terms-2020'],
['gitlab-ee', 'LicenseRef-scancode-gitlab-ee'],
['gitleaks-action-eula', 'LicenseRef-scancode-gitleaks-action-eula'],
['gitpod-self-hosted-free-2020', 'LicenseRef-scancode-gitpod-self-hosted-free-2020'],
['gl2ps', 'GL2PS'],
['gladman-older-rijndael-code-use', 'LicenseRef-scancode-gladman-older-rijndael-code'],
Expand Down Expand Up @@ -907,6 +915,7 @@ module.exports = new Map([
['gust-font-1.0', 'LicenseRef-scancode-gust-font-1.0'],
['gust-font-2006-09-30', 'LicenseRef-scancode-gust-font-2006-09-30'],
['gutenberg-2020', 'LicenseRef-scancode-gutenberg-2020'],
['gutmann', 'Gutmann'],
['h2-1.0', 'LicenseRef-scancode-h2-1.0'],
['hacking-license', 'LicenseRef-scancode-hacking-license'],
['hacos-1.2', 'LicenseRef-scancode-hacos-1.2'],
Expand Down Expand Up @@ -950,14 +959,17 @@ module.exports = new Map([
['hpnd-doc', 'HPND-doc'],
['hpnd-doc-sell', 'HPND-doc-sell'],
['hpnd-export-us', 'HPND-export-US'],
['hpnd-export-us-acknowledgement', 'HPND-export-US-acknowledgement'],
['hpnd-fenneberg-livingston', 'HPND-Fenneberg-Livingston'],
['hpnd-inria-imag', 'HPND-INRIA-IMAG'],
['hpnd-mit-disclaimer', 'HPND-MIT-disclaimer'],
['hpnd-pbmplus', 'HPND-Pbmplus'],
['hpnd-sell-mit-disclaimer-xserver', 'HPND-sell-MIT-disclaimer-xserver'],
['hpnd-sell-regexpr', 'HPND-sell-regexpr'],
['hpnd-sell-variant-mit-disclaimer', 'HPND-sell-variant-MIT-disclaimer'],
['hpnd-sell-variant-mit-disclaimer-rev', 'HPND-sell-variant-MIT-disclaimer-rev'],
['hpnd-uc', 'HPND-UC'],
['hpnd-uc-export-us', 'HPND-UC-export-US'],
['hs-regexp', 'Spencer-94'],
['hs-regexp-orig', 'null'],
['html5', 'LicenseRef-scancode-html5'],
Expand Down Expand Up @@ -992,6 +1004,7 @@ module.exports = new Map([
['ietf', 'LicenseRef-scancode-ietf'],
['ietf-trust', 'LicenseRef-scancode-ietf-trust'],
['ijg', 'IJG'],
['ijg-2020', 'LicenseRef-scancode-ijg-2020'],
['ijg-short', 'IJG-short'],
['ilmid', 'LicenseRef-scancode-ilmid'],
['imagemagick', 'ImageMagick'],
Expand Down Expand Up @@ -1030,7 +1043,7 @@ module.exports = new Map([
['intel-mcu-2018', 'LicenseRef-scancode-intel-mcu-2018'],
['intel-microcode', 'LicenseRef-scancode-intel-microcode'],
['intel-osl-1989', 'LicenseRef-scancode-intel-osl-1989'],
['intel-osl-1993', 'LicenseRef-scancode-intel-osl-1993'],
['intel-osl-1993', 'HPND-Intel'],
['intel-royalty-free', 'LicenseRef-scancode-intel-royalty-free'],
['intel-sample-source-code-2015', 'LicenseRef-scancode-intel-sample-source-code-2015'],
['intel-scl', 'LicenseRef-scancode-intel-scl'],
Expand Down Expand Up @@ -1290,11 +1303,12 @@ module.exports = new Map([
['mit-ack', 'MIT-feh'],
['mit-addition', 'MIT-Wu'],
['mit-export-control', 'Xerox'],
['mit-khronos-old', 'MIT-Khronos-old'],
['mit-kyle-restrictions', 'LicenseRef-scancode-mit-kyle-restrictions'],
['mit-license-1998', 'LicenseRef-scancode-mit-license-1998'],
['mit-modern', 'MIT-Modern-Variant'],
['mit-nagy', 'LicenseRef-scancode-mit-nagy'],
['mit-no-advert-export-control', 'LicenseRef-scancode-mit-no-advert-export-control'],
['mit-no-advert-export-control', 'HPND-export2-US'],
['mit-no-false-attribs', 'MITNFA'],
['mit-no-trademarks', 'LicenseRef-scancode-mit-no-trademarks'],
['mit-old-style', 'LicenseRef-scancode-mit-old-style'],
Expand All @@ -1303,7 +1317,7 @@ module.exports = new Map([
['mit-readme', 'LicenseRef-scancode-mit-readme'],
['mit-specification-disclaimer', 'LicenseRef-scancode-mit-specification-disclaimer'],
['mit-synopsys', 'LicenseRef-scancode-mit-synopsys'],
['mit-taylor-variant', 'LicenseRef-scancode-mit-taylor-variant'],
['mit-taylor-variant', 'pkgconf'],
['mit-testregex', 'MIT-testregex'],
['mit-veillard-variant', 'ISC-Veillard'],
['mit-with-modification-obligations', 'HPND-export-US-modify'],
Expand Down Expand Up @@ -1343,6 +1357,7 @@ module.exports = new Map([
['ms-capicom', 'LicenseRef-scancode-ms-capicom'],
['ms-cl', 'LicenseRef-scancode-ms-cl'],
['ms-cla', 'LicenseRef-scancode-ms-cla'],
['ms-container-eula', 'LicenseRef-scancode-ms-container-eula'],
['ms-control-spy-2.0', 'LicenseRef-scancode-ms-control-spy-2.0'],
['ms-data-tier-af-2022', 'LicenseRef-scancode-ms-data-tier-af-2022'],
['ms-developer-services-agreement', 'LicenseRef-scancode-ms-dev-services-agreement'],
Expand Down Expand Up @@ -1461,7 +1476,7 @@ module.exports = new Map([
['naughter', 'LicenseRef-scancode-naughter'],
['naumen', 'Naumen'],
['nbpl-1.0', 'NBPL-1.0'],
['ncbi', 'LicenseRef-scancode-ncbi'],
['ncbi', 'NCBI-PD'],
['ncgl-uk-2.0', 'NCGL-UK-2.0'],
['ncsa-httpd-1995', 'LicenseRef-scancode-ncsa-httpd-1995'],
['nero-eula', 'LicenseRef-scancode-nero-eula'],
Expand All @@ -1487,6 +1502,7 @@ module.exports = new Map([
['nicta-psl', 'NICTA-1.0'],
['niels-ferguson', 'LicenseRef-scancode-niels-ferguson'],
['nilsson-historical', 'LicenseRef-scancode-nilsson-historical'],
['nist-nvd-api-tou', 'LicenseRef-scancode-nist-nvd-api-tou'],
['nist-pd', 'NIST-PD'],
['nist-pd-fallback', 'NIST-PD-fallback'],
['nist-software', 'NIST-Software'],
Expand Down Expand Up @@ -1526,12 +1542,14 @@ module.exports = new Map([
['nvidia-2002', 'AML-glslang'],
['nvidia-apex-sdk-eula-2011', 'LicenseRef-scancode-nvidia-apex-sdk-eula-2011'],
['nvidia-cuda-supplement-2020', 'LicenseRef-scancode-nvidia-cuda-supplement-2020'],
['nvidia-dlc-2021', 'LicenseRef-scancode-nvidia-dlc-2021'],
['nvidia-gov', 'LicenseRef-scancode-nvidia-gov'],
['nvidia-isaac-eula-2019.1', 'LicenseRef-scancode-nvidia-isaac-eula-2019.1'],
['nvidia-ngx-eula-2019', 'LicenseRef-scancode-nvidia-ngx-eula-2019'],
['nvidia-sdk-eula-v0.11', 'LicenseRef-scancode-nvidia-sdk-eula-v0.11'],
['nvidia-video-codec-agreement', 'LicenseRef-scancode-nvidia-video-codec-agreement'],
['nwhm', 'LicenseRef-scancode-nwhm'],
['nxlog-public-license-1.0', 'LicenseRef-scancode-nxlog-public-license-1.0'],
['nxp-firmware-patent', 'LicenseRef-scancode-nxp-firmware-patent'],
['nxp-linux-firmware', 'LicenseRef-scancode-nxp-linux-firmware'],
['nxp-mc-firmware', 'LicenseRef-scancode-nxp-mc-firmware'],
Expand Down Expand Up @@ -1687,6 +1705,7 @@ module.exports = new Map([
['osl-2.1', 'OSL-2.1'],
['osl-3.0', 'OSL-3.0'],
['ossn-3.0', 'LicenseRef-scancode-ossn-3.0'],
['osvdb', 'LicenseRef-scancode-osvdb'],
['oswego-concurrent', 'LicenseRef-scancode-oswego-concurrent'],
['other-copyleft', 'LicenseRef-scancode-other-copyleft'],
['other-permissive', 'LicenseRef-scancode-other-permissive'],
Expand Down Expand Up @@ -1725,6 +1744,7 @@ module.exports = new Map([
['paypal-sdk-2013-2016', 'LicenseRef-scancode-paypal-sdk-2013-2016'],
['pbl-1.0', 'LicenseRef-scancode-pbl-1.0'],
['pcre', 'LicenseRef-scancode-pcre'],
['pcre2-exception', 'PCRE2-exception'],
['pd-mit', 'LicenseRef-scancode-pd-mit'],
['pd-programming', 'LicenseRef-scancode-pd-programming'],
['pddl-1.0', 'PDDL-1.0'],
Expand Down Expand Up @@ -1765,6 +1785,7 @@ module.exports = new Map([
['polyform-strict-1.0.0', 'LicenseRef-scancode-polyform-strict-1.0.0'],
['postgresql', 'PostgreSQL'],
['powervr-tools-software-eula', 'LicenseRef-scancode-powervr-tools-software-eula'],
['ppl', 'PPL'],
['ppp', 'LicenseRef-scancode-ppp'],
['proconx-modbus-rev4', 'LicenseRef-scancode-proconx-modbus-rev4'],
['proguard-exception-2.0', 'LicenseRef-scancode-proguard-exception-2.0'],
Expand Down Expand Up @@ -1834,14 +1855,19 @@ module.exports = new Map([
['red-hat-logos', 'LicenseRef-scancode-red-hat-logos'],
['red-hat-trademarks', 'LicenseRef-scancode-red-hat-trademarks'],
['redis-source-available-1.0', 'LicenseRef-scancode-redis-source-available-1.0'],
['redpanda-community-la', 'LicenseRef-scancode-redpanda-community-la'],
['regexp', 'Spencer-86'],
['reportbug', 'LicenseRef-scancode-reportbug'],
['repoze', 'BSD-3-Clause-Modification'],
['research-disclaimer', 'LicenseRef-scancode-research-disclaimer'],
['responsible-ai-source-1.0', 'LicenseRef-scancode-responsible-ai-source-1.0'],
['responsible-ai-source-1.1', 'LicenseRef-scancode-responsible-ai-source-1.1'],
['rh-eula', 'LicenseRef-scancode-rh-eula'],
['rh-eula-apache2', 'LicenseRef-scancode-rh-eula-apache2'],
['rh-eula-gpl2', 'LicenseRef-scancode-rh-eula-gpl2'],
['rh-eula-lgpl', 'LicenseRef-scancode-rh-eula-lgpl'],
['rh-standard-eula-2019', 'LicenseRef-scancode-rh-standard-eula-2019'],
['rh-ubi-eula-2019', 'LicenseRef-scancode-rh-ubi-eula-2019'],
['ricebsd', 'LicenseRef-scancode-ricebsd'],
['richard-black', 'LicenseRef-scancode-richard-black'],
['ricoh-1.0', 'RSCPL'],
Expand All @@ -1852,7 +1878,7 @@ module.exports = new Map([
['rpl-1.1', 'RPL-1.1'],
['rpl-1.5', 'RPL-1.5'],
['rpsl-1.0', 'RPSL-1.0'],
['rrdtool-floss-exception-2.0', 'LicenseRef-scancode-rrdtool-floss-exception-2.0'],
['rrdtool-floss-exception-2.0', 'RRDtool-FLOSS-exception-2.0'],
['rsa-1990', 'LicenseRef-scancode-rsa-1990'],
['rsa-cryptoki', 'LicenseRef-scancode-rsa-cryptoki'],
['rsa-demo', 'LicenseRef-scancode-rsa-demo'],
Expand Down Expand Up @@ -1950,6 +1976,7 @@ module.exports = new Map([
['softfloat-2c', 'LicenseRef-scancode-softfloat-2c'],
['softsurfer', 'softSurfer'],
['solace-software-eula-2020', 'LicenseRef-scancode-solace-software-eula-2020'],
['soml-1.0', 'LicenseRef-scancode-soml-1.0'],
['soundex', 'Soundex'],
['sourcegraph-enterprise-2018', 'LicenseRef-scancode-sourcegraph-enterprise-2018'],
['spark-jive', 'LicenseRef-scancode-spark-jive'],
Expand Down Expand Up @@ -2021,6 +2048,7 @@ module.exports = new Map([
['sun-jta-spec-1.0.1b', 'LicenseRef-scancode-sun-jta-spec-1.0.1b'],
['sun-no-high-risk-activities', 'LicenseRef-scancode-sun-no-high-risk-activities'],
['sun-ppp', 'Sun-PPP'],
['sun-ppp-2000', 'Sun-PPP-2000'],
['sun-project-x', 'LicenseRef-scancode-sun-project-x'],
['sun-prop-non-commercial', 'LicenseRef-scancode-sun-prop-non-commercial'],
['sun-proprietary-jdk', 'null'],
Expand Down Expand Up @@ -2086,6 +2114,7 @@ module.exports = new Map([
['things-i-made-public-license', 'LicenseRef-scancode-things-i-made-public-license'],
['thomas-bandt', 'LicenseRef-scancode-thomas-bandt'],
['thor-pl', 'TPL-1.0'],
['threeparttable', 'threeparttable'],
['ti-broadband-apps', 'LicenseRef-scancode-ti-broadband-apps'],
['ti-linux-firmware', 'LicenseRef-scancode-ti-linux-firmware'],
['ti-restricted', 'LicenseRef-scancode-ti-restricted'],
Expand Down Expand Up @@ -2159,6 +2188,7 @@ module.exports = new Map([
['unrar', 'LicenseRef-scancode-unrar'],
['unrar-v3', 'LicenseRef-scancode-unrar-v3'],
['unsplash', 'LicenseRef-scancode-unsplash'],
['unstated', 'LicenseRef-scancode-unstated'],
['uofu-rfpl', 'LicenseRef-scancode-uofu-rfpl'],
['uoi-ncsa', 'NCSA'],
['upl-1.0', 'UPL-1.0'],
Expand Down Expand Up @@ -2213,6 +2243,7 @@ module.exports = new Map([
['westhawk', 'LicenseRef-scancode-westhawk'],
['whistle', 'LicenseRef-scancode-whistle'],
['whitecat', 'LicenseRef-scancode-whitecat'],
['whosonfirst-license', 'LicenseRef-scancode-whosonfirst-license'],
['wide-license', 'LicenseRef-scancode-wide-license'],
['widget-workshop', 'Widget-Workshop'],
['wifi-alliance', 'LicenseRef-scancode-wifi-alliance'],
Expand Down Expand Up @@ -2256,7 +2287,7 @@ module.exports = new Map([
['x11-keith-packard', 'HPND-sell-variant'],
['x11-lucent', 'dtoa'],
['x11-lucent-variant', 'LicenseRef-scancode-x11-lucent-variant'],
['x11-oar', 'LicenseRef-scancode-x11-oar'],
['x11-oar', 'OAR'],
['x11-opengl', 'SGI-OpenGL'],
['x11-opengroup', 'MIT-open-group'],
['x11-quarterdeck', 'LicenseRef-scancode-x11-quarterdeck'],
Expand Down Expand Up @@ -2285,6 +2316,7 @@ module.exports = new Map([
['xnet', 'Xnet'],
['xskat', 'XSkat'],
['xxd', 'LicenseRef-scancode-xxd'],
['xzoom', 'xzoom'],
['yahoo-browserplus-eula', 'LicenseRef-scancode-yahoo-browserplus-eula'],
['yahoo-messenger-eula', 'LicenseRef-scancode-yahoo-messenger-eula'],
['yale-cas', 'LicenseRef-scancode-yale-cas'],
Expand Down

0 comments on commit 00420cf

Please sign in to comment.