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,282,900
1812a30371cac89619c8c30b08c278a7
swh:1:cnt:9f1612bdc541059503ae89e348908f40cc8ad184;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-20/
209a9ed9e000223311e7f0d65e9ffe3d6f530de9
wlbdashboard
wmcs
node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js
SystemContextRuntimeModule::generate
function
/** * @returns {string | null} runtime code */ generate() { return `${RuntimeGlobals.systemContext} = __system_context__;`; }
1,282,901
db1de8fe18c6891ae09b19c10471eb67
swh:1:cnt:8a7841845d6b6d17f69c78f6aebeececb01701dc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-70/
639fcfa2f50fa42cf7e25284588ae3eee515cb61
wlbdashboard
wmcs
node_modules/webpack/lib/runtime/ToBinaryRuntimeModule.js
ToBinaryRuntimeModule
type
/** @typedef {import("../Compilation")} Compilation */ class ToBinaryRuntimeModule extends RuntimeModule { constructor() { super("to binary"); } /** * @returns {string | null} runtime code */ generate() { const compilation = /** @type {Compilation} */ (this.compilation); const fn = RuntimeGlobals.toBina...
1,282,902
6413e84cb8285d46e86c99c40a183176
swh:1:cnt:8a7841845d6b6d17f69c78f6aebeececb01701dc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-17/
639fcfa2f50fa42cf7e25284588ae3eee515cb61
wlbdashboard
wmcs
node_modules/webpack/lib/runtime/ToBinaryRuntimeModule.js
ToBinaryRuntimeModule::constructor
function
constructor() { super("to binary"); }
1,282,903
08a1f8e271dd30dad13506d71bf65528
swh:1:cnt:8a7841845d6b6d17f69c78f6aebeececb01701dc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-69/
639fcfa2f50fa42cf7e25284588ae3eee515cb61
wlbdashboard
wmcs
node_modules/webpack/lib/runtime/ToBinaryRuntimeModule.js
ToBinaryRuntimeModule::generate
function
/** * @returns {string | null} runtime code */ generate() { const compilation = /** @type {Compilation} */ (this.compilation); const fn = RuntimeGlobals.toBinary; const { runtimeTemplate } = compilation; // Inspired by esbuild const isNodePlatform = compilation.compiler.platform.node; const isWebPlat...
1,282,904
11d9ca271a795bd9cfb74651acd0825e
swh:1:cnt:8bfd701baebf4a940ecfc99b279c3c194357f47a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-45/
8bb22317ba84447068782203a6cea61590ee80a7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/DataUriPlugin.js
DataUriPlugin
type
class DataUriPlugin { /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap( PLUGIN_NAME, (compilation, { normalModuleFactory }) => { normalModuleFactory.hooks.resolveForScheme .for("data") .tap(PLU...
1,282,905
bbb31c60e4732c7553941abd1ba75d17
swh:1:cnt:8bfd701baebf4a940ecfc99b279c3c194357f47a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-44/
8bb22317ba84447068782203a6cea61590ee80a7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/DataUriPlugin.js
DataUriPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap( PLUGIN_NAME, (compilation, { normalModuleFactory }) => { normalModuleFactory.hooks.resolveForScheme .for("data") .tap(PLUGIN_NAME, (resourceData...
1,282,906
68d3419a59cd1808a337362feb8cc0ca
swh:1:cnt:90e239fa11fc0511bf5235a3c70150e4231ba172;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-52/
712b2e24558ce01a071f964e0e7ab4dc7fad6a81
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/FileUriPlugin.js
FileUriPlugin
type
class FileUriPlugin { /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap( PLUGIN_NAME, (compilation, { normalModuleFactory }) => { normalModuleFactory.hooks.resolveForScheme .for("file") .tap(PLU...
1,282,907
d275d348e4c46ccb7f01ec32e1715ada
swh:1:cnt:90e239fa11fc0511bf5235a3c70150e4231ba172;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-51/
712b2e24558ce01a071f964e0e7ab4dc7fad6a81
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/FileUriPlugin.js
FileUriPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap( PLUGIN_NAME, (compilation, { normalModuleFactory }) => { normalModuleFactory.hooks.resolveForScheme .for("file") .tap(PLUGIN_NAME, (resourceData...
1,282,908
5c8f04c2de09219a6a98a5989b7e2219
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=224-281/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
Lockfile
type
class Lockfile { constructor() { /** @type {number} */ this.version = 1; /** @type {Map<string, LockfileEntry | "ignore" | "no-cache">} */ this.entries = new Map(); } /** * @param {string} content content of the lockfile * @returns {Lockfile} lockfile */ static parse(content) { // TODO handle merge...
1,282,909
fcc6ab60cadbebdd12939db2a00d1df7
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=441-1417/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
HttpUriPlugin
type
class HttpUriPlugin { /** * @param {HttpUriPluginOptions} options options */ constructor(options) { /** @type {HttpUriPluginOptions} */ this.options = options; } /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.valida...
1,282,910
fbb4dfe9ce69e89d34a23a3a1d21e1c3
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=225-230/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
Lockfile::constructor
function
constructor() { /** @type {number} */ this.version = 1; /** @type {Map<string, LockfileEntry | "ignore" | "no-cache">} */ this.entries = new Map(); }
1,282,911
ae15249bb6001f755152e013a41cf2e4
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=259-280/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
Lockfile::toString
function
/** * @returns {string} stringified lockfile */ toString() { let str = "{\n"; const entries = [...this.entries].sort(([a], [b]) => (a < b ? -1 : 1)); for (const [key, entry] of entries) { if (typeof entry === "string") { str += ` ${JSON.stringify(key)}: ${JSON.stringify(entry)},\n`; } else { s...
1,282,912
f7642630469045ddab7b05a1221ab7dd
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=442-448/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
HttpUriPlugin::constructor
function
/** * @param {HttpUriPluginOptions} options options */ constructor(options) { /** @type {HttpUriPluginOptions} */ this.options = options; }
1,282,913
9d1cd3beacb316c5ebdf707e9da4545e
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=450-1416/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
HttpUriPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.validate.tap(PLUGIN_NAME, () => { compiler.validate( () => require("../../schemas/plugins/schemes/HttpUriPlugin.json"), this.options, { name: "Http Uri Plugin", ...
1,282,914
12faa3a934fc83be3ee2359b9a9c6dab
swh:1:cnt:0b263362c059499ca231a51cbddaba13f55273e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=232-257/
80f3ad6fcf1cbc06677f06425e91c904a945c800
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/HttpUriPlugin.js
Lockfile::parse
function
/** * @param {string} content content of the lockfile * @returns {Lockfile} lockfile */ static parse(content) { // TODO handle merge conflicts const data = JSON.parse(content); if (data.version !== 1) { throw new Error(`Unsupported lockfile version ${data.version}`); } const lockfile = new Lockfile(...
1,282,915
25129e775983ad94d2b470ad7b9f17d1
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-55/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
normalizeModule
function
/** * @typedef {import("../Compiler")} Compiler * @typedef {import("../../declarations/plugins/schemes/VirtualUrlPlugin").VirtualModule} VirtualModuleConfig * @typedef {import("../../declarations/plugins/schemes/VirtualUrlPlugin").VirtualModuleContent} VirtualModuleInput * @typedef {import("../../declarations/plugi...
1,282,916
4e8717e7539b01cb96e3a575d0d75959
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-90/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
fromVid
function
/** * Converts a virtual module id to a module id * @param {string} vid The virtual module id * @param {string} scheme The URL scheme * @returns {string} The module id */ function fromVid(vid, scheme) { return vid.replace(`${scheme}:`, ""); }
1,282,917
f1004ca31ccac4ebf4b15926b42abf9b
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=57-70/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
normalizeModules
function
/** @typedef {{ [key: string]: VirtualModuleConfig }} NormalizedModules */ /** * Normalizes all virtual modules with the given scheme * @param {VirtualModules} virtualConfigs The virtual modules to normalize * @param {string} scheme The URL scheme to use * @returns {NormalizedModules} The normalized virtual module...
1,282,918
ad76fc99401b04926cd121475a330262
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-80/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
toVid
function
/** * Converts a module id and scheme to a virtual module id * @param {string} id The module id * @param {string} scheme The URL scheme * @returns {string} The virtual module id */ function toVid(id, scheme) { return `${scheme}:${id}`; }
1,282,919
f3635a31ac2793cdffc0b99367941116
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-102/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
toCacheKey
function
/** * Converts a module id and scheme to a cache key * @param {string} id The module id * @param {string} scheme The URL scheme * @returns {string} The cache key */ function toCacheKey(id, scheme) { return `${VALUE_DEP_VERSION}/${toVid(id, scheme)}`; }
1,282,920
8cd2cf4b74af6c1fe74083f5807130eb
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=105-124/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
VirtualUrlPlugin::constructor
function
/** * @param {VirtualModules} modules The virtual modules * @param {Omit<VirtualUrlOptions, "modules"> | string=} schemeOrOptions The URL scheme to use */ constructor(modules, schemeOrOptions) { /** @type {VirtualUrlOptions} */ this.options = { modules, ...(typeof schemeOrOptions === "string" ? { s...
1,282,921
f42dce182aec24483b662cab0b90015b
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=126-261/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
VirtualUrlPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.validate.tap(PLUGIN_NAME, () => { compiler.validate( () => require("../../schemas/plugins/schemes/VirtualUrlPlugin.json"), this.options, { name: "Virtual Url Plu...
1,282,922
77d165a92ed705e30c1df05747c8473a
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=263-279/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
VirtualUrlPlugin::findVirtualModuleConfigById
function
/** * @param {string} id The module id * @returns {VirtualModuleConfig} The virtual module config */ findVirtualModuleConfigById(id) { const config = this.modules[id]; if (!config) { throw new ModuleNotFoundError( null, new Error(`Can't resolve virtual module ${id}`), { name: `virtual mod...
1,282,923
a3ac78bf47aadc5b9eed81cb6030929b
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=44-46/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
normalizeModule::source
function
source() { return virtualConfig; }
1,282,924
ef449b1e80a08cdcecfef4e4f803a61c
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=281-290/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
VirtualUrlPlugin::getCacheVersion
function
/** * Get the cache version for a given version value * @param {VersionFn | true | string} version The version value or function * @returns {string | undefined} The cache version */ getCacheVersion(version) { return version === true ? undefined : (typeof version === "function" ? version() : version) ||...
1,282,925
a1d5eec1f0620787c61156d677c8e4d6
swh:1:cnt:73b45c66443a6a4c9068c5cee9f8f551229e452c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=104-291/
0849e9a726683e8e122617d86a5b0f602f17d8c7
wlbdashboard
wmcs
node_modules/webpack/lib/schemes/VirtualUrlPlugin.js
VirtualUrlPlugin
type
class VirtualUrlPlugin { /** * @param {VirtualModules} modules The virtual modules * @param {Omit<VirtualUrlOptions, "modules"> | string=} schemeOrOptions The URL scheme to use */ constructor(modules, schemeOrOptions) { /** @type {VirtualUrlOptions} */ this.options = { modules, ...(typeof schemeOrOpti...
1,282,926
0e3307ccb970ea76691dc3dd0ae07a78
swh:1:cnt:796957fe6ef345a1da01426d304b59eac90e9c9d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-39/
7172f5f1e8374db0337bc56692fc8d931ee0340d
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/AggregateErrorSerializer.js
AggregateErrorSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ /** @typedef {Error & { cause?: unknown, errors: EXPECTED_ANY[] }} AggregateError */ class AggregateErrorSerializer { /** ...
1,282,927
7fe2447ff95b49381d3e1ea5c3a4acdd
swh:1:cnt:796957fe6ef345a1da01426d304b59eac90e9c9d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-22/
7172f5f1e8374db0337bc56692fc8d931ee0340d
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/AggregateErrorSerializer.js
AggregateErrorSerializer::serialize
function
/** * @param {AggregateError} obj error * @param {ObjectSerializerContext} context context */ serialize(obj, context) { context.write(obj.errors); context.write(obj.message); context.write(obj.stack); context.write(obj.cause); }
1,282,928
b9a00f0dfc724c030f4b002b2dc4ac82
swh:1:cnt:796957fe6ef345a1da01426d304b59eac90e9c9d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-38/
7172f5f1e8374db0337bc56692fc8d931ee0340d
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/AggregateErrorSerializer.js
AggregateErrorSerializer::deserialize
function
/** * @param {ObjectDeserializerContext} context context * @returns {AggregateError} error */ deserialize(context) { const errors = context.read(); // eslint-disable-next-line n/no-unsupported-features/es-builtins, n/no-unsupported-features/es-syntax, unicorn/error-message const err = new AggregateError(er...
1,282,929
aaa5e1defa900d2eda1d0ad0df167ff7
swh:1:cnt:021c82ca5d4941ae584cd6afb00497f404a56d05;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-36/
eead5b17b087ff5932c983b248af3964cf5b7e35
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ArraySerializer.js
ArraySerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ class ArraySerializer { /** * @template T * @param {T[]} array array * @param {ObjectSerializerContext} context contex...
1,282,930
673c529a88d13e926727fb3f1a68d707
swh:1:cnt:021c82ca5d4941ae584cd6afb00497f404a56d05;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-19/
eead5b17b087ff5932c983b248af3964cf5b7e35
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ArraySerializer.js
ArraySerializer::serialize
function
/** * @template T * @param {T[]} array array * @param {ObjectSerializerContext} context context */ serialize(array, context) { context.write(array.length); for (const item of array) context.write(item); }
1,282,931
c583895187d18e131523e7e04afedbf9
swh:1:cnt:021c82ca5d4941ae584cd6afb00497f404a56d05;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-35/
eead5b17b087ff5932c983b248af3964cf5b7e35
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ArraySerializer.js
ArraySerializer::deserialize
function
/** * @template T * @param {ObjectDeserializerContext} context context * @returns {T[]} array */ deserialize(context) { /** @type {number} */ const length = context.read(); /** @type {T[]} */ const array = []; for (let i = 0; i < length; i++) { array.push(context.read()); } return array; }
1,282,932
bc84003b0dcc39e07d401479df094371
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=138-1159/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware
type
/** @typedef {PrimitiveSerializableType[]} DeserializedType */ /** @typedef {BufferSerializableType[]} SerializedType} */ /** @typedef {{ retainedBuffer?: (x: Buffer) => Buffer }} Context} */ /** * @template LazyInputValue * @template LazyOutputValue * @typedef {import("./SerializerMiddleware").LazyFunction<LazyInp...
1,282,933
4c9dc2321f88796eba9e9a64b2ab54e0
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=152-159/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::serialize
function
/** * @param {DeserializedType} data data * @param {Context} context context object * @returns {SerializedType | Promise<SerializedType> | null} serialized data */ serialize(data, context) { return this._serialize(data, context); }
1,282,934
2fc8645c911057f62d9bd6534abbd29c
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=172-653/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::_serialize
function
/** * @param {DeserializedType} data data * @param {Context} context context object * @param {{ leftOverBuffer: Buffer | null, allocationSize: number, increaseCounter: number }} allocationScope allocation scope * @returns {SerializedType} serialized data */ _serialize( data, context, allocationScope = ...
1,282,935
9b194f2beec7eded7445910e3100ca7a
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=161-170/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::_serializeLazy
function
/** * @param {LazyFunction<DeserializedType, SerializedType>} fn lazy function * @param {Context} context serialize function * @returns {LazyFunction<SerializedType, DeserializedType>} new lazy */ _serializeLazy(fn, context) { return SerializerMiddleware.serializeLazy(fn, (data) => this._serialize(data, c...
1,282,936
f66a8c2f42790e23190d7f8f6165e53a
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=655-662/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::deserialize
function
/** * @param {SerializedType} data data * @param {Context} context context object * @returns {DeserializedType | Promise<DeserializedType>} deserialized data */ deserialize(data, context) { return this._deserialize(data, context); }
1,282,937
5b15530ab0b6083ed70a355e122b96ec
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=664-677/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::_createLazyDeserialized
function
/** * @private * @param {SerializedType} content content * @param {Context} context context object * @returns {LazyFunction<DeserializedType, SerializedType>} lazy function */ _createLazyDeserialized(content, context) { return SerializerMiddleware.createLazy( memoize(() => this._deserialize(content, con...
1,282,938
26c6f1210889c1393d9c18cf62a6df6f
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=679-689/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::_deserializeLazy
function
/** * @private * @param {LazyFunction<SerializedType, DeserializedType>} fn lazy function * @param {Context} context context object * @returns {LazyFunction<DeserializedType, SerializedType>} new lazy */ _deserializeLazy(fn, context) { return SerializerMiddleware.deserializeLazy(fn, (data) => this._dese...
1,282,939
6f0dbb9585a227480e84c9c9db1daac8
swh:1:cnt:a5116961c7d78180044b2cfd6049fa3746033ee6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=691-1158/
7a132be535903b977e377839702318c0de502974
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/BinaryMiddleware.js
BinaryMiddleware::_deserialize
function
/** * @param {SerializedType} data data * @param {Context} context context object * @returns {DeserializedType} deserialized data */ _deserialize(data, context) { let currentDataItem = 0; /** @type {BufferSerializableType | null} */ let currentBuffer = data[0]; let currentIsBuffer = Buffer.isBuffer(cur...
1,282,940
89ade35a60315d01b5a97cae04da819c
swh:1:cnt:c69ccfe8c7cb127c27f154e856a34d136f87b192;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-26/
1fcf62feb22762191b7812b736aaae467be4a2fd
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/DateObjectSerializer.js
DateObjectSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ class DateObjectSerializer { /** * @param {Date} obj date * @param {ObjectSerializerContext} context context */ seria...
1,282,941
a872c285b5559938074ba3126c6f865b
swh:1:cnt:c69ccfe8c7cb127c27f154e856a34d136f87b192;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-17/
1fcf62feb22762191b7812b736aaae467be4a2fd
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/DateObjectSerializer.js
DateObjectSerializer::serialize
function
/** * @param {Date} obj date * @param {ObjectSerializerContext} context context */ serialize(obj, context) { context.write(obj.getTime()); }
1,282,942
e9512a1cc5637742b98bfb0c6ea740e6
swh:1:cnt:c69ccfe8c7cb127c27f154e856a34d136f87b192;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-25/
1fcf62feb22762191b7812b736aaae467be4a2fd
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/DateObjectSerializer.js
DateObjectSerializer::deserialize
function
/** * @param {ObjectDeserializerContext} context context * @returns {Date} date */ deserialize(context) { return new Date(context.read()); }
1,282,943
d45a130917dd9e0219e0df1202adb903
swh:1:cnt:caf6192974e1a4c48466b94496be86848718fd8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-47/
f7669c524fe9b5d4a7e8a12e18263b284b8b92c4
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ErrorObjectSerializer.js
ErrorObjectSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ /** @typedef {Error & { cause?: unknown }} ErrorWithCause */ class ErrorObjectSerializer { /** * @param {ErrorConstructor...
1,282,944
20ea651202c784092183f74e4e2be1f1
swh:1:cnt:caf6192974e1a4c48466b94496be86848718fd8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-18/
f7669c524fe9b5d4a7e8a12e18263b284b8b92c4
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ErrorObjectSerializer.js
ErrorObjectSerializer::constructor
function
/** * @param {ErrorConstructor | EvalErrorConstructor | RangeErrorConstructor | ReferenceErrorConstructor | SyntaxErrorConstructor | TypeErrorConstructor} Type error type */ constructor(Type) { this.Type = Type; }
1,282,945
1cc321ad66647b47041c91378ee2b0ef
swh:1:cnt:caf6192974e1a4c48466b94496be86848718fd8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-46/
f7669c524fe9b5d4a7e8a12e18263b284b8b92c4
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ErrorObjectSerializer.js
ErrorObjectSerializer::deserialize
function
/** * @param {ObjectDeserializerContext} context context * @returns {Error | EvalError | RangeError | ReferenceError | SyntaxError | TypeError} error */ deserialize(context) { const err = new this.Type(); err.message = context.read(); err.stack = context.read(); /** @type {ErrorWithCause} */ (err).cau...
1,282,946
2a238a47a7000ab73671c98635d5f7a9
swh:1:cnt:caf6192974e1a4c48466b94496be86848718fd8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-31/
f7669c524fe9b5d4a7e8a12e18263b284b8b92c4
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ErrorObjectSerializer.js
ErrorObjectSerializer::serialize
function
/** * @param {Error | EvalError | RangeError | ReferenceError | SyntaxError | TypeError} obj error * @param {ObjectSerializerContext} context context */ serialize(obj, context) { context.write(obj.message); context.write(obj.stack); context.write( /** @type {ErrorWithCause} */ (obj).cause ); }
1,282,947
e2fe322207240af5899e005ef440a709
swh:1:cnt:9e087f6f8ef513ae2538a8d6673f8415e5d9d90f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=427-764/
b98d58be5c9304e312dd553979be4488d86f37fc
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/FileMiddleware.js
FileMiddleware
type
/** @typedef {BufferSerializableType[]} DeserializedType */ /** @typedef {true} SerializedType */ /** @typedef {{ filename: string, extension?: string }} Context */ /** * @extends {SerializerMiddleware<DeserializedType, SerializedType, Context>} */ class FileMiddleware extends SerializerMiddleware { /** * @param ...
1,282,948
42c59675c574de8d608c98eba65229e0
swh:1:cnt:9e087f6f8ef513ae2538a8d6673f8415e5d9d90f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=435-445/
b98d58be5c9304e312dd553979be4488d86f37fc
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/FileMiddleware.js
FileMiddleware::constructor
function
/** * @param {IntermediateFileSystem} fs filesystem * @param {HashFunction} hashFunction hash function to use */ constructor(fs, hashFunction = DEFAULTS.HASH_FUNCTION) { super(); /** @type {IntermediateFileSystem} */ this.fs = fs; /** @type {HashFunction} */ this._hashFunction = hashFunction; }
1,282,949
0d33aea4467b156d7e3293609a1ef067
swh:1:cnt:9e087f6f8ef513ae2538a8d6673f8415e5d9d90f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=447-609/
b98d58be5c9304e312dd553979be4488d86f37fc
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/FileMiddleware.js
FileMiddleware::serialize
function
/** * @param {DeserializedType} data data * @param {Context} context context object * @returns {SerializedType | Promise<SerializedType> | null} serialized data */ serialize(data, context) { const { filename, extension = "" } = context; return new Promise((resolve, reject) => { mkdirp(this.fs, dirname(t...
1,282,950
36f22c0362f7f4cb043a64ec1e3d9477
swh:1:cnt:9e087f6f8ef513ae2538a8d6673f8415e5d9d90f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=611-763/
b98d58be5c9304e312dd553979be4488d86f37fc
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/FileMiddleware.js
FileMiddleware::deserialize
function
/** * @param {SerializedType} data data * @param {Context} context context object * @returns {DeserializedType | Promise<DeserializedType>} deserialized data */ deserialize(data, context) { const { filename, extension = "" } = context; /** * @param {string | boolean} name name * @returns {Promise<Buf...
1,282,951
4c8083fd7a6147c8a563c0eb7bfcb3fe
swh:1:cnt:0b1f4182b9658db5dac466a8bd9b215ae3183c20;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-46/
8909f2cfc45fc61643f0511683d92b3ddb1e1a4b
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/MapObjectSerializer.js
MapObjectSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ class MapObjectSerializer { /** * @template K, V * @param {Map<K, V>} obj map * @param {ObjectSerializerContext} conte...
1,282,952
1b4b8cdb4b51b9d07542a79f74525fb9
swh:1:cnt:0b1f4182b9658db5dac466a8bd9b215ae3183c20;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-24/
8909f2cfc45fc61643f0511683d92b3ddb1e1a4b
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/MapObjectSerializer.js
MapObjectSerializer::serialize
function
/** * @template K, V * @param {Map<K, V>} obj map * @param {ObjectSerializerContext} context context */ serialize(obj, context) { context.write(obj.size); for (const key of obj.keys()) { context.write(key); } for (const value of obj.values()) { context.write(value); } }
1,282,953
c2d721635482c781f04d6d868fda3c4f
swh:1:cnt:0b1f4182b9658db5dac466a8bd9b215ae3183c20;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-45/
8909f2cfc45fc61643f0511683d92b3ddb1e1a4b
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/MapObjectSerializer.js
MapObjectSerializer::deserialize
function
/** * @template K, V * @param {ObjectDeserializerContext} context context * @returns {Map<K, V>} map */ deserialize(context) { /** @type {number} */ const size = context.read(); /** @type {Map<K, V>} */ const map = new Map(); /** @type {K[]} */ const keys = []; for (let i = 0; i < size; i++) { ...
1,282,954
01f9c449e72b6249f6f751d17a754e6b
swh:1:cnt:1416b4f2352f007aa292977bf47c8782f1ff97dd;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-51/
5e6906114fc8275b95ea60d426fa704dd8dfa4f5
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js
NullPrototypeObjectSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ /** @typedef {string[]} Keys */ class NullPrototypeObjectSerializer { /** * @template {object} T * @param {T} obj null ...
1,282,955
d3833f3ad79be1113355aa3fa21f284c
swh:1:cnt:1416b4f2352f007aa292977bf47c8782f1ff97dd;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-28/
5e6906114fc8275b95ea60d426fa704dd8dfa4f5
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js
NullPrototypeObjectSerializer::serialize
function
/** * @template {object} T * @param {T} obj null object * @param {ObjectSerializerContext} context context */ serialize(obj, context) { /** @type {Keys} */ const keys = Object.keys(obj); for (const key of keys) { context.write(key); } context.write(null); for (const key of keys) { context.wri...
1,282,956
a7fb5b6ee5169da2071c9084553e8d8e
swh:1:cnt:1416b4f2352f007aa292977bf47c8782f1ff97dd;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-50/
5e6906114fc8275b95ea60d426fa704dd8dfa4f5
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js
NullPrototypeObjectSerializer::deserialize
function
/** * @template {object} T * @param {ObjectDeserializerContext} context context * @returns {T} null object */ deserialize(context) { /** @type {T} */ const obj = Object.create(null); /** @type {Keys} */ const keys = []; /** @type {Keys[number] | null} */ let key = context.read(); while (key !== n...
1,282,957
c3e288891254fc977159e5ff4d5a709a
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=206-874/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware
type
/** @typedef {ComplexSerializableType[]} DeserializedType */ /** @typedef {PrimitiveSerializableType[]} SerializedType */ /** @typedef {{ logger: Logger }} Context */ /** @typedef {(context: ObjectSerializerContext | ObjectDeserializerContext) => void} ExtendContext */ /** * @extends {SerializerMiddleware<Deserializ...
1,282,958
089772a9910e83e5c1da5330b1d082fa
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=216-226/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::constructor
function
/** * @param {ExtendContext} extendContext context extensions * @param {HashFunction} hashFunction hash function to use */ constructor(extendContext, hashFunction = DEFAULTS.HASH_FUNCTION) { super(); /** @type {ExtendContext} */ this.extendContext = extendContext; /** @type {HashFunction} */ this._hash...
1,282,959
fb813c1f30d6a6a7bbe8d62e7e3ffc2e
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=268-280/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::registerNotSerializable
function
/** * @param {Constructor} Constructor the constructor * @returns {void} */ static registerNotSerializable(Constructor) { if (serializers.has(Constructor)) { throw new Error( `ObjectMiddleware.registerNotSerializable: serializer for ${Constructor.name} is already registered` ); } serializers.set...
1,282,960
7e209deaaf16e0265116c8c5e5827c2c
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=228-235/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::registerLoader
function
/** * @param {RegExp} regExp RegExp for which the request is tested * @param {(request: string) => boolean} loader loader to load the request, returns true when successful * @returns {void} */ static registerLoader(regExp, loader) { loaders.set(regExp, loader); }
1,282,961
2be9cc0061acc64e4e5345d0b1854e47
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=282-311/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::getSerializerFor
function
/** * @param {EXPECTED_ANY} object for serialization * @returns {SerializerConfigWithSerializer} Serializer config */ static getSerializerFor(object) { const proto = Object.getPrototypeOf(object); /** @type {null | Constructor} */ let c; if (proto === null) { // Object created with Object.create(null)...
1,282,962
62c5a0d61e8d86b268982a67e464200b
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=237-266/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::register
function
/** * @param {Constructor} Constructor the constructor * @param {string} request the request which will be required when deserializing * @param {string | null} name the name to make multiple serializer unique when sharing a request * @param {ObjectSerializer} serializer the serializer * @returns {void} */ ...
1,282,963
dfcda6ba858e1743c1216c88019c4201
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=313-327/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::getDeserializerFor
function
/** * @param {string} request request * @param {string} name name * @returns {ObjectSerializer} serializer */ static getDeserializerFor(request, name) { const key = `${request}/${name}`; const serializer = serializerInversed.get(key); if (serializer === undefined) { throw new Error(`No deserializer r...
1,282,964
5b0dc78653269299560de4034f71a89c
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=329-338/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::_getDeserializerForWithoutError
function
/** * @param {string} request request * @param {string} name name * @returns {ObjectSerializer | undefined} serializer */ static _getDeserializerForWithoutError(request, name) { const key = `${request}/${name}`; const serializer = serializerInversed.get(key); return serializer; }
1,282,965
2a653e5f38a04070f709137b63695922
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=340-681/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::serialize
function
/** * @param {DeserializedType} data data * @param {Context} context context object * @returns {SerializedType | Promise<SerializedType> | null} serialized data */ serialize(data, context) { /** @type {PrimitiveSerializableType[]} */ let result = [CURRENT_VERSION]; let currentPos = 0; /** @type {Map<Re...
1,282,966
d69e3a8fa846b3649b18a95624d53e2c
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=492-508/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::serialize::write
function
write(value) { try { process(value); } catch (err) { if (err !== NOT_SERIALIZABLE) { if (hasDebugInfoAttached === undefined) { hasDebugInfoAttached = new WeakSet(); } if (!hasDebugInfoAttached.has(/** @type {Error} */ (err))) { /** @type {Error} */ (err).message ...
1,282,967
3450e67b4b6ff16324546f710d991c41
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=509-511/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::serialize::setCircularReference
function
setCircularReference(ref) { addReferenceable(ref); }
1,282,968
41db4655bcac546b4d7afefacafb275b
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=512-521/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::serialize::snapshot
function
snapshot() { return { length: result.length, cycleStackSize: cycleStack.size, referenceableSize: referenceable.size, currentPos, objectTypeLookupSize: objectTypeLookup.size, currentPosTypeLookup }; }
1,282,969
feef812f78f12ebecb6b73a40d7919e3
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=522-529/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::serialize::rollback
function
rollback(snapshot) { result.length = snapshot.length; setSetSize(cycleStack, snapshot.cycleStackSize); setMapSize(referenceable, snapshot.referenceableSize); currentPos = snapshot.currentPos; setMapSize(objectTypeLookup, snapshot.objectTypeLookupSize); currentPosTypeLookup = snapshot.currentPosT...
1,282,970
cbe334b5c13e034a1308bfe14e45a5d4
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=719-721/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::deserialize::read
function
read() { return decodeValue(); }
1,282,971
3450e67b4b6ff16324546f710d991c41
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=722-724/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::deserialize::setCircularReference
function
setCircularReference(ref) { addReferenceable(ref); }
1,282,972
0beecb5d6f1b166ba2f1a44aee1809ba
swh:1:cnt:5f2bedd9d08bfc365d0235f8226b8e5af5c65460;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=683-873/
882f2f88bbb84b99f188bb795ec0138c3bc6b656
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/ObjectMiddleware.js
ObjectMiddleware::deserialize
function
/** * @param {SerializedType} data data * @param {Context} context context object * @returns {DeserializedType | Promise<DeserializedType>} deserialized data */ deserialize(data, context) { let currentDataPos = 0; const read = () => { if (currentDataPos >= data.length) { throw new Error("Unexpected ...
1,282,973
978737327c972aa65e8087e3ff38b042
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-50/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
ObjectStructure
type
/** * @template T */ class ObjectStructure { constructor() { /** @type {undefined | keyof T[]} */ this.keys = undefined; /** @type {undefined | Map<keyof T, ObjectStructure<T>>} */ this.children = undefined; } /** * @param {keyof T[]} keys keys * @returns {keyof T[]} keys */ getKeys(keys) { if (t...
1,282,974
589aa8ffc4bba60c70220ec0b0243723
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-117/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
PlainObjectSerializer
type
class PlainObjectSerializer { /** * @template {object} T * @param {T} obj plain object * @param {ObjectSerializerContext} context context */ serialize(obj, context) { const keys = /** @type {(keyof T)[]} */ (Object.keys(obj)); if (keys.length > 128) { // Objects with so many keys are unlikely to share ...
1,282,975
10624c0eba7b0aa9d80584c2955b97d7
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-27/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
ObjectStructure::constructor
function
constructor() { /** @type {undefined | keyof T[]} */ this.keys = undefined; /** @type {undefined | Map<keyof T, ObjectStructure<T>>} */ this.children = undefined; }
1,282,976
8ceb7d020ec3cc98bae24f6542795194
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-98/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
PlainObjectSerializer::serialize
function
/** * @template {object} T * @param {T} obj plain object * @param {ObjectSerializerContext} context context */ serialize(obj, context) { const keys = /** @type {(keyof T)[]} */ (Object.keys(obj)); if (keys.length > 128) { // Objects with so many keys are unlikely to share structure // with other obje...
1,282,977
fa11237973f3dacfddc06512ce30adfe
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=100-116/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
PlainObjectSerializer::deserialize
function
/** * @template {object} T * @param {ObjectDeserializerContext} context context * @returns {T} plain object */ deserialize(context) { const keys = context.read(); const obj = /** @type {T} */ ({}); if (Array.isArray(keys)) { for (const key of keys) { obj[/** @type {keyof T} */ (key)] = context.rea...
1,282,978
6648da6d77d57d5075a3122bd4b82b45
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-49/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
ObjectStructure::key
function
/** * @param {keyof T} key key * @returns {ObjectStructure<T>} object structure */ key(key) { if (this.children === undefined) this.children = new Map(); const child = this.children.get(key); if (child !== undefined) return child; const newChild = new ObjectStructure(); this.children.set(key, newChild)...
1,282,979
ca45be2481e2c5cae6455bcb8d9a2de7
swh:1:cnt:8c91d68b54b3e10e4a766102a56db160817c1106;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-36/
cf4139656779738de89cd3d65ac4be5f37078652
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/PlainObjectSerializer.js
ObjectStructure::getKeys
function
/** * @param {keyof T[]} keys keys * @returns {keyof T[]} keys */ getKeys(keys) { if (this.keys === undefined) this.keys = keys; return this.keys; }
1,282,980
0c04a3740ab41a82354cdf77f1e97cad
swh:1:cnt:5ac7eec5105e3cfa72cb4bbd9cee05fa9f63f99c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-27/
48f434c25efba7fbdac78bf2edcabfaf4215a417
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/RegExpObjectSerializer.js
RegExpObjectSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ class RegExpObjectSerializer { /** * @param {RegExp} obj regexp * @param {ObjectSerializerContext} context context */ ...
1,282,981
0dae3f7d97b2b67b5d27b977dc5aa515
swh:1:cnt:5ac7eec5105e3cfa72cb4bbd9cee05fa9f63f99c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-18/
48f434c25efba7fbdac78bf2edcabfaf4215a417
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/RegExpObjectSerializer.js
RegExpObjectSerializer::serialize
function
/** * @param {RegExp} obj regexp * @param {ObjectSerializerContext} context context */ serialize(obj, context) { context.write(obj.source); context.write(obj.flags); }
1,282,982
256840373dd1e7d80ac681ea1a3cc996
swh:1:cnt:5ac7eec5105e3cfa72cb4bbd9cee05fa9f63f99c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-26/
48f434c25efba7fbdac78bf2edcabfaf4215a417
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/RegExpObjectSerializer.js
RegExpObjectSerializer::deserialize
function
/** * @param {ObjectDeserializerContext} context context * @returns {RegExp} regexp */ deserialize(context) { return new RegExp(context.read(), context.read()); }
1,282,983
5fc430e99f9175f6ee88ee2451172513
swh:1:cnt:a3cafc3b3b5693069204e669ae9fc8b263ff4b80;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-80/
2ea559d7f6f1e04d39b31ee2b1b2d86dff6a6625
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/Serializer.js
Serializer
type
/** * @template T, K, C * @typedef {import("./SerializerMiddleware")<T, K, C>} SerializerMiddleware */ /** * @template DeserializedValue * @template SerializedValue * @template Context */ class Serializer { /** * @param {SerializerMiddleware<EXPECTED_ANY, EXPECTED_ANY, EXPECTED_ANY>[]} middlewares serializer...
1,282,984
0621f4482770fdf8a28e27e1bb5815ec
swh:1:cnt:a3cafc3b3b5693069204e669ae9fc8b263ff4b80;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-26/
2ea559d7f6f1e04d39b31ee2b1b2d86dff6a6625
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/Serializer.js
Serializer::constructor
function
/** * @param {SerializerMiddleware<EXPECTED_ANY, EXPECTED_ANY, EXPECTED_ANY>[]} middlewares serializer middlewares * @param {Context=} context context */ constructor(middlewares, context) { this.serializeMiddlewares = [...middlewares]; this.deserializeMiddlewares = [...middlewares].reverse(); this.context ...
1,282,985
b833eea8f93a850cc8668e0ddd5d4062
swh:1:cnt:a3cafc3b3b5693069204e669ae9fc8b263ff4b80;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-79/
2ea559d7f6f1e04d39b31ee2b1b2d86dff6a6625
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/Serializer.js
Serializer::deserialize
function
/** * @template ExtendedContext * @param {SerializedValue | Promise<SerializedValue>} value value * @param {Context & ExtendedContext} context object * @returns {Promise<DeserializedValue>} result */ deserialize(value, context) { const ctx = { ...context, ...this.context }; let current = value; for (co...
1,282,986
fe4f85a6dcae3f34439571b746baf57e
swh:1:cnt:a3cafc3b3b5693069204e669ae9fc8b263ff4b80;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-57/
2ea559d7f6f1e04d39b31ee2b1b2d86dff6a6625
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/Serializer.js
Serializer::serialize
function
/** * @template ExtendedContext * @param {DeserializedValue | Promise<DeserializedValue>} obj object * @param {Context & ExtendedContext} context context object * @returns {Promise<SerializedValue>} result */ serialize(obj, context) { const ctx = { ...context, ...this.context }; let current = obj; for ...
1,282,987
0868585e1a19afb04584aa19d7219beb
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-224/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware
type
/** @typedef {SerializerMiddleware<EXPECTED_ANY, EXPECTED_ANY, Record<string, EXPECTED_ANY>>} LazyTarget */ /** @typedef {Record<string, EXPECTED_ANY>} LazyOptions */ /** * @template InputValue * @template OutputValue * @template {LazyTarget} InternalLazyTarget * @template {LazyOptions | undefined} InternalLazyOpt...
1,282,988
89c36fb15efa6fb9f8463e80b874c106
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-40/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::serialize
function
/* istanbul ignore next */ /** * @abstract * @param {DeserializedType} data data * @param {Context} context context object * @returns {SerializedType | Promise<SerializedType> | null} serialized data */ serialize(data, context) { const AbstractMethodError = require("../AbstractMethodError"); throw new ...
1,282,989
3874c6aed428195b030cbe060413d8ae
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-92/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::isLazy
function
/** * @template {LazyTarget} TLazyTarget * @param {EXPECTED_ANY} fn lazy function * @param {TLazyTarget=} target target middleware * @returns {fn is LazyFunction<EXPECTED_ANY, EXPECTED_ANY, TLazyTarget, EXPECTED_ANY>} true, when fn is a lazy function (optionally of that target) */ static isLazy(fn, target) {...
1,282,990
cc90b88eefee1c9504a068914936f924
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-80/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::createLazy
function
/** * @template TLazyInputValue * @template TLazyOutputValue * @template {LazyTarget} TLazyTarget * @template {LazyOptions | undefined} TLazyOptions * @param {TLazyInputValue | (() => TLazyInputValue)} value contained value or function to value * @param {TLazyTarget} target target middleware * @param {TLa...
1,282,991
c1b01059d962ee3f4b01a3bc6510e0af
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-53/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::deserialize
function
/* istanbul ignore next */ /** * @abstract * @param {SerializedType} data data * @param {Context} context context object * @returns {DeserializedType | Promise<DeserializedType>} deserialized data */ deserialize(data, context) { const AbstractMethodError = require("../AbstractMethodError"); throw new A...
1,282,992
de3d2b65515d528f8dc8586378e889e1
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-105/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::getLazyOptions
function
/** * @template TLazyInputValue * @template TLazyOutputValue * @template {LazyTarget} TLazyTarget * @template {Record<string, EXPECTED_ANY>} TLazyOptions * @param {LazyFunction<TLazyInputValue, TLazyOutputValue, TLazyTarget, TLazyOptions>} fn lazy function * @returns {LazyOptions | undefined} options */ ...
1,282,993
27810fc12746bf0faeab7ee916f55a80
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=107-118/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::getLazySerializedValue
function
/** * @template TLazyInputValue * @template TLazyOutputValue * @template {LazyTarget} TLazyTarget * @template {LazyOptions} TLazyOptions * @param {LazyFunction<TLazyInputValue, TLazyOutputValue, TLazyTarget, TLazyOptions> | EXPECTED_ANY} fn lazy function * @returns {TLazyOutputValue | undefined} serialized ...
1,282,994
98fc16b96da439129b17023dbcef833b
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=120-131/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::setLazySerializedValue
function
/** * @template TLazyInputValue * @template TLazyOutputValue * @template {LazyTarget} TLazyTarget * @template {LazyOptions} TLazyOptions * @param {LazyFunction<TLazyInputValue, TLazyOutputValue, TLazyTarget, TLazyOptions>} fn lazy function * @param {TLazyOutputValue} value serialized value * @returns {voi...
1,282,995
33b57ce5fd48ca6bd77800ca70695753
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=133-165/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::serializeLazy
function
/** * @template TLazyInputValue DeserializedValue * @template TLazyOutputValue SerializedValue * @template {LazyTarget} TLazyTarget * @template {LazyOptions | undefined} TLazyOptions * @param {LazyFunction<TLazyInputValue, TLazyOutputValue, TLazyTarget, TLazyOptions>} lazy lazy function * @param {(value: TL...
1,282,996
6e01383f96cd63b407de6b29837ee5d7
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=167-198/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::deserializeLazy
function
/** * @template TLazyInputValue SerializedValue * @template TLazyOutputValue DeserializedValue * @template {LazyTarget} TLazyTarget * @template {LazyOptions | undefined} TLazyOptions * @param {LazyFunction<TLazyInputValue, TLazyOutputValue, TLazyTarget, TLazyOptions>} lazy lazy function * @param {(data: TLa...
1,282,997
1342ec79ce694bc8a4935211945cb86c
swh:1:cnt:4b2507c0e3041f7aa9865836e79f0b8db36e8b17;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=200-223/
c62460f0e58383f1c1bf0826e2288feefd2c6ed8
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SerializerMiddleware.js
SerializerMiddleware::unMemoizeLazy
function
/** * @template TLazyInputValue * @template TLazyOutputValue * @template {LazyTarget} TLazyTarget * @template {LazyOptions} TLazyOptions * @param {LazyFunction<TLazyInputValue | TLazyOutputValue, TLazyInputValue | TLazyOutputValue, TLazyTarget, TLazyOptions> | undefined} lazy lazy function * @returns {LazyF...
1,282,998
cbc22a1dae08238acb0107dca4b1b6fe
swh:1:cnt:66811b87d160ffd18f7f0a048c8a17bfd4529e00;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-38/
911f400c15071313c6ad9742a9ea0fcd390cf6ca
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SetObjectSerializer.js
SetObjectSerializer
type
/** @typedef {import("./ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */ /** @typedef {import("./ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */ class SetObjectSerializer { /** * @template T * @param {Set<T>} obj set * @param {ObjectSerializerContext} context con...
1,282,999
1b3975407edcc315419fc02ceb680c0d
swh:1:cnt:66811b87d160ffd18f7f0a048c8a17bfd4529e00;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-21/
911f400c15071313c6ad9742a9ea0fcd390cf6ca
wlbdashboard
wmcs
node_modules/webpack/lib/serialization/SetObjectSerializer.js
SetObjectSerializer::serialize
function
/** * @template T * @param {Set<T>} obj set * @param {ObjectSerializerContext} context context */ serialize(obj, context) { context.write(obj.size); for (const value of obj) { context.write(value); } }