From 8b5400228cdd5a5d6fbe6c9199013524bc2b2159 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Wed, 22 May 2024 11:02:46 -0700 Subject: [PATCH] Remove ranges from deprecated IDs list --- build.js | 2 +- deprecated.json | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) 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",