id int64 0 1.29M | original_id stringlengths 32 32 | swhid stringlengths 100 170 | sha1 stringlengths 40 40 | repo_name stringlengths 2 45 | repo_group stringclasses 12
values | filepath stringlengths 5 153 | name stringlengths 1 14.9k | type stringclasses 3
values | code stringlengths 7 2.12M |
|---|---|---|---|---|---|---|---|---|---|
1,285,700 | ca3e9230db200d06e9568dab14cc338c | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=354-359/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | KeywordCxt::fail$data | function | fail$data(condition) {
if (!this.$data)
return this.fail(condition);
const { schemaCode } = this;
this.fail((0, codegen_1._) `${schemaCode} !== undefined && (${(0, codegen_1.or)(this.invalid$data(), condition)})`);
} |
1,285,701 | 803083c19df457beedd580b12db8f441 | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=461-475/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | keywordCode | function | function keywordCode(it, keyword, def, ruleType) {
const cxt = new KeywordCxt(it, def, keyword);
if ("code" in def) {
def.code(cxt, ruleType);
}
else if (cxt.$data && def.validate) {
(0, keyword_1.funcKeywordCode)(cxt, def);
}
else if ("macro" in def) {
(0, keyword_1.macr... |
1,285,702 | 6fc1fa76cdb3df24a421e1141f2093db | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=478-518/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | getData | function | function getData($data, { dataLevel, dataNames, dataPathArr }) {
let jsonPointer;
let data;
if ($data === "")
return names_1.default.rootData;
if ($data[0] === "/") {
if (!JSON_POINTER.test($data))
throw new Error(`Invalid JSON-pointer: ${$data}`);
jsonPointer = $data... |
1,285,703 | 87114252c66dffb9472997e510e92424 | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=433-440/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | KeywordCxt::subschema | function | subschema(appl, valid) {
const subschema = (0, subschema_1.getSubschema)(this.it, appl);
(0, subschema_1.extendSubschemaData)(subschema, this.it, appl);
(0, subschema_1.extendSubschemaMode)(subschema, appl);
const nextContext = { ...this.it, ...subschema, items: undefined, props: undefin... |
1,285,704 | 10844d57536f666022a3a214a9be6e1f | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=369-372/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | KeywordCxt::_error | function | _error(append, errorPaths) {
;
(append ? errors_1.reportExtraError : errors_1.reportError)(this, this.def.error, errorPaths);
} |
1,285,705 | 11eac13e63ca67861a2b885049ed481b | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=254-265/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | checkKeywordTypes | function | function checkKeywordTypes(it, ts) {
const rules = it.self.RULES.all;
for (const keyword in rules) {
const rule = rules[keyword];
if (typeof rule == "object" && (0, applicability_1.shouldUseRule)(it.schema, rule)) {
const { type } = rule.definition;
if (type.length && !ty... |
1,285,706 | a7c601ccb55b2758f04b407f673841cf | swh:1:cnt:0d683322abf18fc5b418bf776dc53f00a49e00ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=287-459/ | d1517bcab135f95b3137cb61fb19a4dcffddefd4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/index.js | KeywordCxt | type | class KeywordCxt {
constructor(it, def, keyword) {
(0, keyword_1.validateKeywordUsage)(it, def, keyword);
this.gen = it.gen;
this.allErrors = it.allErrors;
this.keyword = keyword;
this.data = it.data;
this.schema = it.schema[keyword];
this.$data = def.$data &&... |
1,285,707 | e14039cc418024ecbc3fa14521d086ee | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-23/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | macroKeywordCode | function | function macroKeywordCode(cxt, def) {
const { gen, keyword, schema, parentSchema, it } = cxt;
const macroSchema = def.macro.call(it.self, schema, parentSchema, it);
const schemaRef = useKeyword(gen, keyword, macroSchema);
if (it.opts.validateSchema !== false)
it.self.validateSchema(macroSchema, ... |
1,285,708 | 8df9e5a6dbdf030015d241c5a4689d06 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-68/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | funcKeywordCode | function | function funcKeywordCode(cxt, def) {
var _a;
const { gen, keyword, schema, parentSchema, $data, it } = cxt;
checkAsyncKeyword(it, def);
const validate = !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate;
const validateRef = useKeyword(gen, keyword, validate);... |
1,285,709 | e4bb50a2c325989f984615c09d79f9e6 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-58/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | funcKeywordCode::validateSync | function | function validateSync() {
const validateErrs = (0, codegen_1._) `${validateRef}.errors`;
gen.assign(validateErrs, null);
assignValid(codegen_1.nil);
return validateErrs;
} |
1,285,710 | 44a2dd33e11d1b6d9d69e92b0fc6747c | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-52/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | funcKeywordCode::validateAsync | function | function validateAsync() {
const ruleErrs = gen.let("ruleErrs", null);
gen.try(() => assignValid((0, codegen_1._) `await `), (e) => gen.assign(valid, false).if((0, codegen_1._) `${e} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1._) `${e}.errors`), () => gen.throw(e)));
... |
1,285,711 | d39d7c5114046b6c25b059487331f960 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-47/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | funcKeywordCode::validateKeyword | function | function validateKeyword() {
if (def.errors === false) {
assignValid();
if (def.modifying)
modifyData(cxt);
reportErrs(() => cxt.error());
}
else {
const ruleErrs = def.async ? validateAsync() : validateSync();
if (def.m... |
1,285,712 | ae837955b6b64a498924f4c21574f795 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-63/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | funcKeywordCode::assignValid | function | function assignValid(_await = def.async ? (0, codegen_1._) `await ` : codegen_1.nil) {
const passCxt = it.opts.passContext ? names_1.default.this : names_1.default.self;
const passSchema = !(("compile" in def && !$data) || def.schema === false);
gen.assign(valid, (0, codegen_1._) `${_await}${(0,... |
1,285,713 | bdd07045841ce7da4ed6fa58284cbe57 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=64-67/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | funcKeywordCode::reportErrs | function | function reportErrs(errors) {
var _a;
gen.if((0, codegen_1.not)((_a = def.valid) !== null && _a !== void 0 ? _a : valid), errors);
} |
1,285,714 | 6dd8be27baf2c1351a656e093166479d | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-73/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | modifyData | function | function modifyData(cxt) {
const { gen, data, it } = cxt;
gen.if(it.parentData, () => gen.assign(data, (0, codegen_1._) `${it.parentData}[${it.parentDataProperty}]`));
} |
1,285,715 | 7d6571ec283e669335f1f6eb61f3b925 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=74-82/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | addErrs | function | function addErrs(cxt, errs) {
const { gen } = cxt;
gen.if((0, codegen_1._) `Array.isArray(${errs})`, () => {
gen
.assign(names_1.default.vErrors, (0, codegen_1._) `${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`)
.assign(names_1.default... |
1,285,716 | 728cad4b3d39d3d1c7d29002898f914a | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-86/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | checkAsyncKeyword | function | function checkAsyncKeyword({ schemaEnv }, def) {
if (def.async && !schemaEnv.$async)
throw new Error("async keyword in sync schema");
} |
1,285,717 | 0230a96cb85f2a5e38759c625e461251 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-100/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | validSchemaType | function | function validSchemaType(schema, schemaType, allowUndefined = false) {
// TODO add tests
return (!schemaType.length ||
schemaType.some((st) => st === "array"
? Array.isArray(schema)
: st === "object"
? schema && typeof schema == "object" && !Array.isArray(schema)
... |
1,285,718 | e043efa14398be69952375bf9cce4f37 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-122/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | validateKeywordUsage | function | function validateKeywordUsage({ schema, opts, self, errSchemaPath }, def, keyword) {
/* istanbul ignore if */
if (Array.isArray(def.keyword) ? !def.keyword.includes(keyword) : def.keyword !== keyword) {
throw new Error("ajv implementation error");
}
const deps = def.dependencies;
if (deps ==... |
1,285,719 | c40b26f1997cf2e58984f36070094810 | swh:1:cnt:1109d3a4519ead22d62104f47151377d5f78299c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-91/ | 6bccd943b280fc81aa0322809aa4b49873ab9c07 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/keyword.js | useKeyword | function | function useKeyword(gen, keyword, result) {
if (result === undefined)
throw new Error(`keyword "${keyword}" failed to compile`);
return gen.scopeValue("keyword", typeof result == "function" ? { ref: result } : { ref: result, code: (0, codegen_1.stringify)(result) });
} |
1,285,720 | 19b73ed1e0552f0205b86f57b89b623b | swh:1:cnt:b92785f2d7803aadd00c49d6cb9b0bb59946b574;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-25/ | 2ac7379110923eb67e0492341bca557717a74d54 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/subschema.d.ts | SubschemaContext | type | interface SubschemaContext {
schema: AnySchema;
schemaPath: Code;
errSchemaPath: string;
topSchemaRef?: Code;
errorPath?: Code;
dataLevel?: number;
dataTypes?: JSONType[];
data?: Name;
parentData?: Name;
parentDataProperty?: Code | number;
dataNames?: Name[];
dataPathArr?... |
1,285,721 | e1d73f48f21e47ecb085d209fa3fbd30 | swh:1:cnt:b92785f2d7803aadd00c49d6cb9b0bb59946b574;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-44/ | 2ac7379110923eb67e0492341bca557717a74d54 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/subschema.d.ts | SubschemaArgs | type | type SubschemaArgs = Partial<{
keyword: string;
schemaProp: string | number;
schema: AnySchema;
schemaPath: Code;
errSchemaPath: string;
topSchemaRef: Code;
data: Name | Code;
dataProp: Code | string | number;
dataTypes: JSONType[];
definedProperties: Set<string>;
propertyNam... |
1,285,722 | ba77e7c851e76fae2e176c1853776f9e | swh:1:cnt:9de2828690d6c41170d734c66b1a214cb0b9925c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-36/ | 091b18b001fe6ecad1b1367318733ff2283028b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/subschema.js | getSubschema | function | function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {
if (keyword !== undefined && schema !== undefined) {
throw new Error('both "keyword" and "schema" passed, only one allowed');
}
if (keyword !== undefined) {
const sch = it.schema[keyword];
... |
1,285,723 | 3e42365adf9885937bdb5adcb453738a | swh:1:cnt:9de2828690d6c41170d734c66b1a214cb0b9925c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-68/ | 091b18b001fe6ecad1b1367318733ff2283028b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/subschema.js | extendSubschemaData | function | function extendSubschemaData(subschema, it, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }) {
if (data !== undefined && dataProp !== undefined) {
throw new Error('both "data" and "dataProp" passed, only one allowed');
}
const { gen } = it;
if (dataProp !== undefined) {
... |
1,285,724 | ce18d87448ab85a92e18207344add2a3 | swh:1:cnt:9de2828690d6c41170d734c66b1a214cb0b9925c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-79/ | 091b18b001fe6ecad1b1367318733ff2283028b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/subschema.js | extendSubschemaMode | function | function extendSubschemaMode(subschema, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }) {
if (compositeRule !== undefined)
subschema.compositeRule = compositeRule;
if (createErrors !== undefined)
subschema.createErrors = createErrors;
if (allErrors !== undefined)
... |
1,285,725 | 4d70646b5f5789f3975bce2278a1b128 | swh:1:cnt:9de2828690d6c41170d734c66b1a214cb0b9925c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-67/ | 091b18b001fe6ecad1b1367318733ff2283028b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/compile/validate/subschema.js | extendSubschemaData::dataContextProps | function | function dataContextProps(_nextData) {
subschema.data = _nextData;
subschema.dataLevel = it.dataLevel + 1;
subschema.dataTypes = [];
it.definedProperties = new Set();
subschema.parentData = it.data;
subschema.dataNames = [...it.dataNames, _nextData];
} |
1,285,726 | ab572ead87dfdfbab0f8a0ba4b8daed7 | swh:1:cnt:e86496282031e75f3204b290ad24ae152ce4f243;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-26/ | 15a1d67d25ec51a32d2f23d4d40f9347d997e053 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/refs/json-schema-2019-09/index.js | addMetaSchema2019 | function | function addMetaSchema2019($data) {
;
[
metaSchema,
applicator,
content,
core,
with$data(this, format),
metadata,
with$data(this, validation),
].forEach((sch) => this.addMetaSchema(sch, undefined, false));
return this;
function with$data(ajv, s... |
1,285,727 | 2efba042e7ca1b7ca3fcbbdecac08eab | swh:1:cnt:e86496282031e75f3204b290ad24ae152ce4f243;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-25/ | 15a1d67d25ec51a32d2f23d4d40f9347d997e053 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/refs/json-schema-2019-09/index.js | addMetaSchema2019::with$data | function | function with$data(ajv, sch) {
return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch;
} |
1,285,728 | 6f526aab107a7c7d3363144a5a04e21a | swh:1:cnt:d92567564fedbbb77772b660d422ea160780aa6c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-28/ | 83002dd18f46cfa58dd084db6ec41eb4ef9caefe | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/refs/json-schema-2020-12/index.js | addMetaSchema2020 | function | function addMetaSchema2020($data) {
;
[
metaSchema,
applicator,
unevaluated,
content,
core,
with$data(this, format),
metadata,
with$data(this, validation),
].forEach((sch) => this.addMetaSchema(sch, undefined, false));
return this;
func... |
1,285,729 | 2efba042e7ca1b7ca3fcbbdecac08eab | swh:1:cnt:d92567564fedbbb77772b660d422ea160780aa6c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-27/ | 83002dd18f46cfa58dd084db6ec41eb4ef9caefe | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/refs/json-schema-2020-12/index.js | addMetaSchema2020::with$data | function | function with$data(ajv, sch) {
return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch;
} |
1,285,730 | 33904359881f4b4a55d352ff7a179d7c | swh:1:cnt:777cae20e97e53d280c4f26a84fee4eaa31cc02f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/ | b7eeebcbb3da9dc90c97a681739ca187830afc46 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/equal.d.ts | Equal | type | type Equal = typeof equal & {
code: string;
}; |
1,285,731 | f2ff27aa823d1db7611739309e491206 | swh:1:cnt:eaa28381821023729c2517babf0d84cb75685470;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-33/ | dc0a0b3312a21218f3b4f7cee91a0d91f9245505 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/parseJson.js | parseJson | function | function parseJson(s, pos) {
let endPos;
parseJson.message = undefined;
let matches;
if (pos)
s = s.slice(pos);
try {
parseJson.position = pos + s.length;
return JSON.parse(s);
}
catch (e) {
matches = rxParseJson.exec(e.message);
if (!matches) {
... |
1,285,732 | 31e7f94459241bbb04e51f1ef512a16b | swh:1:cnt:eaa28381821023729c2517babf0d84cb75685470;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=91-94/ | dc0a0b3312a21218f3b4f7cee91a0d91f9245505 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/parseJson.js | parseJsonNumber::errorMessage | function | function errorMessage() {
parseJsonNumber.position = pos;
parseJsonNumber.message = pos < s.length ? `unexpected token ${s[pos]}` : "unexpected end";
} |
1,285,733 | 46d37163c1b6c22b7dc2f499d0092e00 | swh:1:cnt:eaa28381821023729c2517babf0d84cb75685470;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-95/ | dc0a0b3312a21218f3b4f7cee91a0d91f9245505 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/parseJson.js | parseJsonNumber | function | function parseJsonNumber(s, pos, maxDigits) {
let numStr = "";
let c;
parseJsonNumber.message = undefined;
if (s[pos] === "-") {
numStr += "-";
pos++;
}
if (s[pos] === "0") {
numStr += "0";
pos++;
}
else {
if (!parseDigits(maxDigits)) {
... |
1,285,734 | 8318a1305ef610fb7b55e44aa1978908 | swh:1:cnt:eaa28381821023729c2517babf0d84cb75685470;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=112-180/ | dc0a0b3312a21218f3b4f7cee91a0d91f9245505 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/parseJson.js | parseJsonString | function | function parseJsonString(s, pos) {
let str = "";
let c;
parseJsonString.message = undefined;
// eslint-disable-next-line no-constant-condition, @typescript-eslint/no-unnecessary-condition
while (true) {
c = s[pos++];
if (c === '"')
break;
if (c === "\\") {
... |
1,285,735 | c471e2436b22f216ebc037a7115595b1 | swh:1:cnt:eaa28381821023729c2517babf0d84cb75685470;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-90/ | dc0a0b3312a21218f3b4f7cee91a0d91f9245505 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/parseJson.js | parseJsonNumber::parseDigits | function | function parseDigits(maxLen) {
let digit = false;
while (((c = s[pos]), c >= "0" && c <= "9" && (maxLen === undefined || maxLen-- > 0))) {
digit = true;
numStr += c;
pos++;
}
return digit;
} |
1,285,736 | d1bebfec9abe6dfe04405522cbeb5335 | swh:1:cnt:eaa28381821023729c2517babf0d84cb75685470;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=176-179/ | dc0a0b3312a21218f3b4f7cee91a0d91f9245505 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/parseJson.js | parseJsonString::errorMessage | function | function errorMessage(msg) {
parseJsonString.position = pos;
parseJsonString.message = msg;
} |
1,285,737 | 0a7f3300e00e40012a14a7c0e660e0d6 | swh:1:cnt:ebf78f70d2dc092127212ff4f02aa4ea4670e25b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-27/ | 2564b7aca89c1d19afde6c6e9a38d6980c61f248 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/quote.js | quote | function | function quote(s) {
rxEscapable.lastIndex = 0;
return ('"' +
(rxEscapable.test(s)
? s.replace(rxEscapable, (a) => {
const c = escaped[a];
return typeof c === "string"
? c
: "\\u" + ("0000" + a.charCodeAt(0).toString(16))... |
1,285,738 | 0d222009cf2932befcfa086c84bd269e | swh:1:cnt:c34a98f2f9b7fb0687b395473975b1a99028ff8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/ | d8614761470d7e88cdd7880cf15ceda0eae155a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/re2.d.ts | Re2 | type | type Re2 = typeof re2 & {
code: string;
}; |
1,285,739 | adcea7eb97b4be44aacf0a3dcfa27d41 | swh:1:cnt:5e0f06564bf0fdd752e4553ff5570fba96c1ebd2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-12/ | 13cd4fec93029d2f87b219dc567ae286bff12567 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/timestamp.js | validTimestamp | function | function validTimestamp(str, allowDate) {
// http://tools.ietf.org/html/rfc3339#section-5.6
const dt = str.split(DT_SEPARATOR);
return ((dt.length === 2 && validDate(dt[0]) && validTime(dt[1])) ||
(allowDate && dt.length === 1 && validDate(dt[0])));
} |
1,285,740 | 123c89d3de024a47b3c16a69cc073f47 | swh:1:cnt:5e0f06564bf0fdd752e4553ff5570fba96c1ebd2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-40/ | 13cd4fec93029d2f87b219dc567ae286bff12567 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/timestamp.js | validTime | function | function validTime(str) {
const matches = TIME.exec(str);
if (!matches)
return false;
const hr = +matches[1];
const min = +matches[2];
const sec = +matches[3];
const tzH = +(matches[4] || 0);
const tzM = +(matches[5] || 0);
return ((hr <= 23 && min <= 59 && sec <= 59) ||
... |
1,285,741 | 3280b0ae4a404f9fb83a4d6c6a202642 | swh:1:cnt:5e0f06564bf0fdd752e4553ff5570fba96c1ebd2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-27/ | 13cd4fec93029d2f87b219dc567ae286bff12567 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/timestamp.js | validDate | function | function validDate(str) {
const matches = DATE.exec(str);
if (!matches)
return false;
const y = +matches[1];
const m = +matches[2];
const d = +matches[3];
return (m >= 1 &&
m <= 12 &&
d >= 1 &&
(d <= DAYS[m] ||
// leap year: https://tools.ietf.org/html... |
1,285,742 | 2902f7fc03897e479532a083577831f8 | swh:1:cnt:92ea0c08a2e4de486bfc52a3807c6c258b63b725;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-21/ | 44b872dd26816d6ba5cf4ad1be822f6908ac3705 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/ucs2length.js | ucs2length | function | // https://mathiasbynens.be/notes/javascript-encoding
// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
function ucs2length(str) {
const len = str.length;
let length = 0;
let pos = 0;
let value;
while (pos < len) {
length++;
value = str.charCodeAt(pos++);
if (... |
1,285,743 | 877b8ed5fa6eb5bf5f7c15ec567fcee0 | swh:1:cnt:8e9e079f9e7f7bc262cd49c28fd9de88d93b6906;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/ | bb6321f24ef0c5170606a76c8b65ea784de55128 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/uri.d.ts | URI | type | type URI = typeof uri & {
code: string;
}; |
1,285,744 | ebc1c614880d2636c2860e60a1cca1b0 | swh:1:cnt:b0ee9698f242ceaa527174e68f6808930eabb902;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-7/ | 7acd4236faa7c19f4ae683d6ec3169b43f7fd8c9 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/validation_error.d.ts | ValidationError | type | class ValidationError extends Error {
readonly errors: Partial<ErrorObject>[];
readonly ajv: true;
readonly validation: true;
constructor(errors: Partial<ErrorObject>[]);
} |
1,285,745 | d4fe89dadd51feba9a49f053998a070b | swh:1:cnt:353502c089d058921f7cb0723541ccbfa42d45b9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-9/ | 3cc7330a7b7c01d69bd38b5988051e49c94921fc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/validation_error.js | ValidationError | type | class ValidationError extends Error {
constructor(errors) {
super("validation failed");
this.errors = errors;
this.ajv = this.validation = true;
}
} |
1,285,746 | 390aa50742fa32bf81bcbf5d03c6594f | swh:1:cnt:353502c089d058921f7cb0723541ccbfa42d45b9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-8/ | 3cc7330a7b7c01d69bd38b5988051e49c94921fc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/runtime/validation_error.js | ValidationError::constructor | function | constructor(errors) {
super("validation failed");
this.errors = errors;
this.ajv = this.validation = true;
} |
1,285,747 | 5a54011de277d62df2b40884bc2197f9 | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-86/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode | function | function standaloneCode(ajv, refsOrFunc) {
if (!ajv.opts.code.source) {
throw new Error("moduleCode: ajv instance must have code.source option");
}
const { _n } = ajv.scope.opts;
return typeof refsOrFunc == "function"
? funcExportCode(refsOrFunc.source)
: refsOrFunc !== undefined... |
1,285,748 | 0b273cc3cbc55c1d91955144552ca0f1 | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-46/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::multiExportsCode | function | function multiExportsCode(schemas, getValidateFunc) {
var _a;
const usedValues = {};
let code = (0, code_1._) `"use strict";`;
for (const name in schemas) {
const v = getValidateFunc(schemas[name]);
if (v) {
const vCode = validateCode(usedValues, v... |
1,285,749 | 7eb3ca804fbbb40c7fcae3258216d103 | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-85/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::validateCode | function | function validateCode(usedValues, s) {
if (!s)
throw new Error('moduleCode: function does not have "source" property');
if (usedState(s.validateName) === scope_1.UsedValueState.Completed)
return code_1.nil;
setUsedState(s.validateName, scope_1.UsedValueState.Started);
... |
1,285,750 | 4c7d320827e6babac8064091e2b4b3c0 | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-20/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::getValidate | function | function getValidate(id) {
const v = ajv.getSchema(id);
if (!v)
throw new Error(`moduleCode: no schema with id ${id}`);
return v;
} |
1,285,751 | d4047046e69421432d819516c9883a0a | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-30/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::funcExportCode | function | function funcExportCode(source) {
const usedValues = {};
const n = source === null || source === void 0 ? void 0 : source.validateName;
const vCode = validateCode(usedValues, source);
if (ajv.opts.code.esm) {
// Always do named export as `validate` rather than the variable `n... |
1,285,752 | 6bf4a48a038004a72cb354ea97186a69 | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-75/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::validateCode::refValidateCode | function | function refValidateCode(n) {
var _a;
const vRef = (_a = n.value) === null || _a === void 0 ? void 0 : _a.ref;
if (n.prefix === "validate" && typeof vRef == "function") {
const v = vRef;
return validateCode(usedValues, v.source);
}
... |
1,285,753 | f1a8d557fd012c522fa20d1d55b3dcb9 | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-79/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::validateCode::usedState | function | function usedState(name) {
var _a;
return (_a = usedValues[name.prefix]) === null || _a === void 0 ? void 0 : _a.get(name);
} |
1,285,754 | 4db47f9bfb38f8e942d388177f40fc2b | swh:1:cnt:b44bb5db5c25b72748e6304e15ac588d3e4562a5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=80-84/ | 3a8a01208a076b95b78ad5b1c86dd3254f71d5b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/index.js | standaloneCode::validateCode::setUsedState | function | function setUsedState(name, state) {
const { prefix } = name;
const names = (usedValues[prefix] = usedValues[prefix] || new Map());
names.set(name, state);
} |
1,285,755 | bd0ecbd73a9faa0bea1b1d81d37d082b | swh:1:cnt:156ac3226faa42737930524b4109fabd25e9071c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-12/ | ba65a471fcee4df8032d6d713adb57f1756b3f3f | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.d.ts | AjvPack | type | class AjvPack {
readonly ajv: Ajv;
errors?: ErrorObject[] | null;
constructor(ajv: Ajv);
validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>;
compile<T = unknown>(schema: AnySchema, meta?: boolean): AnyValidateFunction<T>;
getSchema<T = unknown>(keyRef: string):... |
1,285,756 | 466f0b17ea2c0b16e4fc85daa382ca25 | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-33/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack | type | class AjvPack {
constructor(ajv) {
this.ajv = ajv;
}
validate(schemaKeyRef, data) {
return core_1.default.prototype.validate.call(this, schemaKeyRef, data);
}
compile(schema, meta) {
return this.getStandalone(this.ajv.compile(schema, meta));
}
getSchema(keyRef) {
... |
1,285,757 | d03895f32028ef3836bcd1ee960c23fd | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-9/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::constructor | function | constructor(ajv) {
this.ajv = ajv;
} |
1,285,758 | 9cbbe7956c01c879f688a3cc29c5b750 | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-15/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::compile | function | compile(schema, meta) {
return this.getStandalone(this.ajv.compile(schema, meta));
} |
1,285,759 | 58c0ee97ee34a5d1439e8e6c6075b038 | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-12/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::validate | function | validate(schemaKeyRef, data) {
return core_1.default.prototype.validate.call(this, schemaKeyRef, data);
} |
1,285,760 | 329fc2abf877be143ea0e555ddf5250d | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-24/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::getStandalone | function | getStandalone(v) {
return requireFromString((0, _1.default)(this.ajv, v));
} |
1,285,761 | 52429f7f3a38f65875b209d00ce6ec46 | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-21/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::getSchema | function | getSchema(keyRef) {
const v = this.ajv.getSchema(keyRef);
if (!v)
return undefined;
return this.getStandalone(v);
} |
1,285,762 | a51b46fe428de830fd0ac3a05691ad5f | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-28/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::addSchema | function | addSchema(...args) {
this.ajv.addSchema.call(this.ajv, ...args);
return this;
} |
1,285,763 | 45b5013b36f59b80425ad6a7cec39cc8 | swh:1:cnt:35e5c9925adc331db1d484d6827d8c87abfb09ac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-32/ | e143cb2ccf381d6bcf2cb348ffeea4f9b3e0c4ce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/standalone/instance.js | AjvPack::addKeyword | function | addKeyword(...args) {
this.ajv.addKeyword.call(this.ajv, ...args);
return this;
} |
1,285,764 | 2a8517a6b537c643547f57426530499b | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-24/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | Schema | type | type Schema = SchemaObject | boolean; |
1,285,765 | 131345fb0b7fbb5034b6d3d3338f5794 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-100/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | _KeywordDef | type | interface _KeywordDef {
keyword: string | string[];
type?: JSONType | JSONType[];
schemaType?: JSONType | JSONType[];
allowUndefined?: boolean;
$data?: boolean;
implements?: string[];
before?: string;
post?: boolean;
metaSchema?: AnySchemaObject;
validateSchema?: AnyValidateFunct... |
1,285,766 | 681f0f2fda514de2186d7639b57018e3 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-85/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | ErrorNoParams | type | type ErrorNoParams<K extends string, S = unknown> = ErrorObject<K, Record<string, never>, S>; |
1,285,767 | f6611c25419d25b7ba308919204a6d76 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=101-104/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | CodeKeywordDefinition | type | interface CodeKeywordDefinition extends _KeywordDef {
code: (cxt: KeywordCxt, ruleType?: string) => void;
trackErrors?: boolean;
} |
1,285,768 | fcb920639ea8ceca2ac9be855161a37f | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=106-106/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | CompileKeywordFunc | type | type CompileKeywordFunc = (schema: any, parentSchema: AnySchemaObject, it: SchemaObjCxt) => DataValidateFunction; |
1,285,769 | 37089492b097a4e4b8c51ff22ae31616 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=107-110/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | DataValidateFunction | type | interface DataValidateFunction {
(...args: Parameters<ValidateFunction>): boolean | Promise<any>;
errors?: Partial<ErrorObject>[];
} |
1,285,770 | 16591c016289c4442a5293aeae8a4543 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=151-153/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | KeywordCxtParams | type | type KeywordCxtParams = {
[P in string]?: Code | string | number;
}; |
1,285,771 | 45fab3b24848c27fd186f71ab18bd987 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=155-155/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | FormatCompare | type | type FormatCompare<T extends string | number> = (data1: T, data2: T) => number | undefined; |
1,285,772 | d10e20b9ab05224a041efc056297edfe | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=157-162/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | FormatDefinition | type | interface FormatDefinition<T extends string | number> {
type?: T extends string ? "string" | undefined : "number";
validate: FormatValidator<T> | (T extends string ? string | RegExp : never);
async?: false | undefined;
compare?: FormatCompare<T>;
} |
1,285,773 | 131d2470c767fc34c4a371172230af08 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=169-169/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AddedFormat | type | type AddedFormat = true | RegExp | FormatValidator<string> | FormatDefinition<string> | FormatDefinition<number> | AsyncFormatDefinition<string> | AsyncFormatDefinition<number>; |
1,285,774 | d3937ec5c2271129a508560fa62607a5 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-19/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | SchemaObject | type | interface SchemaObject extends _SchemaObject {
id?: string;
$id?: string;
$schema?: string;
$async?: false;
[x: string]: any;
} |
1,285,775 | 43504f51c7a93e2d00f814063035c608 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-23/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AnySchemaObject | type | type AnySchemaObject = SchemaObject | AsyncSchema; |
1,285,776 | bf40846a4cb607a84f6c2067e4d315a8 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-34/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | SourceCode | type | interface SourceCode {
validateName: ValueScopeName;
validateCode: string;
scopeValues: ScopeValueSets;
evaluated?: Code;
} |
1,285,777 | d9dce7847387a8403d7485a5af0a1996 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-45/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | DataValidationCxt | type | interface DataValidationCxt<T extends string | number = string | number> {
instancePath: string;
parentData: {
[K in T]: any;
};
parentDataProperty: T;
rootData: Record<string, any> | any[];
dynamicAnchors: {
[Ref in string]?: ValidateFunction;
};
} |
1,285,778 | 8abdc1041c0ed5e2fb35b1f407f1cb4b | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-53/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | ValidateFunction | type | interface ValidateFunction<T = unknown> {
(this: Ajv | any, data: any, dataCxt?: DataValidationCxt): data is T;
errors?: null | ErrorObject[];
evaluated?: Evaluated;
schema: AnySchema;
schemaEnv: SchemaEnv;
source?: SourceCode;
} |
1,285,779 | 419bf0d3eaad792540152ef50ee7b91f | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=73-73/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AnyValidateFunction | type | type AnyValidateFunction<T = any> = ValidateFunction<T> | AsyncValidateFunction<T>; |
1,285,780 | ebaef7eb8c2c35ec516e7c9ffde6596a | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-61/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | EvaluatedProperties | type | type EvaluatedProperties = {
[K in string]?: true;
} | true; |
1,285,781 | cd77bed6e2199a2cda1544b41f7cdf04 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=105-105/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | MacroKeywordFunc | type | type MacroKeywordFunc = (schema: any, parentSchema: AnySchemaObject, it: SchemaCxt) => AnySchema; |
1,285,782 | ef6b93eb5ca6b529b09b0823bc1564de | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=127-127/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | KeywordDefinition | type | type KeywordDefinition = CodeKeywordDefinition | FuncKeywordDefinition | MacroKeywordDefinition; |
1,285,783 | 8b082d38d593e92308ad2e4fcb637345 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=163-168/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AsyncFormatDefinition | type | interface AsyncFormatDefinition<T extends string | number> {
type?: T extends string ? "string" | undefined : "number";
validate: AsyncFormatValidator<T>;
async: true;
compare?: FormatCompare<T>;
} |
1,285,784 | 78577c02d4cee1e6452131b35e293d35 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=171-174/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | RegExpEngine | type | interface RegExpEngine {
(pattern: string, u: string): RegExpLike;
code: string;
} |
1,285,785 | 13e58f18d053d0e9ff07d3409c521953 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-12/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | _SchemaObject | type | interface _SchemaObject {
id?: string;
$id?: string;
$schema?: string;
[x: string]: any;
} |
1,285,786 | 9aa0423f42efd01a0e1e02c54b33b62f | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=74-84/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | ErrorObject | type | interface ErrorObject<K extends string = string, P = Record<string, any>, S = unknown> {
keyword: K;
instancePath: string;
schemaPath: string;
params: P;
propertyName?: string;
message?: string;
schema?: S;
parentSchema?: AnySchemaObject;
data?: unknown;
} |
1,285,787 | 2fbb9317883aed6f533c95505b80849a | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-58/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | JTDParser | type | interface JTDParser<T = unknown> {
(json: string): T | undefined;
message?: string;
position?: number;
} |
1,285,788 | 7c5df0ce819935518d976c36c96c1633 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-72/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AsyncValidateFunction | type | interface AsyncValidateFunction<T = unknown> extends ValidateFunction<T> {
(...args: Parameters<ValidateFunction<T>>): Promise<T>;
$async: true;
} |
1,285,789 | 569899db42606233bf0fee848d862e2c | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=111-114/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | SchemaValidateFunction | type | interface SchemaValidateFunction {
(schema: any, data: any, parentSchema?: AnySchemaObject, dataCxt?: DataValidationCxt): boolean | Promise<any>;
errors?: Partial<ErrorObject>[];
} |
1,285,790 | d761c6ad5c80a740d0c8c9eb6699450d | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=115-123/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | FuncKeywordDefinition | type | interface FuncKeywordDefinition extends _KeywordDef {
validate?: SchemaValidateFunction | DataValidateFunction;
compile?: CompileKeywordFunc;
schema?: boolean;
modifying?: boolean;
async?: boolean;
valid?: boolean;
errors?: boolean | "full";
} |
1,285,791 | 52ba0a71805d63bda571b441bd8ccd9f | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=124-126/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | MacroKeywordDefinition | type | interface MacroKeywordDefinition extends FuncKeywordDefinition {
macro: MacroKeywordFunc;
} |
1,285,792 | ef87c5f34a9d3fc989c14b02216f973e | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=137-150/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | KeywordErrorCxt | type | interface KeywordErrorCxt {
gen: CodeGen;
keyword: string;
data: Name;
$data?: string | false;
schema: any;
parentSchema?: AnySchemaObject;
schemaCode: Code | number | boolean;
schemaValue: Code | number | boolean;
schemaType?: JSONType[];
errsCount?: Name;
params: KeywordCxt... |
1,285,793 | 0fef185d5e65955733b9b4f611666543 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=154-154/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | FormatValidator | type | type FormatValidator<T extends string | number> = (data: T) => boolean; |
1,285,794 | 5629b8b05287c358f45fe0fabfefb4bd | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=170-170/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | Format | type | type Format = AddedFormat | string; |
1,285,795 | ab7737b382a2aaceb57c219ceb3b5670 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=175-177/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | RegExpLike | type | interface RegExpLike {
test: (s: string) => boolean;
} |
1,285,796 | 948b8a110b297340b5b0c0bad5c3395a | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-22/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AsyncSchema | type | interface AsyncSchema extends _SchemaObject {
$async: true;
} |
1,285,797 | 163ffb0704dddb319218ac3fd2ef9d9a | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-25/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | AnySchema | type | type AnySchema = Schema | AsyncSchema; |
1,285,798 | 8e9570f9a0f610470e97e9f6bd82a079 | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-28/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | SchemaMap | type | type SchemaMap = {
[Key in string]?: AnySchema;
}; |
1,285,799 | 2e4627b58572a8bc49217e49fd337d0e | swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-68/ | 00841dbc676c1c8aca6b2e449a5eae0e312f7cfc | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts | Evaluated | type | interface Evaluated {
props?: EvaluatedProperties;
items?: EvaluatedItems;
dynamicProps: boolean;
dynamicItems: boolean;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.