From 6c395546df9feda80d38be0810d82ca3c111e6e1 Mon Sep 17 00:00:00 2001
From: "repo-ranger[bot]"
Date: Mon, 10 Jul 2023 09:29:38 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20badges/s?=
=?UTF-8?q?hields@b9d96755ec84ceacca7baa450226a37836e5f685=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 | 6 +--
badge-maker_lib_xml.js.html | 6 +--
core_base-service_base-graphql.js.html | 4 +-
core_base-service_base-json.js.html | 2 +-
core_base-service_base-svg-scraping.js.html | 2 +-
core_base-service_base-xml.js.html | 2 +-
core_base-service_base-yaml.js.html | 2 +-
core_base-service_base.js.html | 46 +++++++++----------
core_base-service_errors.js.html | 2 +-
core_base-service_graphql.js.html | 2 +-
core_base-service_resource-cache.js.html | 4 +-
core_server_prometheus-metrics.js.html | 4 +-
core_server_server.js.html | 38 +++++++--------
...-test-runner_create-service-tester.js.html | 4 +-
...ice-test-runner_icedfrisby-shields.js.html | 6 +--
core_service-test-runner_runner.js.html | 4 +-
...service-test-runner_service-tester.js.html | 2 +-
...ice-test-runner_services-for-title.js.html | 2 +-
core_token-pooling_token-pool.js.html | 2 +-
global.html | 2 +-
index.html | 2 +-
module-badge-maker.html | 2 +-
module-badge-maker_lib_xml-ElementList.html | 2 +-
module-badge-maker_lib_xml-XmlElement.html | 2 +-
module-badge-maker_lib_xml.html | 2 +-
...le-core_base-service_base-BaseService.html | 2 +-
...rvice_base-graphql-BaseGraphqlService.html | 2 +-
module-core_base-service_base-graphql.html | 2 +-
...ase-service_base-json-BaseJsonService.html | 2 +-
module-core_base-service_base-json.html | 2 +-
...e-svg-scraping-BaseSvgScrapingService.html | 2 +-
...e-core_base-service_base-svg-scraping.html | 2 +-
..._base-service_base-xml-BaseXmlService.html | 2 +-
module-core_base-service_base-xml.html | 2 +-
...ase-service_base-yaml-BaseYamlService.html | 2 +-
module-core_base-service_base-yaml.html | 2 +-
module-core_base-service_base.html | 2 +-
...e-core_base-service_errors-Deprecated.html | 2 +-
...e-service_errors-ImproperlyConfigured.html | 2 +-
...core_base-service_errors-Inaccessible.html | 2 +-
..._base-service_errors-InvalidParameter.html | 2 +-
...e_base-service_errors-InvalidResponse.html | 2 +-
module-core_base-service_errors-NotFound.html | 2 +-
...se-service_errors-ShieldsRuntimeError.html | 2 +-
module-core_base-service_errors.html | 2 +-
module-core_base-service_graphql.html | 2 +-
module-core_base-service_resource-cache.html | 2 +-
module-core_server_server-Server.html | 2 +-
module-core_server_server.html | 2 +-
...ice-test-runner_create-service-tester.html | 2 +-
...ervice-test-runner_icedfrisby-shields.html | 2 +-
...ore_service-test-runner_runner-Runner.html | 2 +-
module-core_service-test-runner_runner.html | 2 +-
...t-runner_service-tester-ServiceTester.html | 2 +-
...re_service-test-runner_service-tester.html | 2 +-
...ervice-test-runner_services-for-title.html | 2 +-
...e-core_token-pooling_token-pool-Token.html | 2 +-
...re_token-pooling_token-pool-TokenPool.html | 2 +-
module-core_token-pooling_token-pool.html | 2 +-
module-services_build-status.html | 2 +-
module-services_color-formatters.html | 2 +-
module-services_contributor-count.html | 2 +-
module-services_downloads.html | 2 +-
module-services_dynamic-common.html | 2 +-
module-services_dynamic_json-path.html | 2 +-
module-services_endpoint-common.html | 2 +-
module-services_licenses.html | 2 +-
module-services_package-json-helpers.html | 2 +-
module-services_php-version.html | 2 +-
module-services_pipenv-helpers.html | 2 +-
module-services_route-builder.html | 2 +-
...ervices_steam_steam-base-BaseSteamAPI.html | 2 +-
module-services_steam_steam-base.html | 2 +-
module-services_text-formatters.html | 2 +-
module-services_validators.html | 2 +-
services_build-status.js.html | 2 +-
services_color-formatters.js.html | 4 +-
services_contributor-count.js.html | 2 +-
services_downloads.js.html | 2 +-
services_dynamic-common.js.html | 6 +--
services_dynamic_json-path.js.html | 4 +-
services_endpoint-common.js.html | 10 ++--
services_licenses.js.html | 2 +-
services_package-json-helpers.js.html | 4 +-
services_packagist_packagist-base.js.html | 8 ++--
services_php-version.js.html | 8 ++--
services_pipenv-helpers.js.html | 2 +-
services_route-builder.js.html | 2 +-
services_steam_steam-base.js.html | 2 +-
services_test-validators.js.html | 46 +++++++++----------
services_text-formatters.js.html | 2 +-
services_validators.js.html | 2 +-
tutorial-TUTORIAL.html | 2 +-
tutorial-adding-new-config-values.html | 2 +-
tutorial-authentication.html | 2 +-
tutorial-badge-urls.html | 2 +-
tutorial-code-walkthrough.html | 2 +-
tutorial-deprecating-badges.html | 2 +-
tutorial-input-validation.html | 2 +-
tutorial-json-format.html | 2 +-
tutorial-logos.html | 2 +-
tutorial-performance-testing.html | 2 +-
tutorial-production-hosting.html | 2 +-
tutorial-releases.html | 2 +-
tutorial-self-hosting.html | 2 +-
tutorial-server-secrets.html | 2 +-
tutorial-service-tests.html | 8 ++--
tutorial-static-badges.html | 2 +-
108 files changed, 199 insertions(+), 199 deletions(-)
diff --git a/badge-maker_lib_index.js.html b/badge-maker_lib_index.js.html
index f80416fb98..9ed9037170 100644
--- a/badge-maker_lib_index.js.html
+++ b/badge-maker_lib_index.js.html
@@ -60,7 +60,7 @@ function _validate(format) {
]
if ('style' in format && !styleValues.includes(format.style)) {
throw new ValidationError(
- `Field \`style\` must be one of (${styleValues.toString()})`
+ `Field \`style\` must be one of (${styleValues.toString()})`,
)
}
}
@@ -74,7 +74,7 @@ function _clean(format) {
cleaned[key] = format[key]
} else {
throw new ValidationError(
- `Unexpected field '${key}'. Allowed values are (${expectedKeys.toString()})`
+ `Unexpected field '${key}'. Allowed values are (${expectedKeys.toString()})`,
)
}
})
@@ -123,7 +123,7 @@ module.exports = {
diff --git a/badge-maker_lib_xml.js.html b/badge-maker_lib_xml.js.html
index e6ab7a5b3b..e7e852ad50 100644
--- a/badge-maker_lib_xml.js.html
+++ b/badge-maker_lib_xml.js.html
@@ -94,7 +94,7 @@ class XmlElement {
})
.join(' ')
return stripXmlWhitespace(
- `<${this.name}${attrsStr}>${content}</${this.name}>`
+ `<${this.name}${attrsStr}>${content}</${this.name}>`,
)
}
return stripXmlWhitespace(`<${this.name}${attrsStr}/>`)
@@ -116,7 +116,7 @@ class ElementList {
typeof el.render === 'function'
? acc + el.render()
: acc + escapeXml(el),
- ''
+ '',
)
}
}
@@ -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 e8bef5259b..e4f6bce39e 100644
--- a/core_base-service_base-graphql.js.html
+++ b/core_base-service_base-graphql.js.html
@@ -119,7 +119,7 @@ class BaseGraphqlService extends BaseService {
throw exception
} else {
throw Error(
- `transformErrors() must return a ShieldsRuntimeError; got ${exception}`
+ `transformErrors() must return a ShieldsRuntimeError; got ${exception}`,
)
}
}
@@ -144,7 +144,7 @@ export default BaseGraphqlService
diff --git a/core_base-service_base-json.js.html b/core_base-service_base-json.js.html
index 0b0eb1ea21..cde6a9d0db 100644
--- a/core_base-service_base-json.js.html
+++ b/core_base-service_base-json.js.html
@@ -110,7 +110,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 25c1eb6978..596b8227a2 100644
--- a/core_base-service_base-svg-scraping.js.html
+++ b/core_base-service_base-svg-scraping.js.html
@@ -141,7 +141,7 @@ export default BaseSvgScrapingService
diff --git a/core_base-service_base-xml.js.html b/core_base-service_base-xml.js.html
index 4dd562be2b..d05d0bc937 100644
--- a/core_base-service_base-xml.js.html
+++ b/core_base-service_base-xml.js.html
@@ -120,7 +120,7 @@ export default BaseXmlService
diff --git a/core_base-service_base-yaml.js.html b/core_base-service_base-yaml.js.html
index b7d79a6e1e..386c918113 100644
--- a/core_base-service_base-yaml.js.html
+++ b/core_base-service_base-yaml.js.html
@@ -123,7 +123,7 @@ export default BaseYamlService
diff --git a/core_base-service_base.js.html b/core_base-service_base.js.html
index 53ee8089f4..48129b281a 100644
--- a/core_base-service_base.js.html
+++ b/core_base-service_base.js.html
@@ -72,7 +72,7 @@ const optionalStringWhenNamedLogoPresent = Joi.alternatives().conditional(
{
is: Joi.string().required(),
then: Joi.string(),
- }
+ },
)
const optionalNumberWhenAnyLogoPresent = Joi.alternatives()
@@ -211,11 +211,11 @@ class BaseService {
Joi.assert(
this.defaultBadgeData,
defaultBadgeDataSchema,
- `Default badge data for ${this.name}`
+ `Default badge data for ${this.name}`,
)
this.examples.forEach((example, index) =>
- validateExample(example, index, this)
+ validateExample(example, index, this),
)
}
@@ -225,7 +225,7 @@ class BaseService {
const queryParams = getQueryParamNames(this.route)
const examples = this.examples.map((example, index) =>
- transformExample(example, index, this)
+ transformExample(example, index, this),
)
let route
@@ -246,7 +246,7 @@ class BaseService {
constructor(
{ requestFetcher, authHelper, metricHelper },
- { handleInternalErrors }
+ { handleInternalErrors },
) {
this._requestFetcher = requestFetcher
this.authHelper = authHelper
@@ -262,9 +262,9 @@ class BaseService {
const params = new URLSearchParams(
Object.fromEntries(
Object.entries(options.searchParams).filter(
- ([k, v]) => v !== undefined
- )
- )
+ ([k, v]) => v !== undefined,
+ ),
+ ),
)
logUrl = `${url}?${params.toString()}`
delete logOptions.searchParams
@@ -272,12 +272,12 @@ class BaseService {
logTrace(
emojic.bowAndArrow,
'Request',
- `${logUrl}\n${JSON.stringify(logOptions, null, 2)}`
+ `${logUrl}\n${JSON.stringify(logOptions, null, 2)}`,
)
const { res, buffer } = await this._requestFetcher(
url,
options,
- systemErrors
+ systemErrors,
)
await this._meterResponse(res, buffer)
logTrace(emojic.dart, 'Response status code', res.statusCode)
@@ -307,7 +307,7 @@ class BaseService {
prettyErrorMessage = 'invalid response data',
includeKeys = false,
allowAndStripUnknownKeys = true,
- } = {}
+ } = {},
) {
return validate(
{
@@ -319,7 +319,7 @@ class BaseService {
allowAndStripUnknownKeys,
},
data,
- schema
+ schema,
)
}
@@ -375,7 +375,7 @@ class BaseService {
'unhandledError',
emojic.boom,
'Unhandled internal error',
- error
+ error,
)
) {
// This is where we end up if an unhandled exception is thrown in
@@ -393,7 +393,7 @@ class BaseService {
'unhandledError',
emojic.boom,
'Unhandled internal error',
- error
+ error,
)
throw error
}
@@ -403,7 +403,7 @@ class BaseService {
context = {},
config = {},
namedParams = {},
- queryParams = {}
+ queryParams = {},
) {
trace.logTrace('inbound', emojic.womanCook, 'Service class', this.name)
trace.logTrace('inbound', emojic.ticket, 'Named params', namedParams)
@@ -437,13 +437,13 @@ class BaseService {
traceSuccessMessage: 'Query params after validation',
},
queryParams,
- queryParamSchema
+ queryParamSchema,
)
trace.logTrace(
'inbound',
emojic.crayon,
'Query params after validation',
- queryParams
+ queryParams,
)
} catch (error) {
serviceError = error
@@ -457,7 +457,7 @@ class BaseService {
try {
serviceData = await serviceInstance.handle(
namedParams,
- transformedQueryParams
+ transformedQueryParams,
)
serviceInstance._validateServiceData(serviceData)
} catch (error) {
@@ -482,7 +482,7 @@ class BaseService {
librariesIoApiProvider,
metricInstance,
},
- serviceConfig
+ serviceConfig,
) {
const { cacheHeaders: cacheHeaderConfig } = serviceConfig
const { regex, captureNames } = prepareRoute(this.route)
@@ -510,14 +510,14 @@ class BaseService {
},
serviceConfig,
namedParams,
- queryParams
+ queryParams,
)
const badgeData = coalesceBadge(
queryParams,
serviceData,
this.defaultBadgeData,
- this
+ this,
)
// The final capture group is the extension.
const format = (match.slice(-1)[0] || '.svg').replace(/^\./, '')
@@ -526,7 +526,7 @@ class BaseService {
metricHandle.noteResponseSent()
},
cacheLength: this._cacheLength,
- })
+ }),
)
}
}
@@ -642,7 +642,7 @@ export default BaseService
diff --git a/core_base-service_errors.js.html b/core_base-service_errors.js.html
index ffc3ade189..8e4ae47794 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 55f636c12e..0ba2eab9cd 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_resource-cache.js.html b/core_base-service_resource-cache.js.html
index 7e22bc39f4..3155cef7a5 100644
--- a/core_base-service_resource-cache.js.html
+++ b/core_base-service_resource-cache.js.html
@@ -68,7 +68,7 @@ async function getCachedResource({
}
const { buffer } = await checkErrorResponse({})(
- await requestFetcher(url, options)
+ await requestFetcher(url, options),
)
let reqData
@@ -111,7 +111,7 @@ export { getCachedResource, clearResourceCache }
diff --git a/core_server_prometheus-metrics.js.html b/core_server_prometheus-metrics.js.html
index 8a2450620f..c84ff8c680 100644
--- a/core_server_prometheus-metrics.js.html
+++ b/core_server_prometheus-metrics.js.html
@@ -107,7 +107,7 @@ export default class PrometheusMetrics {
return this.counters.serviceResponseSize.labels(
category,
serviceFamily,
- service
+ service,
)
}
}
@@ -127,7 +127,7 @@ export default class PrometheusMetrics {
diff --git a/core_server_server.js.html b/core_server_server.js.html
index a65ba70557..1155f94bbb 100644
--- a/core_server_server.js.html
+++ b/core_server_server.js.html
@@ -93,11 +93,11 @@ const publicConfigSchema = Joi.object({
bind: {
port: Joi.alternatives().try(
Joi.number().port(),
- Joi.string().pattern(/^\\\\\.\\pipe\\.+$/)
+ Joi.string().pattern(/^\\\\\.\\pipe\\.+$/),
),
address: Joi.alternatives().try(
Joi.string().ip().required(),
- Joi.string().hostname().required()
+ Joi.string().hostname().required(),
),
},
metrics: {
@@ -182,8 +182,8 @@ const publicConfigSchema = Joi.object({
path.dirname(fileURLToPath(import.meta.url)),
'..',
'..',
- 'public'
- )
+ 'public',
+ ),
),
requireCloudflare: Joi.boolean().required(),
}).required()
@@ -264,7 +264,7 @@ class Server {
const publicConfig = Joi.attempt(config.public, publicConfigSchema)
const privateConfig = this.validatePrivateConfig(
config.private,
- privateConfigSchema
+ privateConfigSchema,
)
// We want to require an username and a password for the influx metrics
// only if the influx metrics are enabled. The private config schema
@@ -273,7 +273,7 @@ class Server {
if (publicConfig.metrics.influx && publicConfig.metrics.influx.enabled) {
this.validatePrivateConfig(
config.private,
- privateMetricsInfluxConfigSchema
+ privateMetricsInfluxConfigSchema,
)
}
this.config = {
@@ -298,7 +298,7 @@ class Server {
Object.assign({}, publicConfig.metrics.influx, {
username: privateConfig.influx_username,
password: privateConfig.influx_password,
- })
+ }),
)
}
}
@@ -311,8 +311,8 @@ class Server {
const badPaths = e.details.map(({ path }) => path)
throw Error(
`Private configuration is invalid. Check these paths: ${badPaths.join(
- ','
- )}`
+ ',',
+ )}`,
)
}
}
@@ -378,14 +378,14 @@ class Server {
makeSend(
'svg',
request.res,
- end
+ end,
)(
makeBadge({
label: '410',
message: `${format} no longer available`,
color: 'lightgray',
format: 'svg',
- })
+ }),
)
})
@@ -394,14 +394,14 @@ class Server {
makeSend(
'svg',
request.res,
- end
+ end,
)(
makeBadge({
label: '404',
message: 'raster badges not available',
color: 'lightgray',
format: 'svg',
- })
+ }),
)
})
}
@@ -413,14 +413,14 @@ class Server {
makeSend(
format,
request.res,
- end
+ end,
)(
makeBadge({
label: '404',
message: 'badge not found',
color: 'red',
format,
- })
+ }),
)
})
}
@@ -444,7 +444,7 @@ class Server {
ask.res.statusCode = 301
ask.res.setHeader(
'Location',
- rasterRedirectUrl({ rasterUrl }, ask.req.url)
+ rasterRedirectUrl({ rasterUrl }, ask.req.url),
)
const cacheDuration = (30 * 24 * 3600) | 0 // 30 days.
@@ -487,8 +487,8 @@ class Server {
rasterUrl: config.public.rasterUrl,
private: config.private,
public: config.public,
- }
- )
+ },
+ ),
)
}
@@ -636,7 +636,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 ac7ecbb777..aae76c1a13 100644
--- a/core_service-test-runner_create-service-tester.js.html
+++ b/core_service-test-runner_create-service-tester.js.html
@@ -51,7 +51,7 @@ async function createServiceTester() {
const ServiceClass = Object.values(await import(servicePath))[0]
if (!(ServiceClass.prototype instanceof BaseService)) {
throw Error(
- `${servicePath} does not export a single service. Invoke new ServiceTester() directly.`
+ `${servicePath} does not export a single service. Invoke new ServiceTester() directly.`,
)
}
return ServiceTester.forServiceClass(ServiceClass)
@@ -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 c90ce0b921..5227c8192d 100644
--- a/core_service-test-runner_icedfrisby-shields.js.html
+++ b/core_service-test-runner_icedfrisby-shields.js.html
@@ -119,11 +119,11 @@ const factory = superclass =>
Joi.attempt(
json[name],
Joi.string().regex(expected),
- `${name} mismatch:`
+ `${name} mismatch:`,
)
} else {
throw new Error(
- "'expected' must be a string, a number, a regex, an array or a Joi schema"
+ "'expected' must be a string, a number, a regex, an array or a Joi schema",
)
}
}
@@ -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 2be850baa6..5526015501 100644
--- a/core_service-test-runner_runner.js.html
+++ b/core_service-test-runner_runner.js.html
@@ -53,7 +53,7 @@ class Runner {
*/
async prepare() {
this.testers = (await loadTesters()).flatMap(testerModule =>
- Object.values(testerModule)
+ Object.values(testerModule),
)
this.testers.forEach(tester => {
tester.beforeEach = () => {
@@ -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 d3c5f4c355..6e0908eaa0 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 0d29e3b86e..9b425c05bc 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 d4e74e620a..7d63a82ff9 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 7ebbc5276a..ca163f2fca 100644
--- a/global.html
+++ b/global.html
@@ -684,7 +684,7 @@
diff --git a/index.html b/index.html
index d92db0e4ee..421b863aba 100644
--- a/index.html
+++ b/index.html
@@ -220,7 +220,7 @@ under their terms and license.
diff --git a/module-badge-maker.html b/module-badge-maker.html
index b33108d5c2..8bbaaf50e0 100644
--- a/module-badge-maker.html
+++ b/module-badge-maker.html
@@ -429,7 +429,7 @@
diff --git a/module-badge-maker_lib_xml-ElementList.html b/module-badge-maker_lib_xml-ElementList.html
index 11751faf2e..2542811644 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 a45f58ca6e..94f7a1b149 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 65cf2d4eca..fc7f8836b0 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 f86f68d1c5..97e3206822 100644
--- a/module-core_base-service_base-BaseService.html
+++ b/module-core_base-service_base-BaseService.html
@@ -815,7 +815,7 @@ defined in this.route.pattern or this.route.capture
diff --git a/module-core_base-service_base-graphql-BaseGraphqlService.html b/module-core_base-service_base-graphql-BaseGraphqlService.html
index 20bb6209f2..1b1e3e845d 100644
--- a/module-core_base-service_base-graphql-BaseGraphqlService.html
+++ b/module-core_base-service_base-graphql-BaseGraphqlService.html
@@ -873,7 +873,7 @@ an InvalidResponse.
diff --git a/module-core_base-service_base-graphql.html b/module-core_base-service_base-graphql.html
index a21a27af63..e38358a4ec 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 94cd160e30..81e31fe8be 100644
--- a/module-core_base-service_base-json-BaseJsonService.html
+++ b/module-core_base-service_base-json-BaseJsonService.html
@@ -718,7 +718,7 @@ and module:cor
diff --git a/module-core_base-service_base-json.html b/module-core_base-service_base-json.html
index d1047c4387..adb724897a 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 ff5e0031c1..d7d19051f5 100644
--- a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html
+++ b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html
@@ -809,7 +809,7 @@ and module:cor
diff --git a/module-core_base-service_base-svg-scraping.html b/module-core_base-service_base-svg-scraping.html
index 3f0dfc59d9..526deb4863 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-xml-BaseXmlService.html b/module-core_base-service_base-xml-BaseXmlService.html
index 2415487d0c..589a2bbe1a 100644
--- a/module-core_base-service_base-xml-BaseXmlService.html
+++ b/module-core_base-service_base-xml-BaseXmlService.html
@@ -601,7 +601,7 @@ and module:cor
diff --git a/module-core_base-service_base-xml.html b/module-core_base-service_base-xml.html
index 65b9d779a7..19afb39c6c 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 1b3ffaf329..7d2534cfc7 100644
--- a/module-core_base-service_base-yaml-BaseYamlService.html
+++ b/module-core_base-service_base-yaml-BaseYamlService.html
@@ -598,7 +598,7 @@ and module:cor
diff --git a/module-core_base-service_base-yaml.html b/module-core_base-service_base-yaml.html
index 3f3f2d335d..10c211bbb0 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 5650bc65a8..6c3b7d9520 100644
--- a/module-core_base-service_base.html
+++ b/module-core_base-service_base.html
@@ -1208,7 +1208,7 @@ when the parameter is absent. (Note that in,
diff --git a/module-core_base-service_errors-Deprecated.html b/module-core_base-service_errors-Deprecated.html
index fbf13d758b..9141d7d04a 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 68b07a6dd0..d9e343ac5a 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 3112128547..7fe4429446 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 7c3709974c..95efd2be08 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 5b565739d4..e58d84b2cc 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 5d2d2f09ec..fd1de24861 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 0963737103..4fffdd0345 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 f28abaa28b..a4c4c36a88 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 2ec613b59c..a99df710cf 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_resource-cache.html b/module-core_base-service_resource-cache.html
index f338de86d7..11c7e3b1a0 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_server_server-Server.html b/module-core_server_server-Server.html
index c6ad8938cc..781866b741 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 cd7d263d47..5195829100 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 3da25964a7..e68a6f9b8b 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 182e0f9f78..3ad69bb71a 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 203cb8edae..e9d2b7263b 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 de1a8ad7e6..4d21dacc7c 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 24cdd2aa86..a61004bf91 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 b03b33c9a9..431d44f344 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 ee086172e6..d210049bcc 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 081bf7910d..78f6cc632e 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 53dcba76f1..842ae605ac 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 d323a1f770..e22301a6e8 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 4b6ab9d91b..99f348a94e 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 10eda9b35a..a387ada9e7 100644
--- a/module-services_color-formatters.html
+++ b/module-services_color-formatters.html
@@ -1532,7 +1532,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 0ac89f41a0..6c6857767a 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 e00c30e68d..5b61c4fe17 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 3905201f88..357bf08fab 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 2b5e17db8a..29bd37a6e8 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 7005cb7322..bedcfda4f3 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 aab8409320..3c2e1f0cad 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 10b954ff65..fb03632d3b 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 a748c2394d..fcdbf7fa1a 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 7499985636..e3926e1726 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 0f38cba960..31e8f6c404 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 9f873cd9f0..7a26f7a185 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 14688a586e..6f84994971 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 3b2d85e1d7..2ace8e645a 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 14150e275b..0d43c9c11a 100644
--- a/module-services_validators.html
+++ b/module-services_validators.html
@@ -707,7 +707,7 @@ Some invalid values for this validator are: abc, 1.a, 1.0-, .1
diff --git a/services_build-status.js.html b/services_build-status.js.html
index 686c7737cc..e5c1ca5565 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 e7ab432e8f..a164685284 100644
--- a/services_color-formatters.js.html
+++ b/services_color-formatters.js.html
@@ -183,7 +183,7 @@ function colorScale(steps, colors, reversed) {
if (steps.length !== colors.length - 1) {
throw Error(
- 'When colors are provided, there should be n + 1 colors for n steps.'
+ 'When colors are provided, there should be n + 1 colors for n steps.',
)
}
@@ -240,7 +240,7 @@ export {
diff --git a/services_contributor-count.js.html b/services_contributor-count.js.html
index ebfb4d190f..0d95244c3f 100644
--- a/services_contributor-count.js.html
+++ b/services_contributor-count.js.html
@@ -85,7 +85,7 @@ export { contributorColor, renderContributorBadge }
diff --git a/services_downloads.js.html b/services_downloads.js.html
index 641b21b3b0..f51693255b 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 58a3a22d78..9e0be10204 100644
--- a/services_dynamic-common.js.html
+++ b/services_dynamic-common.js.html
@@ -65,7 +65,7 @@ const individualValueSchema = Joi.alternatives()
const compoundValueSchema = Joi.alternatives().try(
individualValueSchema,
Joi.array().items(individualValueSchema).required(),
- Joi.array().length(0)
+ Joi.array().length(0),
)
/**
@@ -86,7 +86,7 @@ function transformAndValidate({ data, key }) {
traceSuccessMessage: 'Key value after validation',
},
data[key],
- compoundValueSchema
+ compoundValueSchema,
)
}
@@ -142,7 +142,7 @@ export {
diff --git a/services_dynamic_json-path.js.html b/services_dynamic_json-path.js.html
index b351531c45..57f81aa466 100644
--- a/services_dynamic_json-path.js.html
+++ b/services_dynamic_json-path.js.html
@@ -60,7 +60,7 @@ export default superclass =>
*/
async fetch({ schema, url, httpErrors }) {
throw new Error(
- `fetch() function not implemented for ${this.constructor.name}`
+ `fetch() function not implemented for ${this.constructor.name}`,
)
}
@@ -120,7 +120,7 @@ export default superclass =>
diff --git a/services_endpoint-common.js.html b/services_endpoint-common.js.html
index f60b37a6c1..e2577f2db7 100644
--- a/services_endpoint-common.js.html
+++ b/services_endpoint-common.js.html
@@ -41,7 +41,7 @@ const optionalStringWhenNamedLogoPresent = Joi.alternatives().conditional(
{
is: Joi.string().required(),
then: Joi.string(),
- }
+ },
)
const optionalNumberWhenAnyLogoPresent = Joi.alternatives()
@@ -86,7 +86,7 @@ const endpointSchema = Joi.object({
*/
function validateEndpointData(
data,
- { prettyErrorMessage = 'invalid response data', includeKeys = false } = {}
+ { prettyErrorMessage = 'invalid response data', includeKeys = false } = {},
) {
return validate(
{
@@ -98,7 +98,7 @@ function validateEndpointData(
allowAndStripUnknownKeys: false,
},
data,
- endpointSchema
+ endpointSchema,
)
}
@@ -117,7 +117,7 @@ const anySchema = Joi.any()
*/
async function fetchEndpointData(
serviceInstance,
- { url, httpErrors, validationPrettyErrorMessage, includeKeys }
+ { url, httpErrors, validationPrettyErrorMessage, includeKeys },
) {
const json = await serviceInstance._requestJson({
schema: anySchema,
@@ -148,7 +148,7 @@ export { validateEndpointData, fetchEndpointData }
diff --git a/services_licenses.js.html b/services_licenses.js.html
index e2f67d9b2d..60a680b32c 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 c4332b4228..0b78e44883 100644
--- a/services_package-json-helpers.js.html
+++ b/services_package-json-helpers.js.html
@@ -44,7 +44,7 @@ const isDependencyMap = Joi.object()
.pattern(
/./,
// This accepts a semver range, a URL, and many other possible values.
- Joi.string().min(1).required()
+ Joi.string().min(1).required(),
)
.default({})
@@ -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 6e179f154a..3b8fb2a855 100644
--- a/services_packagist_packagist-base.js.html
+++ b/services_packagist_packagist-base.js.html
@@ -35,9 +35,9 @@ const packageSchema = Joi.array().items(
version: Joi.string().required(),
require: Joi.alternatives(
Joi.object().pattern(Joi.string(), Joi.string()).required(),
- Joi.string().valid('__unset')
+ Joi.string().valid('__unset'),
),
- })
+ }),
)
const allVersionsSchema = Joi.object({
@@ -178,7 +178,7 @@ class BasePackagistService extends BaseJsonService {
.filter(
version =>
typeof version.version === 'string' ||
- version.version instanceof String
+ version.version instanceof String,
)
.map(version => version.version)
if (versionStrings.length < 1) {
@@ -227,7 +227,7 @@ export {
diff --git a/services_php-version.js.html b/services_php-version.js.html
index bb3d94b56d..b3a4388204 100644
--- a/services_php-version.js.html
+++ b/services_php-version.js.html
@@ -307,11 +307,11 @@ async function getPhpReleases(githubApiProvider) {
tags
// only releases
.filter(
- tag => tag.ref.match(/^refs\/tags\/php-\d+\.\d+\.\d+$/) != null
+ tag => tag.ref.match(/^refs\/tags\/php-\d+\.\d+\.\d+$/) != null,
)
// get minor version of release
- .map(tag => tag.ref.match(/^refs\/tags\/php-(\d+\.\d+)\.\d+$/)[1])
- )
+ .map(tag => tag.ref.match(/^refs\/tags\/php-(\d+\.\d+)\.\d+$/)[1]),
+ ),
),
requestFetcher: githubApiProvider.fetch.bind(githubApiProvider, fetch),
})
@@ -341,7 +341,7 @@ export {
diff --git a/services_pipenv-helpers.js.html b/services_pipenv-helpers.js.html
index 075e431d35..331d240dc2 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 08cfb24cfc..e33e9139d7 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 fde7306939..6e4d6ca7d3 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-validators.js.html b/services_test-validators.js.html
index 389e9e5aea..dabfbe2ec8 100644
--- a/services_test-validators.js.html
+++ b/services_test-validators.js.html
@@ -49,13 +49,13 @@ const isVPlusDottedVersionNClauses = withRegex(/^v\d+(\.\d+)*$/)
// and an optional text suffix
// e.g: -beta, -preview1, -release-candidate, +beta, ~pre9-12 etc
const isVPlusDottedVersionNClausesWithOptionalSuffix = withRegex(
- /^v\d+(\.\d+)*([-+~].*)?$/
+ /^v\d+(\.\d+)*([-+~].*)?$/,
)
// same as above, but also accepts an optional 'epoch' prefix that can be
// found e.g. in distro package versions, like 4:6.3.0-4
const isVPlusDottedVersionNClausesWithOptionalSuffixAndEpoch = withRegex(
- /^v(\d+:)?\d+(\.\d+)*([-+~].*)?$/
+ /^v(\d+:)?\d+(\.\d+)*([-+~].*)?$/,
)
// Simple regex for test Composer versions rule
@@ -71,7 +71,7 @@ const isVPlusDottedVersionNClausesWithOptionalSuffixAndEpoch = withRegex(
// https://getcomposer.org/doc/04-schema.md#package-links
// https://getcomposer.org/doc/04-schema.md#minimum-stability
const isComposerVersion = withRegex(
- /^\*|(\s*(>=|>|<|<=|!=|\^|~)?\d+(\.(\*|(\d+(\.(\d+|\*))?)))?((\s*\|*)?\s*(>=|>|<|<=|!=|\^|~)?\d+(\.(\*|(\d+(\.(\d+|\*))?)))?)*\s*)$/
+ /^\*|(\s*(>=|>|<|<=|!=|\^|~)?\d+(\.(\*|(\d+(\.(\d+|\*))?)))?((\s*\|*)?\s*(>=|>|<|<=|!=|\^|~)?\d+(\.(\*|(\d+(\.(\d+|\*))?)))?)*\s*)$/,
)
// Regex for validate php-version.versionReduction()
@@ -80,11 +80,11 @@ const isComposerVersion = withRegex(
// 5.4, 5.6, 7.2
// 5.4 - 7.1, HHVM
const isPhpVersionReduction = withRegex(
- /^((>= \d+(\.\d+)?)|(\d+\.\d+(, \d+\.\d+)*)|(\d+\.\d+ - \d+\.\d+))(, HHVM)?$/
+ /^((>= \d+(\.\d+)?)|(\d+\.\d+(, \d+\.\d+)*)|(\d+\.\d+ - \d+\.\d+))(, HHVM)?$/,
)
const isStarRating = withRegex(
- /^(?=.{5}$)(\u2605{0,5}[\u00BC\u00BD\u00BE]?\u2606{0,5})$/
+ /^(?=.{5}$)(\u2605{0,5}[\u00BC\u00BD\u00BE]?\u2606{0,5})$/,
)
// Required to be > 0, because accepting zero masks many problems.
@@ -92,7 +92,7 @@ const isMetric = withRegex(/^([1-9][0-9]*[kMGTPEZY]?|[1-9]\.[1-9][kMGTPEZY])$/)
// Same as isMetric, but tests for negative numbers also.
const isMetricAllowNegative = withRegex(
- /^(0|-?[1-9][0-9]*[kMGTPEZY]?|-?[0-9]\.[0-9][kMGTPEZY])$/
+ /^(0|-?[1-9][0-9]*[kMGTPEZY]?|-?[0-9]\.[0-9][kMGTPEZY])$/,
)
/**
@@ -110,15 +110,15 @@ const isMetricOpenIssues = isMetricWithPattern(/ open/)
const isMetricClosedIssues = isMetricWithPattern(/ closed/)
const isMetricOverMetric = isMetricWithPattern(
- /\/([1-9][0-9]*[kMGTPEZY]?|[1-9]\.[1-9][kMGTPEZY])/
+ /\/([1-9][0-9]*[kMGTPEZY]?|[1-9]\.[1-9][kMGTPEZY])/,
)
const isMetricOverTimePeriod = isMetricWithPattern(
- /\/(year|month|four weeks|quarter|week|day)/
+ /\/(year|month|four weeks|quarter|week|day)/,
)
const isZeroOverTimePeriod = withRegex(
- /^0\/(year|month|four weeks|quarter|week|day)$/
+ /^0\/(year|month|four weeks|quarter|week|day)$/,
)
const isIntegerPercentage = withRegex(/^[1-9][0-9]?%|^100%|^0%$/)
@@ -129,41 +129,41 @@ const isPercentage = Joi.alternatives().try(
isIntegerPercentage,
isDecimalPercentage,
isIntegerPercentageNegative,
- isDecimalPercentageNegative
+ isDecimalPercentageNegative,
)
const isFileSize = withRegex(
- /^[0-9]*[.]?[0-9]+\s(B|kB|KB|MB|GB|TB|PB|EB|ZB|YB)$/
+ /^[0-9]*[.]?[0-9]+\s(B|kB|KB|MB|GB|TB|PB|EB|ZB|YB)$/,
)
const isFormattedDate = Joi.alternatives().try(
Joi.equal('today', 'yesterday'),
Joi.string().regex(/^last (sun|mon|tues|wednes|thurs|fri|satur)day$/),
Joi.string().regex(
- /^(january|february|march|april|may|june|july|august|september|october|november|december)( \d{4})?$/
- )
+ /^(january|february|march|april|may|june|july|august|september|october|november|december)( \d{4})?$/,
+ ),
)
const isRelativeFormattedDate = Joi.alternatives().try(
Joi.string().regex(
- /^(in |)([0-9]+|a few|a|an|)(| )(second|minute|hour|day|month|year)(s|)( ago|)$/
- )
+ /^(in |)([0-9]+|a few|a|an|)(| )(second|minute|hour|day|month|year)(s|)( ago|)$/,
+ ),
)
const isDependencyState = withRegex(
- /^(\d+ out of date|\d+ deprecated|up to date)$/
+ /^(\d+ out of date|\d+ deprecated|up to date)$/,
)
const makeTestTotalsValidator = ({ passed, failed, skipped }) =>
withRegex(
- new RegExp(`^[0-9]+ ${passed}(, [0-9]+ ${failed})?(, [0-9]+ ${skipped})?$`)
+ new RegExp(`^[0-9]+ ${passed}(, [0-9]+ ${failed})?(, [0-9]+ ${skipped})?$`),
)
const makeCompactTestTotalsValidator = ({ passed, failed, skipped }) =>
withRegex(
new RegExp(
- `^${passed} [0-9]+( \\| ${failed} [0-9]+)?( \\| ${skipped} [0-9]+)?$`
- )
+ `^${passed} [0-9]+( \\| ${failed} [0-9]+)?( \\| ${skipped} [0-9]+)?$`,
+ ),
)
const isDefaultTestTotals = makeTestTotalsValidator({
@@ -189,11 +189,11 @@ const isCustomCompactTestTotals = makeCompactTestTotalsValidator({
const isOrdinalNumber = Joi.string().regex(/^[1-9][0-9]*(ᵗʰ|ˢᵗ|ⁿᵈ|ʳᵈ)$/)
const isOrdinalNumberDaily = Joi.string().regex(
- /^[1-9][0-9]*(ᵗʰ|ˢᵗ|ⁿᵈ|ʳᵈ) daily$/
+ /^[1-9][0-9]*(ᵗʰ|ˢᵗ|ⁿᵈ|ʳᵈ) daily$/,
)
const isHumanized = Joi.string().regex(
- /[0-9a-z]+ (second|seconds|minute|minutes|hour|hours|day|days|month|months|year|years)/
+ /[0-9a-z]+ (second|seconds|minute|minutes|hour|hours|day|days|month|months|year|years)/,
)
// $1,530,602.24 // true
@@ -203,7 +203,7 @@ const isHumanized = Joi.string().regex(
// 1.6.66,6 // false
// .1555. // false
const isCurrency = withRegex(
- /(?=.*\d)^\$?(([1-9]\d{0,2}(,\d{3})*)|0)?(\.\d{1,2})?$/
+ /(?=.*\d)^\$?(([1-9]\d{0,2}(,\d{3})*)|0)?(\.\d{1,2})?$/,
)
export {
@@ -259,7 +259,7 @@ export {
diff --git a/services_text-formatters.js.html b/services_text-formatters.js.html
index 2790cc3449..f80b14ecd4 100644
--- a/services_text-formatters.js.html
+++ b/services_text-formatters.js.html
@@ -252,7 +252,7 @@ export {
diff --git a/services_validators.js.html b/services_validators.js.html
index 32e3db1272..c9ca32c7a4 100644
--- a/services_validators.js.html
+++ b/services_validators.js.html
@@ -123,7 +123,7 @@ export const fileSize = Joi.string()
diff --git a/tutorial-TUTORIAL.html b/tutorial-TUTORIAL.html
index f209eb68f7..607913ebdd 100644
--- a/tutorial-TUTORIAL.html
+++ b/tutorial-TUTORIAL.html
@@ -377,7 +377,7 @@ will review your contribution.
diff --git a/tutorial-adding-new-config-values.html b/tutorial-adding-new-config-values.html
index 96f6c6c3c3..b265ef3db1 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 a08097284f..462fe96228 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 a5d4b6b8c6..de41fabf05 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 cced34c376..0dfe905549 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 cf2de95c74..91108bc23e 100644
--- a/tutorial-deprecating-badges.html
+++ b/tutorial-deprecating-badges.html
@@ -149,7 +149,7 @@ t.create('no longer available (previously number of layers)')
diff --git a/tutorial-input-validation.html b/tutorial-input-validation.html
index 3bc12c0a4c..39958f2aaa 100644
--- a/tutorial-input-validation.html
+++ b/tutorial-input-validation.html
@@ -103,7 +103,7 @@
diff --git a/tutorial-json-format.html b/tutorial-json-format.html
index ba2a6571fb..9de33d28bf 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-logos.html b/tutorial-logos.html
index 7bf6b4a923..c9a1725936 100644
--- a/tutorial-logos.html
+++ b/tutorial-logos.html
@@ -107,7 +107,7 @@
diff --git a/tutorial-performance-testing.html b/tutorial-performance-testing.html
index bc9ed37a77..b43ddf1053 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 af81631c06..b3c7a3d68a 100644
--- a/tutorial-production-hosting.html
+++ b/tutorial-production-hosting.html
@@ -217,7 +217,7 @@ via local-shields-io-production.yml (see
diff --git a/tutorial-releases.html b/tutorial-releases.html
index 00447fb42f..0aad1750df 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 1c7cfee71b..6e05d08edb 100644
--- a/tutorial-self-hosting.html
+++ b/tutorial-self-hosting.html
@@ -180,7 +180,7 @@ Set public.requireCloudflare: true.
diff --git a/tutorial-server-secrets.html b/tutorial-server-secrets.html
index 26cf567bcf..b90ddd37d4 100644
--- a/tutorial-server-secrets.html
+++ b/tutorial-server-secrets.html
@@ -294,7 +294,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 e710d551c1..6001275e3a 100644
--- a/tutorial-service-tests.html
+++ b/tutorial-service-tests.html
@@ -166,7 +166,7 @@ runner.
.intercept(nock =>
nock('https://app.wercker.com/api/v3/applications/')
.get('/wercker/go-wercker-api/builds?limit=1')
- .reply(401)
+ .reply(401),
)
.expectBadge({ label: 'build', message: 'private application not supported' })
@@ -196,7 +196,7 @@ and path.
.intercept(nock =>
nock('https://app.wercker.com/api/v3/applications/')
.get('/wercker/go-wercker-api/builds?limit=1')
- .reply(200, [{ status: 'finished', result: 'passed' }])
+ .reply(200, [{ status: 'finished', result: 'passed' }]),
)
.expectBadge({
label: 'build',
@@ -209,7 +209,7 @@ t.create('Build failed')
.intercept(nock =>
nock('https://app.wercker.com/api/v3/applications/')
.get('/wercker/go-wercker-api/builds?limit=1')
- .reply(200, [{ status: 'finished', result: 'failed' }])
+ .reply(200, [{ status: 'finished', result: 'failed' }]),
)
.expectBadge({ label: 'build', message: 'failed', color: 'red' })
@@ -246,7 +246,7 @@ comment there instead.
diff --git a/tutorial-static-badges.html b/tutorial-static-badges.html
index 6321479d30..3849833324 100644
--- a/tutorial-static-badges.html
+++ b/tutorial-static-badges.html
@@ -51,7 +51,7 @@