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,700 | 994ef730b957157daae64a06c3c524ec | swh:1:cnt:54fb0ddd40237b4f6c63e5b7da68dfde6cae2cce;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=973-1215/ | 8b9f2d79cdbcdcdc06c43bda4d223eea44f6ab6a | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ConcatenatedModule.js | ConcatenatedModule::_createConcatenationList | function | /**
* @private
* @param {Module} rootModule the root of the concatenation
* @param {Set<Module>} modulesSet a set of modules which should be concatenated
* @param {RuntimeSpec} runtime for this runtime
* @param {ModuleGraph} moduleGraph the module graph
* @returns {ConcatenationEntry[]} concatenation list
... |
1,282,701 | 8e6f01610259288d63ddb15d9d367477 | swh:1:cnt:54fb0ddd40237b4f6c63e5b7da68dfde6cae2cce;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1217-1243/ | 8b9f2d79cdbcdcdc06c43bda4d223eea44f6ab6a | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ConcatenatedModule.js | ConcatenatedModule::_createIdentifier | function | /**
* @param {Module} rootModule the root module of the concatenation
* @param {Set<Module>} modules all modules in the concatenation (including the root module)
* @param {AssociatedObjectForCache=} associatedObjectForCache object for caching
* @param {HashFunction=} hashFunction hash function to use
* @retur... |
1,282,702 | 05b120a48522823fddbceff0ef47c313 | swh:1:cnt:54fb0ddd40237b4f6c63e5b7da68dfde6cae2cce;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1245-1265/ | 8b9f2d79cdbcdcdc06c43bda4d223eea44f6ab6a | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ConcatenatedModule.js | ConcatenatedModule::addCacheDependencies | function | /**
* @param {FileSystemDependencies} fileDependencies set where file dependencies are added to
* @param {FileSystemDependencies} contextDependencies set where context dependencies are added to
* @param {FileSystemDependencies} missingDependencies set where missing dependencies are added to
* @param {FileSystem... |
1,282,703 | ec7bc3a4f8964080e10f2da97409f1dc | swh:1:cnt:54fb0ddd40237b4f6c63e5b7da68dfde6cae2cce;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=840-846/ | 8b9f2d79cdbcdcdc06c43bda4d223eea44f6ab6a | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ConcatenatedModule.js | ConcatenatedModule::getSideEffectsConnectionState | function | /**
* @param {ModuleGraph} moduleGraph the module graph
* @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only
*/
getSideEffectsConnectionState(moduleGraph) {
return this.rootModule.getSideEffectsConnectionState(moduleGraph);
} |
1,282,704 | 9716dbec004500a23df29703b94e196d | swh:1:cnt:54fb0ddd40237b4f6c63e5b7da68dfde6cae2cce;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2246-2270/ | 8b9f2d79cdbcdcdc06c43bda4d223eea44f6ab6a | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ConcatenatedModule.js | ConcatenatedModule::updateHash | function | /**
* @param {Hash} hash the hash used to track dependencies
* @param {UpdateHashContext} context context
* @returns {void}
*/
updateHash(hash, context) {
const { chunkGraph, runtime } = context;
for (const info of this._createConcatenationList(
this.rootModule,
this._modules,
intersectRuntime(run... |
1,282,705 | b49e7beda406790523533fe797f3c536 | swh:1:cnt:d6210f1879883f27275b868bc38bd7cec4a3e181;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-86/ | 60712be438ec4c189463cdc591037348eff7cb6e | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js | EnsureChunkConditionsPlugin | type | class EnsureChunkConditionsPlugin {
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
/**
* @param {Iterable<Chunk>} chunks the chunks
*/
const handler = (chunks) => {
... |
1,282,706 | 5772ae2520da11a8058f6c151db744c7 | swh:1:cnt:d6210f1879883f27275b868bc38bd7cec4a3e181;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-85/ | 60712be438ec4c189463cdc591037348eff7cb6e | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js | EnsureChunkConditionsPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
/**
* @param {Iterable<Chunk>} chunks the chunks
*/
const handler = (chunks) => {
const chunkGraph = compilation.ch... |
1,282,707 | eff4ad0135ac9b329286b271ecfa8c39 | swh:1:cnt:6dba5b3c01c3964fabe83205259484e9346c35d9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-135/ | 5f22f7fb59b431b82beab232c409940cf4c029e8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js | FlagIncludedChunksPlugin | type | class FlagIncludedChunksPlugin {
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
compilation.hooks.optimizeChunkIds.tap(PLUGIN_NAME, (chunks) => {
const chunkGraph = compila... |
1,282,708 | 0554064efe260913715ac9bd71f9ce8c | swh:1:cnt:6dba5b3c01c3964fabe83205259484e9346c35d9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-134/ | 5f22f7fb59b431b82beab232c409940cf4c029e8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js | FlagIncludedChunksPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
compilation.hooks.optimizeChunkIds.tap(PLUGIN_NAME, (chunks) => {
const chunkGraph = compilation.chunkGraph;
// prepare t... |
1,282,709 | c387371c5918c5eaeb0004ff800c5e9c | swh:1:cnt:8875e22bb101e0684626ad7068db8300357ab4f9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-41/ | 8e2539b9a7d7ad60f5918072f928d35439a2a033 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/InnerGraph.js | TopLevelSymbol | type | /** @typedef {import("../Dependency")} Dependency */
/** @typedef {import("../Dependency").GetConditionFn} GetConditionFn */
/** @typedef {import("../Module")} Module */
/** @typedef {import("../ModuleGraph")} ModuleGraph */
/** @typedef {import("../Parser").ParserState} ParserState */
/** @typedef {import("../util/run... |
1,282,710 | 8bc9eec36b89fa765366e26145fa9cb9 | swh:1:cnt:8875e22bb101e0684626ad7068db8300357ab4f9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-40/ | 8e2539b9a7d7ad60f5918072f928d35439a2a033 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/InnerGraph.js | TopLevelSymbol::constructor | function | /**
* @param {string} name name of the variable
*/
constructor(name) {
/** @type {string} */
this.name = name;
} |
1,282,711 | 6f97184283bee532daa41b036acbf91b | swh:1:cnt:8875e22bb101e0684626ad7068db8300357ab4f9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-55/ | 8e2539b9a7d7ad60f5918072f928d35439a2a033 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/InnerGraph.js | getState | function | /**
* @param {ParserState} parserState parser state
* @returns {State | undefined} state
*/
function getState(parserState) {
return parserStateMap.get(parserState);
} |
1,282,712 | 3f48d18bb3d8df1929ab5a96a1a8f937 | swh:1:cnt:cd2c83f199078e28768ec8ddcf7615e5da1fa147;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-459/ | 2afa5ae4970059394e9c8d65b0bd87eb92bf91ce | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/InnerGraphPlugin.js | InnerGraphPlugin | type | class InnerGraphPlugin {
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(
PLUGIN_NAME,
(compilation, { normalModuleFactory }) => {
const logger = compilation.getLogger("webpack.InnerGraphPlugin");
... |
1,282,713 | f40e3e675afa6123df165fb3f7d733dd | swh:1:cnt:cd2c83f199078e28768ec8ddcf7615e5da1fa147;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-458/ | 2afa5ae4970059394e9c8d65b0bd87eb92bf91ce | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/InnerGraphPlugin.js | InnerGraphPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(
PLUGIN_NAME,
(compilation, { normalModuleFactory }) => {
const logger = compilation.getLogger("webpack.InnerGraphPlugin");
compilation.dependencyTemp... |
1,282,714 | 2aeca9cef855c189275a1883327e54ea | swh:1:cnt:62fff5b6a224473a4a4a0e7286f6c7c3b5fd1493;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-304/ | 7d15f2348767487b878f4ebeba53063bea89c133 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js | LimitChunkCountPlugin | type | class LimitChunkCountPlugin {
/**
* @param {LimitChunkCountPluginOptions=} options options object
*/
constructor(options = { maxChunks: 1 }) {
/** @type {LimitChunkCountPluginOptions} */
this.options = options;
}
/**
* @param {Compiler} compiler the webpack compiler
* @returns {void}
*/
apply(compil... |
1,282,715 | c907c1fa01940d652298a4d5d037afcd | swh:1:cnt:62fff5b6a224473a4a4a0e7286f6c7c3b5fd1493;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-53/ | 7d15f2348767487b878f4ebeba53063bea89c133 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js | LimitChunkCountPlugin::constructor | function | /**
* @param {LimitChunkCountPluginOptions=} options options object
*/
constructor(options = { maxChunks: 1 }) {
/** @type {LimitChunkCountPluginOptions} */
this.options = options;
} |
1,282,716 | 03bdacb56c9ca4c2a8c3504a01a4c108 | swh:1:cnt:62fff5b6a224473a4a4a0e7286f6c7c3b5fd1493;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-303/ | 7d15f2348767487b878f4ebeba53063bea89c133 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js | LimitChunkCountPlugin::apply | function | /**
* @param {Compiler} compiler the webpack compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.validate.tap(PLUGIN_NAME, () => {
compiler.validate(
() =>
require("../../schemas/plugins/optimize/LimitChunkCountPlugin.json"),
this.options,
{
name: "Limit Chunk Count Plugin",... |
1,282,717 | 9d2021732137513d0b96d2dfe6737d85 | swh:1:cnt:ffe83bd704bbfb940f788a699d3f7b518bf66221;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=159-192/ | 3a97d6c88e7055d5084f68908e220f48c9bbd4fa | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MangleExportsPlugin.js | MangleExportsPlugin | type | class MangleExportsPlugin {
/**
* @param {boolean} deterministic use deterministic names
*/
constructor(deterministic) {
/** @type {boolean} */
this._deterministic = deterministic;
}
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
... |
1,282,718 | 7c623589c6dc6db11f9b1e9e30aebd14 | swh:1:cnt:ffe83bd704bbfb940f788a699d3f7b518bf66221;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=160-166/ | 3a97d6c88e7055d5084f68908e220f48c9bbd4fa | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MangleExportsPlugin.js | MangleExportsPlugin::constructor | function | /**
* @param {boolean} deterministic use deterministic names
*/
constructor(deterministic) {
/** @type {boolean} */
this._deterministic = deterministic;
} |
1,282,719 | c9fad92cc2674b324ed61bc4d6b78f6f | swh:1:cnt:ffe83bd704bbfb940f788a699d3f7b518bf66221;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=168-191/ | 3a97d6c88e7055d5084f68908e220f48c9bbd4fa | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MangleExportsPlugin.js | MangleExportsPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
const { _deterministic: deterministic } = this;
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
const moduleGraph = compilation.moduleGraph;
compilation.hooks.optimizeCodeGe... |
1,282,720 | dd2cfbdb3d859c72e0d940d1bc3c40c5 | swh:1:cnt:e64b004694c22118039f80b2921821f5b3f5e35b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-139/ | 2dc0f72b0affc3b50821bdca5fb7b73628898b2e | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js | MergeDuplicateChunksPlugin | type | class MergeDuplicateChunksPlugin {
/**
* @param {MergeDuplicateChunksPluginOptions=} options options object
*/
constructor(options = { stage: STAGE_BASIC }) {
/** @type {MergeDuplicateChunksPluginOptions} */
this.options = options;
}
/**
* @param {Compiler} compiler the compiler
* @returns {void}
*/
... |
1,282,721 | 1dc79b936150892082b6bcdf53883f2d | swh:1:cnt:e64b004694c22118039f80b2921821f5b3f5e35b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-24/ | 2dc0f72b0affc3b50821bdca5fb7b73628898b2e | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js | MergeDuplicateChunksPlugin::constructor | function | /**
* @param {MergeDuplicateChunksPluginOptions=} options options object
*/
constructor(options = { stage: STAGE_BASIC }) {
/** @type {MergeDuplicateChunksPluginOptions} */
this.options = options;
} |
1,282,722 | 82aec41b7e681c5b88d770729edc2fff | swh:1:cnt:e64b004694c22118039f80b2921821f5b3f5e35b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-138/ | 2dc0f72b0affc3b50821bdca5fb7b73628898b2e | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js | MergeDuplicateChunksPlugin::apply | function | /**
* @param {Compiler} compiler the compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.validate.tap(PLUGIN_NAME, () => {
compiler.validate(
() =>
require("../../schemas/plugins/optimize/MergeDuplicateChunksPlugin.json"),
this.options,
{
name: "Merge Duplicate Chunks Plugin... |
1,282,723 | dc83ca51717c8a87ae0cbaa32735121a | swh:1:cnt:3e9f205f2b0934643c5d4c9af13742adcc512d54;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-123/ | c67756ee77fe8c459cfbdf3f07830fdec866cbd8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MinChunkSizePlugin.js | MinChunkSizePlugin | type | class MinChunkSizePlugin {
/**
* @param {MinChunkSizePluginOptions} options options object
*/
constructor(options) {
/** @type {MinChunkSizePluginOptions} */
this.options = options;
}
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
... |
1,282,724 | f1cb7e955d43c2745dd3570eb859e211 | swh:1:cnt:3e9f205f2b0934643c5d4c9af13742adcc512d54;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-23/ | c67756ee77fe8c459cfbdf3f07830fdec866cbd8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MinChunkSizePlugin.js | MinChunkSizePlugin::constructor | function | /**
* @param {MinChunkSizePluginOptions} options options object
*/
constructor(options) {
/** @type {MinChunkSizePluginOptions} */
this.options = options;
} |
1,282,725 | 472f4407ffa46642bd6ccd75a27ca0fb | swh:1:cnt:3e9f205f2b0934643c5d4c9af13742adcc512d54;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-122/ | c67756ee77fe8c459cfbdf3f07830fdec866cbd8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MinChunkSizePlugin.js | MinChunkSizePlugin::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/optimize/MinChunkSizePlugin.json"),
this.options,
{
name: "Min Chunk Si... |
1,282,726 | 3993e9448111d8ce7c19daf426f33196 | swh:1:cnt:2cc845eb9f0e921d5938175a29e6aea0dfab76b1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-33/ | 19b9bc4df2c1ba2adffad6b07fb653f561f02d49 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MinMaxSizeWarning.js | MinMaxSizeWarning | type | class MinMaxSizeWarning extends WebpackError {
/**
* @param {string[] | undefined} keys keys
* @param {number} minSize minimum size
* @param {number} maxSize maximum size
*/
constructor(keys, minSize, maxSize) {
let keysMessage = "Fallback cache group";
if (keys) {
keysMessage =
keys.length > 1
... |
1,282,727 | 723701d1f069ded712ff206b8ec6cdb8 | swh:1:cnt:2cc845eb9f0e921d5938175a29e6aea0dfab76b1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-32/ | 19b9bc4df2c1ba2adffad6b07fb653f561f02d49 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/MinMaxSizeWarning.js | MinMaxSizeWarning::constructor | function | /**
* @param {string[] | undefined} keys keys
* @param {number} minSize minimum size
* @param {number} maxSize maximum size
*/
constructor(keys, minSize, maxSize) {
let keysMessage = "Fallback cache group";
if (keys) {
keysMessage =
keys.length > 1
? `Cache groups ${keys.sort().join(", ")}`
... |
1,282,728 | 476683089db0b307aadff423ede5d368 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-882/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ModuleConcatenationPlugin | type | class ModuleConcatenationPlugin {
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
const { _backCompat: backCompat } = compiler;
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
if (compilation.moduleMemCaches) {
throw ne... |
1,282,729 | a26e1bd1b7de434fbe4f9236963ea6b9 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=884-969/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration | type | /** @typedef {Map<Module, Problem>} Warnings */
class ConcatConfiguration {
/**
* @param {Module} rootModule the root module
* @param {RuntimeSpec} runtime the runtime
*/
constructor(rootModule, runtime) {
/** @type {Module} */
this.rootModule = rootModule;
/** @type {RuntimeSpec} */
this.runtime = run... |
1,282,730 | 13835b6efa3feda49bc27da56a040438 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-521/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ModuleConcatenationPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
const { _backCompat: backCompat } = compiler;
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
if (compilation.moduleMemCaches) {
throw new Error(
"optimization.concate... |
1,282,731 | 67b8f0bf620c412889563009e97e2cad | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=887-901/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::constructor | function | /**
* @param {Module} rootModule the root module
* @param {RuntimeSpec} runtime the runtime
*/
constructor(rootModule, runtime) {
/** @type {Module} */
this.rootModule = rootModule;
/** @type {RuntimeSpec} */
this.runtime = runtime;
/** @type {Set<Module>} */
this.modules = new Set();
this.modules.... |
1,282,732 | 5c9737907faaa5adc3bb01adf29c4b75 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=903-908/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::add | function | /**
* @param {Module} module the module
*/
add(module) {
this.modules.add(module);
} |
1,282,733 | 9822a63d20019dae54416c95c6823da2 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=564-881/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ModuleConcatenationPlugin::_tryToAdd | function | /**
* @param {Compilation} compilation webpack compilation
* @param {ConcatConfiguration} config concat configuration (will be modified when added)
* @param {Module} module the module to be added
* @param {RuntimeSpec} runtime the runtime scope of the generated code
* @param {RuntimeSpec} activeRuntime the ru... |
1,282,734 | ec77a99ba662a26b671d9239d8c74596 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=523-562/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ModuleConcatenationPlugin::_getImports | function | /**
* @param {Compilation} compilation the compilation
* @param {Module} module the module to be added
* @param {RuntimeSpec} runtime the runtime scope
* @returns {Set<Module>} the imported modules
*/
_getImports(compilation, module, runtime) {
const moduleGraph = compilation.moduleGraph;
/** @type {Set<... |
1,282,735 | c56e98da000bd17e6444986830737b10 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=910-916/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::has | function | /**
* @param {Module} module the module
* @returns {boolean} true, when the module is in the module set
*/
has(module) {
return this.modules.has(module);
} |
1,282,736 | 98c677beebba79bf7a6cd8e9f3715f4b | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=918-920/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::isEmpty | function | isEmpty() {
return this.modules.size === 1;
} |
1,282,737 | 39ad939140f26471b76ba041cf997454 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=922-928/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::addWarning | function | /**
* @param {Module} module the module
* @param {Problem} problem the problem
*/
addWarning(module, problem) {
this.warnings.set(module, problem);
} |
1,282,738 | 6b508691670f4b991708ea3763ae77b0 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=930-943/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::getWarningsSorted | function | /**
* @returns {Warnings} warnings
*/
getWarningsSorted() {
return new Map(
[...this.warnings].sort((a, b) => {
const ai = a[0].identifier();
const bi = b[0].identifier();
if (ai < bi) return -1;
if (ai > bi) return 1;
return 0;
})
);
} |
1,282,739 | 3edd90dc132e397f57f0dc5809f9bb90 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=945-950/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::getModules | function | /**
* @returns {Set<Module>} modules as set
*/
getModules() {
return this.modules;
} |
1,282,740 | f7502152fa2f015f4d224eb5adbd5bdb | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=956-968/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::rollback | function | /**
* @param {number} snapshot snapshot
*/
rollback(snapshot) {
const modules = this.modules;
for (const m of modules) {
if (snapshot === 0) {
modules.delete(m);
} else {
snapshot--;
}
}
} |
1,282,741 | 6a005a65da03abd3531a972a9ed41592 | swh:1:cnt:649bb056bb8f0450904e3f45f68e2d53de0810a8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=952-954/ | 0c5bb753aaa71376d5fa35ea15307eac5373ffe9 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js | ConcatConfiguration::snapshot | function | snapshot() {
return this.modules.size;
} |
1,282,742 | 504beb434b3cbc1f523cf6cae03ab935 | swh:1:cnt:704d9de09ff3f946e3c22c6d95c0280edc362643;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=126-486/ | a912f38021587e7a2c15b6786315148c5f79a642 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RealContentHashPlugin.js | RealContentHashPlugin | type | class RealContentHashPlugin {
/**
* @param {Compilation} compilation the compilation
* @returns {CompilationHooks} the attached hooks
*/
static getCompilationHooks(compilation) {
if (!(compilation instanceof Compilation)) {
throw new TypeError(
"The 'compilation' argument must be an instance of Compila... |
1,282,743 | 6573eae0b0ebbc6c22d04735f3c92cd2 | swh:1:cnt:704d9de09ff3f946e3c22c6d95c0280edc362643;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=127-145/ | a912f38021587e7a2c15b6786315148c5f79a642 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RealContentHashPlugin.js | RealContentHashPlugin::getCompilationHooks | function | /**
* @param {Compilation} compilation the compilation
* @returns {CompilationHooks} the attached hooks
*/
static getCompilationHooks(compilation) {
if (!(compilation instanceof Compilation)) {
throw new TypeError(
"The 'compilation' argument must be an instance of Compilation"
);
}
let hooks = c... |
1,282,744 | 3cabfd343cb78aab4ae0d5ba29ef3abd | swh:1:cnt:704d9de09ff3f946e3c22c6d95c0280edc362643;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=157-485/ | a912f38021587e7a2c15b6786315148c5f79a642 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RealContentHashPlugin.js | RealContentHashPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
const cacheAnalyse = compilation.getCache(
"RealContentHashPlugin|analyse"
);
const cacheGenerate = compilation.getCache... |
1,282,745 | 4a7e06a76e0005d98ae2977b79bb32fb | swh:1:cnt:704d9de09ff3f946e3c22c6d95c0280edc362643;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=147-155/ | a912f38021587e7a2c15b6786315148c5f79a642 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RealContentHashPlugin.js | RealContentHashPlugin::constructor | function | /**
* @param {RealContentHashPluginOptions} options options
*/
constructor({ hashFunction, hashDigest }) {
/** @type {HashFunction} */
this._hashFunction = hashFunction;
/** @type {HashDigest} */
this._hashDigest = hashDigest;
} |
1,282,746 | d0a0e0e41cbd2b1ba3d8cf3e01f779b4 | swh:1:cnt:6af483b26782de5c0b807c2b42263dd0283393d2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-57/ | 792ea3fd5590cb977e5e6259c3b2ecfeb1e2ab13 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js | RemoveEmptyChunksPlugin | type | class RemoveEmptyChunksPlugin {
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
/**
* @param {Iterable<Chunk>} chunks the chunks array
* @returns {void}
*/
const ... |
1,282,747 | 227e9423cf6b06f5a9759633b90290e4 | swh:1:cnt:6af483b26782de5c0b807c2b42263dd0283393d2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-56/ | 792ea3fd5590cb977e5e6259c3b2ecfeb1e2ab13 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js | RemoveEmptyChunksPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
/**
* @param {Iterable<Chunk>} chunks the chunks array
* @returns {void}
*/
const handler = (chunks) => {
const... |
1,282,748 | 5213af7f0fa87b58e02b6979cfa4b7ce | swh:1:cnt:fcfbd0f4b3a41cf30c66ce3e8bc6980c77979812;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-26/ | 770d0b73fe670f43a183951ecf5c8f0be686103c | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js | intersectMasks | function | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../ChunkGroup")} ChunkGroup */
/** @typedef {import("../Compiler")} Compiler */
/** @typedef {import("../Module")} Module */
/**
* Intersects multiple masks represented as bigints
* @param {bigint[]} masks The module masks to intersect
* @returns {big... |
1,282,749 | ecf60c8da0731b799ba9b82f34461de0 | swh:1:cnt:fcfbd0f4b3a41cf30c66ce3e8bc6980c77979812;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-213/ | 770d0b73fe670f43a183951ecf5c8f0be686103c | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js | RemoveParentModulesPlugin::apply | function | /**
* @param {Compiler} compiler the compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
/**
* @param {Iterable<Chunk>} chunks the chunks
* @param {ChunkGroup[]} chunkGroups the chunk groups
*/
const handler = (chunks, chunkGroups) =>... |
1,282,750 | 91b3bd834432ea98275493410f67e001 | swh:1:cnt:fcfbd0f4b3a41cf30c66ce3e8bc6980c77979812;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=64-214/ | 770d0b73fe670f43a183951ecf5c8f0be686103c | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js | RemoveParentModulesPlugin | type | class RemoveParentModulesPlugin {
/**
* @param {Compiler} compiler the compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
/**
* @param {Iterable<Chunk>} chunks the chunks
* @param {ChunkGroup[]} chunkGroups the chunk groups
*/
const... |
1,282,751 | cbed6e0019b8543958fdf5130a8f690b | swh:1:cnt:ef1b6c7e6a7af7f8c45fec679c7fad07821f8dfa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-50/ | be1961e393e6e9294d0ca42c16697322d46f62c8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js | RuntimeChunkPlugin | type | /** @typedef {(entrypoint: { name: string }) => string} RuntimeChunkFunction */
class RuntimeChunkPlugin {
/**
* @param {{ name?: RuntimeChunkFunction }=} options options
*/
constructor(options = {}) {
/** @type {{ name: string | RuntimeChunkFunction }} */
this.options = {
name: (entrypoint) => `runtime~$... |
1,282,752 | a52462ee1a6617c32d5fd4338e285c72 | swh:1:cnt:ef1b6c7e6a7af7f8c45fec679c7fad07821f8dfa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-25/ | be1961e393e6e9294d0ca42c16697322d46f62c8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js | RuntimeChunkPlugin::constructor | function | /**
* @param {{ name?: RuntimeChunkFunction }=} options options
*/
constructor(options = {}) {
/** @type {{ name: string | RuntimeChunkFunction }} */
this.options = {
name: (entrypoint) => `runtime~${entrypoint.name}`,
...options
};
} |
1,282,753 | 00c96ea5168fa8534692fc6f86ec779c | swh:1:cnt:ef1b6c7e6a7af7f8c45fec679c7fad07821f8dfa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-49/ | be1961e393e6e9294d0ca42c16697322d46f62c8 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js | RuntimeChunkPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
compiler.hooks.thisCompilation.tap(PLUGIN_NAME, (compilation) => {
compilation.hooks.addEntry.tap(PLUGIN_NAME, (_, { name: entryName }) => {
if (entryName === undefined) return;
const d... |
1,282,754 | e7d399e328471bf1d1879a8a9a84fb92 | swh:1:cnt:cb42bc88863679ad113b281d2100a54f96f0c617;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=66-415/ | 5d95cb6b0c3858057709936433d9e15bda8d31c4 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js | SideEffectsFlagPlugin | type | class SideEffectsFlagPlugin {
/**
* @param {boolean} analyseSource analyse source code for side effects
*/
constructor(analyseSource = true) {
/** @type {boolean} */
this._analyseSource = analyseSource;
}
/**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/... |
1,282,755 | 9c3295a2bbfe05cb411120e9db35eb7c | swh:1:cnt:cb42bc88863679ad113b281d2100a54f96f0c617;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-73/ | 5d95cb6b0c3858057709936433d9e15bda8d31c4 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js | SideEffectsFlagPlugin::constructor | function | /**
* @param {boolean} analyseSource analyse source code for side effects
*/
constructor(analyseSource = true) {
/** @type {boolean} */
this._analyseSource = analyseSource;
} |
1,282,756 | 30e49bc1ca2337c2ffd930d0e1f45039 | swh:1:cnt:cb42bc88863679ad113b281d2100a54f96f0c617;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=395-414/ | 5d95cb6b0c3858057709936433d9e15bda8d31c4 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js | SideEffectsFlagPlugin::moduleHasSideEffects | function | /**
* @param {string} moduleName the module name
* @param {SideEffectsFlagValue} flagValue the flag value
* @param {CacheItem} cache cache for glob to regexp
* @returns {boolean | undefined} true, when the module has side effects, undefined or false when not
*/
static moduleHasSideEffects(moduleName, flagVal... |
1,282,757 | 17c2151b02d9a1fef3256540f4a21a8e | swh:1:cnt:cb42bc88863679ad113b281d2100a54f96f0c617;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-393/ | 5d95cb6b0c3858057709936433d9e15bda8d31c4 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js | SideEffectsFlagPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
let cache = globToRegexpCache.get(compiler.root);
if (cache === undefined) {
cache = new Map();
globToRegexpCache.set(compiler.root, cache);
}
compiler.hooks.compilation.tap(
PLUGIN... |
1,282,758 | 88d75e8e681ade63fe392b5af0ec66f3 | swh:1:cnt:001c4a5151ca6c897c542666859a96a1752f20fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=659-746/ | e0c65beb72b9efecfbeed85cc0342fca95819750 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SplitChunksPlugin.js | SplitChunksPlugin::constructor | function | /**
* @param {OptimizationSplitChunksOptions=} options plugin options
*/
constructor(options = {}) {
const defaultSizeTypes = options.defaultSizeTypes || [
"javascript",
"unknown"
];
const fallbackCacheGroup = options.fallbackCacheGroup || {};
const minSize = normalizeSizes(options.minSize, defaultSi... |
1,282,759 | add66a2718cf3e1d5cf9e19785449fb0 | swh:1:cnt:001c4a5151ca6c897c542666859a96a1752f20fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=839-1835/ | e0c65beb72b9efecfbeed85cc0342fca95819750 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SplitChunksPlugin.js | SplitChunksPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
const cachedMakePathsRelative = makePathsRelative.bindContextCache(
compiler.context,
compiler.root
);
compiler.hooks.thisCompilation.tap(PLUGIN_NAME, (compilation) => {
const logger ... |
1,282,760 | 592aac336aa6b7419bb5daae6525dc7b | swh:1:cnt:001c4a5151ca6c897c542666859a96a1752f20fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=748-837/ | e0c65beb72b9efecfbeed85cc0342fca95819750 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SplitChunksPlugin.js | SplitChunksPlugin::_getCacheGroup | function | /**
* @param {CacheGroupSource} cacheGroupSource source
* @returns {CacheGroup} the cache group (cached)
*/
_getCacheGroup(cacheGroupSource) {
const cacheEntry = this._cacheGroupCache.get(cacheGroupSource);
if (cacheEntry !== undefined) return cacheEntry;
const minSize = mergeSizes(
cacheGroupSource.min... |
1,282,761 | e89c3d7cbec14609ba083c42de607f8f | swh:1:cnt:001c4a5151ca6c897c542666859a96a1752f20fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1765-1781/ | e0c65beb72b9efecfbeed85cc0342fca95819750 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SplitChunksPlugin.js | SplitChunksPlugin::apply::getKey | function | getKey(module) {
const cache = getKeyCache.get(module);
if (cache !== undefined) return cache;
const ident = cachedMakePathsRelative(module.identifier());
const nameForCondition =
module.nameForCondition && module.nameForCondition();
const name = nameForCondition
... |
1,282,762 | 5a4dc5f543304895a4782c3aa5e0688d | swh:1:cnt:001c4a5151ca6c897c542666859a96a1752f20fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1782-1789/ | e0c65beb72b9efecfbeed85cc0342fca95819750 | wlbdashboard | wmcs | node_modules/webpack/lib/optimize/SplitChunksPlugin.js | SplitChunksPlugin::apply::getSize | function | getSize(module) {
/** @type {Sizes} */
const size = Object.create(null);
for (const key of module.getSourceTypes()) {
size[key] = module.size(key);
}
return size;
} |
1,282,763 | 0a1ebcec71e911c7c54c2b31928d18ab | swh:1:cnt:a8141adf18e8c3ca08533552ffe77738bccc202d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-34/ | 80b21fd13c6de8ca853837a267a67f4826b68c0f | wlbdashboard | wmcs | node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js | AssetsOverSizeLimitWarning | type | /** @typedef {import("./SizeLimitsPlugin").AssetDetails} AssetDetails */
class AssetsOverSizeLimitWarning extends WebpackError {
/**
* @param {AssetDetails[]} assetsOverSizeLimit the assets
* @param {number} assetLimit the size limit
*/
constructor(assetsOverSizeLimit, assetLimit) {
const assetLists = assets... |
1,282,764 | 57b720bac4a0ee67965c3030d0849dea | swh:1:cnt:a8141adf18e8c3ca08533552ffe77738bccc202d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-33/ | 80b21fd13c6de8ca853837a267a67f4826b68c0f | wlbdashboard | wmcs | node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js | AssetsOverSizeLimitWarning::constructor | function | /**
* @param {AssetDetails[]} assetsOverSizeLimit the assets
* @param {number} assetLimit the size limit
*/
constructor(assetsOverSizeLimit, assetLimit) {
const assetLists = assetsOverSizeLimit
.map((asset) => `\n ${asset.name} (${formatSize(asset.size)})`)
.join("");
super(`asset size limit: The fol... |
1,282,765 | a8ba4cac94e4f5730d00b0954123b6d8 | swh:1:cnt:25f8d46efe9ea02c4ef7c3c421174c7433eafdb8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-37/ | ecb9eca043b34e81bcb6d66186c86bf52e087a34 | wlbdashboard | wmcs | node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js | EntrypointsOverSizeLimitWarning | type | /** @typedef {import("./SizeLimitsPlugin").EntrypointDetails} EntrypointDetails */
class EntrypointsOverSizeLimitWarning extends WebpackError {
/**
* @param {EntrypointDetails[]} entrypoints the entrypoints
* @param {number} entrypointLimit the size limit
*/
constructor(entrypoints, entrypointLimit) {
const ... |
1,282,766 | e490c6bf2f5837dbb473769aa2b3ec4f | swh:1:cnt:25f8d46efe9ea02c4ef7c3c421174c7433eafdb8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-36/ | ecb9eca043b34e81bcb6d66186c86bf52e087a34 | wlbdashboard | wmcs | node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js | EntrypointsOverSizeLimitWarning::constructor | function | /**
* @param {EntrypointDetails[]} entrypoints the entrypoints
* @param {number} entrypointLimit the size limit
*/
constructor(entrypoints, entrypointLimit) {
const entrypointList = entrypoints
.map(
(entrypoint) =>
`\n ${entrypoint.name} (${formatSize(
entrypoint.size
)})\n${entrypoint... |
1,282,767 | c1a1a062ce99e04b96389a587db970ab | swh:1:cnt:24ce12ea2298a84a02c922730cc04b326d488eb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-20/ | b1b90a1981cb2dfed66d07ea73c2a28c3a621f9b | wlbdashboard | wmcs | node_modules/webpack/lib/performance/NoAsyncChunksWarning.js | NoAsyncChunksWarning::constructor | function | constructor() {
super(
"webpack performance recommendations: \n" +
"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n" +
"For more info visit https://webpack.js.org/guides/code-splitting/"
);
/** @type {string} */
this.name = "N... |
1,282,768 | 3a9019fa03d453e24417d879ae650898 | swh:1:cnt:0c985b6e57671d28b31916a55e8199300a8d43d8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-57/ | 23173e746d05432164e8e198b87b9df81c52312e | wlbdashboard | wmcs | node_modules/webpack/lib/performance/SizeLimitsPlugin.js | SizeLimitsPlugin::constructor | function | /**
* @param {PerformanceOptions} options the plugin options
*/
constructor(options) {
/** @type {PerformanceOptions["hints"]} */
this.hints = options.hints;
/** @type {number | undefined} */
this.maxAssetSize = options.maxAssetSize;
/** @type {number | undefined} */
this.maxEntrypointSize = options.ma... |
1,282,769 | 39a4717965f5419b4736ae9588bc3ce2 | swh:1:cnt:0c985b6e57671d28b31916a55e8199300a8d43d8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-182/ | 23173e746d05432164e8e198b87b9df81c52312e | wlbdashboard | wmcs | node_modules/webpack/lib/performance/SizeLimitsPlugin.js | SizeLimitsPlugin::apply | function | /**
* Apply the plugin
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
apply(compiler) {
const entrypointSizeLimit = this.maxEntrypointSize;
const assetSizeLimit = this.maxAssetSize;
const hints = this.hints;
const assetFilter = this.assetFilter || excludeSourceMap;
compiler.... |
1,282,770 | 117076ee0bf1a3d60f93d34ec48dd033 | swh:1:cnt:0c985b6e57671d28b31916a55e8199300a8d43d8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-65/ | 23173e746d05432164e8e198b87b9df81c52312e | wlbdashboard | wmcs | node_modules/webpack/lib/performance/SizeLimitsPlugin.js | SizeLimitsPlugin::isOverSizeLimit | function | /**
* @param {Entrypoint | ChunkGroup | Source} thing the resource to test
* @returns {boolean} true if over the limit
*/
static isOverSizeLimit(thing) {
return isOverSizeLimitSet.has(thing);
} |
1,282,771 | 3b3aa02fea78159901b41668c3510a71 | swh:1:cnt:d4464bd28b2f7629896e5547d1be3cac1ae77206;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-44/ | 733f88e5fd765801f22f025d170728f1f6d61ae7 | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js | ChunkPrefetchFunctionRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
class ChunkPrefetchFunctionRuntimeModule extends RuntimeModule {
/**
* @param {"prefetch" | "preload"} type "prefetch" or "preload" chunk type function
* @param {string} runtimeFunction the runtime function name
* @param {string} runtimeHandlers the runtime... |
1,282,772 | b225ea6f0c0400ab0e362c1bf399c7aa | swh:1:cnt:d4464bd28b2f7629896e5547d1be3cac1ae77206;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-24/ | 733f88e5fd765801f22f025d170728f1f6d61ae7 | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js | ChunkPrefetchFunctionRuntimeModule::constructor | function | /**
* @param {"prefetch" | "preload"} type "prefetch" or "preload" chunk type function
* @param {string} runtimeFunction the runtime function name
* @param {string} runtimeHandlers the runtime handlers
*/
constructor(type, runtimeFunction, runtimeHandlers) {
super(`chunk ${type} function`);
/** @type {stri... |
1,282,773 | 672befbb9f42a716256914c1541ca743 | swh:1:cnt:d4464bd28b2f7629896e5547d1be3cac1ae77206;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-43/ | 733f88e5fd765801f22f025d170728f1f6d61ae7 | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js | ChunkPrefetchFunctionRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { runtimeFunction, runtimeHandlers } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
return Template.asString([
`${runtimeHandlers} = {};`,
`${runtimeFunction} = ${run... |
1,282,774 | 309b423b9cbc28ae69e38fd96562fcdf | swh:1:cnt:8d620c2c0d03dcc88686edbeb4344528bcc8e0a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-93/ | 349bc533e16b4ca7d962d5906980a90c2440e90c | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js | ChunkPrefetchPreloadPlugin | type | class ChunkPrefetchPreloadPlugin {
/**
* @param {Compiler} compiler the compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
compilation.hooks.additionalChunkRuntimeRequirements.tap(
PLUGIN_NAME,
(chunk, set, { chunkGraph }) => {
if (ch... |
1,282,775 | aaa7362463acc1810a61e903e1fd53a8 | swh:1:cnt:8d620c2c0d03dcc88686edbeb4344528bcc8e0a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-92/ | 349bc533e16b4ca7d962d5906980a90c2440e90c | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js | ChunkPrefetchPreloadPlugin::apply | function | /**
* @param {Compiler} compiler the compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
compilation.hooks.additionalChunkRuntimeRequirements.tap(
PLUGIN_NAME,
(chunk, set, { chunkGraph }) => {
if (chunkGraph.getNumberOfEntryModules(chu... |
1,282,776 | d67510508909605a9f17e1a63470a871 | swh:1:cnt:2d917ada3282033c84158685b5e82f1075363804;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-54/ | 9595b2d6980c274bec014901df75d5c1f9d2ba8a | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js | ChunkPrefetchStartupRuntimeModule | type | /** @typedef {import("../Chunk")} Chunk */
/** @typedef {import("../Chunk").ChunkChildOfTypeInOrder} ChunkChildOfTypeInOrder */
/** @typedef {import("../Compilation")} Compilation */
class ChunkPrefetchStartupRuntimeModule extends RuntimeModule {
/**
* @param {ChunkChildOfTypeInOrder[]} startupChunks chunk ids to t... |
1,282,777 | ed456ac3a3ec908d44c0341b0a465d57 | swh:1:cnt:2d917ada3282033c84158685b5e82f1075363804;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-23/ | 9595b2d6980c274bec014901df75d5c1f9d2ba8a | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js | ChunkPrefetchStartupRuntimeModule::constructor | function | /**
* @param {ChunkChildOfTypeInOrder[]} startupChunks chunk ids to trigger when chunks are loaded
*/
constructor(startupChunks) {
super("startup prefetch", RuntimeModule.STAGE_TRIGGER);
/** @type {ChunkChildOfTypeInOrder[]} */
this.startupChunks = startupChunks;
} |
1,282,778 | df8ad1031cdee487b7d24af50e87e2ee | swh:1:cnt:2d917ada3282033c84158685b5e82f1075363804;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-53/ | 9595b2d6980c274bec014901df75d5c1f9d2ba8a | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js | ChunkPrefetchStartupRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { startupChunks } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
const chunk = /** @type {Chunk} */ (this.chunk);
const { runtimeTemplate } = compilation;
return Template.asString(
startupChunks.map(
({ o... |
1,282,779 | dd795622dcd6180d6b66b753849abfb3 | swh:1:cnt:c03f0a88e15c9d39fe2385edb17aec062051bde9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-50/ | 82b19d65e0cb6b548c600aa56667d27366124622 | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js | ChunkPrefetchTriggerRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
/** @typedef {import("../Chunk").ChunkChildIdsByOrdersMap} ChunkChildIdsByOrdersMap */
class ChunkPrefetchTriggerRuntimeModule extends RuntimeModule {
/**
* @param {ChunkChildIdsByOrdersMap} chunkMap map from chunk to
*/
constructor(chunkMap) {
super("chun... |
1,282,780 | d046f6526b830777f14f926dd42c8d99 | swh:1:cnt:c03f0a88e15c9d39fe2385edb17aec062051bde9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-22/ | 82b19d65e0cb6b548c600aa56667d27366124622 | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js | ChunkPrefetchTriggerRuntimeModule::constructor | function | /**
* @param {ChunkChildIdsByOrdersMap} chunkMap map from chunk to
*/
constructor(chunkMap) {
super("chunk prefetch trigger", RuntimeModule.STAGE_TRIGGER);
/** @type {ChunkChildIdsByOrdersMap} */
this.chunkMap = chunkMap;
} |
1,282,781 | a7363a1920dfdd280025ea92a9c60c90 | swh:1:cnt:c03f0a88e15c9d39fe2385edb17aec062051bde9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-49/ | 82b19d65e0cb6b548c600aa56667d27366124622 | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js | ChunkPrefetchTriggerRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { chunkMap } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const body = [
"var chunks = chunkToChildrenMap[chunkId];",
`Array.isArray(chunks) && chunks.map(${Runtime... |
1,282,782 | 9eb2010d70b1b4765f8f9dc22c3a8582 | swh:1:cnt:e833025cb6eb137d47b400e07ea0786220d75bf1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-44/ | 72794e2baa77a7f7b3726e430ffa90f55503981c | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js | ChunkPreloadTriggerRuntimeModule | type | /** @typedef {import("../Compilation")} Compilation */
/** @typedef {import("../Chunk").ChunkChildIdsByOrdersMap} ChunkChildIdsByOrdersMap */
class ChunkPreloadTriggerRuntimeModule extends RuntimeModule {
/**
* @param {ChunkChildIdsByOrdersMap} chunkMap map from chunk to chunks
*/
constructor(chunkMap) {
super... |
1,282,783 | f0219f545ffd3ae80cd88fe695d3b4bc | swh:1:cnt:e833025cb6eb137d47b400e07ea0786220d75bf1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-22/ | 72794e2baa77a7f7b3726e430ffa90f55503981c | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js | ChunkPreloadTriggerRuntimeModule::constructor | function | /**
* @param {ChunkChildIdsByOrdersMap} chunkMap map from chunk to chunks
*/
constructor(chunkMap) {
super("chunk preload trigger", RuntimeModule.STAGE_TRIGGER);
/** @type {ChunkChildIdsByOrdersMap} */
this.chunkMap = chunkMap;
} |
1,282,784 | 4ad0506eb3af1b8a97ebf56ca2cdde80 | swh:1:cnt:e833025cb6eb137d47b400e07ea0786220d75bf1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-43/ | 72794e2baa77a7f7b3726e430ffa90f55503981c | wlbdashboard | wmcs | node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js | ChunkPreloadTriggerRuntimeModule::generate | function | /**
* @returns {string | null} runtime code
*/
generate() {
const { chunkMap } = this;
const compilation = /** @type {Compilation} */ (this.compilation);
const { runtimeTemplate } = compilation;
const body = [
"var chunks = chunkToChildrenMap[chunkId];",
`Array.isArray(chunks) && chunks.map(${Runtime... |
1,282,785 | fcc68ea8633a11840f0cff07bbe41445 | swh:1:cnt:9764c3cdc428fb4001f23a58530751507d70ac7a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-54/ | 916733622ec44d1687060f029211441a956c0ceb | wlbdashboard | wmcs | node_modules/webpack/lib/rules/BasicEffectRulePlugin.js | BasicEffectRulePlugin | type | class BasicEffectRulePlugin {
/**
* @param {BasicEffectRuleKeys} ruleProperty the rule property
* @param {string=} effectType the effect type
*/
constructor(ruleProperty, effectType) {
/** @type {BasicEffectRuleKeys} */
this.ruleProperty = ruleProperty;
/** @type {string | BasicEffectRuleKeys} */
this.e... |
1,282,786 | 5aba2449c5490df8404b973dedd4a364 | swh:1:cnt:9764c3cdc428fb4001f23a58530751507d70ac7a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-31/ | 916733622ec44d1687060f029211441a956c0ceb | wlbdashboard | wmcs | node_modules/webpack/lib/rules/BasicEffectRulePlugin.js | BasicEffectRulePlugin::constructor | function | /**
* @param {BasicEffectRuleKeys} ruleProperty the rule property
* @param {string=} effectType the effect type
*/
constructor(ruleProperty, effectType) {
/** @type {BasicEffectRuleKeys} */
this.ruleProperty = ruleProperty;
/** @type {string | BasicEffectRuleKeys} */
this.effectType = effectType || ruleP... |
1,282,787 | 62a33cb4cc360ff229e3711407d8070a | swh:1:cnt:9764c3cdc428fb4001f23a58530751507d70ac7a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-53/ | 916733622ec44d1687060f029211441a956c0ceb | wlbdashboard | wmcs | node_modules/webpack/lib/rules/BasicEffectRulePlugin.js | BasicEffectRulePlugin::apply | function | /**
* @param {RuleSetCompiler} ruleSetCompiler the rule set compiler
* @returns {void}
*/
apply(ruleSetCompiler) {
ruleSetCompiler.hooks.rule.tap(
PLUGIN_NAME,
(path, rule, unhandledProperties, result) => {
if (unhandledProperties.has(this.ruleProperty)) {
unhandledProperties.delete(this.rulePro... |
1,282,788 | 18545b0d38df5349266252951659ab61 | swh:1:cnt:abadcc9a3bad7e57af7cf8d9aa4fb42085577b8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-66/ | d1c9a2114c8cc677c4672b22d81b13040cdd0b74 | wlbdashboard | wmcs | node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js | BasicMatcherRulePlugin | type | class BasicMatcherRulePlugin {
/**
* @param {BasicMatcherRuleKeys} ruleProperty the rule property
* @param {string=} dataProperty the data property
* @param {boolean=} invert if true, inverts the condition
*/
constructor(ruleProperty, dataProperty, invert) {
/** @type {BasicMatcherRuleKeys} */
this.rulePr... |
1,282,789 | cae8117a9b71977a1494829325f5a2d1 | swh:1:cnt:abadcc9a3bad7e57af7cf8d9aa4fb42085577b8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-36/ | d1c9a2114c8cc677c4672b22d81b13040cdd0b74 | wlbdashboard | wmcs | node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js | BasicMatcherRulePlugin::constructor | function | /**
* @param {BasicMatcherRuleKeys} ruleProperty the rule property
* @param {string=} dataProperty the data property
* @param {boolean=} invert if true, inverts the condition
*/
constructor(ruleProperty, dataProperty, invert) {
/** @type {BasicMatcherRuleKeys} */
this.ruleProperty = ruleProperty;
/** @ty... |
1,282,790 | 0f156346b0aa561efc9ef7ab23c7a939 | swh:1:cnt:abadcc9a3bad7e57af7cf8d9aa4fb42085577b8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-65/ | d1c9a2114c8cc677c4672b22d81b13040cdd0b74 | wlbdashboard | wmcs | node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js | BasicMatcherRulePlugin::apply | function | /**
* @param {RuleSetCompiler} ruleSetCompiler the rule set compiler
* @returns {void}
*/
apply(ruleSetCompiler) {
ruleSetCompiler.hooks.rule.tap(
PLUGIN_NAME,
(path, rule, unhandledProperties, result) => {
if (unhandledProperties.has(this.ruleProperty)) {
unhandledProperties.delete(this.rulePro... |
1,282,791 | 4bb816061ea57496f1cd3d7920ded931 | swh:1:cnt:1d26193a7d77d6995efb3429bf078627710faff4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-77/ | a1d5982e3ae16f3cb3b0ecfa11b4f384d0335f8c | wlbdashboard | wmcs | node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js | ObjectMatcherRulePlugin | type | class ObjectMatcherRulePlugin {
/**
* @param {ObjectMatcherRuleKeys} ruleProperty the rule property
* @param {DataProperty=} dataProperty the data property
* @param {RuleConditionFunction=} additionalConditionFunction need to check
*/
constructor(ruleProperty, dataProperty, additionalConditionFunction) {
/*... |
1,282,792 | fe25f4189f0118e88f59c97e59103802 | swh:1:cnt:1d26193a7d77d6995efb3429bf078627710faff4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-38/ | a1d5982e3ae16f3cb3b0ecfa11b4f384d0335f8c | wlbdashboard | wmcs | node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js | ObjectMatcherRulePlugin::constructor | function | /**
* @param {ObjectMatcherRuleKeys} ruleProperty the rule property
* @param {DataProperty=} dataProperty the data property
* @param {RuleConditionFunction=} additionalConditionFunction need to check
*/
constructor(ruleProperty, dataProperty, additionalConditionFunction) {
/** @type {ObjectMatcherRuleKeys} *... |
1,282,793 | 24f205f56366d47a896dbfd3ee842f15 | swh:1:cnt:1d26193a7d77d6995efb3429bf078627710faff4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-76/ | a1d5982e3ae16f3cb3b0ecfa11b4f384d0335f8c | wlbdashboard | wmcs | node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js | ObjectMatcherRulePlugin::apply | function | /**
* @param {RuleSetCompiler} ruleSetCompiler the rule set compiler
* @returns {void}
*/
apply(ruleSetCompiler) {
const { ruleProperty, dataProperty } = this;
ruleSetCompiler.hooks.rule.tap(
PLUGIN_NAME,
(path, rule, unhandledProperties, result) => {
if (unhandledProperties.has(ruleProperty)) {
... |
1,282,794 | 41ba5343f4e71d8ae52d760f41ea0163 | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-446/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler | type | /** @typedef {import("enhanced-resolve").ResolveRequest} ResolveRequest */
/** @typedef {import("../../declarations/WebpackOptions").Falsy} Falsy */
/** @typedef {import("../../declarations/WebpackOptions").RuleSetUseItem} RuleSetUseItem */
/** @typedef {import("../../declarations/WebpackOptions").RuleSetLoaderOptions}... |
1,282,795 | 15e94da6876c6dfde7ff35df3d9896a2 | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=98-117/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::constructor | function | /**
* @param {RuleSetPlugin[]} plugins plugins
*/
constructor(plugins) {
this.hooks = Object.freeze({
/** @type {SyncHook<[string, RuleSetRule, UnhandledProperties, CompiledRule, References]>} */
rule: new SyncHook([
"path",
"rule",
"unhandledProperties",
"compiledRule",
"references"
... |
1,282,796 | 12f08fd6373933c420a4fcfea0b9138a | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=205-221/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::compileRules | function | /**
* @param {string} path current path
* @param {RuleSetRules} rules the raw rules provided by user
* @param {References} refs references
* @returns {CompiledRule[]} rules
*/
compileRules(path, rules, refs) {
return rules
.filter(Boolean)
.map((rule, i) =>
this.compileRule(
`${path}[${i}]`,... |
1,282,797 | 236f5fc6dd668c0bceff405bcc587209 | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-203/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::compile | function | /**
* @param {RuleSetRules} ruleSet raw user provided rules
* @returns {RuleSet} compiled RuleSet
*/
compile(ruleSet) {
/** @type {References} */
const refs = new Map();
const rules = this.compileRules("ruleSet", ruleSet, refs);
/**
* @param {EffectData} data data passed in
* @param {CompiledRule}... |
1,282,798 | 7908740745cc251f846a24d29a26e307 | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=276-395/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::compileCondition | function | /**
* @param {string} path current path
* @param {RuleSetLoaderOptions} condition user provided condition value
* @returns {Condition} compiled condition
*/
compileCondition(path, condition) {
if (condition === "") {
return {
matchWhenEmpty: true,
fn: (str) => str === ""
};
}
if (!condition... |
1,282,799 | f20dad3ed90ba4ee6fec90c9b5a3eb7e | swh:1:cnt:17e5a7c6be173165b0ec67e079071c1debae3c77;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=223-274/ | 26f3469684b4887ec69722930055608b85304e0d | wlbdashboard | wmcs | node_modules/webpack/lib/rules/RuleSetCompiler.js | RuleSetCompiler::compileRule | function | /**
* @param {string} path current path
* @param {RuleSetRule} rule the raw rule provided by user
* @param {References} refs references
* @returns {CompiledRule} normalized and compiled rule for processing
*/
compileRule(path, rule, refs) {
/** @type {UnhandledProperties} */
const unhandledProperties = n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.