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,800 | 6cd31cf67b964a39da3caa9af17169cf | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=397-414/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::combineConditionsOr | function | /**
* @param {Condition[]} conditions some conditions
* @returns {Condition} merged condition
*/
combineConditionsOr(conditions) {
if (conditions.length === 0) {
return {
matchWhenEmpty: false,
fn: () => false
};
} else if (conditions.length === 1) {
return conditions[0];
}
return {
m... |
1,282,801 | ebb5a9f1d14dc1b24ac6485869ff2aa9 | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=416-433/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::combineConditionsAnd | function | /**
* @param {Condition[]} conditions some conditions
* @returns {Condition} merged condition
*/
combineConditionsAnd(conditions) {
if (conditions.length === 0) {
return {
matchWhenEmpty: false,
fn: () => false
};
} else if (conditions.length === 1) {
return conditions[0];
}
return {
... |
1,282,802 | 75d156f01f8d32a6791318e31ad1f851 | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=435-445/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::error | function | /**
* @param {string} path current path
* @param {EXPECTED_ANY} value value at the error location
* @param {string} message message explaining the problem
* @returns {Error} an error object
*/
error(path, value, message) {
return new Error(
`Compiling RuleSet failed: ${message} (at ${path}: ${value})`
... |
1,282,803 | 2b1c85d0da4672b1aa0b1b6bebe0b589 | swh:1:cnt:e90d10bab8861a1dc8f4e6d1ad9bfdd5dc6b5d73;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-234/ | 454223eca2045b2df4192ddec0dbe194b6532318 | wlbdashboard | wmcs | node_modules/webpack/lib/rules/UseEffectRulePlugin.js | UseEffectRulePlugin | type | class UseEffectRulePlugin {
/**
* @param {RuleSetCompiler} ruleSetCompiler the rule set compiler
* @returns {void}
*/
apply(ruleSetCompiler) {
ruleSetCompiler.hooks.rule.tap(
PLUGIN_NAME,
(path, rule, unhandledProperties, result, references) => {
/**
* @param {keyof RuleSetRule} property proper... |
1,282,804 | d75153c47e52de043b6c40c2c12037a1 | swh:1:cnt:e90d10bab8861a1dc8f4e6d1ad9bfdd5dc6b5d73;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-233/ | 454223eca2045b2df4192ddec0dbe194b6532318 | wlbdashboard | wmcs | node_modules/webpack/lib/rules/UseEffectRulePlugin.js | UseEffectRulePlugin::apply | function | /**
* @param {RuleSetCompiler} ruleSetCompiler the rule set compiler
* @returns {void}
*/
apply(ruleSetCompiler) {
ruleSetCompiler.hooks.rule.tap(
PLUGIN_NAME,
(path, rule, unhandledProperties, result, references) => {
/**
* @param {keyof RuleSetRule} property property
* @param {string} cor... |
1,282,805 | ed5f9630047945aca5d465c9fdd7a84d | swh:1:cnt:fedb2b1c65b07da42ad708211cffb10e3eb359c7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-197/ | f0f82641101827c5dc710fd78b86a7a63e8d41f4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js | AsyncModuleRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class AsyncModuleRuntimeModule extends HelperRuntimeModule {
/**
* @param {boolean=} deferInterop if defer import is used.
*/
constructor(deferInterop = false) {
super("async module");
/** @type {boolean} */
this._deferInterop = deferInterop;
}
/**
... |
1,282,806 | f161a268543b96c0414730236b75cf00 | swh:1:cnt:fedb2b1c65b07da42ad708211cffb10e3eb359c7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-21/ | f0f82641101827c5dc710fd78b86a7a63e8d41f4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js | AsyncModuleRuntimeModule::constructor | function | /**
* @param {boolean=} deferInterop if defer import is used.
*/
constructor(deferInterop = false) {
super("async module");
/** @type {boolean} */
this._deferInterop = deferInterop;
} |
1,282,807 | 46b0562ab0bada434f84b59a570272cd | swh:1:cnt:fedb2b1c65b07da42ad708211cffb10e3eb359c7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-196/ | f0f82641101827c5dc710fd78b86a7a63e8d41f4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js | AsyncModuleRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const fn = RuntimeGlobals.asyncModule;
const defer = this._deferInterop;
return Template.asString([
'var hasSymbol = typeof Symbol ===... |
1,282,808 | ff7dfb2641b0d4982ace6637008ad891 | swh:1:cnt:b8986581d70892f2bb4ae11a548e96805c562236;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-88/ | 8c6d1fc2b7442e951a95a173ecb84ed16b8efd59 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js | AutoPublicPathRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../Compilation")} Compilation */
class AutoPublicPathRuntimeModule extends RuntimeModule {
constructor() {
super("publicPath", RuntimeModule.STAGE_BASIC);
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** ... |
1,282,809 | 990350d9e7c0339cc648e63d30459ae5 | swh:1:cnt:b8986581d70892f2bb4ae11a548e96805c562236;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-19/ | 8c6d1fc2b7442e951a95a173ecb84ed16b8efd59 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js | AutoPublicPathRuntimeModule::constructor | function | constructor() {
super("publicPath", RuntimeModule.STAGE_BASIC);
} |
1,282,810 | 05a2e5f62a0b6c05d239790907f3358b | swh:1:cnt:b8986581d70892f2bb4ae11a548e96805c562236;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-87/ | 8c6d1fc2b7442e951a95a173ecb84ed16b8efd59 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js | AutoPublicPathRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { scriptType, importMetaName, path, environment } =
compilation.outputOptions;
const chunkName = compilation.getPath(
JavascriptModulesPlugin.getChunkFilenameTemplate(
... |
1,282,811 | 566c19b9f2a900a3714aee6fbabba5b2 | swh:1:cnt:6a8aea370c22a0908c96f33671244b70185f5338;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-33/ | 417782d0d3889868d7358e4fd0c66aca929d97c2 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js | BaseUriRuntimeModule | type | /** @typedef {import("../../declarations/WebpackOptions").EntryDescriptionNormalized} EntryDescription */
/** @typedef {import("../Chunk")} Chunk */
class BaseUriRuntimeModule extends RuntimeModule {
constructor() {
super("base uri", RuntimeModule.STAGE_ATTACH);
}
/**
* @returns {string | null} runtime code
... |
1,282,812 | 3b6a0adf396f126e473ac73e92bf4138 | swh:1:cnt:6a8aea370c22a0908c96f33671244b70185f5338;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-17/ | 417782d0d3889868d7358e4fd0c66aca929d97c2 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js | BaseUriRuntimeModule::constructor | function | constructor() {
super("base uri", RuntimeModule.STAGE_ATTACH);
} |
1,282,813 | 504280fc39103650e4b3d8e615f9a57b | swh:1:cnt:6a8aea370c22a0908c96f33671244b70185f5338;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-32/ | 417782d0d3889868d7358e4fd0c66aca929d97c2 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js | BaseUriRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const chunk = /** @type {Chunk} */ (this.chunk);
const options =
/** @type {EntryDescription} */
(chunk.getEntryOptions());
return `${RuntimeGlobals.baseURI} = ${
options.baseUri === undefined
? "undefined"
: JSON.stringify(options.... |
1,282,814 | 37217616d73054c38a100696207b800e | swh:1:cnt:a3f29802e5d08d4101d2695ad66edee24decff45;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-26/ | 513c28778ff99c51750c4643e528583aa578b2b5 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js | ChunkNameRuntimeModule | type | class ChunkNameRuntimeModule extends RuntimeModule {
/**
* @param {string} chunkName the chunk's name
*/
constructor(chunkName) {
super("chunkName");
/** @type {string} */
this.chunkName = chunkName;
}
/**
* @returns {string | null} runtime code
*/
generate() {
return `${RuntimeGlobals.chunkName} ... |
1,282,815 | 588586fdc71be593f7280f87b1e26fbb | swh:1:cnt:a3f29802e5d08d4101d2695ad66edee24decff45;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-18/ | 513c28778ff99c51750c4643e528583aa578b2b5 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js | ChunkNameRuntimeModule::constructor | function | /**
* @param {string} chunkName the chunk's name
*/
constructor(chunkName) {
super("chunkName");
/** @type {string} */
this.chunkName = chunkName;
} |
1,282,816 | acba799110c90ea5cb85e49756729c75 | swh:1:cnt:a3f29802e5d08d4101d2695ad66edee24decff45;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-25/ | 513c28778ff99c51750c4643e528583aa578b2b5 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js | ChunkNameRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
return `${RuntimeGlobals.chunkName} = ${JSON.stringify(this.chunkName)};`;
} |
1,282,817 | 51cb0ca37dde45d7c3be65b9901dd68a | swh:1:cnt:1406e051fd96bb5744ccddb871ba1f2989bb0039;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-38/ | 4c19faba399add19476fe2b937d91da767b5353c | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js | CompatGetDefaultExportRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class CompatGetDefaultExportRuntimeModule extends HelperRuntimeModule {
constructor() {
super("compat get default export");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation)... |
1,282,818 | e3a2cfd6bddcb93ad6a9b1adf61948e6 | swh:1:cnt:1406e051fd96bb5744ccddb871ba1f2989bb0039;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | 4c19faba399add19476fe2b937d91da767b5353c | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js | CompatGetDefaultExportRuntimeModule::constructor | function | constructor() {
super("compat get default export");
} |
1,282,819 | a6f1a00d0bff74ff418a7929a97e8dc1 | swh:1:cnt:1406e051fd96bb5744ccddb871ba1f2989bb0039;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-37/ | 4c19faba399add19476fe2b937d91da767b5353c | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js | CompatGetDefaultExportRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const fn = RuntimeGlobals.compatGetDefaultExport;
return Template.asString([
"// getDefaultExport function for compatibility with non-ha... |
1,282,820 | 5948c909ffe71a481e8195dd9faca4e8 | swh:1:cnt:665b14d24f262926762aa310f12213efb2e185ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-81/ | 5a1fa871e2d9b2b70acfea83d0782a5fed9a95ef | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatRuntimeModule.js | CompatRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../ChunkGraph")} ChunkGraph */
/** @typedef {import("../Compilation")} Compilation */
class CompatRuntimeModule extends RuntimeModule {
constructor() {
super("compat", RuntimeModule.STAGE_ATTACH);
/** @type {boolean} */
this.fullHash = true;
}
... |
1,282,821 | f958a591f796b688f1398e281b06003a | swh:1:cnt:665b14d24f262926762aa310f12213efb2e185ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-19/ | 5a1fa871e2d9b2b70acfea83d0782a5fed9a95ef | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatRuntimeModule.js | CompatRuntimeModule::constructor | function | constructor() {
super("compat", RuntimeModule.STAGE_ATTACH);
/** @type {boolean} */
this.fullHash = true;
} |
1,282,822 | 60cfd45e914a38d19c0682dc4812ef5e | swh:1:cnt:665b14d24f262926762aa310f12213efb2e185ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-72/ | 5a1fa871e2d9b2b70acfea83d0782a5fed9a95ef | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatRuntimeModule.js | CompatRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const chunkGraph = /** @type {ChunkGraph} */ (this.chunkGraph);
const chunk = /** @type {Chunk} */ (this.chunk);
const {
runtimeTemplate,
mainTemplate,
moduleTemplates,
... |
1,282,823 | 6e0de426adb44dcd61634a8ac34ea0e1 | swh:1:cnt:665b14d24f262926762aa310f12213efb2e185ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=74-80/ | 5a1fa871e2d9b2b70acfea83d0782a5fed9a95ef | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CompatRuntimeModule.js | CompatRuntimeModule::shouldIsolate | function | /**
* @returns {boolean} true, if the runtime module should get it's own scope
*/
shouldIsolate() {
// We avoid isolating this to have better backward-compat
return false;
} |
1,282,824 | c6713b3b123ec76718c27e29f779e917 | swh:1:cnt:b5f09df79525b23b91a652e5e10e108f4534cafb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-67/ | 3cdf336429a8275c14e479c715d746610494b4bd | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js | CreateFakeNamespaceObjectRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class CreateFakeNamespaceObjectRuntimeModule extends HelperRuntimeModule {
constructor() {
super("create fake namespace object");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compil... |
1,282,825 | f70467e8c451586cd1639f6cadfea26b | swh:1:cnt:b5f09df79525b23b91a652e5e10e108f4534cafb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | 3cdf336429a8275c14e479c715d746610494b4bd | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js | CreateFakeNamespaceObjectRuntimeModule::constructor | function | constructor() {
super("create fake namespace object");
} |
1,282,826 | 94d1c7b4713d194f007f48d0c19c5d0f | swh:1:cnt:b5f09df79525b23b91a652e5e10e108f4534cafb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-66/ | 3cdf336429a8275c14e479c715d746610494b4bd | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js | CreateFakeNamespaceObjectRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const fn = RuntimeGlobals.createFakeNamespaceObject;
return Template.asString([
`var getProto = Object.getPrototypeOf ? ${runtimeTemplat... |
1,282,827 | 345be539d4ee090d2ae8b05183bceaa0 | swh:1:cnt:7859e87d411d1244393f4893293b3474c7a9a96e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-36/ | ae3ed03577dd2aca2159a96ba24d4440437e494d | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js | CreateScriptRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class CreateScriptRuntimeModule extends HelperRuntimeModule {
constructor() {
super("trusted types script");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { run... |
1,282,828 | 8a016c4b65ba28aa1eafa9d9fd2d65d5 | swh:1:cnt:7859e87d411d1244393f4893293b3474c7a9a96e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | ae3ed03577dd2aca2159a96ba24d4440437e494d | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js | CreateScriptRuntimeModule::constructor | function | constructor() {
super("trusted types script");
} |
1,282,829 | 2b02118c76f5294ceb2019107e191f04 | swh:1:cnt:7859e87d411d1244393f4893293b3474c7a9a96e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-35/ | ae3ed03577dd2aca2159a96ba24d4440437e494d | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js | CreateScriptRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate, outputOptions } = compilation;
const { trustedTypes } = outputOptions;
const fn = RuntimeGlobals.createScript;
return Template.asString(
`${fn} = ${r... |
1,282,830 | 312d41e1d09b6021b748eca3d8e074ec | swh:1:cnt:4c8960024d90a73dbc7667afc3184cf5d2168e5b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-36/ | baca119896e817bb4d966e5cad687c8766f430e3 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js | CreateScriptUrlRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class CreateScriptUrlRuntimeModule extends HelperRuntimeModule {
constructor() {
super("trusted types script url");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
cons... |
1,282,831 | 5f7909d90ea440a1a1d020b4dcbc51d6 | swh:1:cnt:4c8960024d90a73dbc7667afc3184cf5d2168e5b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | baca119896e817bb4d966e5cad687c8766f430e3 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js | CreateScriptUrlRuntimeModule::constructor | function | constructor() {
super("trusted types script url");
} |
1,282,832 | 5a44b09507ff31679991ae6a832b2033 | swh:1:cnt:4c8960024d90a73dbc7667afc3184cf5d2168e5b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-35/ | baca119896e817bb4d966e5cad687c8766f430e3 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js | CreateScriptUrlRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate, outputOptions } = compilation;
const { trustedTypes } = outputOptions;
const fn = RuntimeGlobals.createScriptUrl;
return Template.asString(
`${fn} = ... |
1,282,833 | fe21facae1bf3a18535bfe4714f55b30 | swh:1:cnt:4dad207a93555552a91ba2e1f99efbedbf6be911;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-40/ | b3507ad5dc097f711e5567e2909dd16a8e775e7c | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js | DefinePropertyGettersRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class DefinePropertyGettersRuntimeModule extends HelperRuntimeModule {
constructor() {
super("define property getters");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
... |
1,282,834 | 8d901a2fbe6286c174dc5adc3b140a38 | swh:1:cnt:4dad207a93555552a91ba2e1f99efbedbf6be911;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | b3507ad5dc097f711e5567e2909dd16a8e775e7c | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js | DefinePropertyGettersRuntimeModule::constructor | function | constructor() {
super("define property getters");
} |
1,282,835 | 981865db0bf0aefb703a3428504e5d50 | swh:1:cnt:4dad207a93555552a91ba2e1f99efbedbf6be911;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-39/ | b3507ad5dc097f711e5567e2909dd16a8e775e7c | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js | DefinePropertyGettersRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const fn = RuntimeGlobals.definePropertyGetters;
return Template.asString([
"// define getter functions for harmony exports",
`${fn} ... |
1,282,836 | 328134dd0bbb6864e2664bea1788fd02 | swh:1:cnt:cc176c1a3ee65cc3a26c88c8bf868953e0948eaa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-67/ | 5f986b82e31f1ecb48a6df5af5dc0174a0d67567 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js | EnsureChunkRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
/** @typedef {import("../Module").ReadOnlyRuntimeRequirements} ReadOnlyRuntimeRequirements */
class EnsureChunkRuntimeModule extends RuntimeModule {
/**
* @param {ReadOnlyRuntimeRequirements} runtimeRequirements runtime requirements
*/
constructor(runtimeReq... |
1,282,837 | b1b559b160f4f427b6907344fbdf38f5 | swh:1:cnt:cc176c1a3ee65cc3a26c88c8bf868953e0948eaa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-22/ | 5f986b82e31f1ecb48a6df5af5dc0174a0d67567 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js | EnsureChunkRuntimeModule::constructor | function | /**
* @param {ReadOnlyRuntimeRequirements} runtimeRequirements runtime requirements
*/
constructor(runtimeRequirements) {
super("ensure chunk");
/** @type {ReadOnlyRuntimeRequirements} */
this.runtimeRequirements = runtimeRequirements;
} |
1,282,838 | b0736edef78d5ad384f236c1bc53e5c9 | swh:1:cnt:cc176c1a3ee65cc3a26c88c8bf868953e0948eaa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-66/ | 5f986b82e31f1ecb48a6df5af5dc0174a0d67567 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js | EnsureChunkRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
// Check if there are non initial chunks which need to be imported using require-ensure
if (this.runtimeRequirements.has(RuntimeGlobals.ens... |
1,282,839 | 120d6c26bc4bf0e891891469cb93d4c6 | swh:1:cnt:7a4c9bd147485d650535bb792e165388d3e97dee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-297/ | 5e2eea08171ac98ef1155337b0cfee249e5e5b1b | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js | GetChunkFilenameRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../Chunk").ChunkId} ChunkId */
/** @typedef {import("../ChunkGraph")} ChunkGraph */
/** @typedef {import("../Compilation")} Compilation */
/** @typedef {import("../Compilation").HashWithLengthFunction} HashWithLengthFunction */
/** @typedef {import("../Te... |
1,282,840 | df104dad92267bc119fe138c818c4d77 | swh:1:cnt:7a4c9bd147485d650535bb792e165388d3e97dee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-39/ | 5e2eea08171ac98ef1155337b0cfee249e5e5b1b | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js | GetChunkFilenameRuntimeModule::constructor | function | /**
* @param {string} contentType the contentType to use the content hash for
* @param {string} name kind of filename
* @param {string} global function name to be assigned
* @param {(chunk: Chunk) => TemplatePath | false} getFilenameForChunk functor to get the filename or function
* @param {boolean} allChunks... |
1,282,841 | 00f5151b6e9933cfdd2c215e95336b54 | swh:1:cnt:7a4c9bd147485d650535bb792e165388d3e97dee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-296/ | 5e2eea08171ac98ef1155337b0cfee249e5e5b1b | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js | GetChunkFilenameRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { global, contentType, getFilenameForChunk, allChunks } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
const chunkGraph = /** @type {ChunkGraph} */ (this.chunkGraph);
const chunk = /** @type {Chunk} */ (this.chunk... |
1,282,842 | fa2761cea1234f35f8b95104c993a08c | swh:1:cnt:9d74e2089bec359ce1e295ac183d7409e4fe5b3f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-29/ | 20756428b6135b3eba51d83d41c620052349f216 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js | GetFullHashRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class GetFullHashRuntimeModule extends RuntimeModule {
constructor() {
super("getFullHash");
/** @type {boolean} */
this.fullHash = true;
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ ... |
1,282,843 | e89ca116ef6759802699264b37e7b666 | swh:1:cnt:9d74e2089bec359ce1e295ac183d7409e4fe5b3f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-17/ | 20756428b6135b3eba51d83d41c620052349f216 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js | GetFullHashRuntimeModule::constructor | function | constructor() {
super("getFullHash");
/** @type {boolean} */
this.fullHash = true;
} |
1,282,844 | 7ee0127bd36681df557bafb37e05028e | swh:1:cnt:9d74e2089bec359ce1e295ac183d7409e4fe5b3f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-28/ | 20756428b6135b3eba51d83d41c620052349f216 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js | GetFullHashRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
return `${RuntimeGlobals.getFullHash} = ${runtimeTemplate.returningFunction(
JSON.stringify(compilation.hash || "XXXX")
)}`;
} |
1,282,845 | 6401521d8b3b7a8f2dac0e507348c06b | swh:1:cnt:c29770551e8e6d5ffb5bf5f6789d81b146acbfbf;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-47/ | 58e94874694a2fc1df5b79ec8ea9652ff1989a92 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js | GetMainFilenameRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../Compilation")} Compilation */
class GetMainFilenameRuntimeModule extends RuntimeModule {
/**
* @param {string} name readable name
* @param {string} global global object binding
* @param {string} filename main file name
*/
constructor(name, g... |
1,282,846 | 0b4dfe4691f2943eb0b7086e22f491fa | swh:1:cnt:c29770551e8e6d5ffb5bf5f6789d81b146acbfbf;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-26/ | 58e94874694a2fc1df5b79ec8ea9652ff1989a92 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js | GetMainFilenameRuntimeModule::constructor | function | /**
* @param {string} name readable name
* @param {string} global global object binding
* @param {string} filename main file name
*/
constructor(name, global, filename) {
super(`get ${name} filename`);
/** @type {string} */
this.global = global;
/** @type {string} */
this.filename = filename;
} |
1,282,847 | 11683f854f5a6d6952229d443cd1d759 | swh:1:cnt:c29770551e8e6d5ffb5bf5f6789d81b146acbfbf;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-46/ | 58e94874694a2fc1df5b79ec8ea9652ff1989a92 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js | GetMainFilenameRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { global, filename } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
const chunk = /** @type {Chunk} */ (this.chunk);
const { runtimeTemplate } = compilation;
const url = compilation.getPath(JSON.stringify(filena... |
1,282,848 | 4cc86d96c228d80eab586ee62dff79b4 | swh:1:cnt:44c5d026250e1b2f24dc2776f3040af0a660d4e1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-97/ | 9111fa0943823ef06c6b56192848c2ff0f5e49f6 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js | GetTrustedTypesPolicyRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
/** @typedef {import("../Module").ReadOnlyRuntimeRequirements} ReadOnlyRuntimeRequirements */
class GetTrustedTypesPolicyRuntimeModule extends HelperRuntimeModule {
/**
* @param {ReadOnlyRuntimeRequirements} runtimeRequirements runtime requirements
*/
constr... |
1,282,849 | 535f5a7332e35931ecefedec9526d0d3 | swh:1:cnt:44c5d026250e1b2f24dc2776f3040af0a660d4e1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-22/ | 9111fa0943823ef06c6b56192848c2ff0f5e49f6 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js | GetTrustedTypesPolicyRuntimeModule::constructor | function | /**
* @param {ReadOnlyRuntimeRequirements} runtimeRequirements runtime requirements
*/
constructor(runtimeRequirements) {
super("trusted types policy");
/** @type {ReadOnlyRuntimeRequirements} */
this.runtimeRequirements = runtimeRequirements;
} |
1,282,850 | a27db6e00bdaf39be7b48ad7b3ead618 | swh:1:cnt:44c5d026250e1b2f24dc2776f3040af0a660d4e1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-96/ | 9111fa0943823ef06c6b56192848c2ff0f5e49f6 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js | GetTrustedTypesPolicyRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate, outputOptions } = compilation;
const { trustedTypes } = outputOptions;
const fn = RuntimeGlobals.getTrustedTypesPolicy;
const wrapPolicyCreationInTryCatc... |
1,282,851 | e3253090f10ef5ed814b42a412c78775 | swh:1:cnt:89e556c08586c8ec1675b1312faba12a69378d04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-45/ | eb3d9f22b57a3efa0f5439438247cb02758138bb | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GlobalRuntimeModule.js | GlobalRuntimeModule | type | class GlobalRuntimeModule extends RuntimeModule {
constructor() {
super("global");
}
/**
* @returns {string | null} runtime code
*/
generate() {
return Template.asString([
`${RuntimeGlobals.global} = (function() {`,
Template.indent([
"if (typeof globalThis === 'object') return globalThis;",
"... |
1,282,852 | bdd6176cb55c19d2bd76f371a2867f47 | swh:1:cnt:89e556c08586c8ec1675b1312faba12a69378d04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-14/ | eb3d9f22b57a3efa0f5439438247cb02758138bb | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GlobalRuntimeModule.js | GlobalRuntimeModule::constructor | function | constructor() {
super("global");
} |
1,282,853 | 426c9bfba931c4ffcd8f9f6d4f9e2fb5 | swh:1:cnt:89e556c08586c8ec1675b1312faba12a69378d04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-44/ | eb3d9f22b57a3efa0f5439438247cb02758138bb | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/GlobalRuntimeModule.js | GlobalRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
return Template.asString([
`${RuntimeGlobals.global} = (function() {`,
Template.indent([
"if (typeof globalThis === 'object') return globalThis;",
"try {",
Template.indent(
// This works in non-strict mode
// or
// This ... |
1,282,854 | d682ebfb72fe41983e58de3158eb10a3 | swh:1:cnt:78bf3afeb95d8bb2ef9f0e27815ef87d0fb3e311;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-33/ | 47972e3dbb415b12105912c2dae74e329d3f84e9 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js | HasOwnPropertyRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class HasOwnPropertyRuntimeModule extends RuntimeModule {
constructor() {
super("hasOwnProperty shorthand");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { run... |
1,282,855 | 16a19c6941ad5604960b437ff110b347 | swh:1:cnt:78bf3afeb95d8bb2ef9f0e27815ef87d0fb3e311;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-17/ | 47972e3dbb415b12105912c2dae74e329d3f84e9 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js | HasOwnPropertyRuntimeModule::constructor | function | constructor() {
super("hasOwnProperty shorthand");
} |
1,282,856 | 567fdce7483c79a5294a8df427a339be | swh:1:cnt:78bf3afeb95d8bb2ef9f0e27815ef87d0fb3e311;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-32/ | 47972e3dbb415b12105912c2dae74e329d3f84e9 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js | HasOwnPropertyRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
return Template.asString([
`${RuntimeGlobals.hasOwnProperty} = ${runtimeTemplate.returningFunction(
"Object.prototype.hasOwnProperty.... |
1,282,857 | d6f64da3e7f531f405ae63bc9ce66cae | swh:1:cnt:012916c9228cb6579267c7fe69067e83d3b51760;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-16/ | 04bcbb4244c8470e9ccb67b0befb5a5b38884681 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/HelperRuntimeModule.js | HelperRuntimeModule | type | class HelperRuntimeModule extends RuntimeModule {
/**
* @param {string} name a readable name
*/
constructor(name) {
super(name);
}
} |
1,282,858 | b41d3ef4ebe22af0e7694aaf98d8bc20 | swh:1:cnt:012916c9228cb6579267c7fe69067e83d3b51760;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-15/ | 04bcbb4244c8470e9ccb67b0befb5a5b38884681 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/HelperRuntimeModule.js | HelperRuntimeModule::constructor | function | /**
* @param {string} name a readable name
*/
constructor(name) {
super(name);
} |
1,282,859 | 7caac22da8b022a62cf76bd6a3eaada3 | swh:1:cnt:22809bb29e1aa6b5ce2db3690e4b022db2006257;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-172/ | 8840fe207add42f9f183a9aa990d729963a547b4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js | LoadScriptRuntimeModule | type | class LoadScriptRuntimeModule extends HelperRuntimeModule {
/**
* @param {Compilation} compilation the compilation
* @returns {LoadScriptCompilationHooks} hooks
*/
static getCompilationHooks(compilation) {
if (!(compilation instanceof Compilation)) {
throw new TypeError(
"The 'compilation' argument mus... |
1,282,860 | 81acfbab438129af5f807f7e17ec7668 | swh:1:cnt:22809bb29e1aa6b5ce2db3690e4b022db2006257;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-42/ | 8840fe207add42f9f183a9aa990d729963a547b4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js | LoadScriptRuntimeModule::getCompilationHooks | function | /**
* @param {Compilation} compilation the compilation
* @returns {LoadScriptCompilationHooks} hooks
*/
static getCompilationHooks(compilation) {
if (!(compilation instanceof Compilation)) {
throw new TypeError(
"The 'compilation' argument must be an instance of Compilation"
);
}
let hooks = comp... |
1,282,861 | f884fa2031fc0ddee5cc4a40701f8493 | swh:1:cnt:22809bb29e1aa6b5ce2db3690e4b022db2006257;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-171/ | 8840fe207add42f9f183a9aa990d729963a547b4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js | LoadScriptRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate, outputOptions } = compilation;
const {
scriptType,
chunkLoadTimeout: loadTimeout,
crossOriginLoading,
uniqueName,
charset
} = outputOptions;... |
1,282,862 | 24d6fee883063049d6d6fe1b2c09f8c5 | swh:1:cnt:22809bb29e1aa6b5ce2db3690e4b022db2006257;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=44-54/ | 8840fe207add42f9f183a9aa990d729963a547b4 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js | LoadScriptRuntimeModule::constructor | function | /**
* @param {boolean=} withCreateScriptUrl use create script url for trusted types
* @param {boolean=} withFetchPriority use `fetchPriority` attribute
*/
constructor(withCreateScriptUrl, withFetchPriority) {
super("load script");
/** @type {boolean | undefined} */
this._withCreateScriptUrl = withCreateScr... |
1,282,863 | 6b82e2ab92215c2b39dabe6ac2ff5695 | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-26/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | getMakeDeferredNamespaceModeFromExportsType | function | /** @typedef {import("../Module").RuntimeRequirements} RuntimeRequirements */
/** @typedef {import("../Module").ExportsType} ExportsType */
/** @typedef {import("../ChunkGraph").ModuleId} ModuleId */
/**
* @param {ExportsType} exportsType exports type
* @returns {string} mode
*/
function getMakeDeferredNamespaceMod... |
1,282,864 | c40e9cf9e169b2baa12d164b258c00de | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-97/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | MakeOptimizedDeferredNamespaceObjectRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
if (!this.compilation) return null;
const fn = RuntimeGlobals.makeOptimizedDeferredNamespaceObject;
const hasAsync = this.hasAsyncRuntime;
return Template.asString([
// Note: must be a function (not arrow), because this is used in body!
`${f... |
1,282,865 | 9b30c5f0f7b500247ed98a895e902349 | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-58/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | MakeOptimizedDeferredNamespaceObjectRuntimeModule::constructor | function | /**
* @param {boolean} hasAsyncRuntime if async module is used.
*/
constructor(hasAsyncRuntime) {
super("make optimized deferred namespace object");
/** @type {boolean} */
this.hasAsyncRuntime = hasAsyncRuntime;
} |
1,282,866 | ce6370b8911fed1869dcdf3758b24498 | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=101-108/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | MakeDeferredNamespaceObjectRuntimeModule::constructor | function | /**
* @param {boolean} hasAsyncRuntime if async module is used.
*/
constructor(hasAsyncRuntime) {
super("make deferred namespace object");
/** @type {boolean} */
this.hasAsyncRuntime = hasAsyncRuntime;
} |
1,282,867 | b00de83e7df6cf5ffc02501d495a928d | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-48/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | getOptimizedDeferredModule | function | /**
* @param {string} moduleId moduleId
* @param {ExportsType} exportsType exportsType
* @param {(ModuleId | null)[]} asyncDepsIds asyncDepsIds
* @param {RuntimeRequirements} runtimeRequirements runtime requirements
* @returns {string} call make optimized deferred namespace object
*/
function getOptimizedDeferred... |
1,282,868 | 79fed911ef2b76e0f31032ccea13b1f0 | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-223/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | MakeDeferredNamespaceObjectRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
if (!this.compilation) return null;
const { runtimeTemplate } = this.compilation;
const fn = RuntimeGlobals.makeDeferredNamespaceObject;
const hasAsync = this.hasAsyncRuntime;
const init = runtimeTemplate.supportsOptionalChaining()
? "init?.(... |
1,282,869 | ccfea32195f727ff20eee98b92f99f99 | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=50-98/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | MakeOptimizedDeferredNamespaceObjectRuntimeModule | type | class MakeOptimizedDeferredNamespaceObjectRuntimeModule extends HelperRuntimeModule {
/**
* @param {boolean} hasAsyncRuntime if async module is used.
*/
constructor(hasAsyncRuntime) {
super("make optimized deferred namespace object");
/** @type {boolean} */
this.hasAsyncRuntime = hasAsyncRuntime;
}
/**
... |
1,282,870 | ed19bf56429c08ec6123a7c5827ee649 | swh:1:cnt:6efcbcdefc199065eb3cb2646e8464457d98a9ee;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=100-224/ | 9d6394f267f2eeb3287bde58ed0314af1470f272 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js | MakeDeferredNamespaceObjectRuntimeModule | type | class MakeDeferredNamespaceObjectRuntimeModule extends HelperRuntimeModule {
/**
* @param {boolean} hasAsyncRuntime if async module is used.
*/
constructor(hasAsyncRuntime) {
super("make deferred namespace object");
/** @type {boolean} */
this.hasAsyncRuntime = hasAsyncRuntime;
}
/**
* @returns {string... |
1,282,871 | 4b55fe9be4d70d6f60b2cd7471b454ab | swh:1:cnt:7b43080d02096ec65c27c0f1cb06c9305e280dd7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-37/ | 02067e5df9c5851a017944208d00754a3ab6b9b6 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js | MakeNamespaceObjectRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class MakeNamespaceObjectRuntimeModule extends HelperRuntimeModule {
constructor() {
super("make namespace object");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
con... |
1,282,872 | a4c4e238c29577c9409a41eb3348b46b | swh:1:cnt:7b43080d02096ec65c27c0f1cb06c9305e280dd7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | 02067e5df9c5851a017944208d00754a3ab6b9b6 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js | MakeNamespaceObjectRuntimeModule::constructor | function | constructor() {
super("make namespace object");
} |
1,282,873 | d4e55ba6d1a506ea0350e0b65d2daa44 | swh:1:cnt:7b43080d02096ec65c27c0f1cb06c9305e280dd7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-36/ | 02067e5df9c5851a017944208d00754a3ab6b9b6 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js | MakeNamespaceObjectRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const fn = RuntimeGlobals.makeNamespaceObject;
return Template.asString([
"// define __esModule on exports",
`${fn} = ${runtimeTempla... |
1,282,874 | ec641013bd3c734ee7f4f3045c885b51 | swh:1:cnt:238407c1ba6ef22cebcc815e8d80ed8ce162038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-22/ | 426391d0c877eec26902bdacf1b31592c65eea30 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/NonceRuntimeModule.js | NonceRuntimeModule | type | class NonceRuntimeModule extends RuntimeModule {
constructor() {
super("nonce", RuntimeModule.STAGE_ATTACH);
}
/**
* @returns {string | null} runtime code
*/
generate() {
return `${RuntimeGlobals.scriptNonce} = undefined;`;
}
} |
1,282,875 | 6dfead2ba091a8a77410b61919717a51 | swh:1:cnt:238407c1ba6ef22cebcc815e8d80ed8ce162038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-14/ | 426391d0c877eec26902bdacf1b31592c65eea30 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/NonceRuntimeModule.js | NonceRuntimeModule::constructor | function | constructor() {
super("nonce", RuntimeModule.STAGE_ATTACH);
} |
1,282,876 | c27037c8b1fa5e8f04c00da27df97c8f | swh:1:cnt:238407c1ba6ef22cebcc815e8d80ed8ce162038b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-21/ | 426391d0c877eec26902bdacf1b31592c65eea30 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/NonceRuntimeModule.js | NonceRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
return `${RuntimeGlobals.scriptNonce} = undefined;`;
} |
1,282,877 | b6091dcf59c9e7ec7ca4015bc54640d4 | swh:1:cnt:2224d02bb4a9cc52a8b477f8d346bc46158d5378;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-76/ | 69ef80e16405d84fabcc1cd0ae94b717817bbbdf | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js | OnChunksLoadedRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class OnChunksLoadedRuntimeModule extends RuntimeModule {
constructor() {
super("chunk loaded");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate... |
1,282,878 | 294cbff8894f8e9e2b6d1dd5827ea0fa | swh:1:cnt:2224d02bb4a9cc52a8b477f8d346bc46158d5378;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | 69ef80e16405d84fabcc1cd0ae94b717817bbbdf | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js | OnChunksLoadedRuntimeModule::constructor | function | constructor() {
super("chunk loaded");
} |
1,282,879 | 25d263bf895691f6c143f4bf6e173465 | swh:1:cnt:2224d02bb4a9cc52a8b477f8d346bc46158d5378;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-75/ | 69ef80e16405d84fabcc1cd0ae94b717817bbbdf | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js | OnChunksLoadedRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
return Template.asString([
"var deferred = [];",
`${RuntimeGlobals.onChunksLoaded} = ${runtimeTemplate.basicFunction(
"result, chun... |
1,282,880 | cce4f13000517d8d98a889e3800db2a7 | swh:1:cnt:4b237a38dbac06219a0d0e080270bf34491cc728;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-36/ | 20eed3fdf8416ffbdb01d868df03ce7ea01fba7f | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js | PublicPathRuntimeModule | type | /** @typedef {import("../../declarations/WebpackOptions").PublicPath} PublicPath */
/** @typedef {import("../Compilation")} Compilation */
class PublicPathRuntimeModule extends RuntimeModule {
/**
* @param {PublicPath} publicPath public path
*/
constructor(publicPath) {
super("publicPath", RuntimeModule.STAGE_... |
1,282,881 | de98b55c98e550f75b5f92124daec0d7 | swh:1:cnt:4b237a38dbac06219a0d0e080270bf34491cc728;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-21/ | 20eed3fdf8416ffbdb01d868df03ce7ea01fba7f | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js | PublicPathRuntimeModule::constructor | function | /**
* @param {PublicPath} publicPath public path
*/
constructor(publicPath) {
super("publicPath", RuntimeModule.STAGE_BASIC);
/** @type {PublicPath} */
this.publicPath = publicPath;
} |
1,282,882 | 652b42773ff7b094d75de6a77a5113ab | swh:1:cnt:4b237a38dbac06219a0d0e080270bf34491cc728;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-35/ | 20eed3fdf8416ffbdb01d868df03ce7ea01fba7f | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js | PublicPathRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { publicPath } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
return `${RuntimeGlobals.publicPath} = ${JSON.stringify(
compilation.getPath(publicPath || "", {
hash: compilation.hash || "XXXX"
})
)};`;
... |
1,282,883 | 2c4e5895e7a7aadb29674ba7a4fdaf57 | swh:1:cnt:92e32daed9811ca625dd9515c302ab1513dbe491;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-42/ | 27fc81b655cf60c1f0d7fe644753cb431a290569 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js | RelativeUrlRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class RelativeUrlRuntimeModule extends HelperRuntimeModule {
constructor() {
super("relative url");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTempl... |
1,282,884 | fada0f541a16790b14ebcf3160d4cfa4 | swh:1:cnt:92e32daed9811ca625dd9515c302ab1513dbe491;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | 27fc81b655cf60c1f0d7fe644753cb431a290569 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js | RelativeUrlRuntimeModule::constructor | function | constructor() {
super("relative url");
} |
1,282,885 | 0c97010a3df4334d51df9f5ec0eb70f4 | swh:1:cnt:92e32daed9811ca625dd9515c302ab1513dbe491;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-41/ | 27fc81b655cf60c1f0d7fe644753cb431a290569 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js | RelativeUrlRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
return Template.asString([
`${RuntimeGlobals.relativeUrl} = function RelativeURL(url) {`,
Template.indent([
'var realUrl = new URL(... |
1,282,886 | 49db5359a1829caaab7d77f7c33d0c39 | swh:1:cnt:df75d22ca5978675f9694f94a0f6eeac31941f2c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-31/ | 4a760e5ff93ba8ee8392ec25a1d9a2c9794335e5 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js | RuntimeIdRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../ChunkGraph")} ChunkGraph */
class RuntimeIdRuntimeModule extends RuntimeModule {
constructor() {
super("runtimeId");
}
/**
* @returns {string | null} runtime code
*/
generate() {
const chunkGraph = /** @type {ChunkGraph} */ (this.chunkGra... |
1,282,887 | 672e51deb0c3fcd9457bb3b0d67de4ab | swh:1:cnt:df75d22ca5978675f9694f94a0f6eeac31941f2c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | 4a760e5ff93ba8ee8392ec25a1d9a2c9794335e5 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js | RuntimeIdRuntimeModule::constructor | function | constructor() {
super("runtimeId");
} |
1,282,888 | 9e8f55a59ccf038e69a6f4917d5e40c7 | swh:1:cnt:df75d22ca5978675f9694f94a0f6eeac31941f2c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-30/ | 4a760e5ff93ba8ee8392ec25a1d9a2c9794335e5 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js | RuntimeIdRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const chunkGraph = /** @type {ChunkGraph} */ (this.chunkGraph);
const chunk = /** @type {Chunk} */ (this.chunk);
const runtime = chunk.runtime;
if (typeof runtime !== "string") {
throw new Error("RuntimeIdRuntimeModule must be in a single runti... |
1,282,889 | a9687759cfaad2ee45960db17b8b2e80 | swh:1:cnt:89179b6da69cd95d014072c54a691e1b8f53a057;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-86/ | 0f712f78b19a74ced1826702e5783a8775b5c22a | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js | StartupChunkDependenciesPlugin | type | class StartupChunkDependenciesPlugin {
/**
* @param {Options} options options
*/
constructor(options) {
/** @type {ChunkLoadingType} */
this.chunkLoading = options.chunkLoading;
/** @type {boolean} */
this.asyncChunkLoading =
typeof options.asyncChunkLoading === "boolean"
? options.asyncChunkLoadin... |
1,282,890 | 046e1e6dffa6ac1e30b340755fe97958 | swh:1:cnt:89179b6da69cd95d014072c54a691e1b8f53a057;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-35/ | 0f712f78b19a74ced1826702e5783a8775b5c22a | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js | StartupChunkDependenciesPlugin::constructor | function | /**
* @param {Options} options options
*/
constructor(options) {
/** @type {ChunkLoadingType} */
this.chunkLoading = options.chunkLoading;
/** @type {boolean} */
this.asyncChunkLoading =
typeof options.asyncChunkLoading === "boolean"
? options.asyncChunkLoading
: true;
} |
1,282,891 | 00cce194e9c330906845d70a9fab32d3 | swh:1:cnt:89179b6da69cd95d014072c54a691e1b8f53a057;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-85/ | 0f712f78b19a74ced1826702e5783a8775b5c22a | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js | StartupChunkDependenciesPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.thisCompilation.tap(PLUGIN_NAME, (compilation) => {
const globalChunkLoading = compilation.outputOptions.chunkLoading;
/**
* @param {Chunk} chunk chunk to check
* @ret... |
1,282,892 | a09641977f139b6de8c2b885a7690dcf | swh:1:cnt:a042739954da6ba0071993b0e1375674b9c0c155;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-75/ | 530441d19ab965900f699b189a2557f5bb875ed0 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js | StartupChunkDependenciesRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../ChunkGraph")} ChunkGraph */
/** @typedef {import("../Compilation")} Compilation */
class StartupChunkDependenciesRuntimeModule extends RuntimeModule {
/**
* @param {boolean} asyncChunkLoading use async chunk loading
*/
constructor(asyncChunkLoad... |
1,282,893 | 1bf7ff5763500dbe92ec3333a51cdb7e | swh:1:cnt:a042739954da6ba0071993b0e1375674b9c0c155;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-24/ | 530441d19ab965900f699b189a2557f5bb875ed0 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js | StartupChunkDependenciesRuntimeModule::constructor | function | /**
* @param {boolean} asyncChunkLoading use async chunk loading
*/
constructor(asyncChunkLoading) {
super("startup chunk dependencies", RuntimeModule.STAGE_TRIGGER);
/** @type {boolean} */
this.asyncChunkLoading = asyncChunkLoading;
} |
1,282,894 | 4975857b3ac2f5c11a68f8e2989f4607 | swh:1:cnt:a042739954da6ba0071993b0e1375674b9c0c155;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-74/ | 530441d19ab965900f699b189a2557f5bb875ed0 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js | StartupChunkDependenciesRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const chunkGraph = /** @type {ChunkGraph} */ (this.chunkGraph);
const chunk = /** @type {Chunk} */ (this.chunk);
const chunkIds = [
...chunkGraph.getChunkEntryDependentChunksIterable(chunk)
].map((chunk) => chunk.id);
const compilation = /** ... |
1,282,895 | 8db10f3357066d8412b8d5d731409123 | swh:1:cnt:ee2722a7a9fdf8b420f383998669ded37dc01ecf;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-52/ | 4b1210ea04df12dd927170754132dae60e970308 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js | StartupEntrypointRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class StartupEntrypointRuntimeModule extends RuntimeModule {
/**
* @param {boolean} asyncChunkLoading use async chunk loading
*/
constructor(asyncChunkLoading) {
super("startup entrypoint");
/** @type {boolean} */
this.asyncChunkLoading = asyncChunkLoa... |
1,282,896 | fd66f3315c5314bbbd53fc0db6e4057a | swh:1:cnt:ee2722a7a9fdf8b420f383998669ded37dc01ecf;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-20/ | 4b1210ea04df12dd927170754132dae60e970308 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js | StartupEntrypointRuntimeModule::constructor | function | /**
* @param {boolean} asyncChunkLoading use async chunk loading
*/
constructor(asyncChunkLoading) {
super("startup entrypoint");
/** @type {boolean} */
this.asyncChunkLoading = asyncChunkLoading;
} |
1,282,897 | a209863812f01a3b50f587d70b8456e6 | swh:1:cnt:ee2722a7a9fdf8b420f383998669ded37dc01ecf;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-51/ | 4b1210ea04df12dd927170754132dae60e970308 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js | StartupEntrypointRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
return `${
RuntimeGlobals.startupEntrypoint
} = ${runtimeTemplate.basicFunction("result, chunkIds, fn", [
"// arguments: chunkIds, mo... |
1,282,898 | 94dd2ef67620042d3f13ec4d7cc0e110 | swh:1:cnt:9f1612bdc541059503ae89e348908f40cc8ad184;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-21/ | 209a9ed9e000223311e7f0d65e9ffe3d6f530de9 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js | SystemContextRuntimeModule | type | class SystemContextRuntimeModule extends RuntimeModule {
constructor() {
super("__system_context__");
}
/**
* @returns {string | null} runtime code
*/
generate() {
return `${RuntimeGlobals.systemContext} = __system_context__;`;
}
} |
1,282,899 | 570882ac4687558cf2683e483f8b3040 | swh:1:cnt:9f1612bdc541059503ae89e348908f40cc8ad184;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-13/ | 209a9ed9e000223311e7f0d65e9ffe3d6f530de9 | wlbdashboard | wmcs | node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js | SystemContextRuntimeModule::constructor | function | constructor() {
super("__system_context__");
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.