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,300
4759e9f649c0e3ee5292c0660fd67c72
swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=39-45/
b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/jtd.js
Ajv::_compileSerializer
function
_compileSerializer(sch) { serialize_1.default.call(this, sch, sch.schema.definitions || {}); /* istanbul ignore if */ if (!sch.serialize) throw new Error("ajv implementation error"); return sch.serialize; }
1,285,301
5d27881069f55214e80f669acfd316f2
swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-52/
b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/jtd.js
Ajv::_compileParser
function
_compileParser(sch) { parse_1.default.call(this, sch, sch.schema.definitions || {}); /* istanbul ignore if */ if (!sch.parse) throw new Error("ajv implementation error"); return sch.parse; }
1,285,302
cd71243a5a1fbe4843bb7649f42af04e
swh:1:cnt:74eef7e21fd5c75e4e5086f4248c4fc99e1af429;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-9/
2d698eeab3b12bcf10769c17acda486f8aa8aad2
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.d.ts
ErrorPaths
type
interface ErrorPaths { instancePath?: Code; schemaPath?: string; parentSchema?: boolean; }
1,285,303
20f1ea44ee680c156ed84427d7299776
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-25/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
reportError
function
function reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) { const { it } = cxt; const { gen, compositeRule, allErrors } = it; const errObj = errorObjectCode(cxt, error, errorPaths); if (overrideAllErrors !== null && overrideAllErrors !== void 0 ? overrideAllErrors : (composi...
1,285,304
7b04563c8f9fe5f163dde621d02513cd
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-56/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
extendErrors
function
function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }) { /* istanbul ignore if */ if (errsCount === undefined) throw new Error("ajv implementation error"); const err = gen.name("err"); gen.forRange("i", errsCount, names_1.default.errors, (i) => { gen.const(err, (0, co...
1,285,305
3f76bccba1280047a470ebbd466d9941
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-40/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
resetErrorsCount
function
function resetErrorsCount(gen, errsCount) { gen.assign(names_1.default.errors, errsCount); gen.if((0, codegen_1._) `${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._) `${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null))); ...
1,285,306
72b017669d41881cf0ea2246aea51840
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=58-62/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
addError
function
function addError(gen, errObj) { const err = gen.const("err", errObj); gen.if((0, codegen_1._) `${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._) `[${err}]`), (0, codegen_1._) `${names_1.default.vErrors}.push(${err})`); gen.code((0, codegen_1._) `${names_1.defa...
1,285,307
15cc3ca5178c915501ec1208086b78e1
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-35/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
reportExtraError
function
function reportExtraError(cxt, error = exports.keywordError, errorPaths) { const { it } = cxt; const { gen, compositeRule, allErrors } = it; const errObj = errorObjectCode(cxt, error, errorPaths); addError(gen, errObj); if (!(compositeRule || allErrors)) { returnErrors(it, names_1.default.vE...
1,285,308
1198f6a96a8d556b3ff652ed162faecd
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-72/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
returnErrors
function
function returnErrors(it, errs) { const { gen, validateName, schemaEnv } = it; if (schemaEnv.$async) { gen.throw((0, codegen_1._) `new ${it.ValidationError}(${errs})`); } else { gen.assign((0, codegen_1._) `${validateName}.errors`, errs); gen.return(false); } }
1,285,309
9d7f307039491f7840ea31405e60bb79
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-87/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
errorObjectCode
function
function errorObjectCode(cxt, error, errorPaths) { const { createErrors } = cxt.it; if (createErrors === false) return (0, codegen_1._) `{}`; return errorObject(cxt, error, errorPaths); }
1,285,310
3da57a1d3831b344649f1ab44eb4a1c1
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-96/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
errorObject
function
function errorObject(cxt, error, errorPaths = {}) { const { gen, it } = cxt; const keyValues = [ errorInstancePath(it, errorPaths), errorSchemaPath(cxt, errorPaths), ]; extraErrorProps(cxt, error, keyValues); return gen.object(...keyValues); }
1,285,311
894cb00cba121233359639f069a51059
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=97-102/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
errorInstancePath
function
function errorInstancePath({ errorPath }, { instancePath }) { const instPath = instancePath ? (0, codegen_1.str) `${errorPath}${(0, util_1.getErrorPath)(instancePath, util_1.Type.Str)}` : errorPath; return [names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, inst...
1,285,312
5c53d7e80452b3709bb8627bf5672273
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=103-109/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
errorSchemaPath
function
function errorSchemaPath({ keyword, it: { errSchemaPath } }, { schemaPath, parentSchema }) { let schPath = parentSchema ? errSchemaPath : (0, codegen_1.str) `${errSchemaPath}/${keyword}`; if (schemaPath) { schPath = (0, codegen_1.str) `${schPath}${(0, util_1.getErrorPath)(schemaPath, util_1.Type.Str)}`;...
1,285,313
10a7a23c1ea8accfbbee279c4e838195
swh:1:cnt:24d721d80e17418eaf298fbced2aac260ac7bb24;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-122/
f9cdfd7b308ceccb145ffcc6afc28b71e0cfd540
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/errors.js
extraErrorProps
function
function extraErrorProps(cxt, { params, message }, keyValues) { const { keyword, data, schemaValue, it } = cxt; const { opts, propertyName, topSchemaRef, schemaPath } = it; keyValues.push([E.keyword, keyword], [E.params, typeof params == "function" ? params(cxt) : params || (0, codegen_1._) `{}`]); if (...
1,285,314
4963d7303236b1d2747462209784ffab
swh:1:cnt:2809353d734c0629250f1a4facf3691fedcaf50c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-9/
bf8498fba6b0a827edfe513e8178e67804c476f3
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.d.ts
SchemaRefs
type
type SchemaRefs = { [Ref in string]?: SchemaEnv | AnySchema; };
1,285,315
e95a683df8f6d3c92d650a4848404434
swh:1:cnt:2809353d734c0629250f1a4facf3691fedcaf50c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-74/
bf8498fba6b0a827edfe513e8178e67804c476f3
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.d.ts
SchemaEnv
type
class SchemaEnv implements SchemaEnvArgs { readonly schema: AnySchema; readonly schemaId?: "$id" | "id"; readonly root: SchemaEnv; baseId: string; schemaPath?: string; localRefs?: LocalRefs; readonly meta?: boolean; readonly $async?: boolean; readonly refs: SchemaRefs; readonly d...
1,285,316
7a8faf8954977fc8c9fad046e9518866
swh:1:cnt:2809353d734c0629250f1a4facf3691fedcaf50c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-41/
bf8498fba6b0a827edfe513e8178e67804c476f3
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.d.ts
SchemaCxt
type
interface SchemaCxt { readonly gen: CodeGen; readonly allErrors?: boolean; readonly data: Name; readonly parentData: Name; readonly parentDataProperty: Code | number; readonly dataNames: Name[]; readonly dataPathArr: (Code | number)[]; readonly dataLevel: number; dataTypes: JSONType[...
1,285,317
aa32961595fb7a18fdad47be2ee2ea7b
swh:1:cnt:2809353d734c0629250f1a4facf3691fedcaf50c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-53/
bf8498fba6b0a827edfe513e8178e67804c476f3
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.d.ts
SchemaEnvArgs
type
interface SchemaEnvArgs { readonly schema: AnySchema; readonly schemaId?: "$id" | "id"; readonly root?: SchemaEnv; readonly baseId?: string; readonly schemaPath?: string; readonly localRefs?: LocalRefs; readonly meta?: boolean; }
1,285,318
ffa3132bd3033c0bcfd6f9c5aed3854a
swh:1:cnt:2809353d734c0629250f1a4facf3691fedcaf50c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-44/
bf8498fba6b0a827edfe513e8178e67804c476f3
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.d.ts
SchemaObjCxt
type
interface SchemaObjCxt extends SchemaCxt { readonly schema: AnySchemaObject; }
1,285,319
224dc93ecfbcd938c04743d446cc5299
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-28/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
SchemaEnv
type
class SchemaEnv { constructor(env) { var _a; this.refs = {}; this.dynamicAnchors = {}; let schema; if (typeof env.schema == "object") schema = env.schema; this.schema = env.schema; this.schemaId = env.schemaId; this.root = env.root || this;...
1,285,320
eaf1d96fd96ea45d18098065e2affd92
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-27/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
SchemaEnv::constructor
function
constructor(env) { var _a; this.refs = {}; this.dynamicAnchors = {}; let schema; if (typeof env.schema == "object") schema = env.schema; this.schema = env.schema; this.schemaId = env.schemaId; this.root = env.root || this; this.baseId =...
1,285,321
a74e2111c29a067ff4128501569b944d
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=145-149/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
inlineOrCompile
function
function inlineOrCompile(sch) { if ((0, resolve_1.inlineRef)(sch.schema, this.opts.inlineRefs)) return sch.schema; return sch.validate ? sch : compileSchema.call(this, sch); }
1,285,322
4e0d3075e14c52499d2f13c3d5e5cca3
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=127-143/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
resolveRef
function
function resolveRef(root, baseId, ref) { var _a; ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref); const schOrFunc = root.refs[ref]; if (schOrFunc) return schOrFunc; let _sch = resolve.call(this, root, ref); if (_sch === undefined) { const schema = (_a = root.l...
1,285,323
0a1a79cb122d8215bb674154993863df
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-156/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
getCompilingSchema
function
// Index of schema compilation in the currently compiled list function getCompilingSchema(schEnv) { for (const sch of this._compilations) { if (sameSchemaEnv(sch, schEnv)) return sch; } }
1,285,324
18485faa524c14daa22a07a15de1b387
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-125/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
compileSchema
function
// let codeSize = 0 // let nodeCount = 0 // Compiles schema in SchemaEnv function compileSchema(sch) { // TODO refactor - remove compilations const _sch = getCompilingSchema.call(this, sch); if (_sch) return _sch; const rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId);...
1,285,325
3ebe50d99aa2502d0829d8de8725199c
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=158-160/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
sameSchemaEnv
function
function sameSchemaEnv(s1, s2) { return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId; }
1,285,326
caae0ba3625e6b1ab6edebc5d8eb643c
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=161-170/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
resolve
function
// resolve and compile the references ($ref) // TODO returns AnySchemaObject (if the schema can be inlined) or validation function function resolve(root, // information about the root schema for the current schema ref // reference to resolve ) { let sch; while (typeof (sch = this.refs[ref]) == "string") ...
1,285,327
0e6e8ab3b4a6652d9d14f7b4b1c2cb6e
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=171-203/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
resolveSchema
function
// Resolve schema, its root and baseId function resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it ref // reference to resolve ) { const p = this.opts.uriResolver.parse(ref); const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p); let baseId...
1,285,328
55fb5e243232f9d478e311c32783db6c
swh:1:cnt:9e42a55880d77f51c4b21c92bee27a88b98cac4d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=212-241/
d11f6d0ed4cf48b94927f0aa0259f88d2ba628e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/index.js
getJsonPointer
function
function getJsonPointer(parsedRef, { baseId, schema, root }) { var _a; if (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== "/") return; for (const part of parsedRef.fragment.slice(1).split("/")) { if (typeof schema === "boolean") return; const p...
1,285,329
25927c9583d0ed9d7e59a39b6de809bf
swh:1:cnt:43374439e5908ab68ef9926a3a85451426b452f0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-6/
5bccabca04a617fc0174ee27ad0c95ce7d48ded4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/ref_error.d.ts
MissingRefError
type
class MissingRefError extends Error { readonly missingRef: string; readonly missingSchema: string; constructor(resolver: UriResolver, baseId: string, ref: string, msg?: string); }
1,285,330
c62b31b9fc9d4b45b03ceb2d4e4f1295
swh:1:cnt:3916dec8a369a8df657b94c9e79d41a588c805fe;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-10/
4d5376c9a562f9a167f632abfe88c2698a42f04b
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/ref_error.js
MissingRefError
type
class MissingRefError extends Error { constructor(resolver, baseId, ref, msg) { super(msg || `can't resolve reference ${ref} from id ${baseId}`); this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref); this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(res...
1,285,331
07e21139f1f3d68b7ac49bab294d8d60
swh:1:cnt:3916dec8a369a8df657b94c9e79d41a588c805fe;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-9/
4d5376c9a562f9a167f632abfe88c2698a42f04b
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/ref_error.js
MissingRefError::constructor
function
constructor(resolver, baseId, ref, msg) { super(msg || `can't resolve reference ${ref} from id ${baseId}`); this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref); this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef)); }
1,285,332
fcc1f0a388adac899d8d1054a742bbe3
swh:1:cnt:3c20fffcb76a1e6479fad2b9c4d653a8641c2b54;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-6/
63f7b175e0f46e37ec8fc00acb015035581aeda4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.d.ts
LocalRefs
type
type LocalRefs = { [Ref in string]?: AnySchemaObject; };
1,285,333
fafe3a1cbbb154591359a19f95bc54ba
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-34/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
inlineRef
function
function inlineRef(schema, limit = true) { if (typeof schema == "boolean") return true; if (limit === true) return !hasRef(schema); if (!limit) return false; return countKeys(schema) <= limit; }
1,285,334
6a19ccb29a1e67b9d9092d3f8d033010
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-76/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
getFullPath
function
function getFullPath(resolver, id = "", normalize) { if (normalize !== false) id = normalizeId(id); const p = resolver.parse(id); return _getFullPath(resolver, p); }
1,285,335
d7bab036626a57ff931cdf8b25bdd49c
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-81/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
_getFullPath
function
function _getFullPath(resolver, p) { const serialized = resolver.serialize(p); return serialized.split("#")[0] + "#"; }
1,285,336
ee2fff6ff9e4fdeb01d44d00859c7f77
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-70/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
countKeys
function
function countKeys(schema) { let count = 0; for (const key in schema) { if (key === "$ref") return Infinity; count++; if (SIMPLE_INLINED.has(key)) continue; if (typeof schema[key] == "object") { (0, util_1.eachItem)(schema[key], (sch) => (count...
1,285,337
05fdc70123d85d50d4a8b747b0888184
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=43-54/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
hasRef
function
function hasRef(schema) { for (const key in schema) { if (REF_KEYWORDS.has(key)) return true; const sch = schema[key]; if (Array.isArray(sch) && sch.some(hasRef)) return true; if (typeof sch == "object" && hasRef(sch)) return true; } return...
1,285,338
c6ea239cbd74e1a3b8735cfb3de3ae14
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-86/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
normalizeId
function
function normalizeId(id) { return id ? id.replace(TRAILING_SLASH_HASH, "") : ""; }
1,285,339
498ea159f2ae747e0d80a7ab51fcef04
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-91/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
resolveUrl
function
function resolveUrl(resolver, baseId, id) { id = normalizeId(id); return resolver.resolve(baseId, id); }
1,285,340
7afce06f321b6bc209e5914b2273e3e3
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-153/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
getSchemaRefs
function
function getSchemaRefs(schema, baseId) { if (typeof schema == "boolean") return {}; const { schemaId, uriResolver } = this.opts; const schId = normalizeId(schema[schemaId] || baseId); const baseIds = { "": schId }; const pathPrefix = getFullPath(uriResolver, schId, false); const localRef...
1,285,341
249ffcf349ba0bce8ef828fb5ac10601
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=113-136/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
getSchemaRefs::addRef
function
function addRef(ref) { // eslint-disable-next-line @typescript-eslint/unbound-method const _resolve = this.opts.uriResolver.resolve; ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref); if (schemaRefs.has(ref)) throw ambiguos(ref); ...
1,285,342
b77c3c10fe4cfbae56a3d41c16fcdbfe
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=137-143/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
getSchemaRefs::addAnchor
function
function addAnchor(anchor) { if (typeof anchor == "string") { if (!ANCHOR.test(anchor)) throw new Error(`invalid anchor "${anchor}"`); addRef.call(this, `#${anchor}`); } }
1,285,343
4a2781bf560df84bf0958d2c13641ac1
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-152/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
getSchemaRefs::ambiguos
function
function ambiguos(ref) { return new Error(`reference "${ref}" resolves to more than one schema`); }
1,285,344
6b5fb28d5b8d6b128a9c272929860405
swh:1:cnt:f12f968dc07d94a435186b32108551f4d429f23a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=146-149/
ccddd7e9c6130692d9526b2d39aa01325bc20d32
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/resolve.js
getSchemaRefs::checkAmbiguosRef
function
function checkAmbiguosRef(sch1, sch2, ref) { if (sch2 !== undefined && !equal(sch1, sch2)) throw ambiguos(ref); }
1,285,345
eda862269c2db636a4b7f76883b06831
swh:1:cnt:51ec46ab34151cf34fbbbba1b438f2b06b3f7ce2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-3/
08dda6e7fa1764e9eba97ca8547c00dace92c6aa
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.d.ts
JSONType
type
type JSONType = (typeof _jsonTypes)[number];
1,285,346
9221d06cb5b575ac07f2697e8599c9ee
swh:1:cnt:51ec46ab34151cf34fbbbba1b438f2b06b3f7ce2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-26/
08dda6e7fa1764e9eba97ca8547c00dace92c6aa
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.d.ts
Rule
type
interface Rule { keyword: string; definition: AddedKeywordDefinition; }
1,285,347
94b512262336bf2ec6982b23f85db91c
swh:1:cnt:51ec46ab34151cf34fbbbba1b438f2b06b3f7ce2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-22/
08dda6e7fa1764e9eba97ca8547c00dace92c6aa
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.d.ts
RuleGroup
type
interface RuleGroup { type?: JSONType; rules: Rule[]; }
1,285,348
9ed6aafe94413f990a4ea2d9bcad73fa
swh:1:cnt:51ec46ab34151cf34fbbbba1b438f2b06b3f7ce2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-7/
08dda6e7fa1764e9eba97ca8547c00dace92c6aa
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.d.ts
ValidationTypes
type
type ValidationTypes = { [K in JSONType]: boolean | RuleGroup | undefined; };
1,285,349
68a24ed489f71cea84cd7584260dbbb6
swh:1:cnt:51ec46ab34151cf34fbbbba1b438f2b06b3f7ce2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-18/
08dda6e7fa1764e9eba97ca8547c00dace92c6aa
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.d.ts
ValidationRules
type
interface ValidationRules { rules: RuleGroup[]; post: RuleGroup; all: { [Key in string]?: boolean | Rule; }; keywords: { [Key in string]?: boolean; }; types: ValidationTypes; }
1,285,350
ca56e724f3319b689d4d90583775ce79
swh:1:cnt:82a591ff4dbdd8cec80b533c6df9854403162f29;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-8/
b6dca9fb250dc5a1a3e85d3df64148f695f09cc5
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.js
isJSONType
function
function isJSONType(x) { return typeof x == "string" && jsonTypes.has(x); }
1,285,351
0ca9f267d728161e6ceecc2ccf1a1b5f
swh:1:cnt:82a591ff4dbdd8cec80b533c6df9854403162f29;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-24/
b6dca9fb250dc5a1a3e85d3df64148f695f09cc5
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/rules.js
getRules
function
function getRules() { const groups = { number: { type: "number", rules: [] }, string: { type: "string", rules: [] }, array: { type: "array", rules: [] }, object: { type: "object", rules: [] }, }; return { types: { ...groups, integer: true, boolean: true, null: true },...
1,285,352
87427311cd8ceecaea65f7f9c151feb4
swh:1:cnt:1ec282aee87956ea05a6f552adbcc25e5d0e9b3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-20/
74218dbcf643918157ebae8b9678811a6232853f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.d.ts
SomeEvaluated
type
type SomeEvaluated = EvaluatedProperties | EvaluatedItems;
1,285,353
0d260bf34e0e494111912231b3eadb31
swh:1:cnt:1ec282aee87956ea05a6f552adbcc25e5d0e9b3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-21/
74218dbcf643918157ebae8b9678811a6232853f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.d.ts
MergeEvaluatedFunc
type
type MergeEvaluatedFunc<T extends SomeEvaluated> = (gen: CodeGen, from: Name | T, to: Name | Exclude<T, true> | undefined, toName?: typeof Name) => Name | T;
1,285,354
0a4ac2fc42fa1d984b37c47c8182f6f6
swh:1:cnt:1ec282aee87956ea05a6f552adbcc25e5d0e9b3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-25/
74218dbcf643918157ebae8b9678811a6232853f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.d.ts
MergeEvaluated
type
interface MergeEvaluated { props: MergeEvaluatedFunc<EvaluatedProperties>; items: MergeEvaluatedFunc<EvaluatedItems>; }
1,285,355
fd016440962c0d34e9403a201c18fef2
swh:1:cnt:1ec282aee87956ea05a6f552adbcc25e5d0e9b3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-37/
74218dbcf643918157ebae8b9678811a6232853f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.d.ts
Type
type
enum Type { Num = 0, Str = 1 }
1,285,356
c1449d7afc249cc0519c0ce53d589e9b
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-12/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
toHash
function
// TODO refactor to use Set function toHash(arr) { const hash = {}; for (const item of arr) hash[item] = true; return hash; }
1,285,357
829fa6e2e9d3a931ef14c397b123b1a7
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-52/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
schemaHasRulesButRef
function
function schemaHasRulesButRef(schema, RULES) { if (typeof schema == "boolean") return !schema; for (const key in schema) if (key !== "$ref" && RULES.all[key]) return true; return false; }
1,285,358
87748b9dad7e64712ab9d52d595ca214
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-43/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
schemaHasRules
function
function schemaHasRules(schema, rules) { if (typeof schema == "boolean") return !schema; for (const key in schema) if (rules[key]) return true; return false; }
1,285,359
1999e4bd417d950fa2aea4cb7c508526
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-34/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
checkUnknownRules
function
function checkUnknownRules(it, schema = it.schema) { const { opts, self } = it; if (!opts.strictSchema) return; if (typeof schema === "boolean") return; const rules = self.RULES.keywords; for (const key in schema) { if (!rules[key]) checkStrictMode(it, `unknown ke...
1,285,360
42dc1c98066824fe5ea1588c1f8041e0
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-21/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
alwaysValidSchema
function
function alwaysValidSchema(it, schema) { if (typeof schema == "boolean") return schema; if (Object.keys(schema).length === 0) return true; checkUnknownRules(it, schema); return !schemaHasRules(schema, it.self.RULES.all); }
1,285,361
210dfcb45034076f7d6a071beb48b666
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-62/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
schemaRefOrVal
function
function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) { if (!$data) { if (typeof schema == "number" || typeof schema == "boolean") return schema; if (typeof schema == "string") return (0, codegen_1._) `${schema}`; } return (0, codegen_1._) `${t...
1,285,362
a42ee7cd9f391addddba3e7caf2a0aca
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=64-66/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
unescapeFragment
function
function unescapeFragment(str) { return unescapeJsonPointer(decodeURIComponent(str)); }
1,285,363
50351ef640c1dada8bf98f72b6ab7751
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-70/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
escapeFragment
function
function escapeFragment(str) { return encodeURIComponent(escapeJsonPointer(str)); }
1,285,364
a28c170b3adf218940dc9b5f61a234d7
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-76/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
escapeJsonPointer
function
function escapeJsonPointer(str) { if (typeof str == "number") return `${str}`; return str.replace(/~/g, "~0").replace(/\//g, "~1"); }
1,285,365
e50166dd10fedbf4bd132f7644c7604c
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-80/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
unescapeJsonPointer
function
function unescapeJsonPointer(str) { return str.replace(/~1/g, "/").replace(/~0/g, "~"); }
1,285,366
584867e10f2da7c7f822ed5d5211d5bb
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-90/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
eachItem
function
function eachItem(xs, f) { if (Array.isArray(xs)) { for (const x of xs) f(x); } else { f(xs); } }
1,285,367
19f12e2f977b6cea8c7f8b5df4ce1084
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-103/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
makeMergeEvaluated
function
function makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName, }) { return (gen, from, to, toName) => { const res = to === undefined ? from : to instanceof codegen_1.Name ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(ge...
1,285,368
f4578de78c9203467573510d3e21772d
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-135/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
evaluatedPropsToName
function
function evaluatedPropsToName(gen, ps) { if (ps === true) return gen.var("props", true); const props = gen.var("props", (0, codegen_1._) `{}`); if (ps !== undefined) setEvaluated(gen, props, ps); return props; }
1,285,369
6866edb89ca6102c43ddabc3c16fc028
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=137-139/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
setEvaluated
function
function setEvaluated(gen, props, ps) { Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._) `${props}${(0, codegen_1.getProperty)(p)}`, true)); }
1,285,370
1c3625381d834248e58a07d4dbd3b783
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=154-167/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
getErrorPath
function
function getErrorPath(dataProp, dataPropType, jsPropertySyntax) { // let path if (dataProp instanceof codegen_1.Name) { const isNumber = dataPropType === Type.Num; return jsPropertySyntax ? isNumber ? (0, codegen_1._) `"[" + ${dataProp} + "]"` : (0, co...
1,285,371
4f87804aed059603a4658537a4076aa1
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=169-176/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
checkStrictMode
function
function checkStrictMode(it, msg, mode = it.opts.strictSchema) { if (!mode) return; msg = `strict mode: ${msg}`; if (mode === true) throw new Error(msg); it.self.logger.warn(msg); }
1,285,372
19b126f4e85251bea2266c04f8194936
swh:1:cnt:73c87c854d2a8f61483e7a15ba186f81e72d1bc4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=142-147/
d72e5e0f8c5bf3852b3f6256f03cabe5e76b9b0c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/util.js
useFunc
function
function useFunc(gen, f) { return gen.scopeValue("func", { ref: f, code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code)), }); }
1,285,373
9627f182362cfed8566dfa162523df38
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-14/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
Name
type
class Name extends _CodeOrName { readonly str: string; constructor(s: string); toString(): string; emptyStr(): boolean; get names(): UsedNames; }
1,285,374
189721d930fefe4330c1fbb7ab0b36f2
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-24/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
_Code
type
class _Code extends _CodeOrName { readonly _items: readonly CodeItem[]; private _str?; private _names?; constructor(code: string | readonly CodeItem[]); toString(): string; emptyStr(): boolean; get str(): string; get names(): UsedNames; }
1,285,375
9c371b30d60c27d1687a2075312e1a95
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-25/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
CodeItem
type
type CodeItem = Name | string | number | boolean | null;
1,285,376
e933311e7382d694e3d8e518ccdda54b
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-26/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
UsedNames
type
type UsedNames = Record<string, number | undefined>;
1,285,377
49e253ae8e89928b38341260745ed182
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-27/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
Code
type
type Code = _Code | Name;
1,285,378
eb5cb6ddeea789901d1ac8d8186d950a
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-28/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
SafeExpr
type
type SafeExpr = Code | number | boolean | null;
1,285,379
e5f10f9e51565c303a2db31280711b75
swh:1:cnt:a0220ad7648c57f5ef2838b251e1280910efe591;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-30/
8c0baf2d3bd0a6725a36ab705543bdde1afe99da
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.d.ts
CodeArg
type
type CodeArg = SafeExpr | string | undefined;
1,285,380
f10bb0d3aa98062da61fa8745c6d8963
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-6/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_CodeOrName
type
// eslint-disable-next-line @typescript-eslint/no-extraneous-class class _CodeOrName { }
1,285,381
00c5cc45644bcddcf4b60806899746e4
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-25/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
Name
type
class Name extends _CodeOrName { constructor(s) { super(); if (!exports.IDENTIFIER.test(s)) throw new Error("CodeGen: name must be a valid identifier"); this.str = s; } toString() { return this.str; } emptyStr() { return false; } get names(...
1,285,382
e2926a07e39e4ee179faeba5ab87cb05
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-53/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_Code
type
class _Code extends _CodeOrName { constructor(code) { super(); this._items = typeof code === "string" ? [code] : code; } toString() { return this.str; } emptyStr() { if (this._items.length > 1) return false; const item = this._items[0]; ret...
1,285,383
c9c15d51beffc2d73a3044accb3f25be
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-86/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
addCodeArg
function
function addCodeArg(code, arg) { if (arg instanceof _Code) code.push(...arg._items); else if (arg instanceof Name) code.push(arg); else code.push(interpolate(arg)); }
1,285,384
6f93c8b87fbcc2e8920cafc1d843a49d
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=134-138/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
safeStringify
function
function safeStringify(x) { return JSON.stringify(x) .replace(/\u2028/g, "\\u2028") .replace(/\u2029/g, "\\u2029"); }
1,285,385
9786daad4d2985460fe11c632c6b7ff7
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=144-150/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
getEsmExportName
function
//Does best effort to format the name properly function getEsmExportName(key) { if (typeof key == "string" && exports.IDENTIFIER.test(key)) { return new _Code(`${key}`); } throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); }
1,285,386
37c64a4c06c26c4151d75219b5e17afa
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-15/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
Name::constructor
function
constructor(s) { super(); if (!exports.IDENTIFIER.test(s)) throw new Error("CodeGen: name must be a valid identifier"); this.str = s; }
1,285,387
a70cffcd63c232cab46451892aa91292
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-21/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
Name::emptyStr
function
emptyStr() { return false; }
1,285,388
d44a3849d054bf7c61a43f332013a85a
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-34/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_Code::toString
function
toString() { return this.str; }
1,285,389
32479e1b8410302c1303d1d6a00e35ff
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-64/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_
function
function _(strs, ...args) { const code = [strs[0]]; let i = 0; while (i < args.length) { addCodeArg(code, args[i]); code.push(strs[++i]); } return new _Code(code); }
1,285,390
36343b77df5c195e7199a79202ceb2bb
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-77/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
str
function
function str(strs, ...args) { const expr = [safeStringify(strs[0])]; let i = 0; while (i < args.length) { expr.push(plus); addCodeArg(expr, args[i]); expr.push(plus, safeStringify(strs[++i])); } optimize(expr); return new _Code(expr); }
1,285,391
a8865828cd7adf7687f828e80f91a2b3
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=124-129/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
interpolate
function
// TODO do not allow arrays here function interpolate(x) { return typeof x == "number" || typeof x == "boolean" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(",") : x); }
1,285,392
b488f72d5d5ce81d6fddccee4f09575f
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-31/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_Code::constructor
function
constructor(code) { super(); this._items = typeof code === "string" ? [code] : code; }
1,285,393
4fba883b687a8845576741f5c1cac2fc
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-40/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_Code::emptyStr
function
emptyStr() { if (this._items.length > 1) return false; const item = this._items[0]; return item === "" || item === '""'; }
1,285,394
9e55d5cd857375d0b54815e9d1e37587
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-52/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
_Code::names
function
get names() { var _a; return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { if (c instanceof Name) names[c.str] = (names[c.str] || 0) + 1; return names; }, {}))); }
1,285,395
b59ef80511cfeed03d7d814dac06a414
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=140-142/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
getProperty
function
function getProperty(key) { return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; }
1,285,396
25c02f15815e234955b382c30f1e0d4a
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-101/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
optimize
function
function optimize(expr) { let i = 1; while (i < expr.length - 1) { if (expr[i] === plus) { const res = mergeExprItems(expr[i - 1], expr[i + 1]); if (res !== undefined) { expr.splice(i - 1, 3, res); continue; } expr[i++] = "+...
1,285,397
d49268cb404372290c248ee3d00dff2c
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-119/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
mergeExprItems
function
function mergeExprItems(a, b) { if (b === '""') return a; if (a === '""') return b; if (typeof a == "string") { if (b instanceof Name || a[a.length - 1] !== '"') return; if (typeof b != "string") return `${a.slice(0, -1)}${b}"`; if (b[0] === '"...
1,285,398
6e756513fee5ac009d8ce2dd118ba271
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-24/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
Name::names
function
get names() { return { [this.str]: 1 }; }
1,285,399
d44a3849d054bf7c61a43f332013a85a
swh:1:cnt:f9ea5259a70b0e2517885fe9504f8abb9603e7c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-18/
7545415752913c3d8b182942e8ae5120be64ae9c
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/code.js
Name::toString
function
toString() { return this.str; }