diff --git a/build.js b/build.js index 84201f1..c7dc76b 100644 --- a/build.js +++ b/build.js @@ -18,7 +18,7 @@ https.get('https://spdx.org/licenses/licenses.json', response => { const deprecated = []; for (const {licenseId: id, isDeprecatedLicenseId: isDeprecated} of licenses) { if (isDeprecated) { - deprecated.push(id); + if (!id.endsWith('+')) deprecated.push(id); } else { index.push(id); } diff --git a/deprecated.json b/deprecated.json index a877dc3..278531e 100644 --- a/deprecated.json +++ b/deprecated.json @@ -7,24 +7,18 @@ "GFDL-1.2", "GFDL-1.3", "GPL-1.0", - "GPL-1.0+", "GPL-2.0", - "GPL-2.0+", "GPL-2.0-with-GCC-exception", "GPL-2.0-with-autoconf-exception", "GPL-2.0-with-bison-exception", "GPL-2.0-with-classpath-exception", "GPL-2.0-with-font-exception", "GPL-3.0", - "GPL-3.0+", "GPL-3.0-with-GCC-exception", "GPL-3.0-with-autoconf-exception", "LGPL-2.0", - "LGPL-2.0+", "LGPL-2.1", - "LGPL-2.1+", "LGPL-3.0", - "LGPL-3.0+", "Nunit", "StandardML-NJ", "bzip2-1.0.5",