diff --git a/BaseThunderstoreService.html b/BaseThunderstoreService.html index 31e9dd70f5..5e1b828a84 100644 --- a/BaseThunderstoreService.html +++ b/BaseThunderstoreService.html @@ -398,7 +398,7 @@
diff --git a/badge-maker_lib_index.js.html b/badge-maker_lib_index.js.html index eb1f53df97..49c2c1503c 100644 --- a/badge-maker_lib_index.js.html +++ b/badge-maker_lib_index.js.html @@ -159,7 +159,7 @@ module.exports = {
diff --git a/badge-maker_lib_xml.js.html b/badge-maker_lib_xml.js.html index 9f8dee369d..fc028aee99 100644 --- a/badge-maker_lib_xml.js.html +++ b/badge-maker_lib_xml.js.html @@ -138,7 +138,7 @@ 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 87b66ecd92..f16cfdcd30 100644 --- a/core_base-service_base-graphql.js.html +++ b/core_base-service_base-graphql.js.html @@ -148,7 +148,7 @@ export default BaseGraphqlService
diff --git a/core_base-service_base-json.js.html b/core_base-service_base-json.js.html index ad019d7d84..a667834070 100644 --- a/core_base-service_base-json.js.html +++ b/core_base-service_base-json.js.html @@ -114,7 +114,7 @@ export default BaseJsonService
diff --git a/core_base-service_base-svg-scraping.js.html b/core_base-service_base-svg-scraping.js.html index 96551aae47..b1e6acae0d 100644 --- a/core_base-service_base-svg-scraping.js.html +++ b/core_base-service_base-svg-scraping.js.html @@ -145,7 +145,7 @@ export default BaseSvgScrapingService
diff --git a/core_base-service_base-toml.js.html b/core_base-service_base-toml.js.html index f6d5ed2201..170f36c5f8 100644 --- a/core_base-service_base-toml.js.html +++ b/core_base-service_base-toml.js.html @@ -128,7 +128,7 @@ export default BaseTomlService
diff --git a/core_base-service_base-xml.js.html b/core_base-service_base-xml.js.html index bee3a236df..c3d71f24a7 100644 --- a/core_base-service_base-xml.js.html +++ b/core_base-service_base-xml.js.html @@ -124,7 +124,7 @@ export default BaseXmlService
diff --git a/core_base-service_base-yaml.js.html b/core_base-service_base-yaml.js.html index 21c7d95b1d..70ceb06474 100644 --- a/core_base-service_base-yaml.js.html +++ b/core_base-service_base-yaml.js.html @@ -127,7 +127,7 @@ export default BaseYamlService
diff --git a/core_base-service_base.js.html b/core_base-service_base.js.html index 45747def90..7b2f713983 100644 --- a/core_base-service_base.js.html +++ b/core_base-service_base.js.html @@ -632,7 +632,7 @@ export default BaseService
diff --git a/core_base-service_errors.js.html b/core_base-service_errors.js.html index 5022bbf28a..82d4e28971 100644 --- a/core_base-service_errors.js.html +++ b/core_base-service_errors.js.html @@ -265,7 +265,7 @@ export {
diff --git a/core_base-service_graphql.js.html b/core_base-service_graphql.js.html index c9cf49de44..95e80f93b7 100644 --- a/core_base-service_graphql.js.html +++ b/core_base-service_graphql.js.html @@ -93,7 +93,7 @@ export { mergeQueries }
diff --git a/core_base-service_openapi.js.html b/core_base-service_openapi.js.html index aa56ad71c3..69047c47a0 100644 --- a/core_base-service_openapi.js.html +++ b/core_base-service_openapi.js.html @@ -400,7 +400,7 @@ export {
diff --git a/core_base-service_resource-cache.js.html b/core_base-service_resource-cache.js.html index 3dc7c58284..0b22bd4588 100644 --- a/core_base-service_resource-cache.js.html +++ b/core_base-service_resource-cache.js.html @@ -111,7 +111,7 @@ export { getCachedResource, clearResourceCache }
diff --git a/core_base-service_service-definitions.js.html b/core_base-service_service-definitions.js.html index 74e33fa11a..3003e1ca98 100644 --- a/core_base-service_service-definitions.js.html +++ b/core_base-service_service-definitions.js.html @@ -126,7 +126,7 @@ export {
diff --git a/core_server_prometheus-metrics.js.html b/core_server_prometheus-metrics.js.html index a1fcbdc18f..e987f9811e 100644 --- a/core_server_prometheus-metrics.js.html +++ b/core_server_prometheus-metrics.js.html @@ -127,7 +127,7 @@ export default class PrometheusMetrics {
diff --git a/core_server_server.js.html b/core_server_server.js.html index 4d720b37ad..f3446147f0 100644 --- a/core_server_server.js.html +++ b/core_server_server.js.html @@ -654,7 +654,7 @@ 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 9f227f79a6..a5ee4f41de 100644 --- a/core_service-test-runner_create-service-tester.js.html +++ b/core_service-test-runner_create-service-tester.js.html @@ -74,7 +74,7 @@ export default createServiceTester
diff --git a/core_service-test-runner_icedfrisby-shields.js.html b/core_service-test-runner_icedfrisby-shields.js.html index f403aa7089..b7be8d6778 100644 --- a/core_service-test-runner_icedfrisby-shields.js.html +++ b/core_service-test-runner_icedfrisby-shields.js.html @@ -146,7 +146,7 @@ export default factory
diff --git a/core_service-test-runner_runner.js.html b/core_service-test-runner_runner.js.html index 72802a70f7..31ca85d858 100644 --- a/core_service-test-runner_runner.js.html +++ b/core_service-test-runner_runner.js.html @@ -118,7 +118,7 @@ export default Runner
diff --git a/core_service-test-runner_service-tester.js.html b/core_service-test-runner_service-tester.js.html index 89c96ff996..d3bfc2b26d 100644 --- a/core_service-test-runner_service-tester.js.html +++ b/core_service-test-runner_service-tester.js.html @@ -184,7 +184,7 @@ 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 00ffdaab3b..1cba4fcbd7 100644 --- a/core_service-test-runner_services-for-title.js.html +++ b/core_service-test-runner_services-for-title.js.html @@ -75,7 +75,7 @@ export default servicesForTitle
diff --git a/core_token-pooling_token-pool.js.html b/core_token-pooling_token-pool.js.html index 7c594f4dfb..37eba68fae 100644 --- a/core_token-pooling_token-pool.js.html +++ b/core_token-pooling_token-pool.js.html @@ -379,7 +379,7 @@ export { sanitizeToken, Token, TokenPool }
diff --git a/global.html b/global.html index 455b905fb4..2d64fd67e6 100644 --- a/global.html +++ b/global.html @@ -1876,7 +1876,7 @@ testAuth(StackExchangeReputation, QueryStringAuth, { items: [{ reputation: 8 }]
diff --git a/index.html b/index.html index ebbe498b0e..2aa46c12a3 100644 --- a/index.html +++ b/index.html @@ -214,7 +214,7 @@ domain unless specified otherwise.


diff --git a/module-badge-maker.html b/module-badge-maker.html index 926a18fdac..16386d5d25 100644 --- a/module-badge-maker.html +++ b/module-badge-maker.html @@ -498,7 +498,7 @@
diff --git a/module-badge-maker_lib_xml-ElementList.html b/module-badge-maker_lib_xml-ElementList.html index 713cec0ce9..2f55d09a5f 100644 --- a/module-badge-maker_lib_xml-ElementList.html +++ b/module-badge-maker_lib_xml-ElementList.html @@ -163,7 +163,7 @@ like an XmlElement but renders multiple XML tags (not wrapped in a ).

diff --git a/module-badge-maker_lib_xml-XmlElement.html b/module-badge-maker_lib_xml-XmlElement.html index f0cd12e857..e4c238630e 100644 --- a/module-badge-maker_lib_xml-XmlElement.html +++ b/module-badge-maker_lib_xml-XmlElement.html @@ -474,7 +474,7 @@ element will be rendered as a self-closing element.


diff --git a/module-badge-maker_lib_xml.html b/module-badge-maker_lib_xml.html index 700e5b99ea..9c6563d782 100644 --- a/module-badge-maker_lib_xml.html +++ b/module-badge-maker_lib_xml.html @@ -128,7 +128,7 @@
diff --git a/module-core_base-service_base-BaseService.html b/module-core_base-service_base-BaseService.html index ee99c5e0fc..fa249dc7d5 100644 --- a/module-core_base-service_base-BaseService.html +++ b/module-core_base-service_base-BaseService.html @@ -899,7 +899,7 @@ for a given route parameter


diff --git a/module-core_base-service_base-graphql-BaseGraphqlService.html b/module-core_base-service_base-graphql-BaseGraphqlService.html index 533da5b1b4..0698eb0113 100644 --- a/module-core_base-service_base-graphql-BaseGraphqlService.html +++ b/module-core_base-service_base-graphql-BaseGraphqlService.html @@ -913,7 +913,7 @@ an InvalidResponse.


diff --git a/module-core_base-service_base-graphql.html b/module-core_base-service_base-graphql.html index 1aad20481c..f110f8e71a 100644 --- a/module-core_base-service_base-graphql.html +++ b/module-core_base-service_base-graphql.html @@ -125,7 +125,7 @@
diff --git a/module-core_base-service_base-json-BaseJsonService.html b/module-core_base-service_base-json-BaseJsonService.html index 20a09f41d2..5a38842c67 100644 --- a/module-core_base-service_base-json-BaseJsonService.html +++ b/module-core_base-service_base-json-BaseJsonService.html @@ -758,7 +758,7 @@ that will be logged (to sentry, if configured).


diff --git a/module-core_base-service_base-json.html b/module-core_base-service_base-json.html index 5d0e63a83c..aeb967f5c2 100644 --- a/module-core_base-service_base-json.html +++ b/module-core_base-service_base-json.html @@ -125,7 +125,7 @@
diff --git a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html index 603b5bcbb3..34a6d25eb7 100644 --- a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html +++ b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html @@ -849,7 +849,7 @@ that will be logged (to sentry, if configured).


diff --git a/module-core_base-service_base-svg-scraping.html b/module-core_base-service_base-svg-scraping.html index bb9a93cff3..35b123d86c 100644 --- a/module-core_base-service_base-svg-scraping.html +++ b/module-core_base-service_base-svg-scraping.html @@ -125,7 +125,7 @@
diff --git a/module-core_base-service_base-toml-BaseTomlService.html b/module-core_base-service_base-toml-BaseTomlService.html index 593a729b05..edef8e105d 100644 --- a/module-core_base-service_base-toml-BaseTomlService.html +++ b/module-core_base-service_base-toml-BaseTomlService.html @@ -599,7 +599,7 @@ that will be logged (to sentry, if configured).


diff --git a/module-core_base-service_base-toml.html b/module-core_base-service_base-toml.html index 47d5edf239..d53a7414ac 100644 --- a/module-core_base-service_base-toml.html +++ b/module-core_base-service_base-toml.html @@ -125,7 +125,7 @@
diff --git a/module-core_base-service_base-xml-BaseXmlService.html b/module-core_base-service_base-xml-BaseXmlService.html index 8c8adf6caf..a23e0a0806 100644 --- a/module-core_base-service_base-xml-BaseXmlService.html +++ b/module-core_base-service_base-xml-BaseXmlService.html @@ -641,7 +641,7 @@ that will be logged (to sentry, if configured).


diff --git a/module-core_base-service_base-xml.html b/module-core_base-service_base-xml.html index 409049257c..1a395b1b25 100644 --- a/module-core_base-service_base-xml.html +++ b/module-core_base-service_base-xml.html @@ -125,7 +125,7 @@
diff --git a/module-core_base-service_base-yaml-BaseYamlService.html b/module-core_base-service_base-yaml-BaseYamlService.html index c6d3b80b74..d1bc9d38eb 100644 --- a/module-core_base-service_base-yaml-BaseYamlService.html +++ b/module-core_base-service_base-yaml-BaseYamlService.html @@ -638,7 +638,7 @@ that will be logged (to sentry, if configured).


diff --git a/module-core_base-service_base-yaml.html b/module-core_base-service_base-yaml.html index b399ae97da..2084540c59 100644 --- a/module-core_base-service_base-yaml.html +++ b/module-core_base-service_base-yaml.html @@ -125,7 +125,7 @@
diff --git a/module-core_base-service_base.html b/module-core_base-service_base.html index dac1bcaac1..a2d0aa7921 100644 --- a/module-core_base-service_base.html +++ b/module-core_base-service_base.html @@ -944,7 +944,7 @@ name: 'compact_message', schema: { type: 'boolean' }, example: null
diff --git a/module-core_base-service_errors-Deprecated.html b/module-core_base-service_errors-Deprecated.html index a65d3462e2..53c8c206d0 100644 --- a/module-core_base-service_errors-Deprecated.html +++ b/module-core_base-service_errors-Deprecated.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-ImproperlyConfigured.html b/module-core_base-service_errors-ImproperlyConfigured.html index 8503a135e2..f20f472675 100644 --- a/module-core_base-service_errors-ImproperlyConfigured.html +++ b/module-core_base-service_errors-ImproperlyConfigured.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-Inaccessible.html b/module-core_base-service_errors-Inaccessible.html index d18ba663f1..de59f848eb 100644 --- a/module-core_base-service_errors-Inaccessible.html +++ b/module-core_base-service_errors-Inaccessible.html @@ -212,7 +212,7 @@ or to wrap a 5XX response


diff --git a/module-core_base-service_errors-InvalidParameter.html b/module-core_base-service_errors-InvalidParameter.html index db2918f1a7..832969fb84 100644 --- a/module-core_base-service_errors-InvalidParameter.html +++ b/module-core_base-service_errors-InvalidParameter.html @@ -212,7 +212,7 @@ is invalid or unexpected


diff --git a/module-core_base-service_errors-InvalidResponse.html b/module-core_base-service_errors-InvalidResponse.html index a6694d8f3c..0394a76d40 100644 --- a/module-core_base-service_errors-InvalidResponse.html +++ b/module-core_base-service_errors-InvalidResponse.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-NotFound.html b/module-core_base-service_errors-NotFound.html index a7f6ba3d1f..276d08df1c 100644 --- a/module-core_base-service_errors-NotFound.html +++ b/module-core_base-service_errors-NotFound.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-ShieldsRuntimeError.html b/module-core_base-service_errors-ShieldsRuntimeError.html index 5adfd1054d..eb6b925dd5 100644 --- a/module-core_base-service_errors-ShieldsRuntimeError.html +++ b/module-core_base-service_errors-ShieldsRuntimeError.html @@ -384,7 +384,7 @@ should override this method.


diff --git a/module-core_base-service_errors.html b/module-core_base-service_errors.html index c73f42f563..18cad4a1c7 100644 --- a/module-core_base-service_errors.html +++ b/module-core_base-service_errors.html @@ -343,7 +343,7 @@ for. Defaults to the cacheLength of the service class throwing the error
diff --git a/module-core_base-service_graphql.html b/module-core_base-service_graphql.html index 49579fbf7b..0ac6da8746 100644 --- a/module-core_base-service_graphql.html +++ b/module-core_base-service_graphql.html @@ -296,7 +296,7 @@ but can't use that due to incorrect packaging.


diff --git a/module-core_base-service_openapi.html b/module-core_base-service_openapi.html index d02708b291..a0b5ec437b 100644 --- a/module-core_base-service_openapi.html +++ b/module-core_base-service_openapi.html @@ -1633,7 +1633,7 @@ Query params are usually strings. (Optional)


diff --git a/module-core_base-service_resource-cache.html b/module-core_base-service_resource-cache.html index a0f561eb19..63db2cc04f 100644 --- a/module-core_base-service_resource-cache.html +++ b/module-core_base-service_resource-cache.html @@ -568,7 +568,7 @@
diff --git a/module-core_base-service_service-definitions.html b/module-core_base-service_service-definitions.html index c9c480cb64..d61c469e74 100644 --- a/module-core_base-service_service-definitions.html +++ b/module-core_base-service_service-definitions.html @@ -191,7 +191,7 @@
diff --git a/module-core_server_server-Server.html b/module-core_server_server-Server.html index dc980f049c..130c65801a 100644 --- a/module-core_server_server-Server.html +++ b/module-core_server_server-Server.html @@ -681,7 +681,7 @@ Start listening for requests on this.baseUrl()


diff --git a/module-core_server_server.html b/module-core_server_server.html index 6d08a6caec..76fbf8efef 100644 --- a/module-core_server_server.html +++ b/module-core_server_server.html @@ -125,7 +125,7 @@
diff --git a/module-core_service-test-runner_create-service-tester.html b/module-core_service-test-runner_create-service-tester.html index 19701898b7..200d5b4358 100644 --- a/module-core_service-test-runner_create-service-tester.html +++ b/module-core_service-test-runner_create-service-tester.html @@ -236,7 +236,7 @@ service.


diff --git a/module-core_service-test-runner_icedfrisby-shields.html b/module-core_service-test-runner_icedfrisby-shields.html index 36f0daef0a..2a534aeb5d 100644 --- a/module-core_service-test-runner_icedfrisby-shields.html +++ b/module-core_service-test-runner_icedfrisby-shields.html @@ -292,7 +292,7 @@
diff --git a/module-core_service-test-runner_runner-Runner.html b/module-core_service-test-runner_runner-Runner.html index 2f02b14f07..de20caa3ec 100644 --- a/module-core_service-test-runner_runner-Runner.html +++ b/module-core_service-test-runner_runner-Runner.html @@ -568,7 +568,7 @@ overridden on instances.


diff --git a/module-core_service-test-runner_runner.html b/module-core_service-test-runner_runner.html index 95f06a1e75..987d7845e6 100644 --- a/module-core_service-test-runner_runner.html +++ b/module-core_service-test-runner_runner.html @@ -125,7 +125,7 @@
diff --git a/module-core_service-test-runner_service-tester-ServiceTester.html b/module-core_service-test-runner_service-tester-ServiceTester.html index 2997847a91..80c5466e52 100644 --- a/module-core_service-test-runner_service-tester-ServiceTester.html +++ b/module-core_service-test-runner_service-tester-ServiceTester.html @@ -1126,7 +1126,7 @@ the CLI, or directly on the tester.


diff --git a/module-core_service-test-runner_service-tester.html b/module-core_service-test-runner_service-tester.html index 6093d8ec77..ff8a1d7316 100644 --- a/module-core_service-test-runner_service-tester.html +++ b/module-core_service-test-runner_service-tester.html @@ -125,7 +125,7 @@
diff --git a/module-core_service-test-runner_services-for-title.html b/module-core_service-test-runner_services-for-title.html index 9cc5dbaa79..b2531092ea 100644 --- a/module-core_service-test-runner_services-for-title.html +++ b/module-core_service-test-runner_services-for-title.html @@ -284,7 +284,7 @@ as an array of strings.


diff --git a/module-core_token-pooling_token-pool-Token.html b/module-core_token-pooling_token-pool-Token.html index 348dccb613..111d6c0540 100644 --- a/module-core_token-pooling_token-pool-Token.html +++ b/module-core_token-pooling_token-pool-Token.html @@ -715,7 +715,7 @@ stable ordering for a valid priority queue.


diff --git a/module-core_token-pooling_token-pool-TokenPool.html b/module-core_token-pooling_token-pool-TokenPool.html index 93bbb0feaf..5639e4f6ad 100644 --- a/module-core_token-pooling_token-pool-TokenPool.html +++ b/module-core_token-pooling_token-pool-TokenPool.html @@ -899,7 +899,7 @@ indicate it should not be reused.


diff --git a/module-core_token-pooling_token-pool.html b/module-core_token-pooling_token-pool.html index b1d7b01b72..005e94a638 100644 --- a/module-core_token-pooling_token-pool.html +++ b/module-core_token-pooling_token-pool.html @@ -291,7 +291,7 @@
diff --git a/module-services_build-status.html b/module-services_build-status.html index 7d55e5399b..033abda793 100644 --- a/module-services_build-status.html +++ b/module-services_build-status.html @@ -453,7 +453,7 @@ Determines the message and color of the badge according to the build status.


diff --git a/module-services_color-formatters.html b/module-services_color-formatters.html index 1f95a3c3d0..4974861556 100644 --- a/module-services_color-formatters.html +++ b/module-services_color-formatters.html @@ -1568,7 +1568,7 @@ The color defaults to red if the score does not matches with any of the grade va
diff --git a/module-services_contributor-count.html b/module-services_contributor-count.html index 0288558ffb..3986999d9f 100644 --- a/module-services_contributor-count.html +++ b/module-services_contributor-count.html @@ -536,7 +536,7 @@ Determines the message and color of the badge according to the contributor count
diff --git a/module-services_downloads.html b/module-services_downloads.html index aa8333d1f2..843900b035 100644 --- a/module-services_downloads.html +++ b/module-services_downloads.html @@ -546,7 +546,7 @@ this value as the prefix for versioned badges, e.g. foobar@v1.23. D
diff --git a/module-services_dynamic-common.html b/module-services_dynamic-common.html index e06a754a2f..e732f75b34 100644 --- a/module-services_dynamic-common.html +++ b/module-services_dynamic-common.html @@ -960,7 +960,7 @@ Sets the color of the badge to blue.


diff --git a/module-services_dynamic_json-path.html b/module-services_dynamic_json-path.html index 50f2f2dc84..b021546442 100644 --- a/module-services_dynamic_json-path.html +++ b/module-services_dynamic_json-path.html @@ -423,7 +423,7 @@ This can be used to extend or override the
diff --git a/module-services_endpoint-common.html b/module-services_endpoint-common.html index cd63ac2cff..122e8d3de4 100644 --- a/module-services_endpoint-common.html +++ b/module-services_endpoint-common.html @@ -810,7 +810,7 @@ Optionally it prints those keys in the message to provide detailed feedback.


diff --git a/module-services_licenses.html b/module-services_licenses.html index 662e620db6..8203b27c3f 100644 --- a/module-services_licenses.html +++ b/module-services_licenses.html @@ -650,7 +650,7 @@ Sets the badge color to the provided value, if not provided then the color is us
diff --git a/module-services_package-json-helpers.html b/module-services_package-json-helpers.html index bb514be465..94118a351d 100644 --- a/module-services_package-json-helpers.html +++ b/module-services_package-json-helpers.html @@ -656,7 +656,7 @@ Checks if the object has all the dependency types and the dependency types are v
diff --git a/module-services_php-version.html b/module-services_php-version.html index df63a51ba8..1cfddd1858 100644 --- a/module-services_php-version.html +++ b/module-services_php-version.html @@ -1472,7 +1472,7 @@ Return { numbers: [1,0,something big], modifier: 2, modifierCount: 1 }


diff --git a/module-services_pipenv-helpers.html b/module-services_pipenv-helpers.html index 93c5576990..255344440f 100644 --- a/module-services_pipenv-helpers.html +++ b/module-services_pipenv-helpers.html @@ -616,7 +616,7 @@ Checks if the lock file object has required properties and the properties are va
diff --git a/module-services_route-builder.html b/module-services_route-builder.html index 7fcf0578aa..60886e670f 100644 --- a/module-services_route-builder.html +++ b/module-services_route-builder.html @@ -621,7 +621,7 @@
diff --git a/module-services_steam_steam-base-BaseSteamAPI.html b/module-services_steam_steam-base-BaseSteamAPI.html index a4c2904a09..dea033670d 100644 --- a/module-services_steam_steam-base-BaseSteamAPI.html +++ b/module-services_steam_steam-base-BaseSteamAPI.html @@ -380,7 +380,7 @@
diff --git a/module-services_steam_steam-base.html b/module-services_steam_steam-base.html index e749721813..7c39bf5f07 100644 --- a/module-services_steam_steam-base.html +++ b/module-services_steam_steam-base.html @@ -125,7 +125,7 @@
diff --git a/module-services_text-formatters.html b/module-services_text-formatters.html index 1ce7e6b137..b6c89668f9 100644 --- a/module-services_text-formatters.html +++ b/module-services_text-formatters.html @@ -1680,7 +1680,7 @@ The remaining stars are empty stars until the maximum number of stars is reached
diff --git a/module-services_validators.html b/module-services_validators.html index 67eeaf9a70..a5e46cd176 100644 --- a/module-services_validators.html +++ b/module-services_validators.html @@ -779,7 +779,7 @@ Some invalid values for this validator are: abc, 1.a, 1.0-, .1


diff --git a/module-services_version.html b/module-services_version.html index c890f41207..7482d5c0c4 100644 --- a/module-services_version.html +++ b/module-services_version.html @@ -1956,7 +1956,7 @@ slice('2.4', 'patch') // returns null because the version string is not valid ac
diff --git a/module-services_website-status.html b/module-services_website-status.html index 0b6c6741b5..b1bf115f90 100644 --- a/module-services_website-status.html +++ b/module-services_website-status.html @@ -661,7 +661,7 @@ renderWebsiteStatus({ isUp: false }) // returns { message: 'down', color: 'red'
diff --git a/services_build-status.js.html b/services_build-status.js.html index 7d05b173b6..80e69e3c39 100644 --- a/services_build-status.js.html +++ b/services_build-status.js.html @@ -140,7 +140,7 @@ export { isBuildStatus, renderBuildStatusBadge }
diff --git a/services_color-formatters.js.html b/services_color-formatters.js.html index 876ffb9778..ab96d73ce8 100644 --- a/services_color-formatters.js.html +++ b/services_color-formatters.js.html @@ -242,7 +242,7 @@ export {
diff --git a/services_contributor-count.js.html b/services_contributor-count.js.html index 93cddfeda5..51513d2c32 100644 --- a/services_contributor-count.js.html +++ b/services_contributor-count.js.html @@ -85,7 +85,7 @@ export { contributorColor, renderContributorBadge }
diff --git a/services_crates_crates-base.js.html b/services_crates_crates-base.js.html new file mode 100644 index 0000000000..4d6428e026 --- /dev/null +++ b/services_crates_crates-base.js.html @@ -0,0 +1,139 @@ + + + + + JSDoc: Source: services/crates/crates-base.js + + + + + + + + + + +
+ +

Source: services/crates/crates-base.js

+ + + + + + +
+
+
import Joi from 'joi'
+import { nonNegativeInteger } from '../validators.js'
+import { BaseJsonService, InvalidResponse } from '../index.js'
+
+const versionSchema = Joi.object({
+  downloads: nonNegativeInteger,
+  // Crate size is not available for all versions.
+  crate_size: nonNegativeInteger.allow(null),
+  num: Joi.string().required(),
+  license: Joi.string().required().allow(null),
+  rust_version: Joi.string().allow(null),
+})
+
+const crateResponseSchema = Joi.object({
+  crate: Joi.object({
+    downloads: nonNegativeInteger,
+    recent_downloads: nonNegativeInteger.allow(null),
+    max_version: Joi.string().required(),
+  }).required(),
+  versions: Joi.array().items(versionSchema).min(1).required(),
+}).required()
+
+const versionResponseSchema = Joi.object({
+  version: versionSchema.required(),
+}).required()
+
+const userStatsSchema = Joi.object({
+  total_downloads: nonNegativeInteger.required(),
+}).required()
+
+class BaseCratesService extends BaseJsonService {
+  static defaultBadgeData = { label: 'crates.io' }
+
+  /**
+   * Fetches data from the crates.io API.
+   *
+   * @param {object} options - The options for the request
+   * @param {string} options.crate - The crate name.
+   * @param {string} [options.version] - The crate version number (optional).
+   * @returns {Promise<object>} the JSON response from the API.
+   */
+  async fetch({ crate, version }) {
+    const url = version
+      ? `https://crates.io/api/v1/crates/${crate}/${version}`
+      : `https://crates.io/api/v1/crates/${crate}?include=versions,downloads`
+    const schema = version ? versionResponseSchema : crateResponseSchema
+    return this._requestJson({ schema, url })
+  }
+
+  static getLatestVersion(response) {
+    return response.crate.max_stable_version
+      ? response.crate.max_stable_version
+      : response.crate.max_version
+  }
+
+  static getVersionObj(response) {
+    if (response.crate) {
+      const version = this.getLatestVersion(response)
+      const versionObj = response.versions.find(v => v.num === version)
+      if (versionObj === undefined) {
+        throw new InvalidResponse({ prettyMessage: 'version not found' })
+      }
+      return versionObj
+    }
+    return response.version
+  }
+}
+
+class BaseCratesUserService extends BaseJsonService {
+  static defaultBadgeData = { label: 'crates.io' }
+
+  /**
+   * Fetches data from the crates.io API.
+   *
+   * @param {object} options - The options for the request
+   * @param {string} options.userId - The user ID.
+   * @returns {Promise<object>} the JSON response from the API.
+   */
+  async fetch({ userId }) {
+    const url = `https://crates.io/api/v1/users/${userId}/stats`
+    return this._requestJson({ schema: userStatsSchema, url })
+  }
+}
+
+const description =
+  '[Crates.io](https://crates.io/) is a package registry for Rust.'
+
+export { BaseCratesService, BaseCratesUserService, description }
+
+
+
+ + + + +
+ + + +
+ + + + + + + diff --git a/services_downloads.js.html b/services_downloads.js.html index 3b09c13fc3..2d6cfda054 100644 --- a/services_downloads.js.html +++ b/services_downloads.js.html @@ -101,7 +101,7 @@ export { renderDownloadsBadge }
diff --git a/services_dynamic-common.js.html b/services_dynamic-common.js.html index 4094735015..0a16ed33ae 100644 --- a/services_dynamic-common.js.html +++ b/services_dynamic-common.js.html @@ -142,7 +142,7 @@ export {
diff --git a/services_dynamic_json-path.js.html b/services_dynamic_json-path.js.html index a32f0a1f28..dba59c454f 100644 --- a/services_dynamic_json-path.js.html +++ b/services_dynamic_json-path.js.html @@ -111,7 +111,7 @@ export default superclass =>
diff --git a/services_endpoint-common.js.html b/services_endpoint-common.js.html index 9f3918bbca..940e89ebd5 100644 --- a/services_endpoint-common.js.html +++ b/services_endpoint-common.js.html @@ -154,7 +154,7 @@ export { validateEndpointData, fetchEndpointData }
diff --git a/services_licenses.js.html b/services_licenses.js.html index ea4935720c..d905d21233 100644 --- a/services_licenses.js.html +++ b/services_licenses.js.html @@ -201,7 +201,7 @@ export { licenseToColor, renderLicenseBadge }
diff --git a/services_package-json-helpers.js.html b/services_package-json-helpers.js.html index 8868ccd6b3..7aa7c7bcf0 100644 --- a/services_package-json-helpers.js.html +++ b/services_package-json-helpers.js.html @@ -120,7 +120,7 @@ export { isDependencyMap, isPackageJsonWithDependencies, getDependencyVersion }
diff --git a/services_packagist_packagist-base.js.html b/services_packagist_packagist-base.js.html index d7ede120dc..39b6d51fe0 100644 --- a/services_packagist_packagist-base.js.html +++ b/services_packagist_packagist-base.js.html @@ -229,7 +229,7 @@ export {
diff --git a/services_php-version.js.html b/services_php-version.js.html index ceb725f705..5de9c4a4e5 100644 --- a/services_php-version.js.html +++ b/services_php-version.js.html @@ -341,7 +341,7 @@ export {
diff --git a/services_pipenv-helpers.js.html b/services_pipenv-helpers.js.html index b3883ceb39..d8777615d9 100644 --- a/services_pipenv-helpers.js.html +++ b/services_pipenv-helpers.js.html @@ -128,7 +128,7 @@ export { isLockfile, getDependencyVersion }
diff --git a/services_route-builder.js.html b/services_route-builder.js.html index 2391a76b40..f8eed3b49e 100644 --- a/services_route-builder.js.html +++ b/services_route-builder.js.html @@ -105,7 +105,7 @@ export default class RouteBuilder {
diff --git a/services_steam_steam-base.js.html b/services_steam_steam-base.js.html index 54c6898202..fa6154b313 100644 --- a/services_steam_steam-base.js.html +++ b/services_steam_steam-base.js.html @@ -98,7 +98,7 @@ export default BaseSteamAPI
diff --git a/services_test-helpers.js.html b/services_test-helpers.js.html index fcafe7ad0c..726720217c 100644 --- a/services_test-helpers.js.html +++ b/services_test-helpers.js.html @@ -388,7 +388,7 @@ export {
diff --git a/services_test-validators.js.html b/services_test-validators.js.html index 2757ee5eeb..6fe8161ac5 100644 --- a/services_test-validators.js.html +++ b/services_test-validators.js.html @@ -259,7 +259,7 @@ export {
diff --git a/services_text-formatters.js.html b/services_text-formatters.js.html index be84ecd578..26ed4e88dd 100644 --- a/services_text-formatters.js.html +++ b/services_text-formatters.js.html @@ -253,7 +253,7 @@ export {
diff --git a/services_thunderstore_thunderstore-base.js.html b/services_thunderstore_thunderstore-base.js.html index 475468a533..2375d9c385 100644 --- a/services_thunderstore_thunderstore-base.js.html +++ b/services_thunderstore_thunderstore-base.js.html @@ -102,7 +102,7 @@ export { BaseThunderstoreService, description }
diff --git a/services_validators.js.html b/services_validators.js.html index b9697c97dc..5142ed5d7c 100644 --- a/services_validators.js.html +++ b/services_validators.js.html @@ -130,7 +130,7 @@ export const relativeUri = Joi.string().uri({ relativeOnly: true })
diff --git a/services_version.js.html b/services_version.js.html index d19cb3d84e..da1f64fa25 100644 --- a/services_version.js.html +++ b/services_version.js.html @@ -305,7 +305,7 @@ export { latest, listCompare, slice, rangeStart, renderVersionBadge }
diff --git a/services_website-status.js.html b/services_website-status.js.html index 950293384a..1e0582f166 100644 --- a/services_website-status.js.html +++ b/services_website-status.js.html @@ -107,7 +107,7 @@ export { queryParamSchema, queryParams, renderWebsiteStatus }
diff --git a/tutorial-TUTORIAL.html b/tutorial-TUTORIAL.html index c7ab1b57d3..249bb919f8 100644 --- a/tutorial-TUTORIAL.html +++ b/tutorial-TUTORIAL.html @@ -424,7 +424,7 @@ will review your contribution.
diff --git a/tutorial-adding-new-config-values.html b/tutorial-adding-new-config-values.html index 32dd4a59d4..278661a343 100644 --- a/tutorial-adding-new-config-values.html +++ b/tutorial-adding-new-config-values.html @@ -60,7 +60,7 @@
diff --git a/tutorial-authentication.html b/tutorial-authentication.html index af17671dde..4fca288cf5 100644 --- a/tutorial-authentication.html +++ b/tutorial-authentication.html @@ -48,7 +48,7 @@
diff --git a/tutorial-badge-urls.html b/tutorial-badge-urls.html index e9c38d116b..28e9c33371 100644 --- a/tutorial-badge-urls.html +++ b/tutorial-badge-urls.html @@ -83,7 +83,7 @@ badge is for issues, and the parameters are :user/:repo.
diff --git a/tutorial-code-walkthrough.html b/tutorial-code-walkthrough.html index f60d3d640e..74e2df074c 100644 --- a/tutorial-code-walkthrough.html +++ b/tutorial-code-walkthrough.html @@ -235,7 +235,7 @@ result over the HTTPS connection.
diff --git a/tutorial-deprecating-badges.html b/tutorial-deprecating-badges.html index 17926698eb..6568809c9a 100644 --- a/tutorial-deprecating-badges.html +++ b/tutorial-deprecating-badges.html @@ -155,7 +155,7 @@ t.create('no longer available (previously number of layers)')
diff --git a/tutorial-input-validation.html b/tutorial-input-validation.html index b8e6a235ab..d86adfa8ee 100644 --- a/tutorial-input-validation.html +++ b/tutorial-input-validation.html @@ -106,7 +106,7 @@
diff --git a/tutorial-json-format.html b/tutorial-json-format.html index 272127e62f..a51ee4929d 100644 --- a/tutorial-json-format.html +++ b/tutorial-json-format.html @@ -60,7 +60,7 @@ if you have any queries regarding the JSON format.


diff --git a/tutorial-performance-testing.html b/tutorial-performance-testing.html index a203c7e931..1be9c99134 100644 --- a/tutorial-performance-testing.html +++ b/tutorial-performance-testing.html @@ -76,7 +76,7 @@ node --prof-process --preprocess -j isolate-00000244AB6ED3B0-11920-v8.log | flam
diff --git a/tutorial-production-hosting.html b/tutorial-production-hosting.html index a97a7db86b..7f332cd811 100644 --- a/tutorial-production-hosting.html +++ b/tutorial-production-hosting.html @@ -212,7 +212,7 @@ via local-shields-io-production.yml (see diff --git a/tutorial-releases.html b/tutorial-releases.html index a5474523a4..4fc99576c1 100644 --- a/tutorial-releases.html +++ b/tutorial-releases.html @@ -79,7 +79,7 @@
diff --git a/tutorial-self-hosting.html b/tutorial-self-hosting.html index ac3608d6d5..d1476b3ff2 100644 --- a/tutorial-self-hosting.html +++ b/tutorial-self-hosting.html @@ -182,7 +182,7 @@ Set public.requireCloudflare: true.


diff --git a/tutorial-server-secrets.html b/tutorial-server-secrets.html index f33b53e60d..2522600cc9 100644 --- a/tutorial-server-secrets.html +++ b/tutorial-server-secrets.html @@ -331,7 +331,7 @@ and create an API key for the YouTube Data API v3.


diff --git a/tutorial-service-tests.html b/tutorial-service-tests.html index f5fd0f59af..9536a2afd3 100644 --- a/tutorial-service-tests.html +++ b/tutorial-service-tests.html @@ -229,7 +229,7 @@ comment there instead.


diff --git a/tutorial-static-badges.html b/tutorial-static-badges.html index 6eca53cb48..6ee0e6a51a 100644 --- a/tutorial-static-badges.html +++ b/tutorial-static-badges.html @@ -42,7 +42,7 @@