From d5cc9be54af41ef379587effc379252dabd222b2 Mon Sep 17 00:00:00 2001 From: "repo-ranger[bot]" Date: Sat, 2 Jul 2022 20:20:54 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20badges/s?= =?UTF-8?q?hields@613cfff7bc514a57d55ede44d759d786e069c681=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- badge-maker_lib_index.js.html | 4 +- badge-maker_lib_xml.js.html | 4 +- core_base-service_base-graphql.js.html | 4 +- core_base-service_base-json.js.html | 4 +- core_base-service_base-svg-scraping.js.html | 4 +- core_base-service_base-xml.js.html | 4 +- core_base-service_base-yaml.js.html | 4 +- core_base-service_base.js.html | 4 +- core_base-service_errors.js.html | 4 +- core_base-service_graphql.js.html | 4 +- core_base-service_resource-cache.js.html | 4 +- core_server_prometheus-metrics.js.html | 4 +- core_server_server.js.html | 4 +- ...-test-runner_create-service-tester.js.html | 4 +- ...ice-test-runner_icedfrisby-shields.js.html | 4 +- ...ice-test-runner_infer-pull-request.js.html | 4 +- core_service-test-runner_runner.js.html | 4 +- ...service-test-runner_service-tester.js.html | 4 +- ...ice-test-runner_services-for-title.js.html | 4 +- core_token-pooling_token-pool.js.html | 4 +- global.html | 4 +- index.html | 4 +- module-badge-maker.html | 4 +- module-badge-maker_lib_xml-ElementList.html | 4 +- module-badge-maker_lib_xml-XmlElement.html | 4 +- module-badge-maker_lib_xml.html | 4 +- ...le-core_base-service_base-BaseService.html | 4 +- ...rvice_base-graphql-BaseGraphqlService.html | 4 +- module-core_base-service_base-graphql.html | 4 +- ...ase-service_base-json-BaseJsonService.html | 4 +- module-core_base-service_base-json.html | 4 +- ...e-svg-scraping-BaseSvgScrapingService.html | 4 +- ...e-core_base-service_base-svg-scraping.html | 4 +- ..._base-service_base-xml-BaseXmlService.html | 4 +- module-core_base-service_base-xml.html | 4 +- ...ase-service_base-yaml-BaseYamlService.html | 4 +- module-core_base-service_base-yaml.html | 4 +- module-core_base-service_base.html | 4 +- ...e-core_base-service_errors-Deprecated.html | 4 +- ...e-service_errors-ImproperlyConfigured.html | 4 +- ...core_base-service_errors-Inaccessible.html | 4 +- ..._base-service_errors-InvalidParameter.html | 4 +- ...e_base-service_errors-InvalidResponse.html | 4 +- module-core_base-service_errors-NotFound.html | 4 +- ...se-service_errors-ShieldsRuntimeError.html | 4 +- module-core_base-service_errors.html | 4 +- module-core_base-service_graphql.html | 4 +- module-core_base-service_resource-cache.html | 4 +- module-core_server_server-Server.html | 4 +- module-core_server_server.html | 4 +- ...ice-test-runner_create-service-tester.html | 4 +- ...ervice-test-runner_icedfrisby-shields.html | 4 +- ...ervice-test-runner_infer-pull-request.html | 4 +- ...ore_service-test-runner_runner-Runner.html | 4 +- module-core_service-test-runner_runner.html | 4 +- ...t-runner_service-tester-ServiceTester.html | 4 +- ...re_service-test-runner_service-tester.html | 4 +- ...ervice-test-runner_services-for-title.html | 4 +- ...e-core_token-pooling_token-pool-Token.html | 4 +- ...re_token-pooling_token-pool-TokenPool.html | 4 +- module-core_token-pooling_token-pool.html | 4 +- module-services_build-status.html | 4 +- module-services_color-formatters.html | 4 +- module-services_contributor-count.html | 4 +- module-services_downloads.html | 4 +- module-services_dynamic-common.html | 4 +- module-services_dynamic_json-path.html | 4 +- module-services_endpoint-common.html | 4 +- module-services_licenses.html | 695 ++++++++++++++++++ ...ervices_steam_steam-base-BaseSteamAPI.html | 4 +- module-services_steam_steam-base.html | 4 +- services_build-status.js.html | 4 +- services_color-formatters.js.html | 4 +- services_contributor-count.js.html | 4 +- services_downloads.js.html | 4 +- services_dynamic-common.js.html | 4 +- services_dynamic_json-path.js.html | 4 +- services_endpoint-common.js.html | 4 +- services_licenses.js.html | 210 ++++++ services_packagist_packagist-base.js.html | 4 +- services_steam_steam-base.js.html | 4 +- services_test-validators.js.html | 4 +- tutorial-TUTORIAL.html | 4 +- tutorial-adding-new-config-values.html | 4 +- tutorial-badge-urls.html | 4 +- tutorial-code-walkthrough.html | 4 +- tutorial-deprecating-badges.html | 4 +- tutorial-input-validation.html | 4 +- tutorial-json-format.html | 4 +- tutorial-logos.html | 4 +- tutorial-performance-testing.html | 4 +- tutorial-production-hosting.html | 4 +- tutorial-releases.html | 4 +- tutorial-self-hosting.html | 4 +- tutorial-server-secrets.html | 4 +- tutorial-service-tests.html | 4 +- 96 files changed, 1093 insertions(+), 188 deletions(-) create mode 100644 module-services_licenses.html create mode 100644 services_licenses.js.html diff --git a/badge-maker_lib_index.js.html b/badge-maker_lib_index.js.html index de62c4f2a6..ed68317a16 100644 --- a/badge-maker_lib_index.js.html +++ b/badge-maker_lib_index.js.html @@ -117,13 +117,13 @@ module.exports = {
diff --git a/badge-maker_lib_xml.js.html b/badge-maker_lib_xml.js.html index b7b1b35f85..4ec5f4c5b9 100644 --- a/badge-maker_lib_xml.js.html +++ b/badge-maker_lib_xml.js.html @@ -132,13 +132,13 @@ module.exports = { escapeXml, stripXmlWhitespace, XmlElement, ElementList }
diff --git a/core_base-service_base-graphql.js.html b/core_base-service_base-graphql.js.html index a0956984e4..b2a98e0bc5 100644 --- a/core_base-service_base-graphql.js.html +++ b/core_base-service_base-graphql.js.html @@ -130,13 +130,13 @@ export default BaseGraphqlService
diff --git a/core_base-service_base-json.js.html b/core_base-service_base-json.js.html index 5712010979..5ba4a0b2ea 100644 --- a/core_base-service_base-json.js.html +++ b/core_base-service_base-json.js.html @@ -91,13 +91,13 @@ export default BaseJsonService
diff --git a/core_base-service_base-svg-scraping.js.html b/core_base-service_base-svg-scraping.js.html index a26863dbdc..cb9b5d32e0 100644 --- a/core_base-service_base-svg-scraping.js.html +++ b/core_base-service_base-svg-scraping.js.html @@ -127,13 +127,13 @@ export default BaseSvgScrapingService
diff --git a/core_base-service_base-xml.js.html b/core_base-service_base-xml.js.html index 319030c465..82dad73647 100644 --- a/core_base-service_base-xml.js.html +++ b/core_base-service_base-xml.js.html @@ -106,13 +106,13 @@ export default BaseXmlService
diff --git a/core_base-service_base-yaml.js.html b/core_base-service_base-yaml.js.html index 52ac79f57a..fac68a46cb 100644 --- a/core_base-service_base-yaml.js.html +++ b/core_base-service_base-yaml.js.html @@ -109,13 +109,13 @@ export default BaseYamlService
diff --git a/core_base-service_base.js.html b/core_base-service_base.js.html index 7abafbcca7..10eb29c4d8 100644 --- a/core_base-service_base.js.html +++ b/core_base-service_base.js.html @@ -613,13 +613,13 @@ export default BaseService
diff --git a/core_base-service_errors.js.html b/core_base-service_errors.js.html index 175124fdaa..e21207163f 100644 --- a/core_base-service_errors.js.html +++ b/core_base-service_errors.js.html @@ -255,13 +255,13 @@ export {
diff --git a/core_base-service_graphql.js.html b/core_base-service_graphql.js.html index 356ce403e5..a96322df3d 100644 --- a/core_base-service_graphql.js.html +++ b/core_base-service_graphql.js.html @@ -87,13 +87,13 @@ export { mergeQueries }
diff --git a/core_base-service_resource-cache.js.html b/core_base-service_resource-cache.js.html index 12585890f8..4ce882d12e 100644 --- a/core_base-service_resource-cache.js.html +++ b/core_base-service_resource-cache.js.html @@ -103,13 +103,13 @@ export { getCachedResource, clearResourceCache }
diff --git a/core_server_prometheus-metrics.js.html b/core_server_prometheus-metrics.js.html index 86285bea9d..4f9d85dc61 100644 --- a/core_server_prometheus-metrics.js.html +++ b/core_server_prometheus-metrics.js.html @@ -121,13 +121,13 @@ export default class PrometheusMetrics {
diff --git a/core_server_server.js.html b/core_server_server.js.html index 432054fb1a..09ef569479 100644 --- a/core_server_server.js.html +++ b/core_server_server.js.html @@ -627,13 +627,13 @@ export default Server
diff --git a/core_service-test-runner_create-service-tester.js.html b/core_service-test-runner_create-service-tester.js.html index 758a62da31..22beb52863 100644 --- a/core_service-test-runner_create-service-tester.js.html +++ b/core_service-test-runner_create-service-tester.js.html @@ -68,13 +68,13 @@ export default createServiceTester
diff --git a/core_service-test-runner_icedfrisby-shields.js.html b/core_service-test-runner_icedfrisby-shields.js.html index 39cc77b7c8..b1c54bc1e3 100644 --- a/core_service-test-runner_icedfrisby-shields.js.html +++ b/core_service-test-runner_icedfrisby-shields.js.html @@ -140,13 +140,13 @@ export default factory
diff --git a/core_service-test-runner_infer-pull-request.js.html b/core_service-test-runner_infer-pull-request.js.html index 1e41119db6..8785eea11d 100644 --- a/core_service-test-runner_infer-pull-request.js.html +++ b/core_service-test-runner_infer-pull-request.js.html @@ -138,13 +138,13 @@ export { parseGithubPullRequestUrl, parseGithubRepoSlug, inferPullRequest }
diff --git a/core_service-test-runner_runner.js.html b/core_service-test-runner_runner.js.html index 2c46d3ecc3..89cd2fcbf8 100644 --- a/core_service-test-runner_runner.js.html +++ b/core_service-test-runner_runner.js.html @@ -112,13 +112,13 @@ export default Runner
diff --git a/core_service-test-runner_service-tester.js.html b/core_service-test-runner_service-tester.js.html index ef76690bdf..a0fe8e363f 100644 --- a/core_service-test-runner_service-tester.js.html +++ b/core_service-test-runner_service-tester.js.html @@ -178,13 +178,13 @@ export default ServiceTester
diff --git a/core_service-test-runner_services-for-title.js.html b/core_service-test-runner_services-for-title.js.html index 4fb3fd1345..7902008cba 100644 --- a/core_service-test-runner_services-for-title.js.html +++ b/core_service-test-runner_services-for-title.js.html @@ -69,13 +69,13 @@ export default servicesForTitle
diff --git a/core_token-pooling_token-pool.js.html b/core_token-pooling_token-pool.js.html index 4c681e52e0..1d6b869e8e 100644 --- a/core_token-pooling_token-pool.js.html +++ b/core_token-pooling_token-pool.js.html @@ -373,13 +373,13 @@ export { sanitizeToken, Token, TokenPool }
diff --git a/global.html b/global.html index 0cf5b1e2f5..98c9e9fdab 100644 --- a/global.html +++ b/global.html @@ -678,13 +678,13 @@
diff --git a/index.html b/index.html index 14797e2462..658e25343b 100644 --- a/index.html +++ b/index.html @@ -217,13 +217,13 @@ under their terms and license.


diff --git a/module-badge-maker.html b/module-badge-maker.html index a925e1a009..a908c32ed9 100644 --- a/module-badge-maker.html +++ b/module-badge-maker.html @@ -381,13 +381,13 @@
diff --git a/module-badge-maker_lib_xml-ElementList.html b/module-badge-maker_lib_xml-ElementList.html index 89d5398685..83483de38c 100644 --- a/module-badge-maker_lib_xml-ElementList.html +++ b/module-badge-maker_lib_xml-ElementList.html @@ -157,13 +157,13 @@ like an XmlElement but renders multiple XML tags (not wrapped in a ).


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-badge-maker_lib_xml-XmlElement.html b/module-badge-maker_lib_xml-XmlElement.html index 038800e812..53fe202431 100644 --- a/module-badge-maker_lib_xml-XmlElement.html +++ b/module-badge-maker_lib_xml-XmlElement.html @@ -468,13 +468,13 @@ element will be rendered as a self-closing element.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-badge-maker_lib_xml.html b/module-badge-maker_lib_xml.html index ef1d438311..92abceb3eb 100644 --- a/module-badge-maker_lib_xml.html +++ b/module-badge-maker_lib_xml.html @@ -80,13 +80,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-BaseService.html b/module-core_base-service_base-BaseService.html index 839a8632e2..e129718e58 100644 --- a/module-core_base-service_base-BaseService.html +++ b/module-core_base-service_base-BaseService.html @@ -739,13 +739,13 @@ defined in this.route.pattern or this.route.capture


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-graphql-BaseGraphqlService.html b/module-core_base-service_base-graphql-BaseGraphqlService.html index 5f1bad96f7..a6ad810ba1 100644 --- a/module-core_base-service_base-graphql-BaseGraphqlService.html +++ b/module-core_base-service_base-graphql-BaseGraphqlService.html @@ -823,13 +823,13 @@ an InvalidResponse.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-graphql.html b/module-core_base-service_base-graphql.html index ed51951277..fb9be2be0e 100644 --- a/module-core_base-service_base-graphql.html +++ b/module-core_base-service_base-graphql.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-json-BaseJsonService.html b/module-core_base-service_base-json-BaseJsonService.html index 5e941aadc2..ee3aa0dada 100644 --- a/module-core_base-service_base-json-BaseJsonService.html +++ b/module-core_base-service_base-json-BaseJsonService.html @@ -668,13 +668,13 @@ This can be used to extend or override the
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-json.html b/module-core_base-service_base-json.html index 8da33a25d3..65e7bbe7b3 100644 --- a/module-core_base-service_base-json.html +++ b/module-core_base-service_base-json.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html index c0fd7bcd52..55f99ac19f 100644 --- a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html +++ b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html @@ -759,13 +759,13 @@ This can be used to extend or override the
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-svg-scraping.html b/module-core_base-service_base-svg-scraping.html index edfc481e9c..ce7ec12c47 100644 --- a/module-core_base-service_base-svg-scraping.html +++ b/module-core_base-service_base-svg-scraping.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-xml-BaseXmlService.html b/module-core_base-service_base-xml-BaseXmlService.html index 9890411197..6d85261fca 100644 --- a/module-core_base-service_base-xml-BaseXmlService.html +++ b/module-core_base-service_base-xml-BaseXmlService.html @@ -551,13 +551,13 @@ This can be used to extend or override the
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-xml.html b/module-core_base-service_base-xml.html index b57696da5c..77590c7005 100644 --- a/module-core_base-service_base-xml.html +++ b/module-core_base-service_base-xml.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-yaml-BaseYamlService.html b/module-core_base-service_base-yaml-BaseYamlService.html index 23e5be9462..f95ad2db1e 100644 --- a/module-core_base-service_base-yaml-BaseYamlService.html +++ b/module-core_base-service_base-yaml-BaseYamlService.html @@ -548,13 +548,13 @@ This can be used to extend or override the
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base-yaml.html b/module-core_base-service_base-yaml.html index f42caa9af4..2bc55e114e 100644 --- a/module-core_base-service_base-yaml.html +++ b/module-core_base-service_base-yaml.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_base.html b/module-core_base-service_base.html index c598adf3b8..a1623db1f3 100644 --- a/module-core_base-service_base.html +++ b/module-core_base-service_base.html @@ -1160,13 +1160,13 @@ when the parameter is absent. (Note that in,
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-Deprecated.html b/module-core_base-service_errors-Deprecated.html index 271306d016..16495dacd3 100644 --- a/module-core_base-service_errors-Deprecated.html +++ b/module-core_base-service_errors-Deprecated.html @@ -205,13 +205,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-ImproperlyConfigured.html b/module-core_base-service_errors-ImproperlyConfigured.html index 71fb01ecf1..60ca12edd3 100644 --- a/module-core_base-service_errors-ImproperlyConfigured.html +++ b/module-core_base-service_errors-ImproperlyConfigured.html @@ -205,13 +205,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-Inaccessible.html b/module-core_base-service_errors-Inaccessible.html index 2cf069d746..196b46c09d 100644 --- a/module-core_base-service_errors-Inaccessible.html +++ b/module-core_base-service_errors-Inaccessible.html @@ -206,13 +206,13 @@ or to wrap a 5XX response


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-InvalidParameter.html b/module-core_base-service_errors-InvalidParameter.html index a58df861ff..4254a97874 100644 --- a/module-core_base-service_errors-InvalidParameter.html +++ b/module-core_base-service_errors-InvalidParameter.html @@ -206,13 +206,13 @@ is invalid or unexpected


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-InvalidResponse.html b/module-core_base-service_errors-InvalidResponse.html index 47cde3377c..b8b9b1363b 100644 --- a/module-core_base-service_errors-InvalidResponse.html +++ b/module-core_base-service_errors-InvalidResponse.html @@ -205,13 +205,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-NotFound.html b/module-core_base-service_errors-NotFound.html index 25f3147e65..6ad6a6965b 100644 --- a/module-core_base-service_errors-NotFound.html +++ b/module-core_base-service_errors-NotFound.html @@ -205,13 +205,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors-ShieldsRuntimeError.html b/module-core_base-service_errors-ShieldsRuntimeError.html index d1400f9bdc..ed51812e16 100644 --- a/module-core_base-service_errors-ShieldsRuntimeError.html +++ b/module-core_base-service_errors-ShieldsRuntimeError.html @@ -378,13 +378,13 @@ should override this method.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_errors.html b/module-core_base-service_errors.html index 142eb58e2e..4f56462794 100644 --- a/module-core_base-service_errors.html +++ b/module-core_base-service_errors.html @@ -348,13 +348,13 @@ badge when we catch and render the exception (Optional)


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_graphql.html b/module-core_base-service_graphql.html index 40f85c8890..29fb17e874 100644 --- a/module-core_base-service_graphql.html +++ b/module-core_base-service_graphql.html @@ -248,13 +248,13 @@ but can't use that due to incorrect packaging.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_base-service_resource-cache.html b/module-core_base-service_resource-cache.html index b388844256..6a6ab66ce5 100644 --- a/module-core_base-service_resource-cache.html +++ b/module-core_base-service_resource-cache.html @@ -489,13 +489,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_server_server-Server.html b/module-core_server_server-Server.html index 6c26500927..c74fc58cf2 100644 --- a/module-core_server_server-Server.html +++ b/module-core_server_server-Server.html @@ -675,13 +675,13 @@ Start listening for requests on this.baseUrl()


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_server_server.html b/module-core_server_server.html index 4448e381a5..5ddc44d867 100644 --- a/module-core_server_server.html +++ b/module-core_server_server.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_create-service-tester.html b/module-core_service-test-runner_create-service-tester.html index 99ad48cbe3..2a79e019c0 100644 --- a/module-core_service-test-runner_create-service-tester.html +++ b/module-core_service-test-runner_create-service-tester.html @@ -188,13 +188,13 @@ service.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_icedfrisby-shields.html b/module-core_service-test-runner_icedfrisby-shields.html index 3749036b6a..bd4850153a 100644 --- a/module-core_service-test-runner_icedfrisby-shields.html +++ b/module-core_service-test-runner_icedfrisby-shields.html @@ -244,13 +244,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_infer-pull-request.html b/module-core_service-test-runner_infer-pull-request.html index 612bad4fbe..6904d4cee5 100644 --- a/module-core_service-test-runner_infer-pull-request.html +++ b/module-core_service-test-runner_infer-pull-request.html @@ -464,13 +464,13 @@ of a pull request from the environment variables.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_runner-Runner.html b/module-core_service-test-runner_runner-Runner.html index bb21aaa5ef..40467dbf5a 100644 --- a/module-core_service-test-runner_runner-Runner.html +++ b/module-core_service-test-runner_runner-Runner.html @@ -562,13 +562,13 @@ overridden on instances.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_runner.html b/module-core_service-test-runner_runner.html index 17efd49dc1..62f1f5dd78 100644 --- a/module-core_service-test-runner_runner.html +++ b/module-core_service-test-runner_runner.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_service-tester-ServiceTester.html b/module-core_service-test-runner_service-tester-ServiceTester.html index 8f922cc34b..f29ce12a2e 100644 --- a/module-core_service-test-runner_service-tester-ServiceTester.html +++ b/module-core_service-test-runner_service-tester-ServiceTester.html @@ -1120,13 +1120,13 @@ the CLI, or directly on the tester.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_service-tester.html b/module-core_service-test-runner_service-tester.html index 14a12dfa6f..b37b969152 100644 --- a/module-core_service-test-runner_service-tester.html +++ b/module-core_service-test-runner_service-tester.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_service-test-runner_services-for-title.html b/module-core_service-test-runner_services-for-title.html index d351cf5ebb..dc8c2dba64 100644 --- a/module-core_service-test-runner_services-for-title.html +++ b/module-core_service-test-runner_services-for-title.html @@ -236,13 +236,13 @@ as an array of strings.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_token-pooling_token-pool-Token.html b/module-core_token-pooling_token-pool-Token.html index 3c582afc2a..c51d5e4429 100644 --- a/module-core_token-pooling_token-pool-Token.html +++ b/module-core_token-pooling_token-pool-Token.html @@ -709,13 +709,13 @@ stable ordering for a valid priority queue.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_token-pooling_token-pool-TokenPool.html b/module-core_token-pooling_token-pool-TokenPool.html index 119e09f54a..aecd7be23e 100644 --- a/module-core_token-pooling_token-pool-TokenPool.html +++ b/module-core_token-pooling_token-pool-TokenPool.html @@ -893,13 +893,13 @@ indicate it should not be reused.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-core_token-pooling_token-pool.html b/module-core_token-pooling_token-pool.html index 62b90a7e87..af86e6e1ce 100644 --- a/module-core_token-pooling_token-pool.html +++ b/module-core_token-pooling_token-pool.html @@ -243,13 +243,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_build-status.html b/module-services_build-status.html index c08a3c95d4..c950bc7780 100644 --- a/module-services_build-status.html +++ b/module-services_build-status.html @@ -483,13 +483,13 @@ Determines the message and color of the badge according to the build status.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_color-formatters.html b/module-services_color-formatters.html index e31b25b9d6..0d5e088cb6 100644 --- a/module-services_color-formatters.html +++ b/module-services_color-formatters.html @@ -1562,13 +1562,13 @@ The color defaults to red if the score does not matches with any of the grade va
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_contributor-count.html b/module-services_contributor-count.html index c19f5d5fcd..c19c6a7def 100644 --- a/module-services_contributor-count.html +++ b/module-services_contributor-count.html @@ -566,13 +566,13 @@ Determines the message and color of the badge according to the contributor count
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_downloads.html b/module-services_downloads.html index 69e9bf21ed..a3ea04f4ba 100644 --- a/module-services_downloads.html +++ b/module-services_downloads.html @@ -498,13 +498,13 @@ this value as the prefix for versioned badges, e.g. foobar@v1.23. D
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_dynamic-common.html b/module-services_dynamic-common.html index 9c31490d52..ad1d6141ad 100644 --- a/module-services_dynamic-common.html +++ b/module-services_dynamic-common.html @@ -990,13 +990,13 @@ Sets the color of the badge to blue.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_dynamic_json-path.html b/module-services_dynamic_json-path.html index 1c74f199f9..31336e2417 100644 --- a/module-services_dynamic_json-path.html +++ b/module-services_dynamic_json-path.html @@ -536,13 +536,13 @@ This can be used to extend or override the
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_endpoint-common.html b/module-services_endpoint-common.html index fd5c089314..e64f1cad4d 100644 --- a/module-services_endpoint-common.html +++ b/module-services_endpoint-common.html @@ -840,13 +840,13 @@ Optionally it prints those keys in the message to provide detailed feedback.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_licenses.html b/module-services_licenses.html new file mode 100644 index 0000000000..f7c61cdd24 --- /dev/null +++ b/module-services_licenses.html @@ -0,0 +1,695 @@ + + + + + JSDoc: Module: services/licenses + + + + + + + + + + +
+ +

Module: services/licenses

+ + + + + + +
+ +
+ + + + + +
+ +
+
+ + +

Common functions and utilities for tasks related to license badges.

+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +

Members

+ + + +

(inner, constant) licenseToColorMap :object

+ + + + +
+

Mapping of licenses to their corresponding color and priority.

+
+ + + +
Type:
+
    +
  • + +object + + +
  • +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + +

Methods

+ + + + + + + +

(inner) licenseToColor(licenses) → {string}

+ + + + + + +
+

Maps the license to its corresponding color and priority and sorts the list of mapped licenses by priority.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
licenses + + +string +| + +Array.<string> + + + +

License or list of licenses

+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+

Color corresponding to the license or the list of licenses

+
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

(inner) renderLicenseBadge(attrs) → {object}

+ + + + + + +
+

Handles rendering concerns of license badges. +Determines the message of the badge by joining the licenses in a comma-separated format. +Sets the badge color to the provided value, if not provided then the color is used from licenseToColorMap.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
attrs + + +object + + + +

Refer to individual attributes

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
license + + +string + + + + + + <optional>
+ + + + + +

License to render, required if badge contains only one license

licenses + + +Array.<string> + + + + + + <optional>
+ + + + + +

List of licenses to render, required if badge contains multiple licenses

color + + +string + + + + + + <optional>
+ + + + + +

If provided then the badge will use this color value

+ +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+

Badge with message and color properties

+
+ + + +
+
+ Type +
+
+ +object + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time) +
+ + + + + \ No newline at end of file diff --git a/module-services_steam_steam-base-BaseSteamAPI.html b/module-services_steam_steam-base-BaseSteamAPI.html index 1fba13e305..6ea05aa665 100644 --- a/module-services_steam_steam-base-BaseSteamAPI.html +++ b/module-services_steam_steam-base-BaseSteamAPI.html @@ -374,13 +374,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/module-services_steam_steam-base.html b/module-services_steam_steam-base.html index 4f1b9629a3..801e70ee43 100644 --- a/module-services_steam_steam-base.html +++ b/module-services_steam_steam-base.html @@ -77,13 +77,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_build-status.js.html b/services_build-status.js.html index c4a37a89c4..ea850b2996 100644 --- a/services_build-status.js.html +++ b/services_build-status.js.html @@ -134,13 +134,13 @@ export { isBuildStatus, renderBuildStatusBadge }
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_color-formatters.js.html b/services_color-formatters.js.html index 99c83c23ed..dd20a7ecfd 100644 --- a/services_color-formatters.js.html +++ b/services_color-formatters.js.html @@ -234,13 +234,13 @@ export {
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_contributor-count.js.html b/services_contributor-count.js.html index a3843df051..a7c21a3824 100644 --- a/services_contributor-count.js.html +++ b/services_contributor-count.js.html @@ -79,13 +79,13 @@ export { contributorColor, renderContributorBadge }
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_downloads.js.html b/services_downloads.js.html index bc5683ce2b..189969be08 100644 --- a/services_downloads.js.html +++ b/services_downloads.js.html @@ -95,13 +95,13 @@ export { renderDownloadsBadge }
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_dynamic-common.js.html b/services_dynamic-common.js.html index adfc3cfc72..364c3222f9 100644 --- a/services_dynamic-common.js.html +++ b/services_dynamic-common.js.html @@ -136,13 +136,13 @@ export {
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_dynamic_json-path.js.html b/services_dynamic_json-path.js.html index 52cf3aa858..b17d2a150c 100644 --- a/services_dynamic_json-path.js.html +++ b/services_dynamic_json-path.js.html @@ -114,13 +114,13 @@ export default superclass =>
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_endpoint-common.js.html b/services_endpoint-common.js.html index 928c09ea73..82d508e246 100644 --- a/services_endpoint-common.js.html +++ b/services_endpoint-common.js.html @@ -142,13 +142,13 @@ export { validateEndpointData, fetchEndpointData }
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_licenses.js.html b/services_licenses.js.html new file mode 100644 index 0000000000..c27a97cadf --- /dev/null +++ b/services_licenses.js.html @@ -0,0 +1,210 @@ + + + + + JSDoc: Source: services/licenses.js + + + + + + + + + + +
+ +

Source: services/licenses.js

+ + + + + + +
+
+
/**
+ * Common functions and utilities for tasks related to license badges.
+ *
+ * @module
+ */
+
+import toArray from '../core/base-service/to-array.js'
+
+const licenseTypes = {
+  // permissive licenses - not public domain and not copyleft
+  permissive: {
+    spdxLicenseIds: [
+      'AFL-3.0',
+      'Apache-2.0',
+      'Artistic-2.0',
+      'BSD-2-Clause',
+      'BSD-3-Clause',
+      'BSD-3-Clause-Clear',
+      'BSL-1.0',
+      'CC-BY-4.0',
+      'ECL-2.0',
+      'ISC',
+      'MIT',
+      'MS-PL',
+      'NCSA',
+      'PostgreSQL',
+      'Zlib',
+    ],
+    aliases: ['BSD', 'Apache 2.0'],
+    color: 'green',
+    priority: '2',
+  },
+  // copyleft licenses require 'Disclose source' (https://choosealicense.com/appendix/#disclose-source)
+  // or 'Same license' (https://choosealicense.com/appendix/#same-license)
+  copyleft: {
+    spdxLicenseIds: [
+      'AGPL-1.0-only',
+      'AGPL-1.0-or-later',
+      'AGPL-3.0-only',
+      'AGPL-3.0-or-later',
+      'CC-BY-SA-4.0',
+      'EPL-1.0',
+      'EPL-2.0',
+      'EUPL-1.1',
+      'GPL-1.0-only',
+      'GPL-1.0-or-later',
+      'GPL-2.0-only',
+      'GPL-2.0-or-later',
+      'GPL-3.0-only',
+      'GPL-3.0-or-later',
+      'LGPL-2.0-only',
+      'LGPL-2.0-or-later',
+      'LGPL-2.1-only',
+      'LGPL-2.1-or-later',
+      'LGPL-3.0-only',
+      'LGPL-3.0-or-later',
+      'LPPL-1.3c',
+      'MPL-2.0',
+      'MS-RL',
+      'OFL-1.1',
+      'OSL-3.0',
+    ],
+    aliases: [
+      'GPL',
+      'GPL-2.0',
+      'GPL-3.0',
+      'GPLv2',
+      'GPLv2+',
+      'GPLv3',
+      'GPLv3+',
+      'LGPL',
+      'LGPL-2.1',
+      'LGPL-3.0',
+      'LGPLv2',
+      'LGPLv2+',
+      'LGPLv3',
+      'LGPLv3+',
+      'AGPL-3.0',
+      'AGPLv3+',
+      'MPL',
+      'MPL 1.1',
+      'MPL 2.0',
+      'EPL',
+    ],
+    color: 'orange',
+    priority: '1',
+  },
+  // public domain licenses do not require 'License and copyright notice' (https://choosealicense.com/appendix/#include-copyright)
+  'public-domain': {
+    spdxLicenseIds: ['CC0-1.0', 'Unlicense', 'WTFPL'],
+    aliases: ['CC0'],
+    color: '7cd958',
+    priority: '3',
+  },
+}
+
+/**
+ * Mapping of licenses to their corresponding color and priority.
+ *
+ * @type {object}
+ */
+const licenseToColorMap = {}
+Object.keys(licenseTypes).forEach(licenseType => {
+  const { spdxLicenseIds, aliases, color, priority } = licenseTypes[licenseType]
+  spdxLicenseIds.forEach(license => {
+    licenseToColorMap[license] = { color, priority }
+  })
+  aliases.forEach(license => {
+    licenseToColorMap[license] = { color, priority }
+  })
+})
+
+/**
+ * Maps the license to its corresponding color and priority and sorts the list of mapped licenses by priority.
+ *
+ * @param {string | string[]} licenses License or list of licenses
+ * @returns {string} Color corresponding to the license or the list of licenses
+ */
+function licenseToColor(licenses) {
+  if (!Array.isArray(licenses)) {
+    licenses = [licenses]
+  }
+
+  const [{ color }] = licenses
+    .map(license => licenseToColorMap[license])
+    .filter(Boolean)
+    .concat([{ color: 'lightgrey', priority: 0 }])
+    .sort((a, b) => b.priority - a.priority)
+
+  return color
+}
+
+/**
+ * Handles rendering concerns of license badges.
+ * Determines the message of the badge by joining the licenses in a comma-separated format.
+ * Sets the badge color to the provided value, if not provided then the color is used from licenseToColorMap.
+ *
+ * @param {object} attrs Refer to individual attributes
+ * @param {string} [attrs.license] License to render, required if badge contains only one license
+ * @param {string[]} [attrs.licenses] List of licenses to render, required if badge contains multiple licenses
+ * @param {string} [attrs.color] If provided then the badge will use this color value
+ * @returns {object} Badge with message and color properties
+ */
+function renderLicenseBadge({ license, licenses, color }) {
+  if (licenses === undefined) {
+    licenses = toArray(license)
+  }
+
+  if (licenses.length === 0) {
+    return { message: 'missing', color: 'red' }
+  }
+
+  return {
+    message: licenses.join(', '),
+    color: color || licenseToColor(licenses),
+  }
+}
+
+export { licenseToColor, renderLicenseBadge }
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time) +
+ + + + + diff --git a/services_packagist_packagist-base.js.html b/services_packagist_packagist-base.js.html index 2e260a67a9..33277ba146 100644 --- a/services_packagist_packagist-base.js.html +++ b/services_packagist_packagist-base.js.html @@ -226,13 +226,13 @@ export {
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_steam_steam-base.js.html b/services_steam_steam-base.js.html index 6c2ef4060c..f23ff26528 100644 --- a/services_steam_steam-base.js.html +++ b/services_steam_steam-base.js.html @@ -92,13 +92,13 @@ export default BaseSteamAPI
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/services_test-validators.js.html b/services_test-validators.js.html index 6b3e1d9355..3518dd34d6 100644 --- a/services_test-validators.js.html +++ b/services_test-validators.js.html @@ -223,13 +223,13 @@ export {
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-TUTORIAL.html b/tutorial-TUTORIAL.html index f426431aaa..b9fde02aa7 100644 --- a/tutorial-TUTORIAL.html +++ b/tutorial-TUTORIAL.html @@ -371,13 +371,13 @@ will review your contribution.
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-adding-new-config-values.html b/tutorial-adding-new-config-values.html index 373d9f8e79..5503b1de29 100644 --- a/tutorial-adding-new-config-values.html +++ b/tutorial-adding-new-config-values.html @@ -54,13 +54,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-badge-urls.html b/tutorial-badge-urls.html index d7510e1e36..636a68021a 100644 --- a/tutorial-badge-urls.html +++ b/tutorial-badge-urls.html @@ -71,13 +71,13 @@ badge is for issues, and the parameters are :user/:repo.
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-code-walkthrough.html b/tutorial-code-walkthrough.html index 4f8202cb61..fc9e69af64 100644 --- a/tutorial-code-walkthrough.html +++ b/tutorial-code-walkthrough.html @@ -234,13 +234,13 @@ result over the HTTPS connection.
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-deprecating-badges.html b/tutorial-deprecating-badges.html index b001f1ba4b..2473bf9a80 100644 --- a/tutorial-deprecating-badges.html +++ b/tutorial-deprecating-badges.html @@ -136,13 +136,13 @@ t.create('no longer available (previously number of layers)')
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-input-validation.html b/tutorial-input-validation.html index d18bfa27a7..5cc0f9f358 100644 --- a/tutorial-input-validation.html +++ b/tutorial-input-validation.html @@ -97,13 +97,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-json-format.html b/tutorial-json-format.html index c806a02292..3ffa9a7d64 100644 --- a/tutorial-json-format.html +++ b/tutorial-json-format.html @@ -54,13 +54,13 @@ if you have any queries regarding the JSON format.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-logos.html b/tutorial-logos.html index 46aa594c4a..ef5ef03695 100644 --- a/tutorial-logos.html +++ b/tutorial-logos.html @@ -90,13 +90,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-performance-testing.html b/tutorial-performance-testing.html index b6121c07bc..6d8dc26f51 100644 --- a/tutorial-performance-testing.html +++ b/tutorial-performance-testing.html @@ -70,13 +70,13 @@ node --prof-process --preprocess -j isolate-00000244AB6ED3B0-11920-v8.log | flam
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-production-hosting.html b/tutorial-production-hosting.html index a002b7549a..615adf597a 100644 --- a/tutorial-production-hosting.html +++ b/tutorial-production-hosting.html @@ -229,13 +229,13 @@ via local-shields-io-production.yml (see Home

Modules

Classes

Tutorials

Global

+

Home

Modules

Classes

Tutorials

Global


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-releases.html b/tutorial-releases.html index 311f901ae0..e2c1b5b1c8 100644 --- a/tutorial-releases.html +++ b/tutorial-releases.html @@ -73,13 +73,13 @@
- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-self-hosting.html b/tutorial-self-hosting.html index 18e2f7d344..40a362a710 100644 --- a/tutorial-self-hosting.html +++ b/tutorial-self-hosting.html @@ -167,13 +167,13 @@ Set public.requireCloudflare: true.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-server-secrets.html b/tutorial-server-secrets.html index bd5164a3db..8b4ef5f7d5 100644 --- a/tutorial-server-secrets.html +++ b/tutorial-server-secrets.html @@ -273,13 +273,13 @@ and create an API key for the YouTube Data API v3.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-service-tests.html b/tutorial-service-tests.html index 4c5775a5b3..b0be9fe6d6 100644 --- a/tutorial-service-tests.html +++ b/tutorial-service-tests.html @@ -240,13 +240,13 @@ comment there instead.


- Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 17:34:41 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Sat Jul 02 2022 20:20:53 GMT+0000 (Coordinated Universal Time)