From 76fd7f798ada63f5505c783646a9b21ad0e7da21 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 6 Apr 2022 13:08:54 +1000 Subject: Making license_definition.js single source of truth for licenses - Removed licenses.json - cleaned up license_definition.js a bit --- license_definitions.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'license_definitions.js') diff --git a/license_definitions.js b/license_definitions.js index 74d35e8..14c05ce 100644 --- a/license_definitions.js +++ b/license_definitions.js @@ -233,6 +233,8 @@ exports.licenses = { 'GNU-All-Permissive': { licenseName: 'GNU All-Permissive License', + identifier: 'GNU-All-Permissive', + canonicalUrl: [], licenseFragments: [{ text: "Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", type: type.SHORT }] }, @@ -272,6 +274,8 @@ exports.licenses = { 'jQueryTools': { licenseName: "jQuery Tools", + identifier: 'jQueryTools', + canonicalUrl: [], licenseFragments: [{ text: 'NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.', type: type.SHORT @@ -309,7 +313,8 @@ exports.licenses = { }, 'PublicDomain': { - licenseName: "Public Domain", + licenseName: 'Public Domain', + identifier: 'PublicDomain', canonicalUrl: [ 'magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt' ], -- cgit v1.2.3