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,500 | baa332cc6c538f2391dc19aa0166fae1 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=127-127/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | ConcatSourceChild | type | type ConcatSourceChild = string | Source | SourceLike; |
1,284,501 | 7d6e89e6e3e89af982f62c1cf201a601 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=144-154/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | HashLike | type | interface HashLike {
/**
* make hash update
*/
update: (data: string | Buffer, inputEncoding?: string) => HashLike;
/**
* get hash digest
*/
digest: (encoding?: string) => string | Buffer;
} |
1,284,502 | e5d655941ed43b7b1a132462568e317f | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=155-165/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | MapOptions | type | interface MapOptions {
/**
* need columns?
*/
columns?: boolean;
/**
* is module
*/
module?: boolean;
} |
1,284,503 | 5c0dc626022f193420b94c8807b93866 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=337-367/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | SourceLike | type | interface SourceLike {
/**
* source
*/
source: () => SourceValue;
/**
* buffer
*/
buffer?: () => Buffer;
/**
* size
*/
size?: () => number;
/**
* map
*/
map?: (options?: MapOptions) => null | RawSourceMap;
/**
* source and map
*/
sourceAndMap?: (options?: MapOptions) => SourceAndMap;
... |
1,284,504 | c108f2565b5b580dfd3857ea82d92441 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=405-409/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | StreamChunksOptions | type | interface StreamChunksOptions {
source?: boolean;
finalSource?: boolean;
columns?: boolean;
} |
1,284,505 | 3f8cebc50fa01feca5b465da18cd4680 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=421-429/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | exports::OnChunk | type | type OnChunk = (
chunk: undefined | string,
generatedLine: number,
generatedColumn: number,
sourceIndex: number,
originalLine: number,
originalColumn: number,
nameIndex: number,
) => void; |
1,284,506 | a216ae74dee7bf0293c12abb728b9c57 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-48/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | BufferedMap | type | interface BufferedMap {
/**
* version
*/
version: number;
/**
* sources
*/
sources: string[];
/**
* name
*/
names: string[];
/**
* source root
*/
sourceRoot?: string;
/**
* sources content
*/
sourcesContent?: ("" | Buffer)[];
/**
* mappings
*/
mappings?: Buffer;
/**
* file
... |
1,284,507 | 32c6a0cff7cfa50e33a05a43f58c1370 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-102/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | CompatSource | type | class CompatSource extends Source {
constructor(sourceLike: SourceLike);
static from(sourceLike: SourceLike): Source;
} |
1,284,508 | e56656552ce44a68bdc0abf685e6a5f5 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-143/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | GeneratedSourceInfo | type | interface GeneratedSourceInfo {
/**
* generated line
*/
generatedLine?: number;
/**
* generated column
*/
generatedColumn?: number;
/**
* source
*/
source?: string;
} |
1,284,509 | 2aa9de9cdbc44b1d22c3a7b8b023bbb5 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=211-232/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | RawSource | type | class RawSource extends Source {
constructor(value: string | Buffer, convertToString?: boolean);
isBuffer(): boolean;
streamChunks(
options: StreamChunksOptions,
onChunk: (
chunk: undefined | string,
generatedLine: number,
generatedColumn: number,
sourceIndex: number,
originalLine: number,
orig... |
1,284,510 | e499b2acbf572083d08fd133202b7f53 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=317-325/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | Source | type | class Source {
constructor();
source(): SourceValue;
buffer(): Buffer;
size(): number;
map(options?: MapOptions): null | RawSourceMap;
sourceAndMap(options?: MapOptions): SourceAndMap;
updateHash(hash: HashLike): void;
} |
1,284,511 | 929e83357ed5a9e312ccad522278c62f | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=279-305/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | ReplaceSource | type | class ReplaceSource extends Source {
constructor(source: Source, name?: string);
getName(): undefined | string;
getReplacements(): Replacement[];
replace(start: number, end: number, newValue: string, name?: string): void;
insert(pos: number, newValue: string, name?: string): void;
original(): Source;
streamChunk... |
1,284,512 | 7fea5e31dd46d86300b431743508b47b | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-98/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | CachedSource | type | class CachedSource extends Source {
constructor(source: Source | (() => Source), cachedData?: CachedData);
getCachedData(): CachedData;
originalLazy(): Source | (() => Source);
original(): Source;
streamChunks(
options: StreamChunksOptions,
onChunk: (
chunk: undefined | string,
generatedLine: number,
... |
1,284,513 | 59738961e4abebabe6447033b56e13e2 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-74/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | CachedData | type | interface CachedData {
/**
* source
*/
source?: boolean;
/**
* buffer
*/
buffer: Buffer;
/**
* size
*/
size?: number;
/**
* maps
*/
maps: Map<string, BufferEntry>;
/**
* hash
*/
hash?: (string | Buffer)[];
} |
1,284,514 | 65f59c3c754f7374743dabff8b76d33f | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=188-210/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | PrefixSource | type | class PrefixSource extends Source {
constructor(prefix: string, source: string | Source | Buffer);
getPrefix(): string;
original(): Source;
streamChunks(
options: StreamChunksOptions,
onChunk: (
chunk: undefined | string,
generatedLine: number,
generatedColumn: number,
sourceIndex: number,
origin... |
1,284,515 | 4e8ec15bf68d54bee093cc712842ff7c | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=368-403/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | SourceMapSource | type | class SourceMapSource extends Source {
constructor(
value: string | Buffer,
name: string,
sourceMap?: string | RawSourceMap | Buffer,
originalSource?: string | Buffer,
innerSourceMap?: null | string | RawSourceMap | Buffer,
removeOriginalSource?: boolean,
);
getArgsAsBuffers(): [
Buffer,
string,
Bu... |
1,284,516 | de15921156ec84daf87afc97f7db1ea0 | swh:1:cnt:cf0ea711c417bb41cadb1b75957433456c8e7958;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=431-435/ | db60755fa6a5573775b322c441a755c4727a9e28 | wlbdashboard | wmcs | node_modules/webpack-sources/types.d.ts | exports::OnSource | type | type OnSource = (
sourceIndex: number,
source: null | string,
sourceContent?: string,
) => void; |
1,284,517 | 6b92d736be5d45528b86cd24455bbe86 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-417/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource | type | /** @typedef {{ map?: null | RawSourceMap, bufferedMap?: null | BufferedMap }} BufferEntry */
/** @typedef {Map<string, BufferEntry>} BufferedMaps */
/**
* @typedef {object} CachedData
* @property {boolean=} source source
* @property {Buffer} buffer buffer
* @property {number=} size size
* @property {BufferedMaps... |
1,284,518 | 9cca8c2eaf53de2425d006d6d833038e | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=91-132/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::constructor | function | /**
* @param {Source | (() => Source)} source source
* @param {CachedData=} cachedData cached data
*/
constructor(source, cachedData) {
super();
/**
* @private
* @type {Source | (() => Source)}
*/
this._source = source;
/**
* @private
* @type {boolean | undefined}
*/
this._cachedSourc... |
1,284,519 | 6797bbc511577afe55d04fa77dafd843 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=183-192/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
const source = this._getCachedSource();
if (source !== undefined) return source;
return (this._cachedSource =
/** @type {string} */
(this.original().source()));
} |
1,284,520 | 1de2f0a4909f07a6a26db7eafe898468 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=178-181/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::original | function | original() {
if (typeof this._source === "function") this._source = this._source();
return this._source;
} |
1,284,521 | 384171e3579c50420969e8fdf0b4b1a1 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=174-176/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::originalLazy | function | originalLazy() {
return this._source;
} |
1,284,522 | 2d86cac69d577fc8ef37a83dbceffcbd | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=134-172/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::getCachedData | function | /**
* @returns {CachedData} cached data
*/
getCachedData() {
/** @type {BufferedMaps} */
const bufferedMaps = new Map();
for (const pair of this._cachedMaps) {
const [, cacheEntry] = pair;
if (cacheEntry.bufferedMap === undefined) {
cacheEntry.bufferedMap = mapToBufferedMap(
this._getMapFromCa... |
1,284,523 | 298200e3de3c241be2d19a0f3cfa7e45 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=194-207/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::_getMapFromCacheEntry | function | /**
* @private
* @param {BufferEntry} cacheEntry cache entry
* @returns {null | RawSourceMap} raw source map
*/
_getMapFromCacheEntry(cacheEntry) {
if (cacheEntry.map !== undefined) {
return cacheEntry.map;
} else if (cacheEntry.bufferedMap !== undefined) {
return (cacheEntry.map = bufferedMapToMap(c... |
1,284,524 | 2ca40bfafc7690f047b9b600617213c3 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=209-224/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::_getCachedSource | function | /**
* @private
* @returns {undefined | string} cached source
*/
_getCachedSource() {
if (this._cachedSource !== undefined) return this._cachedSource;
if (this._cachedBuffer && this._cachedSourceType !== undefined) {
const value = this._cachedSourceType
? this._cachedBuffer.toString("utf8")
: this.... |
1,284,525 | 47d758f2c51b5e941571026d91e55f09 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=226-252/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::buffer | function | /**
* @returns {Buffer} buffer
*/
buffer() {
if (this._cachedBuffer !== undefined) return this._cachedBuffer;
if (this._cachedSource !== undefined) {
const value = Buffer.isBuffer(this._cachedSource)
? this._cachedSource
: Buffer.from(this._cachedSource, "utf8");
if (isDualStringBufferCachingEnab... |
1,284,526 | a293ef4973b677ca9bc893cc0d38c215 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=254-267/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::size | function | /**
* @returns {number} size
*/
size() {
if (this._cachedSize !== undefined) return this._cachedSize;
if (this._cachedBuffer !== undefined) {
return (this._cachedSize = this._cachedBuffer.length);
}
const source = this._getCachedSource();
if (source !== undefined) {
return (this._cachedSize = Buffe... |
1,284,527 | 014e5ceef7254fb8aa779d1e302fcdc3 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=269-302/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
const key = options ? JSON.stringify(options) : "{}";
const cacheEntry = this._cachedMaps.get(key);
// Look for a cached map
if (cacheEntry !== undefined) {
// We have a cached map in som... |
1,284,528 | 6a99b2abd517444fd68ad6c7fe3fe8e9 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=354-370/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
const key = options ? JSON.stringify(options) : "{}";
const cacheEntry = this._cachedMaps.get(key);
if (cacheEntry !== undefined) {
return this._getMapFromCacheEntry(cacheEntry);
}
const map = this.... |
1,284,529 | 152b8211731353ba3f4b07e1a7977ed3 | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=372-416/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
if (this._cachedHashUpdate !== undefined) {
for (const item of this._cachedHashUpdate) hash.update(item);
return;
}
/** @type {(string | Buffer)[]} */
const update = [];
/** @type {string | undefined} */
let currentString... |
1,284,530 | 923b613a7ceadb987a8015bb8c5c04df | swh:1:cnt:4690742928163850abb1d5d5a47e7473fa759e19;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=304-352/ | 11940b8a8148b11314f1c5a0dc446511c7a7f953 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CachedSource.js | CachedSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, onName) {
co... |
1,284,531 | 5fbd25c1287ba9d5fe6f3dc35f4199f2 | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-107/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource | type | /** @typedef {import("./Source").HashLike} HashLike */
/** @typedef {import("./Source").MapOptions} MapOptions */
/** @typedef {import("./Source").RawSourceMap} RawSourceMap */
/** @typedef {import("./Source").SourceAndMap} SourceAndMap */
/** @typedef {import("./Source").SourceValue} SourceValue */
/**
* @typedef {o... |
1,284,532 | 3537ca04f9b964be775ade3198728d49 | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-35/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::from | function | /**
* @param {SourceLike} sourceLike source like
* @returns {Source} source
*/
static from(sourceLike) {
return sourceLike instanceof Source
? sourceLike
: new CompatSource(sourceLike);
} |
1,284,533 | caa7ccd7c3bd00558756b24f09a28344 | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-61/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::buffer | function | buffer() {
if (typeof this._sourceLike.buffer === "function") {
return this._sourceLike.buffer();
}
return super.buffer();
} |
1,284,534 | 5325f52878a0ec4be6e9e436f7f8db26 | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-54/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
return this._sourceLike.source();
} |
1,284,535 | e15d7d365b43189a0689f29afa6aeda0 | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-68/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::size | function | size() {
if (typeof this._sourceLike.size === "function") {
return this._sourceLike.size();
}
return super.size();
} |
1,284,536 | 88d538cc2922c391031758302bd5952b | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-47/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::constructor | function | /**
* @param {SourceLike} sourceLike source like
*/
constructor(sourceLike) {
super();
/**
* @private
* @type {SourceLike}
*/
this._sourceLike = sourceLike;
} |
1,284,537 | 92405a9630042b416c763cc73dcf86c0 | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-79/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
if (typeof this._sourceLike.map === "function") {
return this._sourceLike.map(options);
}
return super.map(options);
} |
1,284,538 | b0d6684f4e97113249405ef56a16fe3c | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-90/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
if (typeof this._sourceLike.sourceAndMap === "function") {
return this._sourceLike.sourceAndMap(options);
}
return super.sourceAndMap(options);
} |
1,284,539 | 5966acec57e9922859cf953755b3aecb | swh:1:cnt:70b37434517042cbc073776d734df2f882b07335;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-106/ | c67c697e116ff8d630c1ee7f9177f7689c552651 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/CompatSource.js | CompatSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
if (typeof this._sourceLike.updateHash === "function") {
return this._sourceLike.updateHash(hash);
}
if (typeof this._sourceLike.map === "function") {
throw new Error(
"A Source-like object with a 'map' method must also pro... |
1,284,540 | 42b24114666c4cc018d977e23489bd5c | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-396/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource | type | class ConcatSource extends Source {
/**
* @param {Child[]} args children
*/
constructor(...args) {
super();
/**
* @private
* @type {Child[]}
*/
this._children = [];
for (const item of args) {
if (item instanceof ConcatSource) {
for (const child of item._children) {
this._children.pus... |
1,284,541 | 557538a31c5df02ee394b41a60f359c8 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-56/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::constructor | function | /**
* @param {Child[]} args children
*/
constructor(...args) {
super();
/**
* @private
* @type {Child[]}
*/
this._children = [];
for (const item of args) {
if (item instanceof ConcatSource) {
for (const child of item._children) {
this._children.push(child);
}
} else {
this.... |
1,284,542 | 85057f94f2fc43554f4735b244506e49 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=58-64/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::getChildren | function | /**
* @returns {Source[]} children
*/
getChildren() {
if (!this._isOptimized) this._optimize();
return /** @type {Source[]} */ (this._children);
} |
1,284,543 | 5400ac634f8bbeefdb33348cf40f9544 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=66-79/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::add | function | /**
* @param {Child} item item
* @returns {void}
*/
add(item) {
if (item instanceof ConcatSource) {
for (const child of item._children) {
this._children.push(child);
}
} else {
this._children.push(item);
}
this._isOptimized = false;
} |
1,284,544 | 080c344687489a485b434d285fa335bc | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-89/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::addAllSkipOptimizing | function | /**
* @param {Child[]} items items
* @returns {void}
*/
addAllSkipOptimizing(items) {
for (const item of items) {
this._children.push(item);
}
} |
1,284,545 | b55aaec485d044cafd497f8f792b1719 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=91-109/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::buffer | function | buffer() {
if (!this._isOptimized) this._optimize();
/** @type {Buffer[]} */
const buffers = [];
for (const child of /** @type {SourceLike[]} */ (this._children)) {
if (typeof child.buffer === "function") {
buffers.push(child.buffer());
} else {
const bufferOrString = child.source();
if (Buffe... |
1,284,546 | edfcc4d875680b9e4aed57dc4f51abf6 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=111-121/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
if (!this._isOptimized) this._optimize();
let source = "";
for (const child of this._children) {
source += /** @type {Source} */ (child).source();
}
return source;
} |
1,284,547 | c01b631680b65a7f4f81b96344ef87e5 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=123-130/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::size | function | size() {
if (!this._isOptimized) this._optimize();
let size = 0;
for (const child of this._children) {
size += /** @type {Source} */ (child).size();
}
return size;
} |
1,284,548 | 8af4cff2a943a5d34af993ba9bee739e | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=132-138/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
return getMap(this, options);
} |
1,284,549 | e2e50d7ff9c82880d8584347a7b55530 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=140-146/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
return getSourceAndMap(this, options);
} |
1,284,550 | 207ed13a9725495b2c20d0f51c7e0b8f | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=148-288/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, onName) {
if... |
1,284,551 | a63dcb38897e7bc54344eababfa2546a | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=290-301/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
if (!this._isOptimized) this._optimize();
hash.update("ConcatSource");
for (const item of this._children) {
/** @type {Source} */
(item).updateHash(hash);
}
} |
1,284,552 | 7060e7edf2a5a539fd9362eb8ac7b200 | swh:1:cnt:f2c41a3369410cbd5671b1b2165cbdbb85a17052;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=303-395/ | 3c8ad323b3350333c77facf8dec08c38ea3cde14 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ConcatSource.js | ConcatSource::_optimize | function | _optimize() {
const newChildren = [];
let currentString;
/** @type {undefined | string | [string, string] | SourceLike} */
let currentRawSources;
/**
* @param {string} string string
* @returns {void}
*/
const addStringToRawSources = (string) => {
if (currentRawSources === undefined) {
curren... |
1,284,553 | db2fc37de031b2ea9c88a4dab8d59caf | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-86/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | Source | function | get Source() {
return require("./Source");
} |
1,284,554 | 7a848146320a8ea1dbaf64d1270102d1 | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-89/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | RawSource | function | get RawSource() {
return require("./RawSource");
} |
1,284,555 | ba3e55531f40e774b2d7d37f884993f0 | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=93-95/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | SourceMapSource | function | get SourceMapSource() {
return require("./SourceMapSource");
} |
1,284,556 | 49d5777a7b9f3daeb131d43258571485 | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=96-98/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | CachedSource | function | get CachedSource() {
return require("./CachedSource");
} |
1,284,557 | 36152c45b3aa48f0717df92de3a199df | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=90-92/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | OriginalSource | function | get OriginalSource() {
return require("./OriginalSource");
} |
1,284,558 | c62606eb588bfcd35605348b79edb313 | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-101/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | ConcatSource | function | get ConcatSource() {
return require("./ConcatSource");
} |
1,284,559 | d8e15ead599ce3fdc21980f00ecb8c1c | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-104/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | ReplaceSource | function | get ReplaceSource() {
return require("./ReplaceSource");
} |
1,284,560 | 299fbfe97f8e4c4b02f7a3af46fd83f7 | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=105-107/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | PrefixSource | function | get PrefixSource() {
return require("./PrefixSource");
} |
1,284,561 | 6c40a7ac916c79b06cb8bdbea05645ad | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=108-110/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | SizeOnlySource | function | get SizeOnlySource() {
return require("./SizeOnlySource");
} |
1,284,562 | c38b0b352c3a3e8b59e23400ad1625b3 | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=111-113/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | CompatSource | function | get CompatSource() {
return require("./CompatSource");
} |
1,284,563 | 86a016876defceac717d1c5923e6c02a | swh:1:cnt:9f795ef7f03deda9888b099afd83164309bc05a0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=115-117/ | f17fc6cd6fe9a607d28523bedef5a09f5080fdac | wlbdashboard | wmcs | node_modules/webpack-sources/lib/index.js | stringBufferUtils | function | get stringBufferUtils() {
return require("./helpers/stringBufferUtils");
} |
1,284,564 | 52b49c37fd4c2f8bee970049c0b41712 | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-200/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource | type | /** @typedef {import("./Source").HashLike} HashLike */
/** @typedef {import("./Source").MapOptions} MapOptions */
/** @typedef {import("./Source").RawSourceMap} RawSourceMap */
/** @typedef {import("./Source").SourceAndMap} SourceAndMap */
/** @typedef {import("./Source").SourceValue} SourceValue */
/** @typedef {impor... |
1,284,565 | 91278900782b1231e63675589251af21 | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-53/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::constructor | function | /**
* @param {string | Buffer} value value
* @param {string} name name
*/
constructor(value, name) {
super();
const isBuffer = Buffer.isBuffer(value);
/**
* @private
* @type {undefined | string}
*/
this._value = isBuffer ? undefined : value;
/**
* @private
* @type {undefined | Buffer}
... |
1,284,566 | 90faf6fae6d79907d08962963d91169d | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-57/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::getName | function | getName() {
return this._name;
} |
1,284,567 | 4c3209603cb9b311c24fea2d4743e3f0 | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-84/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::buffer | function | buffer() {
if (this._valueAsBuffer === undefined) {
const value = Buffer.from(/** @type {string} */ (this._value), "utf8");
if (isDualStringBufferCachingEnabled()) {
this._valueAsBuffer = value;
}
return value;
}
return this._valueAsBuffer;
} |
1,284,568 | 8af4cff2a943a5d34af993ba9bee739e | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-92/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
return getMap(this, options);
} |
1,284,569 | fddd3cb006507d2e14b5e9d82277bebf | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-73/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
if (this._value === undefined) {
const value =
/** @type {Buffer} */
(this._valueAsBuffer).toString("utf8");
if (isDualStringBufferCachingEnabled()) {
this._value = value;
}
return value;
}
return this._value;
} |
1,284,570 | e2e50d7ff9c82880d8584347a7b55530 | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-100/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
return getSourceAndMap(this, options);
} |
1,284,571 | 76f1cbb745eeae63c5cbb56f815bfd81 | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-189/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} _onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, _onName) {
... |
1,284,572 | 9b6757c82145af1ed11e96b391cb6b9e | swh:1:cnt:101e09ea3b708aac42dfaffea0269732a8af398e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=191-199/ | 614ca20258a88018bd98d9e40e28f3d0f6832cae | wlbdashboard | wmcs | node_modules/webpack-sources/lib/OriginalSource.js | OriginalSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
hash.update("OriginalSource");
hash.update(this.buffer());
hash.update(this._name || "");
} |
1,284,573 | 665e41f3f305c4287a128a1b5c74f390 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-160/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource | type | class PrefixSource extends Source {
/**
* @param {string} prefix prefix
* @param {string | Buffer | Source} source source
*/
constructor(prefix, source) {
super();
/**
* @private
* @type {string}
*/
this._prefix = prefix;
/**
* @private
* @type {Source}
*/
this._source =
typeof so... |
1,284,574 | ed418861dcfb8e4fa78a353e7a0dd0d8 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-46/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::constructor | function | /**
* @param {string} prefix prefix
* @param {string | Buffer | Source} source source
*/
constructor(prefix, source) {
super();
/**
* @private
* @type {string}
*/
this._prefix = prefix;
/**
* @private
* @type {Source}
*/
this._source =
typeof source === "string" || Buffer.isBuffer(... |
1,284,575 | 4179cc033f7295db45c826adcb8db172 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-54/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::original | function | original() {
return this._source;
} |
1,284,576 | 8c83f7ad15321270523b45a5be59241a | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-73/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::map | function | // TODO efficient buffer() implementation
/**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
return getMap(this, options);
} |
1,284,577 | 0e635167c44173a5a6d30a1622dea952 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-50/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::getPrefix | function | getPrefix() {
return this._prefix;
} |
1,284,578 | f0c535d2cc8d208f75980eb8681a1780 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-63/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
const node = /** @type {string} */ (this._source.source());
const prefix = this._prefix;
return prefix + node.replace(REPLACE_REGEX, `\n${prefix}`);
} |
1,284,579 | e2e50d7ff9c82880d8584347a7b55530 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-81/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
return getSourceAndMap(this, options);
} |
1,284,580 | d194d45992b91921fa0b897045a54f03 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-149/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, onName) {
co... |
1,284,581 | f21de0e7d4a524c05f7df6cde50cc574 | swh:1:cnt:ce4676168af3529ea97e65c6ec147d8938d2cf58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=151-159/ | 94f1abc27464fae6b5ad675f72c9568332a8a082 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/PrefixSource.js | PrefixSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
hash.update("PrefixSource");
this._source.updateHash(hash);
hash.update(this._prefix);
} |
1,284,582 | 604e871e9a7f6da254b8339d79400a21 | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-138/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource | type | /** @typedef {import("./Source").HashLike} HashLike */
/** @typedef {import("./Source").MapOptions} MapOptions */
/** @typedef {import("./Source").RawSourceMap} RawSourceMap */
/** @typedef {import("./Source").SourceValue} SourceValue */
/** @typedef {import("./helpers/getGeneratedSourceInfo").GeneratedSourceInfo} Gene... |
1,284,583 | 3a6655854fff15eb751b244cf5fdda66 | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-63/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::constructor | function | /**
* @param {string | Buffer} value value
* @param {boolean=} convertToString convert to string
*/
constructor(value, convertToString = false) {
super();
const isBuffer = Buffer.isBuffer(value);
if (!isBuffer && typeof value !== "string") {
throw new TypeError("argument 'value' must be either string or... |
1,284,584 | 694fd1884bb7b3a5de5beecc2160f520 | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-83/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
if (this._value === undefined) {
const value =
/** @type {Buffer} */
(this._valueAsBuffer).toString("utf8");
if (isDualStringBufferCachingEnabled()) {
this._value = internString(value);
}
return value;
}
return this._value;
} |
1,284,585 | 4c3209603cb9b311c24fea2d4743e3f0 | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-94/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::buffer | function | buffer() {
if (this._valueAsBuffer === undefined) {
const value = Buffer.from(/** @type {string} */ (this._value), "utf8");
if (isDualStringBufferCachingEnabled()) {
this._valueAsBuffer = value;
}
return value;
}
return this._valueAsBuffer;
} |
1,284,586 | 7d447067e20979a6b500751cadfaa2b7 | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-67/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::isBuffer | function | isBuffer() {
return this._valueIsBuffer;
} |
1,284,587 | be0b720ce9fb84f7df82bbcde7c821bd | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=96-103/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
// eslint-disable-next-line no-unused-vars
map(options) {
return null;
} |
1,284,588 | 5ed59528c86c1615784208c744583ae6 | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=105-128/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, onName) {
le... |
1,284,589 | 3d6e3f638ce014dc9f158f8e298215de | swh:1:cnt:0f2ce145f14120667a218e83cd4e7a94f3fddf1e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=130-137/ | 7f047bf1fae7b417dba00c1c4da61e9d9263390f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/RawSource.js | RawSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
hash.update("RawSource");
hash.update(this.buffer());
} |
1,284,590 | 09b3321fe7b0788749e70f9cc0690d24 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-50/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | Replacement | type | class Replacement {
/**
* @param {number} start start
* @param {number} end end
* @param {string} content content
* @param {string=} name name
*/
constructor(start, end, content, name) {
this.start = start;
this.end = end;
this.content = content;
this.name = name;
if (!hasStableSort) {
this.ind... |
1,284,591 | 4c9a822402be07940214accf5eec035d | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-554/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource | type | class ReplaceSource extends Source {
/**
* @param {Source} source source
* @param {string=} name name
*/
constructor(source, name) {
super();
/**
* @private
* @type {Source}
*/
this._source = source;
/**
* @private
* @type {string | undefined}
*/
this._name = name;
/** @type {Repla... |
1,284,592 | 2c6b156ddd8ab2810af603b3c7e37dd5 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-49/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | Replacement::constructor | function | /**
* @param {number} start start
* @param {number} end end
* @param {string} content content
* @param {string=} name name
*/
constructor(start, end, content, name) {
this.start = start;
this.end = end;
this.content = content;
this.name = name;
if (!hasStableSort) {
this.index = -1;
}
} |
1,284,593 | 5cefcfe92d2e9c6a283829d3e74c0378 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-85/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::getReplacements | function | getReplacements() {
this._sortReplacements();
return this._replacements;
} |
1,284,594 | a2f08ab8ca3f19912892720a0dbac666 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-102/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::replace | function | /**
* @param {number} start start
* @param {number} end end
* @param {string} newValue new value
* @param {string=} name name
* @returns {void}
*/
replace(start, end, newValue, name) {
if (typeof newValue !== "string") {
throw new Error(
`insertion must be a string, but is a ${typeof newValue}`,
... |
1,284,595 | 98984e8b06edaacccee1fb8053c23874 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-76/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::constructor | function | /**
* @param {Source} source source
* @param {string=} name name
*/
constructor(source, name) {
super();
/**
* @private
* @type {Source}
*/
this._source = source;
/**
* @private
* @type {string | undefined}
*/
this._name = name;
/** @type {Replacement[]} */
this._replacements = []... |
1,284,596 | 90faf6fae6d79907d08962963d91169d | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-80/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::getName | function | getName() {
return this._name;
} |
1,284,597 | 9c861334b63394628636cacb2f220764 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=104-118/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::insert | function | /**
* @param {number} pos pos
* @param {string} newValue new value
* @param {string=} name name
* @returns {void}
*/
insert(pos, newValue, name) {
if (typeof newValue !== "string") {
throw new Error(
`insertion must be a string, but is a ${typeof newValue}: ${newValue}`,
);
}
this._replacemen... |
1,284,598 | 1f4dff56513df446d99d06a58e1081c4 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=120-150/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
if (this._replacements.length === 0) {
return this._source.source();
}
let current = this._source.source();
let pos = 0;
const result = [];
this._sortReplacements();
for (const replacement of this._replacements) {
const start = Math.floor(repla... |
1,284,599 | 66d13cacc0c52f4a61b8db0938d07ff7 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=152-161/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
if (this._replacements.length === 0) {
return this._source.map(options);
}
return getMap(this, options);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.