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,200 | da9444cb8bac3b042442f10678ad9fcd | swh:1:cnt:1266c75aa8323760dd821cfe7835b6ce0e311422;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=106-113/ | ffc8583f6222bc10e16fc59e0fd21eb748b51490 | wlbdashboard | wmcs | node_modules/workbox-build/build/lib/validate-options.js | validateGenerateSWOptions | function | function validateGenerateSWOptions(input) {
const [validatedOptions, jsonSchema] = validate(input, 'GenerateSW');
ensureValidNavigationPreloadConfig(validatedOptions);
ensureValidCacheExpiration(validatedOptions);
ensureValidRuntimeCachingOrGlobDirectory(validatedOptions);
ensureValidStringHandler(v... |
1,285,201 | 87a7d14ae7e0e7e935a49d9bfada45ee | swh:1:cnt:1266c75aa8323760dd821cfe7835b6ce0e311422;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=115-118/ | ffc8583f6222bc10e16fc59e0fd21eb748b51490 | wlbdashboard | wmcs | node_modules/workbox-build/build/lib/validate-options.js | validateGetManifestOptions | function | function validateGetManifestOptions(input) {
const [validatedOptions] = validate(input, 'GetManifest');
return validatedOptions;
} |
1,285,202 | e71aaa01a8f69ed63a534a9a1364b7ba | swh:1:cnt:1266c75aa8323760dd821cfe7835b6ce0e311422;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=120-123/ | ffc8583f6222bc10e16fc59e0fd21eb748b51490 | wlbdashboard | wmcs | node_modules/workbox-build/build/lib/validate-options.js | validateInjectManifestOptions | function | function validateInjectManifestOptions(input) {
const [validatedOptions] = validate(input, 'InjectManifest');
return validatedOptions;
} |
1,285,203 | 8e2e464c76bb2346c5536681e26a3d00 | swh:1:cnt:1266c75aa8323760dd821cfe7835b6ce0e311422;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=139-146/ | ffc8583f6222bc10e16fc59e0fd21eb748b51490 | wlbdashboard | wmcs | node_modules/workbox-build/build/lib/validate-options.js | validateWebpackInjectManifestOptions | function | function validateWebpackInjectManifestOptions(input) {
const inputWithExcludeDefault = Object.assign({
// Make a copy, as exclude can be mutated when used.
exclude: Array.from(DEFAULT_EXCLUDE_VALUE),
}, input);
const [validatedOptions] = validate(inputWithExcludeDefault, 'WebpackInjectManife... |
1,285,204 | be789dc02b85f037fd889d3f3754bf68 | swh:1:cnt:1266c75aa8323760dd821cfe7835b6ce0e311422;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=125-137/ | ffc8583f6222bc10e16fc59e0fd21eb748b51490 | wlbdashboard | wmcs | node_modules/workbox-build/build/lib/validate-options.js | validateWebpackGenerateSWOptions | function | // The default `exclude: [/\.map$/, /^manifest.*\.js$/]` value can't be
// represented in the JSON schema, so manually set it for the webpack options.
function validateWebpackGenerateSWOptions(input) {
const inputWithExcludeDefault = Object.assign({
// Make a copy, as exclude can be mutated when used.
... |
1,285,205 | 16b2385b84513ca44492d8e00a6bee0e | swh:1:cnt:77b34c843d4188fa2adb2573819d1a4ec2ebc055;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-70/ | 30de454f8210616f7c525c636a4018127e10b536 | wlbdashboard | wmcs | node_modules/workbox-build/build/lib/write-sw-using-default-template.js | writeSWUsingDefaultTemplate | function | async function writeSWUsingDefaultTemplate({ babelPresetEnvTargets, cacheId, cleanupOutdatedCaches, clientsClaim, directoryIndex, disableDevLogs, ignoreURLParametersMatching, importScripts, inlineWorkboxRuntime, manifestEntries, mode, navigateFallback, navigateFallbackDenylist, navigateFallbackAllowlist, navigationPrel... |
1,285,206 | d1d84d9ed0ae0ce94c98d08cd61ed624 | swh:1:cnt:bc958ae9e729398540fd95e2d73894aa6fa42c43;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-5/ | 93d99bc0b65451db798757e66e6c358e5563af93 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/better-ajv-errors.cjs.development.js | _interopDefault | function | function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } |
1,285,207 | 8c07f328404565608fdd5a65905f66ed | swh:1:cnt:bc958ae9e729398540fd95e2d73894aa6fa42c43;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-26/ | 93d99bc0b65451db798757e66e6c358e5563af93 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/better-ajv-errors.cjs.development.js | _extends | function | function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
re... |
1,285,208 | de343fc340622b9bc614500624a7aee8 | swh:1:cnt:4822665cf665c9615bd3c864df01af574184d4ba;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | 4d858622a76f9507178d88e65f725a6d1fc7bbef | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/better-ajv-errors.cjs.production.min.js | e | function | function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e} |
1,285,209 | 8e2b260146b7942d17699c506a461f69 | swh:1:cnt:4822665cf665c9615bd3c864df01af574184d4ba;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | 4d858622a76f9507178d88e65f725a6d1fc7bbef | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/better-ajv-errors.cjs.production.min.js | a | function | function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)} |
1,285,210 | 8c07f328404565608fdd5a65905f66ed | swh:1:cnt:5dfcfdf4090c8cc6463072e69b44c1538d8652e3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-20/ | f7aee0f6bfecfda05b5ee91ba11603b3d8ed5f6f | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/better-ajv-errors.esm.js | _extends | function | function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
re... |
1,285,211 | b55aead36e0ad2d0a3a82b35cfa1db2c | swh:1:cnt:43907f0ef89e3b3cfd8e79c0d07a77c387d89d04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-8/ | 4ee64d357f6dd3e78a9ff50e87ab83840b21b93a | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/index.d.ts | BetterAjvErrorsOptions | type | interface BetterAjvErrorsOptions<S = any> {
errors: ErrorObject[] | null | undefined;
data: any;
schema: S;
basePath?: string;
} |
1,285,212 | f9671adc0b7d8ac12e39a7a11d92676d | swh:1:cnt:8e386e88965891d952a33acb5c2e12bca4f85679;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-10/ | 8f47fcc542e20573ead2762ac0b96f8b28514b8b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/dist/types/ValidationError.d.ts | ValidationError | type | interface ValidationError {
message: string;
path: string;
suggestion?: string;
context: {
errorType: DefinedError['keyword'];
[additionalContext: string]: unknown;
};
} |
1,285,213 | baf8428e8832e5fcb9655006b4cb9f36 | swh:1:cnt:bd53d69077038c353a5a8b339dc38ed76480f1fb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-12/ | 370c84fa22231139fb86516b7e2e97794e8f1481 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/src/index.ts | BetterAjvErrorsOptions | type | interface BetterAjvErrorsOptions<S = any> {
errors: ErrorObject[] | null | undefined;
data: any;
schema: S;
basePath?: string;
} |
1,285,214 | 38b7e512dbde18719f22b1e343246e3c | swh:1:cnt:8f8e4c3a46a6f0900ce52f0607f222a853b683d9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-11/ | 6e40631a5f610a9308b8dd38da7b3d7d252141b3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/@apideck/better-ajv-errors/src/types/ValidationError.ts | ValidationError | type | interface ValidationError {
message: string;
path: string;
suggestion?: string;
context: {
errorType: DefinedError['keyword'];
[additionalContext: string]: unknown;
};
} |
1,285,215 | af4669b0db7bb4e813e9d070cbe48f8c | swh:1:cnt:0d578d5d51e51a3e03b8a69f0eea05c3a3d8913a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-23/ | 63215333f16c53961917db6696182850a8fb33f2 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/.runkit_example.js | test | function | function test(data) {
const valid = validate(data)
if (valid) console.log("Valid!")
else console.log("Invalid: " + ajv.errorsText(validate.errors))
} |
1,285,216 | 76d8c4219ff1b573c737a43b65bc07f7 | swh:1:cnt:e835e2b27aabeef769edf00ec4d6bae06fcbf0cc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-8/ | 68f3e03c4dd0417565e9863c6e413e66e340aa4c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2019.d.ts | Ajv2019 | type | class Ajv2019 extends AjvCore {
constructor(opts?: Options);
_addVocabularies(): void;
_addDefaultMetaSchema(): void;
defaultMeta(): string | AnySchemaObject | undefined;
} |
1,285,217 | d071e5d90bdc654488ed63060ac42669 | swh:1:cnt:bad415cc2cc55ebd392e59f9988e00f9af65325f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-42/ | 8ff04b8f7537eb8fb5774bdc2fc171d9ebcd7335 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2019.js | Ajv2019 | type | class Ajv2019 extends core_1.default {
constructor(opts = {}) {
super({
...opts,
dynamicRef: true,
next: true,
unevaluated: true,
});
}
_addVocabularies() {
super._addVocabularies();
this.addVocabulary(dynamic_1.default);
... |
1,285,218 | f9f33084b1f3b72a4e3efa131e4153f2 | swh:1:cnt:bad415cc2cc55ebd392e59f9988e00f9af65325f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-20/ | 8ff04b8f7537eb8fb5774bdc2fc171d9ebcd7335 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2019.js | Ajv2019::constructor | function | constructor(opts = {}) {
super({
...opts,
dynamicRef: true,
next: true,
unevaluated: true,
});
} |
1,285,219 | 115825154aeedc1121afa0a4e8f5106b | swh:1:cnt:bad415cc2cc55ebd392e59f9988e00f9af65325f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-37/ | 8ff04b8f7537eb8fb5774bdc2fc171d9ebcd7335 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2019.js | Ajv2019::_addDefaultMetaSchema | function | _addDefaultMetaSchema() {
super._addDefaultMetaSchema();
const { $data, meta } = this.opts;
if (!meta)
return;
json_schema_2019_09_1.default.call(this, $data);
this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
} |
1,285,220 | b41c1ee852deeeae2f887fe67cadab7a | swh:1:cnt:bad415cc2cc55ebd392e59f9988e00f9af65325f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-29/ | 8ff04b8f7537eb8fb5774bdc2fc171d9ebcd7335 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2019.js | Ajv2019::_addVocabularies | function | _addVocabularies() {
super._addVocabularies();
this.addVocabulary(dynamic_1.default);
draft7_1.default.forEach((v) => this.addVocabulary(v));
this.addVocabulary(next_1.default);
this.addVocabulary(unevaluated_1.default);
if (this.opts.discriminator)
this.addKe... |
1,285,221 | 0a7d748a5fec376fb705135eba553200 | swh:1:cnt:bad415cc2cc55ebd392e59f9988e00f9af65325f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-41/ | 8ff04b8f7537eb8fb5774bdc2fc171d9ebcd7335 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2019.js | Ajv2019::defaultMeta | function | defaultMeta() {
return (this.opts.defaultMeta =
super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
} |
1,285,222 | 19ae3b469ef14509ce1e8805c5e8c3a0 | swh:1:cnt:2e56c8fcfc1e5867a46ba93ae39a0d75566868d2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-8/ | 69060ac3b3aab2bbf8f70319db92734585f95e98 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2020.d.ts | Ajv2020 | type | class Ajv2020 extends AjvCore {
constructor(opts?: Options);
_addVocabularies(): void;
_addDefaultMetaSchema(): void;
defaultMeta(): string | AnySchemaObject | undefined;
} |
1,285,223 | 58c708dc10b0baa1626cdf2b05a3d676 | swh:1:cnt:b3fe71cb83414dab13fba69b1ce6526426ac038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-36/ | d2ddc05fbea801bb970068c19713b626dc7041e7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2020.js | Ajv2020 | type | class Ajv2020 extends core_1.default {
constructor(opts = {}) {
super({
...opts,
dynamicRef: true,
next: true,
unevaluated: true,
});
}
_addVocabularies() {
super._addVocabularies();
draft2020_1.default.forEach((v) => this.addVo... |
1,285,224 | f9f33084b1f3b72a4e3efa131e4153f2 | swh:1:cnt:b3fe71cb83414dab13fba69b1ce6526426ac038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-17/ | d2ddc05fbea801bb970068c19713b626dc7041e7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2020.js | Ajv2020::constructor | function | constructor(opts = {}) {
super({
...opts,
dynamicRef: true,
next: true,
unevaluated: true,
});
} |
1,285,225 | 0a7d748a5fec376fb705135eba553200 | swh:1:cnt:b3fe71cb83414dab13fba69b1ce6526426ac038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-35/ | d2ddc05fbea801bb970068c19713b626dc7041e7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2020.js | Ajv2020::defaultMeta | function | defaultMeta() {
return (this.opts.defaultMeta =
super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
} |
1,285,226 | 86697b16c8939be744f8cfb359bad584 | swh:1:cnt:b3fe71cb83414dab13fba69b1ce6526426ac038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-23/ | d2ddc05fbea801bb970068c19713b626dc7041e7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2020.js | Ajv2020::_addVocabularies | function | _addVocabularies() {
super._addVocabularies();
draft2020_1.default.forEach((v) => this.addVocabulary(v));
if (this.opts.discriminator)
this.addKeyword(discriminator_1.default);
} |
1,285,227 | b9fd62b369e89a7de34245b736914b49 | swh:1:cnt:b3fe71cb83414dab13fba69b1ce6526426ac038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-31/ | d2ddc05fbea801bb970068c19713b626dc7041e7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/2020.js | Ajv2020::_addDefaultMetaSchema | function | _addDefaultMetaSchema() {
super._addDefaultMetaSchema();
const { $data, meta } = this.opts;
if (!meta)
return;
json_schema_2020_12_1.default.call(this, $data);
this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
} |
1,285,228 | 31eeffb2a6a2a73289193347570603a3 | swh:1:cnt:fce3b03b8600efd7109ef5a535911967e617d58a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-7/ | b3cb09038c4d5429605fac92bc2be3e713dc5f2a | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/ajv.d.ts | Ajv | type | class Ajv extends AjvCore {
_addVocabularies(): void;
_addDefaultMetaSchema(): void;
defaultMeta(): string | AnySchemaObject | undefined;
} |
1,285,229 | 57e0f87d0ed29ca145b83eb31df973f9 | swh:1:cnt:8eecf1bea7979d28682960a45abb1af0e90e6708;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-31/ | 08bbd576a98f75edef38fe36619cb21ef16bb842 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/ajv.js | Ajv | type | class Ajv extends core_1.default {
_addVocabularies() {
super._addVocabularies();
draft7_1.default.forEach((v) => this.addVocabulary(v));
if (this.opts.discriminator)
this.addKeyword(discriminator_1.default);
}
_addDefaultMetaSchema() {
super._addDefaultMetaSchema... |
1,285,230 | 3ae1448405b206ddc498512e2aad80b3 | swh:1:cnt:8eecf1bea7979d28682960a45abb1af0e90e6708;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-16/ | 08bbd576a98f75edef38fe36619cb21ef16bb842 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/ajv.js | Ajv::_addVocabularies | function | _addVocabularies() {
super._addVocabularies();
draft7_1.default.forEach((v) => this.addVocabulary(v));
if (this.opts.discriminator)
this.addKeyword(discriminator_1.default);
} |
1,285,231 | 0a7d748a5fec376fb705135eba553200 | swh:1:cnt:8eecf1bea7979d28682960a45abb1af0e90e6708;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-30/ | 08bbd576a98f75edef38fe36619cb21ef16bb842 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/ajv.js | Ajv::defaultMeta | function | defaultMeta() {
return (this.opts.defaultMeta =
super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
} |
1,285,232 | 69cd6cb95657aa877b079e4437c758b0 | swh:1:cnt:8eecf1bea7979d28682960a45abb1af0e90e6708;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-26/ | 08bbd576a98f75edef38fe36619cb21ef16bb842 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/ajv.js | Ajv::_addDefaultMetaSchema | function | _addDefaultMetaSchema() {
super._addDefaultMetaSchema();
if (!this.opts.meta)
return;
const metaSchema = this.opts.$data
? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA)
: draft7MetaSchema;
this.addMetaSchema(metaSchema, META_SCHEMA_ID, fals... |
1,285,233 | c0f47f60c633b2a91c5ddc77fc527bab | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-6/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | Plugin | type | interface Plugin<Opts> {
(ajv: Ajv, options?: Opts): Ajv;
[prop: string]: any;
} |
1,285,234 | d6ce004bcdb80f0c9889d6f500820c77 | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-87/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | InstanceCodeOptions | type | interface InstanceCodeOptions extends CodeOptions {
regExp: RegExpEngine;
optimize: number;
} |
1,285,235 | 91dc2d7b16ad52a79dc09da3fb340b2c | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-21/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | Options | type | type Options = CurrentOptions & DeprecatedOptions; |
1,285,236 | 13c69a5b1501aea906b450ef1cc5c8f5 | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-73/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | CurrentOptions | type | interface CurrentOptions {
strict?: boolean | "log";
strictSchema?: boolean | "log";
strictNumbers?: boolean | "log";
strictTypes?: boolean | "log";
strictTuples?: boolean | "log";
strictRequired?: boolean | "log";
allowMatchingProperties?: boolean;
allowUnionTypes?: boolean;
validat... |
1,285,237 | 8f4f0ee64a25da222429156fe7ad3021 | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=74-83/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | CodeOptions | type | interface CodeOptions {
es5?: boolean;
esm?: boolean;
lines?: boolean;
optimize?: boolean | number;
formats?: Code;
source?: boolean;
process?: (code: string, schema?: SchemaEnv) => string;
regExp?: RegExpEngine;
} |
1,285,238 | b6646347f8bafd4a4153fc6a9e7ffbd0 | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-95/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | DeprecatedOptions | type | interface DeprecatedOptions {
/** @deprecated */
ignoreKeywordsWithRef?: boolean;
/** @deprecated */
jsPropertySyntax?: boolean;
/** @deprecated */
unicode?: boolean;
} |
1,285,239 | 5aa3dcac18f6494243c448557baa4b1e | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=96-100/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | RequiredInstanceOptions | type | type RequiredInstanceOptions = {
[K in "strictSchema" | "strictNumbers" | "strictTypes" | "strictTuples" | "strictRequired" | "inlineRefs" | "loopRequired" | "loopEnum" | "meta" | "messages" | "schemaId" | "addUsedSchema" | "validateSchema" | "validateFormats" | "int32range" | "unicodeRegExp" | "uriResolver"]: NonN... |
1,285,240 | 3b74055d83f5d0a9b4f5da72df63b14e | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=101-101/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | InstanceOptions | type | type InstanceOptions = Options & RequiredInstanceOptions; |
1,285,241 | d4113990505e2bc1c35d4b721021161d | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-106/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | Logger | type | interface Logger {
log(...args: unknown[]): unknown;
warn(...args: unknown[]): unknown;
error(...args: unknown[]): unknown;
} |
1,285,242 | 86cd721c8a82e3378d8277001109aec3 | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=107-170/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | Ajv | type | class Ajv {
opts: InstanceOptions;
errors?: ErrorObject[] | null;
logger: Logger;
readonly scope: ValueScope;
readonly schemas: {
[Key in string]?: SchemaEnv;
};
readonly refs: {
[Ref in string]?: SchemaEnv | string;
};
readonly formats: {
[Name in string]?: A... |
1,285,243 | b85950adef053809ed97ca86e10f1e8c | swh:1:cnt:ca9fd49c1ef9c6093fea73a72345fc3854b4ef3a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=171-174/ | 02a694c5308e95f7c7a4e5407cce404e75744827 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.d.ts | ErrorsTextOptions | type | interface ErrorsTextOptions {
separator?: string;
dataVar?: string;
} |
1,285,244 | 758d25750085c5ef22824307d0b5183c | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=64-92/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | requiredOptions | function | // eslint-disable-next-line complexity
function requiredOptions(o) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
const s = o.strict;
const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
const optimize = _optz === true |... |
1,285,245 | 6097e983b43ad5bf17bd96117c744ea8 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=178-189/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync::_compileAsync | function | async function _compileAsync(sch) {
try {
return this._compileSchemaEnv(sch);
}
catch (e) {
if (!(e instanceof ref_error_1.default))
throw e;
checkLoaded.call(this, e);
await loadMissingSchema.call(th... |
1,285,246 | 9fcdd969210f6eadc4d18c2f5da76458 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=326-331/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::addVocabulary | function | // add "vocabulary" - a collection of keywords
addVocabulary(definitions) {
for (const def of definitions)
this.addKeyword(def);
return this;
} |
1,285,247 | 6cd53e20af87cd7f7bce52777c1e1fe6 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=392-400/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::errorsText | function | errorsText(errors = this.errors, // optional array of validation errors
{ separator = ", ", dataVar = "data" } = {} // optional options with properties `separator` and `dataVar`
) {
if (!errors || errors.length === 0)
return "No errors";
return errors
.map((e) => `${dataV... |
1,285,248 | 94dea5eb63197f5e5070fbbf77263e3f | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=464-468/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_checkUnique | function | _checkUnique(id) {
if (this.schemas[id] || this.refs[id]) {
throw new Error(`schema with key or id "${id}" already exists`);
}
} |
1,285,249 | 066a438e03c0b7355c930e797ae05ac1 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=479-488/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_compileMetaSchema | function | _compileMetaSchema(sch) {
const currentOpts = this.opts;
this.opts = this._metaOpts;
try {
compile_1.compileSchema.call(this, sch);
}
finally {
this.opts = currentOpts;
}
} |
1,285,250 | bbcdca327eecdb5868b16ca0105722ad | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=493-499/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | checkOptions | function | function checkOptions(checkOpts, options, msg, log = "error") {
for (const key in checkOpts) {
const opt = key;
if (opt in options)
this.logger[log](`${msg}: option ${key}. ${checkOpts[opt]}`);
}
} |
1,285,251 | e36233ecebbc84693baebd2929857e06 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=500-503/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | getSchEnv | function | function getSchEnv(keyRef) {
keyRef = (0, resolve_1.normalizeId)(keyRef); // TODO tests fail without this line
return this.schemas[keyRef] || this.refs[keyRef];
} |
1,285,252 | b1a24f4ff9f84d2f64c5d87c200d90aa | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=534-539/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | getMetaSchemaOptions | function | function getMetaSchemaOptions() {
const metaOpts = { ...this.opts };
for (const opt of META_IGNORE_OPTIONS)
delete metaOpts[opt];
return metaOpts;
} |
1,285,253 | 9c4607eca9825ef6f5b2ee7effc5ef66 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=540-540/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | warn | function | warn() { } |
1,285,254 | abfbd7dd3fe913a81fcca1892dc130c4 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=332-367/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::addKeyword | function | addKeyword(kwdOrDef, def // deprecated
) {
let keyword;
if (typeof kwdOrDef == "string") {
keyword = kwdOrDef;
if (typeof def == "object") {
this.logger.warn("these parameters are deprecated, see docs for addKeyword");
def.keyword = keyword;
... |
1,285,255 | 666d1a7100c8c6be3755dcf3ed70afac | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=540-540/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | error | function | error() { } |
1,285,256 | d9b414be93b52c918c2ffbcd7c89cf66 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=594-603/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | addBeforeRule | function | function addBeforeRule(ruleGroup, rule, before) {
const i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
if (i >= 0) {
ruleGroup.rules.splice(i, 0, rule);
}
else {
ruleGroup.rules.push(rule);
this.logger.warn(`rule ${before} is not defined`);
}
} |
1,285,257 | 4f6a66f09ba686da5c00785432a9d488 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=372-384/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::removeKeyword | function | // Remove keyword
removeKeyword(keyword) {
// TODO return type should be Ajv
const { RULES } = this;
delete RULES.keywords[keyword];
delete RULES.all[keyword];
for (const group of RULES.rules) {
const i = group.rules.findIndex((rule) => rule.keyword === keyword);
... |
1,285,258 | fac18b0ac561384a63f2e04f1d20d7c6 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=125-135/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_addDefaultMetaSchema | function | _addDefaultMetaSchema() {
const { $data, meta, schemaId } = this.opts;
let _dataRefSchema = $dataRefSchema;
if (schemaId === "id") {
_dataRefSchema = { ...$dataRefSchema };
_dataRefSchema.id = _dataRefSchema.$id;
delete _dataRefSchema.$id;
}
if... |
1,285,259 | 93bf49209d42a9258eae900fa9e6c632 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=136-139/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::defaultMeta | function | defaultMeta() {
const { meta, schemaId } = this.opts;
return (this.opts.defaultMeta = typeof meta == "object" ? meta[schemaId] || meta : undefined);
} |
1,285,260 | a9b4d8168f8bf7191e64d585f5be6550 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=158-161/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compile | function | compile(schema, _meta) {
const sch = this._addSchema(schema, _meta);
return (sch.validate || this._compileSchemaEnv(sch));
} |
1,285,261 | 5769ebc88c7cd49c95cc762ad59aed65 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=173-177/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync::loadMetaSchema | function | async function loadMetaSchema($ref) {
if ($ref && !this.getSchema($ref)) {
await runCompileAsync.call(this, { $ref }, true);
}
} |
1,285,262 | afdf2d7b8af3e9ef70486187defc202c | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=238-245/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::addMetaSchema | function | // Add schema that will be used to validate other schemas
// options in META_IGNORE_OPTIONS are alway set to false
addMetaSchema(schema, key, // schema key
_validateSchema = this.opts.validateSchema // false to skip schema validation, can be used to override validateSchema option for meta-schema
) {
... |
1,285,263 | ef849a57ecf5aa97f604a8c615f6874f | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=271-286/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::getSchema | function | // Get compiled schema by `key` or `ref`.
// (`key` that was passed to `addSchema` or full schema reference - `schema.$id` or resolved id)
getSchema(keyRef) {
let sch;
while (typeof (sch = getSchEnv.call(this, keyRef)) == "string")
keyRef = sch;
if (sch === undefined) {
... |
1,285,264 | fefedd5cc105072f60f007318b7ffa3b | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=190-194/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync::checkLoaded | function | function checkLoaded({ missingSchema: ref, missingRef }) {
if (this.refs[ref]) {
throw new Error(`AnySchema ${ref} is loaded but ${missingRef} cannot be resolved`);
}
} |
1,285,265 | d870187557cc1fd4bc071fa1c6cafa5a | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=195-201/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync::loadMissingSchema | function | async function loadMissingSchema(ref) {
const _schema = await _loadSchema.call(this, ref);
if (!this.refs[ref])
await loadMetaSchema.call(this, _schema.$schema);
if (!this.refs[ref])
this.addSchema(_schema, ref, meta);
} |
1,285,266 | 24543639a6ec5f95125e57e6eb01883d | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=202-212/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync::_loadSchema | function | async function _loadSchema(ref) {
const p = this._loading[ref];
if (p)
return p;
try {
return await (this._loading[ref] = loadSchema(ref));
}
finally {
delete this._loading[ref];
}
} |
1,285,267 | 8e8dab719ba9029c4b920ba18e22aa96 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=214-237/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::addSchema | function | // Adds schema to the instance
addSchema(schema, // If array is passed, `key` will be ignored
key, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
_meta, // true if schema is a meta-schema. Used internally,... |
1,285,268 | cc354edf3047eebc1f918a39655aeb56 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=541-549/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | getLogger | function | function getLogger(logger) {
if (logger === false)
return noLogs;
if (logger === undefined)
return console;
if (logger.log && logger.warn && logger.error)
return logger;
throw new Error("logger must implement log, warn and error methods");
} |
1,285,269 | 7b868429d484e41a0f6e67feeed89453 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=604-611/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | keywordMetaschema | function | function keywordMetaschema(def) {
let { metaSchema } = def;
if (metaSchema === undefined)
return;
if (def.$data && this.opts.$data)
metaSchema = schemaOrData(metaSchema);
def.validateSchema = this.compile(metaSchema, true);
} |
1,285,270 | d44230061781e7286a0c984c27d31b75 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=421-434/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_removeAllSchemas | function | _removeAllSchemas(schemas, regex) {
for (const keyRef in schemas) {
const sch = schemas[keyRef];
if (!regex || regex.test(keyRef)) {
if (typeof sch == "string") {
delete schemas[keyRef];
}
else if (sch && !sch.meta) {
... |
1,285,271 | 347f13a9750911c7029b4b7dc78f0557 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=514-520/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | addInitialFormats | function | function addInitialFormats() {
for (const name in this.opts.formats) {
const format = this.opts.formats[name];
if (format)
this.addFormat(name, format);
}
} |
1,285,272 | dd806246b0ffa19dc5adcc95cdb0e26e | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=122-124/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_addVocabularies | function | _addVocabularies() {
this.addKeyword("$async");
} |
1,285,273 | 58f998f8063e0f9905eb06a8dfe173c4 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=140-157/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::validate | function | validate(schemaKeyRef, // key, ref or schema object
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
data // to be validated
) {
let v;
if (typeof schemaKeyRef == "string") {
v = this.getSchema(schemaKeyRef);
if (!v)
throw ... |
1,285,274 | 471a9392948c9f5bb35e6aacb5520a6d | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=162-213/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync | function | compileAsync(schema, meta) {
if (typeof this.opts.loadSchema != "function") {
throw new Error("options.loadSchema should be a function");
}
const { loadSchema } = this.opts;
return runCompileAsync.call(this, schema, meta);
async function runCompileAsync(_schema, _meta... |
1,285,275 | 5001ba44f4f36e8f3d0bd273854138ee | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=168-172/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::compileAsync::runCompileAsync | function | async function runCompileAsync(_schema, _meta) {
await loadMetaSchema.call(this, _schema.$schema);
const sch = this._addSchema(_schema, _meta);
return sch.validate || _compileAsync.call(this, sch);
} |
1,285,276 | ab8f4fef770402a5083ff3a9ba02daa6 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=385-391/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::addFormat | function | // Add format
addFormat(name, format) {
if (typeof format == "string")
format = new RegExp(format);
this.formats[name] = format;
return this;
} |
1,285,277 | 643f6bfda66d1d1b24718e8d14408a81 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=565-593/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | addRule | function | function addRule(keyword, definition, dataType) {
var _a;
const post = definition === null || definition === void 0 ? void 0 : definition.post;
if (dataType && post)
throw new Error('keyword with "post" flag cannot have "type"');
const { RULES } = this;
let ruleGroup = post ? RULES.post : RU... |
1,285,278 | 8d1fc15cd0436a2efc321206a73ea83f | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=435-463/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_addSchema | function | _addSchema(schema, meta, baseId, validateSchema = this.opts.validateSchema, addSchema = this.opts.addUsedSchema) {
let id;
const { schemaId } = this.opts;
if (typeof schema == "object") {
id = schema[schemaId];
}
else {
if (this.opts.jtd)
t... |
1,285,279 | 1a6a7fa907ed3d8f26fca9e66bed254e | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=368-371/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::getKeyword | function | getKeyword(keyword) {
const rule = this.RULES.all[keyword];
return typeof rule == "object" ? rule.definition : !!rule;
} |
1,285,280 | 587c4d009d92c02e2720f634e4f28dba | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=504-513/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | addInitialSchemas | function | function addInitialSchemas() {
const optsSchemas = this.opts.schemas;
if (!optsSchemas)
return;
if (Array.isArray(optsSchemas))
this.addSchema(optsSchemas);
else
for (const key in optsSchemas)
this.addSchema(optsSchemas[key], key);
} |
1,285,281 | 76f0809262b660e081632806e33d66c9 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-121/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::constructor | function | constructor(opts = {}) {
this.schemas = {};
this.refs = {};
this.formats = {};
this._compilations = new Set();
this._loading = {};
this._cache = new Map();
opts = this.opts = { ...opts, ...requiredOptions(opts) };
const { es5, lines } = this.opts.code;
... |
1,285,282 | 3bdef02a1a5d40d9391e60cffce16ba2 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=246-270/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::validateSchema | function | // Validate schema against its meta-schema
validateSchema(schema, throwOrLogError) {
if (typeof schema == "boolean")
return true;
let $schema;
$schema = schema.$schema;
if ($schema !== undefined && typeof $schema != "string") {
throw new Error("$schema must b... |
1,285,283 | 12e23ae312568394edece4877b512bd6 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=287-325/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::removeSchema | function | // Remove cached schema(s).
// If no parameter is passed all schemas but meta-schemas are removed.
// If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.
// Even if schema is referenced by other schemas it still can be removed as other schemas have local references.
... |
1,285,284 | dc0b8c240c1cf1461dfe0301b6c704e4 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=401-420/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::$dataMetaSchema | function | $dataMetaSchema(metaSchema, keywordsJsonPointers) {
const rules = this.RULES.all;
metaSchema = JSON.parse(JSON.stringify(metaSchema));
for (const jsonPointer of keywordsJsonPointers) {
const segments = jsonPointer.split("/").slice(1); // first segment is an empty string
l... |
1,285,285 | 6c4b8a77c964b072a0e28eb87b7f8db4 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=469-478/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv::_compileSchemaEnv | function | _compileSchemaEnv(sch) {
if (sch.meta)
this._compileMetaSchema(sch);
else
compile_1.compileSchema.call(this, sch);
/* istanbul ignore if */
if (!sch.validate)
throw new Error("ajv implementation error");
return sch.validate;
} |
1,285,286 | 04a4a94c784cb01e23d4a13a4cf10f4c | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=521-533/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | addInitialKeywords | function | function addInitialKeywords(defs) {
if (Array.isArray(defs)) {
this.addVocabulary(defs);
return;
}
this.logger.warn("keywords option as map is deprecated, pass array");
for (const keyword in defs) {
const def = defs[keyword];
if (!def.keyword)
def.keyword = ke... |
1,285,287 | 7fec2532675df7dbf33df63de60fcb15 | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=551-564/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | checkKeyword | function | function checkKeyword(keyword, def) {
const { RULES } = this;
(0, util_1.eachItem)(keyword, (kwd) => {
if (RULES.keywords[kwd])
throw new Error(`Keyword ${kwd} is already defined`);
if (!KEYWORD_NAME.test(kwd))
throw new Error(`Keyword ${kwd} has invalid name`);
});
... |
1,285,288 | 136a23bd84a6dc1d9a0a070e1a2ce8eb | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=615-617/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | schemaOrData | function | function schemaOrData(schema) {
return { anyOf: [schema, $dataRef] };
} |
1,285,289 | d21660a5ed2b8dbd559ed26d1285fd6a | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=540-540/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | log | function | log() { } |
1,285,290 | 72ffa8bc3431b372574997d04727dd5f | swh:1:cnt:7e30c83af91b622a2740478f5624531660c4ed83;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=93-489/ | 0e2a2859a3813ea74f5d2a203113c1daba9b8028 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/core.js | Ajv | type | class Ajv {
constructor(opts = {}) {
this.schemas = {};
this.refs = {};
this.formats = {};
this._compilations = new Set();
this._loading = {};
this._cache = new Map();
opts = this.opts = { ...opts, ...requiredOptions(opts) };
const { es5, lines } = thi... |
1,285,291 | c8d5f31014437a1e90833da893cb1f45 | swh:1:cnt:a079ba4b1b14da29cf210e9f85f670c6e681b85e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-24/ | 878efa3805dbb4abdd4ddd541daea113024d6760 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.d.ts | JTDOptions | type | type JTDOptions = CurrentOptions & {
strict?: never;
allowMatchingProperties?: never;
allowUnionTypes?: never;
validateFormats?: never;
$data?: never;
verbose?: boolean;
$comment?: never;
formats?: never;
loadSchema?: never;
useDefaults?: never;
coerceTypes?: never;
next?... |
1,285,292 | 1274ed5e2c8ebd426bf3feb31dd4f593 | swh:1:cnt:a079ba4b1b14da29cf210e9f85f670c6e681b85e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-36/ | 878efa3805dbb4abdd4ddd541daea113024d6760 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.d.ts | Ajv | type | class Ajv extends AjvCore {
constructor(opts?: JTDOptions);
_addVocabularies(): void;
_addDefaultMetaSchema(): void;
defaultMeta(): string | AnySchemaObject | undefined;
compileSerializer<T = unknown>(schema: SchemaObject): (data: T) => string;
compileSerializer<T = unknown>(schema: JTDSchemaTyp... |
1,285,293 | 74b85dd5545550337c97802be3f23d63 | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-53/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv | type | class Ajv extends core_1.default {
constructor(opts = {}) {
super({
...opts,
jtd: true,
});
}
_addVocabularies() {
super._addVocabularies();
this.addVocabulary(jtd_1.default);
}
_addDefaultMetaSchema() {
super._addDefaultMetaSchema();
... |
1,285,294 | 11093bdffa46902a37b9cd8b6df2677e | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-16/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv::constructor | function | constructor(opts = {}) {
super({
...opts,
jtd: true,
});
} |
1,285,295 | 0a7d748a5fec376fb705135eba553200 | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-30/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv::defaultMeta | function | defaultMeta() {
return (this.opts.defaultMeta =
super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
} |
1,285,296 | 38f43b6e9c33f83d2316a74014022526 | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-34/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv::compileSerializer | function | compileSerializer(schema) {
const sch = this._addSchema(schema);
return sch.serialize || this._compileSerializer(sch);
} |
1,285,297 | 6062e4724bb975a6a868ab0317dc26c8 | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-20/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv::_addVocabularies | function | _addVocabularies() {
super._addVocabularies();
this.addVocabulary(jtd_1.default);
} |
1,285,298 | 03dec8cc21a04a65a9ac34acb48f047d | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-26/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv::_addDefaultMetaSchema | function | _addDefaultMetaSchema() {
super._addDefaultMetaSchema();
if (!this.opts.meta)
return;
this.addMetaSchema(jtd_schema_1.default, META_SCHEMA_ID, false);
} |
1,285,299 | f7840f0e5a6dbc3adc26c1e76863d16a | swh:1:cnt:1a3baaf2e3d22043b646b0bde93e05bb0c4ba40a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-38/ | b3926f03d9aadcccb2ebcaebf76fd9a1ed5b65a7 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/ajv/dist/jtd.js | Ajv::compileParser | function | compileParser(schema) {
const sch = this._addSchema(schema);
return (sch.parse || this._compileParser(sch));
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.