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,284,400 | 9b1aa5b3438bebe6e35d50372ee3fe7a | swh:1:cnt:2e9a4d6171049041f24a9c3f7dc48ea6ed6860b4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=98-118/ | 9924b40587ae474d1af77ec1ce943c1f5f9b369d | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::node | function | node(options) {
if (!this._isOptimized) this._optimize();
const node = new SourceNode(
null,
null,
null,
this._children.map(function (item) {
if (typeof item.node === "function") return item.node(options);
const sourceAndMap = item.sourceAndMap(options);
if (sourceAndMap.map) {
return S... |
1,284,401 | 140c2357b186ff8e10c1d5aa03d5128b | swh:1:cnt:2e9a4d6171049041f24a9c3f7dc48ea6ed6860b4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=142-148/ | 9924b40587ae474d1af77ec1ce943c1f5f9b369d | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::updateHash | function | updateHash(hash) {
if (!this._isOptimized) this._optimize();
hash.update("ConcatSource");
for (const item of this._children) {
item.updateHash(hash);
}
} |
1,284,402 | 4c4fe4a03c86c8e322661d29b7d25f3f | swh:1:cnt:2e9a4d6171049041f24a9c3f7dc48ea6ed6860b4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-226/ | 9924b40587ae474d1af77ec1ce943c1f5f9b369d | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::_optimize | function | _optimize() {
const newChildren = [];
let currentString = undefined;
let currentRawSources = undefined;
const addStringToRawSources = string => {
if (currentRawSources === undefined) {
currentRawSources = string;
} else if (Array.isArray(currentRawSources)) {
currentRawSources.push(string);
} e... |
1,284,403 | c4de100a4515a8ce6ab6ae9b08a04124 | swh:1:cnt:2e9a4d6171049041f24a9c3f7dc48ea6ed6860b4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=120-140/ | 9924b40587ae474d1af77ec1ce943c1f5f9b369d | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::listMap | function | listMap(options) {
if (!this._isOptimized) this._optimize();
const map = new SourceListMap();
for (const item of this._children) {
if (typeof item === "string") {
map.add(item);
} else if (typeof item.listMap === "function") {
map.add(item.listMap(options));
} else {
const sourceAndMap = item... |
1,284,404 | 8d436c8a2a5ae08f0bba34296fbf553d | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-16/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | _splitCode | function | function _splitCode(code) {
return code.match(SPLIT_REGEX) || [];
} |
1,284,405 | 6fc0957e256f14fbc36fbeace220f3d9 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-36/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::source | function | source() {
if (this._value === undefined) {
this._value = this._valueAsBuffer.toString("utf-8");
}
return this._value;
} |
1,284,406 | d7cd7ec87fe9e8071e7bfa29f0650b14 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-25/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::constructor | function | constructor(value, name) {
super();
const isBuffer = Buffer.isBuffer(value);
this._value = isBuffer ? undefined : value;
this._valueAsBuffer = isBuffer ? value : undefined;
this._name = name;
} |
1,284,407 | 8426643ad973741796316293a64a15f4 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-43/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::buffer | function | buffer() {
if (this._valueAsBuffer === undefined) {
this._valueAsBuffer = Buffer.from(this._value, "utf-8");
}
return this._valueAsBuffer;
} |
1,284,408 | 90faf6fae6d79907d08962963d91169d | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-29/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::getName | function | getName() {
return this._name;
} |
1,284,409 | 9e0edb34140f3a20965f6e778d9b1309 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-47/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::map | function | map(options) {
return getMap(this, options);
} |
1,284,410 | bb35c5bb11fae8cee97b47617c648ed7 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-51/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::sourceAndMap | function | sourceAndMap(options) {
return getSourceAndMap(this, options);
} |
1,284,411 | 836fb31f15195df313d38adf79158bad | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-90/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::node | function | node(options) {
if (this._value === undefined) {
this._value = this._valueAsBuffer.toString("utf-8");
}
const value = this._value;
const name = this._name;
const lines = value.split("\n");
const node = new SourceNode(
null,
null,
null,
lines.map(function (line, idx) {
let pos = 0;
if ... |
1,284,412 | 9bcefa998e6e86504fd46ba2fe079479 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-97/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::listMap | function | listMap(options) {
if (this._value === undefined) {
this._value = this._valueAsBuffer.toString("utf-8");
}
return new SourceListMap(this._value, this._name, this._value);
} |
1,284,413 | 6fab5af77d465b7103cf50f932c7000c | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-106/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::updateHash | function | updateHash(hash) {
if (this._valueAsBuffer === undefined) {
this._valueAsBuffer = Buffer.from(this._value, "utf-8");
}
hash.update("OriginalSource");
hash.update(this._valueAsBuffer);
hash.update(this._name || "");
} |
1,284,414 | 48b04adce22c57f862c444a8bff66cb8 | swh:1:cnt:921a210c9bf5643912a439c05828994bcb45059f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-107/ | cf2d25a3e5dec84db459b97911434095f67a78b0 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource | type | class OriginalSource extends Source {
constructor(value, name) {
super();
const isBuffer = Buffer.isBuffer(value);
this._value = isBuffer ? undefined : value;
this._valueAsBuffer = isBuffer ? value : undefined;
this._name = name;
}
getName() {
return this._name;
}
source() {
if (this._value === und... |
1,284,415 | d95ed8db95c57e787db0958ee9129d0f | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-100/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource | type | class PrefixSource extends Source {
constructor(prefix, source) {
super();
this._source =
typeof source === "string" || Buffer.isBuffer(source)
? new RawSource(source, true)
: source;
this._prefix = prefix;
}
getPrefix() {
return this._prefix;
}
original() {
return this._source;
}
source(... |
1,284,416 | 5c01e3e663e25156763547bb0b09e239 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-22/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::constructor | function | constructor(prefix, source) {
super();
this._source =
typeof source === "string" || Buffer.isBuffer(source)
? new RawSource(source, true)
: source;
this._prefix = prefix;
} |
1,284,417 | 4179cc033f7295db45c826adcb8db172 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-30/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::original | function | original() {
return this._source;
} |
1,284,418 | 0e635167c44173a5a6d30a1622dea952 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-26/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::getPrefix | function | getPrefix() {
return this._prefix;
} |
1,284,419 | 47d669c43d5da29240364af2b869df6d | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-42/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::map | function | // TODO efficient buffer() implementation
map(options) {
return getMap(this, options);
} |
1,284,420 | 2a9e8513dbef012cc4f9f1a670a2eb88 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-36/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::source | function | source() {
const node = this._source.source();
const prefix = this._prefix;
return prefix + node.replace(REPLACE_REGEX, "\n" + prefix);
} |
1,284,421 | bb35c5bb11fae8cee97b47617c648ed7 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=44-46/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::sourceAndMap | function | sourceAndMap(options) {
return getSourceAndMap(this, options);
} |
1,284,422 | 8f1a45ecdb8bee69b752ca4198aa4ed3 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-81/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::node | function | node(options) {
const node = this._source.node(options);
const prefix = this._prefix;
const output = [];
const result = new SourceNode();
node.walkSourceContents(function (source, content) {
result.setSourceContent(source, content);
});
let needPrefix = true;
node.walk(function (chunk, mapping) {
... |
1,284,423 | da8e1151daa6fffd42145542accbdd1e | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-93/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::listMap | function | listMap(options) {
const prefix = this._prefix;
const map = this._source.listMap(options);
let prefixNextLine = true;
return map.mapGeneratedCode(function (code) {
let updatedCode = code.replace(REPLACE_REGEX, "\n" + prefix);
if (prefixNextLine) updatedCode = prefix + updatedCode;
prefixNextLine = code... |
1,284,424 | 76753f4b2b136f681308565e1d54ac75 | swh:1:cnt:d7872dd78918c01cd9eaea21ed32fa50935a7061;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=95-99/ | acff2702241f39242442c7a4a4afb3dc8642d7ed | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::updateHash | function | updateHash(hash) {
hash.update("PrefixSource");
this._source.updateHash(hash);
hash.update(this._prefix);
} |
1,284,425 | de1b92f28262222fd91d5995ec8a3467 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-66/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource | type | class RawSource extends Source {
constructor(value, convertToString = false) {
super();
const isBuffer = Buffer.isBuffer(value);
if (!isBuffer && typeof value !== "string") {
throw new TypeError("argument 'value' must be either string of Buffer");
}
this._valueIsBuffer = !convertToString && isBuffer;
th... |
1,284,426 | b4965a007f950bf141b1578c1dfc26a7 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-21/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::constructor | function | constructor(value, convertToString = false) {
super();
const isBuffer = Buffer.isBuffer(value);
if (!isBuffer && typeof value !== "string") {
throw new TypeError("argument 'value' must be either string of Buffer");
}
this._valueIsBuffer = !convertToString && isBuffer;
this._value = convertToString && isB... |
1,284,427 | 301f997e427922ad3f869f1a759d6a54 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-43/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::map | function | map(options) {
return null;
} |
1,284,428 | 7d447067e20979a6b500751cadfaa2b7 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-25/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::isBuffer | function | isBuffer() {
return this._valueIsBuffer;
} |
1,284,429 | 6fc0957e256f14fbc36fbeace220f3d9 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-32/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::source | function | source() {
if (this._value === undefined) {
this._value = this._valueAsBuffer.toString("utf-8");
}
return this._value;
} |
1,284,430 | 8426643ad973741796316293a64a15f4 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-39/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::buffer | function | buffer() {
if (this._valueAsBuffer === undefined) {
this._valueAsBuffer = Buffer.from(this._value, "utf-8");
}
return this._valueAsBuffer;
} |
1,284,431 | 728afbd941e4595719421efcd5fed9f3 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-50/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::node | function | node(options) {
if (this._value === undefined) {
this._value = this._valueAsBuffer.toString("utf-8");
}
return new SourceNode(null, null, null, this._value);
} |
1,284,432 | 89111b3fbae2872646884dea10c16abb | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-57/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::listMap | function | listMap(options) {
if (this._value === undefined) {
this._value = this._valueAsBuffer.toString("utf-8");
}
return new SourceListMap(this._value);
} |
1,284,433 | af6614f399dc72319fabc908e2465ba4 | swh:1:cnt:1c0a47e3c56046ab6e658ed30d2b606a5431268a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-65/ | 3899b65f0041efbed9ebec32e4297820cd6a33e6 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/RawSource.js | RawSource::updateHash | function | updateHash(hash) {
if (this._valueAsBuffer === undefined) {
this._valueAsBuffer = Buffer.from(this._value, "utf-8");
}
hash.update("RawSource");
hash.update(this._valueAsBuffer);
} |
1,284,434 | 2d2edab7d91fb81f5edda84ae2dee2d0 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-19/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | Replacement | type | class Replacement {
constructor(start, end, content, insertIndex, name) {
this.start = start;
this.end = end;
this.content = content;
this.insertIndex = insertIndex;
this.name = name;
}
} |
1,284,435 | 6af76340872c23cf0622b782ce27904b | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-349/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource | type | class ReplaceSource extends Source {
constructor(source, name) {
super();
this._source = source;
this._name = name;
/** @type {Replacement[]} */
this._replacements = [];
this._isSorted = true;
}
getName() {
return this._name;
}
getReplacements() {
const replacements = Array.from(this._replacement... |
1,284,436 | 0e46064fb2acd7534e7e53156befce85 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=351-404/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplacementEnumerator | type | class ReplacementEnumerator {
/**
* @param {Replacement[]} replacements list of replacements
*/
constructor(replacements) {
this.replacements = replacements || [];
this.index = this.replacements.length;
this.done = false;
this.emit = false;
// Set initial start position
this.next();
}
next() {
if... |
1,284,437 | 598bb20b796095937ef3479fc58e9fbf | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-18/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | Replacement::constructor | function | constructor(start, end, content, insertIndex, name) {
this.start = start;
this.end = end;
this.content = content;
this.insertIndex = insertIndex;
this.name = name;
} |
1,284,438 | e5004307a8b4d35f477c90084063b029 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-29/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::constructor | function | constructor(source, name) {
super();
this._source = source;
this._name = name;
/** @type {Replacement[]} */
this._replacements = [];
this._isSorted = true;
} |
1,284,439 | 3b41b2a2c0efddf7497ef3d39de95cbd | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-66/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::insert | function | insert(pos, newValue, name) {
if (typeof newValue !== "string")
throw new Error(
"insertion must be a string, but is a " +
typeof newValue +
": " +
newValue
);
this._replacements.push(
new Replacement(pos, pos - 1, newValue, this._replacements.length, name)
);
this._isSorted = false;... |
1,284,440 | e740422241becf4ab178b2084177da13 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=336-348/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::updateHash | function | updateHash(hash) {
this._sortReplacements();
hash.update("ReplaceSource");
this._source.updateHash(hash);
hash.update(this._name || "");
for (const repl of this._replacements) {
hash.update(`${repl.start}`);
hash.update(`${repl.end}`);
hash.update(`${repl.content}`);
hash.update(`${repl.insertInde... |
1,284,441 | 3cd752102006218a27664c6ee9ed1f35 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=241-245/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::_splitString | function | _splitString(str, position) {
return position <= 0
? ["", str]
: [str.substr(0, position), str.substr(position)];
} |
1,284,442 | 7eb3139eccd5a11f1f1c124fb87dd84d | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=389-403/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplacementEnumerator::footer | function | footer() {
if (!this.done && !this.emit) this.next(); // If we finished _replaceInNode mid emit we advance to next entry
if (this.done) {
return [];
} else {
let resultStr = "";
for (let i = this.index; i >= 0; i--) {
const repl = this.replacements[i];
// this doesn't need to handle repl.name, be... |
1,284,443 | 90faf6fae6d79907d08962963d91169d | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-33/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::getName | function | getName() {
return this._name;
} |
1,284,444 | 6d8657351f14e8911ae83e722a388119 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-41/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::getReplacements | function | getReplacements() {
const replacements = Array.from(this._replacements);
replacements.sort((a, b) => {
return a.insertIndex - b.insertIndex;
});
return replacements;
} |
1,284,445 | 1bdd28997021941ec175b188a67ac1c1 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-70/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::source | function | source() {
return this._replaceString(this._source.source());
} |
1,284,446 | f7cab51ffbea9de6b9d8ba75ad6fc0d7 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=247-334/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::_replaceInStringNode | function | _replaceInStringNode(
output,
replace,
getOriginalSource,
node,
position,
mapping
) {
let original = undefined;
do {
let splitPosition = replace.position - position;
// If multiple replaces occur in the same location then the splitPosition may be
// before the current position for the subsequ... |
1,284,447 | 4179cc033f7295db45c826adcb8db172 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-88/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::original | function | original() {
return this._source;
} |
1,284,448 | 8c1efae7d805bc65a61e4e2ecbc8ff4d | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=352-362/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplacementEnumerator::constructor | function | /**
* @param {Replacement[]} replacements list of replacements
*/
constructor(replacements) {
this.replacements = replacements || [];
this.index = this.replacements.length;
this.done = false;
this.emit = false;
// Set initial start position
this.next();
} |
1,284,449 | 1f40d8c95e4469229cd7780c29eea7a4 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-122/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::_replaceString | function | _replaceString(str) {
if (typeof str !== "string")
throw new Error(
"str must be a string, but is a " + typeof str + ": " + str
);
this._sortReplacements();
const result = [str];
this._replacements.forEach(function (repl) {
const remSource = result.pop();
const splitted1 = this._splitString(remS... |
1,284,450 | 46ef4bcb361dfb182791c3b01b9a1e45 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=364-387/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplacementEnumerator::next | function | next() {
if (this.done) return true;
if (this.emit) {
// Start point found. stop emitting. set position to find end
const repl = this.replacements[this.index];
const end = Math.floor(repl.end + 1);
this.position = end;
this.value = repl.content;
this.name = repl.name;
} else {
// End point fo... |
1,284,451 | fc16476870dbead7a7117c845894b4b1 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=43-52/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::replace | function | replace(start, end, newValue, name) {
if (typeof newValue !== "string")
throw new Error(
"insertion must be a string, but is a " + typeof newValue
);
this._replacements.push(
new Replacement(start, end, newValue, this._replacements.length, name)
);
this._isSorted = false;
} |
1,284,452 | 86c1467cdd2e4679b16d3502d0d062cf | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-77/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::map | function | map(options) {
if (this._replacements.length === 0) {
return this._source.map(options);
}
return getMap(this, options);
} |
1,284,453 | f4245c80d678694cd124582ac29d4fea | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-84/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::sourceAndMap | function | sourceAndMap(options) {
if (this._replacements.length === 0) {
return this._source.sourceAndMap(options);
}
return getSourceAndMap(this, options);
} |
1,284,454 | 764341d559bddca93618ca5c0a5454ff | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=90-100/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::_sortReplacements | function | _sortReplacements() {
if (this._isSorted) return;
this._replacements.sort(function (a, b) {
const diff1 = b.end - a.end;
if (diff1 !== 0) return diff1;
const diff2 = b.start - a.start;
if (diff2 !== 0) return diff2;
return b.insertIndex - a.insertIndex;
});
this._isSorted = true;
} |
1,284,455 | 01735e9acccc87705bc335069c5d8530 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=124-184/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::node | function | node(options) {
const node = getNode(this._source, options);
if (this._replacements.length === 0) {
return node;
}
this._sortReplacements();
const replace = new ReplacementEnumerator(this._replacements);
const output = [];
let position = 0;
const sources = Object.create(null);
const sourcesInLines ... |
1,284,456 | 6bfe7a8e75e1cb8ce27368437b1c40f5 | swh:1:cnt:5e8b09eb16ad8290a4f55cb250a7cdc8d27aa1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=186-239/ | babdec4be21d205e464e223ed4c8f5d71adc315a | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::listMap | function | listMap(options) {
let map = getListMap(this._source, options);
this._sortReplacements();
let currentIndex = 0;
const replacements = this._replacements;
let idxReplacement = replacements.length - 1;
let removeChars = 0;
map = map.mapGeneratedCode(function (str) {
const newCurrentIndex = currentIndex + ... |
1,284,457 | f1d0bd335455ac5b966f791a0c32b504 | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-40/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource | type | class SizeOnlySource extends Source {
constructor(size) {
super();
this._size = size;
}
_error() {
return new Error(
"Content and Map of this Source is not available (only size() is supported)"
);
}
size() {
return this._size;
}
source() {
throw this._error();
}
buffer() {
throw this._erro... |
1,284,458 | b34221152151e941af4f389bfef8a1e4 | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-13/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::constructor | function | constructor(size) {
super();
this._size = size;
} |
1,284,459 | 863c9f4b10096013b3212e6a70f7e729 | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-31/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::buffer | function | buffer() {
throw this._error();
} |
1,284,460 | b11f0e53e93b882a1eca53caf8afb1e7 | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-27/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::source | function | source() {
throw this._error();
} |
1,284,461 | 46952c2a9ccac62fd12156db59e8223b | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-19/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::_error | function | _error() {
return new Error(
"Content and Map of this Source is not available (only size() is supported)"
);
} |
1,284,462 | f2d7b3f4b5ab95253e3b67543a743c26 | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-23/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::size | function | size() {
return this._size;
} |
1,284,463 | 57f63c0db320be2e8073a73dfd37390d | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-35/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::map | function | map(options) {
throw this._error();
} |
1,284,464 | 2923ed50a1a313e93b5ed9c32cf8f280 | swh:1:cnt:a6e92943394bd9da4769000a58325d378f0ee025;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-39/ | 75b6f20ccd6218a8885a0f5e55234db3ecf20904 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::updateHash | function | updateHash() {
throw this._error();
} |
1,284,465 | a88b15377011ed49f560b459a26b16e1 | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-36/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source | type | class Source {
source() {
throw new Error("Abstract");
}
buffer() {
const source = this.source();
if (Buffer.isBuffer(source)) return source;
return Buffer.from(source, "utf-8");
}
size() {
return this.buffer().length;
}
map(options) {
return null;
}
sourceAndMap(options) {
return {
source... |
1,284,466 | c7381dab7b5e9263cd291cf25ee05717 | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-10/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source::source | function | source() {
throw new Error("Abstract");
} |
1,284,467 | 63666cee84aaa4af8e0bb6fb115bea2c | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-20/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source::size | function | size() {
return this.buffer().length;
} |
1,284,468 | 301f997e427922ad3f869f1a759d6a54 | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-24/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source::map | function | map(options) {
return null;
} |
1,284,469 | f59413f9536925d372621e5348ae85d5 | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-16/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source::buffer | function | buffer() {
const source = this.source();
if (Buffer.isBuffer(source)) return source;
return Buffer.from(source, "utf-8");
} |
1,284,470 | de38d06af1944f4fb23d480063f0be61 | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-31/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source::sourceAndMap | function | sourceAndMap(options) {
return {
source: this.source(),
map: this.map(options)
};
} |
1,284,471 | 9e052540fb72f83460b5970ba5ccc8e0 | swh:1:cnt:fb86c2e9f7eba8c10fc135f1d2646e23167e9fef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-35/ | 4016c4ebd16633ac1d89295924c2f8bebd3fc0a4 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/Source.js | Source::updateHash | function | updateHash(hash) {
throw new Error("Abstract");
} |
1,284,472 | e83cb4bf24a1237bf5e77bc984305549 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-247/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource | type | class SourceMapSource extends Source {
constructor(
value,
name,
sourceMap,
originalSource,
innerSourceMap,
removeOriginalSource
) {
super();
const valueIsBuffer = Buffer.isBuffer(value);
this._valueAsString = valueIsBuffer ? undefined : value;
this._valueAsBuffer = valueIsBuffer ? value : undefin... |
1,284,473 | 9619b49c86e21ab85d825f2e17571781 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-61/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::constructor | function | constructor(
value,
name,
sourceMap,
originalSource,
innerSourceMap,
removeOriginalSource
) {
super();
const valueIsBuffer = Buffer.isBuffer(value);
this._valueAsString = valueIsBuffer ? undefined : value;
this._valueAsBuffer = valueIsBuffer ? value : undefined;
this._name = name;
this._hasSo... |
1,284,474 | f08f9f39d04ea353dec462f3f436ecc0 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-82/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureOriginalSourceBuffer | function | _ensureOriginalSourceBuffer() {
if (this._originalSourceAsBuffer === undefined && this._hasOriginalSource) {
this._originalSourceAsBuffer = Buffer.from(
this._originalSourceAsString,
"utf-8"
);
}
} |
1,284,475 | d777f4abcb88b8f49191d87f8a0e0a13 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-67/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureValueBuffer | function | _ensureValueBuffer() {
if (this._valueAsBuffer === undefined) {
this._valueAsBuffer = Buffer.from(this._valueAsString, "utf-8");
}
} |
1,284,476 | d04a72c39464901767a26b987c3fc5a6 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-90/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureOriginalSourceString | function | _ensureOriginalSourceString() {
if (this._originalSourceAsString === undefined && this._hasOriginalSource) {
this._originalSourceAsString = this._originalSourceAsBuffer.toString(
"utf-8"
);
}
} |
1,284,477 | 6459841cf54323b965981bf42c9f1416 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-73/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureValueString | function | _ensureValueString() {
if (this._valueAsString === undefined) {
this._valueAsString = this._valueAsBuffer.toString("utf-8");
}
} |
1,284,478 | 7ff857cdb9cbcb859c973505c37f93a2 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-97/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureInnerSourceMapObject | function | _ensureInnerSourceMapObject() {
if (this._innerSourceMapAsObject === undefined && this._hasInnerSourceMap) {
this._ensureInnerSourceMapString();
this._innerSourceMapAsObject = JSON.parse(this._innerSourceMapAsString);
}
} |
1,284,479 | 8492ccd00442c3f0675a0e4ede0be185 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-107/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureInnerSourceMapBuffer | function | _ensureInnerSourceMapBuffer() {
if (this._innerSourceMapAsBuffer === undefined && this._hasInnerSourceMap) {
this._ensureInnerSourceMapString();
this._innerSourceMapAsBuffer = Buffer.from(
this._innerSourceMapAsString,
"utf-8"
);
}
} |
1,284,480 | e445cc1276b9abe0dcaf1acd825edc32 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=109-121/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureInnerSourceMapString | function | _ensureInnerSourceMapString() {
if (this._innerSourceMapAsString === undefined && this._hasInnerSourceMap) {
if (this._innerSourceMapAsBuffer !== undefined) {
this._innerSourceMapAsString = this._innerSourceMapAsBuffer.toString(
"utf-8"
);
} else {
this._innerSourceMapAsString = JSON.stringify(... |
1,284,481 | 9b4e33b9164305d833210a56c94b17b2 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=123-128/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureSourceMapObject | function | _ensureSourceMapObject() {
if (this._sourceMapAsObject === undefined) {
this._ensureSourceMapString();
this._sourceMapAsObject = JSON.parse(this._sourceMapAsString);
}
} |
1,284,482 | 6a6e0996f190e262b232795a5439b05f | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=130-135/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureSourceMapBuffer | function | _ensureSourceMapBuffer() {
if (this._sourceMapAsBuffer === undefined) {
this._ensureSourceMapString();
this._sourceMapAsBuffer = Buffer.from(this._sourceMapAsString, "utf-8");
}
} |
1,284,483 | 522cab987c3b75fce6c3d78620b08d90 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=147-160/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::getArgsAsBuffers | function | getArgsAsBuffers() {
this._ensureValueBuffer();
this._ensureSourceMapBuffer();
this._ensureOriginalSourceBuffer();
this._ensureInnerSourceMapBuffer();
return [
this._valueAsBuffer,
this._name,
this._sourceMapAsBuffer,
this._originalSourceAsBuffer,
this._innerSourceMapAsBuffer,
this._removeOr... |
1,284,484 | c9a374eeab5b9542f04ad6a5632cb0eb | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=175-185/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::sourceAndMap | function | sourceAndMap(options) {
if (!this._hasInnerSourceMap) {
this._ensureValueString();
this._ensureSourceMapObject();
return {
source: this._valueAsString,
map: this._sourceMapAsObject
};
}
return getSourceAndMap(this, options);
} |
1,284,485 | ef8d842fd2d91d16139fe1d29d463421 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=167-173/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::map | function | map(options) {
if (!this._hasInnerSourceMap) {
this._ensureSourceMapObject();
return this._sourceMapAsObject;
}
return getMap(this, options);
} |
1,284,486 | eb581e8cd3d97f5d750b616e26473572 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=208-223/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::listMap | function | listMap(options) {
this._ensureValueString();
this._ensureSourceMapObject();
options = options || {};
if (options.module === false)
return new SourceListMap(
this._valueAsString,
this._name,
this._valueAsString
);
return fromStringWithSourceMap(
this._valueAsString,
this._sourceMapAsO... |
1,284,487 | 271bbd7d6e0445ef79754c4b2a058e98 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=225-246/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::updateHash | function | updateHash(hash) {
this._ensureValueBuffer();
this._ensureSourceMapBuffer();
this._ensureOriginalSourceBuffer();
this._ensureInnerSourceMapBuffer();
hash.update("SourceMapSource");
hash.update(this._valueAsBuffer);
hash.update(this._sourceMapAsBuffer);
if (this._hasOriginalSource) {
hash.update(t... |
1,284,488 | 7906bfa2820d43ac1e99c15a6112e8e0 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=187-206/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::node | function | node(options) {
this._ensureValueString();
this._ensureSourceMapObject();
this._ensureOriginalSourceString();
let node = SourceNode.fromStringWithSourceMap(
this._valueAsString,
new SourceMapConsumer(this._sourceMapAsObject)
);
node.setSourceContent(this._name, this._originalSourceAsString);
if (thi... |
1,284,489 | 529e5aa64cb417a559130e6b1754e151 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=162-165/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::source | function | source() {
this._ensureValueString();
return this._valueAsString;
} |
1,284,490 | a329d156291200104e2fee4ac3a1c5a7 | swh:1:cnt:8508ff8c2b5de265c29ef6798726bfc31aa85def;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=137-145/ | d4ad152f5f37973d8a95bd9888ceb19d0496ba70 | wlbdashboard | wmcs | node_modules/webpack-manifest-plugin/node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_ensureSourceMapString | function | _ensureSourceMapString() {
if (this._sourceMapAsString === undefined) {
if (this._sourceMapAsBuffer !== undefined) {
this._sourceMapAsString = this._sourceMapAsBuffer.toString("utf-8");
} else {
this._sourceMapAsString = JSON.stringify(this._sourceMapAsObject);
}
}
} |
1,284,491 | efbf596643d2f9f9d53ae5d737cdef9b | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-12/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | BufferEntry | type | interface BufferEntry {
map?: null | RawSourceMap;
bufferedMap?: null | BufferedMap;
} |
1,284,492 | 1147282676b0f3aa96a986b4571b2944 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=103-126/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | ConcatSource | type | class ConcatSource extends Source {
constructor(...args: ConcatSourceChild[]);
getChildren(): Source[];
add(item: ConcatSourceChild): void;
addAllSkipOptimizing(items: ConcatSourceChild[]): void;
streamChunks(
options: StreamChunksOptions,
onChunk: (
chunk: undefined | string,
generatedLine: number,
g... |
1,284,493 | 0c932dbff981fc4e2f4cf64333b25ada | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=166-187/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | OriginalSource | type | class OriginalSource extends Source {
constructor(value: string | Buffer, name: string);
getName(): string;
streamChunks(
options: StreamChunksOptions,
onChunk: (
chunk: undefined | string,
generatedLine: number,
generatedColumn: number,
sourceIndex: number,
originalLine: number,
originalColumn... |
1,284,494 | ed42d57a7fd46fa3d249bf5bd954a1a7 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=233-278/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | RawSourceMap | type | interface RawSourceMap {
/**
* version
*/
version: number;
/**
* sources
*/
sources: string[];
/**
* names
*/
names: string[];
/**
* source root
*/
sourceRoot?: string;
/**
* sources content
*/
sourcesContent?: string[];
/**
* mappings
*/
mappings: string;
/**
* file
*/
f... |
1,284,495 | c466a03875db59e2bb5d1710d792d300 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=326-336/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | SourceAndMap | type | interface SourceAndMap {
/**
* source
*/
source: SourceValue;
/**
* map
*/
map: null | RawSourceMap;
} |
1,284,496 | d020f5044eccef7ce9ed918b6bfde4c6 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=314-316/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | SizeOnlySource | type | class SizeOnlySource extends Source {
constructor(size: number);
} |
1,284,497 | e4fd7b62b5132e4c8ec00eaa28ca950f | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=306-313/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | Replacement | type | class Replacement {
constructor(start: number, end: number, content: string, name?: string);
start: number;
end: number;
content: string;
name?: string;
index?: number;
} |
1,284,498 | 9e6958053f728a27f010135ea1533e88 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=404-404/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | SourceValue | type | type SourceValue = string | Buffer; |
1,284,499 | 7fdf418cf482ade477da29db2993ca2d | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=430-430/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | exports::OnName | type | type OnName = (nameIndex: number, name: string) => void; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.