Skip to content

Commit 8b54002

Browse files
committed
Remove ranges from deprecated IDs list
1 parent 70a1f23 commit 8b54002

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ https.get('https://spdx.org/licenses/licenses.json', response => {
1818
const deprecated = [];
1919
for (const {licenseId: id, isDeprecatedLicenseId: isDeprecated} of licenses) {
2020
if (isDeprecated) {
21-
deprecated.push(id);
21+
if (!id.endsWith('+')) deprecated.push(id);
2222
} else {
2323
index.push(id);
2424
}

deprecated.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,18 @@
77
"GFDL-1.2",
88
"GFDL-1.3",
99
"GPL-1.0",
10-
"GPL-1.0+",
1110
"GPL-2.0",
12-
"GPL-2.0+",
1311
"GPL-2.0-with-GCC-exception",
1412
"GPL-2.0-with-autoconf-exception",
1513
"GPL-2.0-with-bison-exception",
1614
"GPL-2.0-with-classpath-exception",
1715
"GPL-2.0-with-font-exception",
1816
"GPL-3.0",
19-
"GPL-3.0+",
2017
"GPL-3.0-with-GCC-exception",
2118
"GPL-3.0-with-autoconf-exception",
2219
"LGPL-2.0",
23-
"LGPL-2.0+",
2420
"LGPL-2.1",
25-
"LGPL-2.1+",
2621
"LGPL-3.0",
27-
"LGPL-3.0+",
2822
"Nunit",
2923
"StandardML-NJ",
3024
"bzip2-1.0.5",

0 commit comments

Comments
 (0)