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,800
2fb9233168cc5fbacf7aab67d27dfc98
swh:1:cnt:36400241f015ec55efa5479655aa7a2e26183bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-58/
31039c9ff26b37c6e0438876f9c831b9759dec7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/url-state-machine.js
containsForbiddenHostCodePointExcludingPercent
function
function containsForbiddenHostCodePointExcludingPercent(string) { return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|<|>|\?|@|\[|\\|\]|\^|\|/u) !== -1; }
1,284,801
6328c7385711c75621ffb4d5b4a54f3e
swh:1:cnt:36400241f015ec55efa5479655aa7a2e26183bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-62/
31039c9ff26b37c6e0438876f9c831b9759dec7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/url-state-machine.js
isSpecialScheme
function
function isSpecialScheme(scheme) { return specialSchemes[scheme] !== undefined; }
1,284,802
0a320e84ef25a2af22423c2a34d6e4e4
swh:1:cnt:36400241f015ec55efa5479655aa7a2e26183bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=324-353/
31039c9ff26b37c6e0438876f9c831b9759dec7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/url-state-machine.js
parseHost
function
function parseHost(input, isNotSpecialArg = false) { if (input[0] === "[") { if (input[input.length - 1] !== "]") { return failure; } return parseIPv6(input.substring(1, input.length - 1)); } if (isNotSpecialArg) { return parseOpaqueHost(input); } const domain = utf8DecodeWithoutBOM(p...
1,284,803
661e5084d2e6d4a2e846fab38993d89e
swh:1:cnt:36400241f015ec55efa5479655aa7a2e26183bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=166-293/
31039c9ff26b37c6e0438876f9c831b9759dec7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/url-state-machine.js
parseIPv6
function
function parseIPv6(input) { const address = [0, 0, 0, 0, 0, 0, 0, 0]; let pieceIndex = 0; let compress = null; let pointer = 0; input = punycode.ucs2.decode(input); if (input[pointer] === 58) { if (input[pointer + 1] !== 58) { return failure; } pointer += 2; ++pieceIndex; compre...
1,284,804
c16682962e9f7a53c2991d60e1a7c045
swh:1:cnt:36400241f015ec55efa5479655aa7a2e26183bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-74/
31039c9ff26b37c6e0438876f9c831b9759dec7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/url-state-machine.js
defaultPort
function
function defaultPort(scheme) { return specialSchemes[scheme]; }
1,284,805
af003970de9604deed4ace1415d05425
swh:1:cnt:36400241f015ec55efa5479655aa7a2e26183bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=836-841/
31039c9ff26b37c6e0438876f9c831b9759dec7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/url-state-machine.js
startsWithWindowsDriveLetter
function
function startsWithWindowsDriveLetter(input, pointer) { const length = input.length - pointer; return length >= 2 && isWindowsDriveLetterCodePoints(input[pointer], input[pointer + 1]) && (length === 2 || fileOtherwiseCodePoints.has(input[pointer + 2])); }
1,284,806
644595bf6ff890a09f22a4a2a8e7011e
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=129-139/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::href
function
set href(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set href' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set the 'href' proper...
1,284,807
ce8b26cb387be465837c1d54bfa5fae0
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=170-182/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::protocol
function
set protocol(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set protocol' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set t...
1,284,808
d61c26dc666aab462ae6718395267d4c
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=218-230/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::password
function
set password(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set password' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set t...
1,284,809
a7d7b8da8febcac83dc03f55818c79bd
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=194-206/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::username
function
set username(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set username' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set t...
1,284,810
ff081df30f9e22283c835460862801cc
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=334-344/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::search
function
set search(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set search' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set the 'search' ...
1,284,811
07adb54162bcb6dc1bb49f3bf460390d
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=368-378/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::hash
function
set hash(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set hash' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set the 'hash' proper...
1,284,812
4062eea057b728059bb1d5107caec15a
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-108/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::constructor
function
constructor(url) { if (arguments.length < 1) { throw new TypeError( "Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present." ); } const args = []; { let curArg = arguments[0]; curArg = conversions["USVString"](curArg, ...
1,284,813
237ad0f87e5d774d28d1430651abf205
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=141-148/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::toString
function
toString() { const esValue = this; if (!exports.is(esValue)) { throw new TypeError("'toString' called on an object that is not a valid instance of URL."); } return esValue[implSymbol]["href"]; }
1,284,814
fa4529b4745685b2501a6fdeab4ea044
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=242-252/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::host
function
set host(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set host' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set the 'host' proper...
1,284,815
de0936183d803113ea764a59e15c46e4
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=288-298/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::port
function
set port(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set port' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set the 'port' proper...
1,284,816
838e9a31b1d6b0329b77bc50a1bbcd1b
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=310-322/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::pathname
function
set pathname(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set pathname' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set t...
1,284,817
f20302a22291a9d64ed4a3909132f89c
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-35/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
makeWrapper
function
function makeWrapper(globalObject) { if (globalObject[ctorRegistrySymbol] === undefined) { throw new Error("Internal error: invalid global object"); } const ctor = globalObject[ctorRegistrySymbol]["URL"]; if (ctor === undefined) { throw new Error("Internal error: constructor URL is not installed on the...
1,284,818
e9f7d072e3efc8a061281db2eb3c9f56
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-158/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::origin
function
get origin() { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'get origin' called on an object that is not a valid instance of URL."); } return esValue[implSymbol]["origin"]; }
1,284,819
96d395ddedd66479b5c5c06cfeafb50f
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=264-276/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::hostname
function
set hostname(V) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set hostname' called on an object that is not a valid instance of URL."); } V = conversions["USVString"](V, { context: "Failed to set t...
1,284,820
ce8ee93c5007d2f130a00acb26870125
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=346-356/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::searchParams
function
get searchParams() { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'get searchParams' called on an object that is not a valid instance of URL."); } return utils.getSameObject(this, "searchParams", () => { ...
1,284,821
1e26aef99c3bb2ae0090539be2ac15cf
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-117/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL::toJSON
function
toJSON() { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'toJSON' called on an object that is not a valid instance of URL."); } return esValue[implSymbol].toJSON(); }
1,284,822
e192a10aeb8897a01c2f60e0454863dd
swh:1:cnt:6d859d9875b41d449eb0ebba9e1be4326831a27e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-379/
e70585ef28cfd38919131baafd17579c113b2a1f
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URL.js
URL
type
class URL { constructor(url) { if (arguments.length < 1) { throw new TypeError( "Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present." ); } const args = []; { let curArg = arguments[0]; curArg = conversions["USVS...
1,284,823
d6d13c5f83fd6d26113c0df04a031e9f
swh:1:cnt:c2ccf3d89360b4867e07f5bda4d461df3cd53411;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-34/
aa070be564ae9600bf0498bafc8e18bad9275c12
wlbdashboard
wmcs
node_modules/whatwg-url/dist/urlencoded.js
parseUrlencoded
function
// https://url.spec.whatwg.org/#concept-urlencoded-parser function parseUrlencoded(input) { const sequences = strictlySplitByteSequence(input, 38); const output = []; for (const bytes of sequences) { if (bytes.length === 0) { continue; } let name, value; const indexOfEqual = bytes.indexOf(6...
1,284,824
7cfb3a19b3b67d74379263af4be02f96
swh:1:cnt:c2ccf3d89360b4867e07f5bda4d461df3cd53411;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=90-97/
aa070be564ae9600bf0498bafc8e18bad9275c12
wlbdashboard
wmcs
node_modules/whatwg-url/dist/urlencoded.js
replaceByteInByteSequence
function
function replaceByteInByteSequence(buf, from, to) { let i = buf.indexOf(from); while (i >= 0) { buf[i] = to; i = buf.indexOf(from, i + 1); } return buf; }
1,284,825
f70921d98d33a2bb97d0763e96740a2c
swh:1:cnt:c2ccf3d89360b4867e07f5bda4d461df3cd53411;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-88/
aa070be564ae9600bf0498bafc8e18bad9275c12
wlbdashboard
wmcs
node_modules/whatwg-url/dist/urlencoded.js
strictlySplitByteSequence
function
function strictlySplitByteSequence(buf, cp) { const list = []; let last = 0; let i = buf.indexOf(cp); while (i >= 0) { list.push(buf.slice(last, i)); last = i + 1; i = buf.indexOf(cp, last); } if (last !== buf.length) { list.push(buf.slice(last)); } return list; }
1,284,826
fee7903500d44f9b8b96e65af4c3fffa
swh:1:cnt:c2ccf3d89360b4867e07f5bda4d461df3cd53411;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-73/
aa070be564ae9600bf0498bafc8e18bad9275c12
wlbdashboard
wmcs
node_modules/whatwg-url/dist/urlencoded.js
serializeUrlencoded
function
// https://url.spec.whatwg.org/#concept-urlencoded-serializer function serializeUrlencoded(tuples, encodingOverride = undefined) { let encoding = "utf-8"; if (encodingOverride !== undefined) { // TODO "get the output encoding", i.e. handle encoding labels vs. names. encoding = encodingOverride; } let o...
1,284,827
689f2f7790557f4d07a6a18cc344d728
swh:1:cnt:c2ccf3d89360b4867e07f5bda4d461df3cd53411;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-39/
aa070be564ae9600bf0498bafc8e18bad9275c12
wlbdashboard
wmcs
node_modules/whatwg-url/dist/urlencoded.js
parseUrlencodedString
function
// https://url.spec.whatwg.org/#concept-urlencoded-string-parser function parseUrlencodedString(input) { return parseUrlencoded(utf8Encode(input)); }
1,284,828
46955a16f81c47f2612190d5cc1f4a5b
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-31/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::constructor
function
constructor(globalObject, constructorArgs, { doNotStripQMark = false }) { let init = constructorArgs[0]; this._list = []; this._url = null; if (!doNotStripQMark && typeof init === "string" && init[0] === "?") { init = init.slice(1); } if (Array.isArray(init)) { for (const pair of i...
1,284,829
77f39fd59d40500a6453b2ec24847817
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-58/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::delete
function
delete(name) { let i = 0; while (i < this._list.length) { if (this._list[i][0] === name) { this._list.splice(i, 1); } else { i++; } } this._updateSteps(); }
1,284,830
fd1e0d0921cd44a23a714c5f346c7e91
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-41/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::_updateSteps
function
_updateSteps() { if (this._url !== null) { let query = urlencoded.serializeUrlencoded(this._list); if (query === "") { query = null; } this._url._url.query = query; } }
1,284,831
ec9f77043ce87c204e6e5168eec1346f
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-67/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::get
function
get(name) { for (const tuple of this._list) { if (tuple[0] === name) { return tuple[1]; } } return null; }
1,284,832
d6de4a4a76013a9be41c8ef91824903c
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=43-46/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::append
function
append(name, value) { this._list.push([name, value]); this._updateSteps(); }
1,284,833
fb7e51d3d90c47a131d25451ed152c90
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-77/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::getAll
function
getAll(name) { const output = []; for (const tuple of this._list) { if (tuple[0] === name) { output.push(tuple[1]); } } return output; }
1,284,834
577cc529f856b9727511033317ae81b4
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-86/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::has
function
has(name) { for (const tuple of this._list) { if (tuple[0] === name) { return true; } } return false; }
1,284,835
5f67c3e00e7a259770593c3f45a546dd
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-108/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::set
function
set(name, value) { let found = false; let i = 0; while (i < this._list.length) { if (this._list[i][0] === name) { if (found) { this._list.splice(i, 1); } else { found = true; this._list[i][1] = value; i++; } } else { i++; ...
1,284,836
07299a061869309a0dc1ade28ba1d1eb
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-113/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::sort
function
sort() { this._list = stableSortBy(this._list, [0]); this._updateSteps(); }
1,284,837
2b7b934bb291139d9548fcdf72605557
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=115-117/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::[Symbol.iterator]
function
[Symbol.iterator]() { return this._list[Symbol.iterator](); }
1,284,838
e45c5e5152d43d9340ccf8a572f75a09
swh:1:cnt:25c62943b26ea32ab6d7320674544cc9ca365e4a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-121/
e2c8ba4155948db66bbdfe905513fb4a7d876e7a
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams-impl.js
URLSearchParamsImpl::toString
function
toString() { return urlencoded.serializeUrlencoded(this._list); }
1,284,839
16c71bc27709d019cdd1c2749eee4e3d
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-74/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
makeWrapper
function
function makeWrapper(globalObject) { if (globalObject[ctorRegistrySymbol] === undefined) { throw new Error("Internal error: invalid global object"); } const ctor = globalObject[ctorRegistrySymbol]["URLSearchParams"]; if (ctor === undefined) { throw new Error("Internal error: constructor URLSearchParams...
1,284,840
a70c121fe05b8f2505f07fc848abed1f
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=211-240/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::append
function
append(name, value) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'append' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 2) { throw new TypeError( ...
1,284,841
d954911766babf7ede84f63f5a128b2a
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=127-209/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::constructor
function
constructor() { const args = []; { let curArg = arguments[0]; if (curArg !== undefined) { if (utils.isObject(curArg)) { if (curArg[Symbol.iterator] !== undefined) { if (!utils.isObject(curArg)) { throw new TypeError( "Fail...
1,284,842
58090cffc3ecfacca16d061a1bdde8bf
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=242-264/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::delete
function
delete(name) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'delete' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 1) { throw new TypeError( ...
1,284,843
e286390f03f517f43d3874bde1cd345d
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=266-288/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::get
function
get(name) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'get' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 1) { throw new TypeError( "Fai...
1,284,844
d284722b00075045611cf5b832748bcf
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=290-312/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::getAll
function
getAll(name) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 1) { throw new TypeError( ...
1,284,845
efd9f949a149823f97bafac982173227
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=314-336/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::has
function
has(name) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'has' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 1) { throw new TypeError( "Fai...
1,284,846
fc339f986c40b56dbef5308f22dde48b
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=338-367/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::set
function
set(name, value) { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'set' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 2) { throw new TypeError( ...
1,284,847
c235602dc8e593e8be1c9fc9acaa706a
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=369-376/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::sort
function
sort() { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'sort' called on an object that is not a valid instance of URLSearchParams."); } return esValue[implSymbol].sort(); }
1,284,848
cc4bf45e5444be150ebd1e0e613beeaf
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=378-385/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::toString
function
toString() { const esValue = this !== null && this !== undefined ? this : globalObject; if (!exports.is(esValue)) { throw new TypeError("'toString' called on an object that is not a valid instance of URLSearchParams."); } return esValue[implSymbol].toString(); }
1,284,849
fc70c1f7cd5b4847afc92a70801cb48c
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=394-399/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::values
function
values() { if (!exports.is(this)) { throw new TypeError("'values' called on an object that is not a valid instance of URLSearchParams."); } return exports.createDefaultIterator(this, "value"); }
1,284,850
4026b0a6344f416afae6e153f614c4ee
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=401-406/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::entries
function
entries() { if (!exports.is(this)) { throw new TypeError("'entries' called on an object that is not a valid instance of URLSearchParams."); } return exports.createDefaultIterator(this, "key+value"); }
1,284,851
1ef1ae0e674ed6b20b1078e994d789d5
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=408-427/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::forEach
function
forEach(callback) { if (!exports.is(this)) { throw new TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams."); } if (arguments.length < 1) { throw new TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, " + "but only 0 present...
1,284,852
a6dd55bc935c0e9e8481f1c7a8479387
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=387-392/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams::keys
function
keys() { if (!exports.is(this)) { throw new TypeError("'keys' called on an object that is not a valid instance of URLSearchParams."); } return exports.createDefaultIterator(this, "key"); }
1,284,853
d5fdbda08ce6e74f391727e5551cb4d7
swh:1:cnt:ba29f063fe37a4225586ca9771a9af298404ebd8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=126-428/
dde15cbcb1df17994b144ef96beacbe5e7be37fd
wlbdashboard
wmcs
node_modules/whatwg-url/dist/URLSearchParams.js
URLSearchParams
type
class URLSearchParams { constructor() { const args = []; { let curArg = arguments[0]; if (curArg !== undefined) { if (utils.isObject(curArg)) { if (curArg[Symbol.iterator] !== undefined) { if (!utils.isObject(curArg)) { throw new TypeEr...
1,284,854
762149f7e594821067b23475c68afe84
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-6/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
isObject
function
// Returns "Type(value) is Object" in ES terminology. function isObject(value) { return typeof value === "object" && value !== null || typeof value === "function"; }
1,284,855
640b72ef4463eaa9edb8aa4a405833a2
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-39/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
tryWrapperForImpl
function
function tryWrapperForImpl(impl) { const wrapper = wrapperForImpl(impl); return wrapper ? wrapper : impl; }
1,284,856
223485ef4190b252316ee3f20055469e
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-26/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
getSameObject
function
function getSameObject(wrapper, prop, creator) { if (!wrapper[sameObjectCaches]) { wrapper[sameObjectCaches] = Object.create(null); } if (prop in wrapper[sameObjectCaches]) { return wrapper[sameObjectCaches][prop]; } wrapper[sameObjectCaches][prop] = creator(); return wrapper[sameObjectCaches][pro...
1,284,857
4220080589726cc7e37c27c20b199d74
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-30/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
wrapperForImpl
function
function wrapperForImpl(impl) { return impl ? impl[wrapperSymbol] : null; }
1,284,858
283e2b73c3ac55ed4517cc31514ea7e5
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-34/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
implForWrapper
function
function implForWrapper(wrapper) { return wrapper ? wrapper[implSymbol] : null; }
1,284,859
d3289a4228d1399bdd0224a24ce6b002
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-44/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
tryImplForWrapper
function
function tryImplForWrapper(wrapper) { const impl = implForWrapper(wrapper); return impl ? impl : wrapper; }
1,284,860
4732fe0166a32b01bb3339974da637bc
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=50-63/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
isArrayIndexPropName
function
function isArrayIndexPropName(P) { if (typeof P !== "string") { return false; } const i = P >>> 0; if (i === Math.pow(2, 32) - 1) { return false; } const s = `${i}`; if (P !== s) { return false; } return true; }
1,284,861
f5458ae3aee8ff3fa32c26c7026b4b6b
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-74/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
isArrayBuffer
function
function isArrayBuffer(value) { try { byteLengthGetter.call(value); return true; } catch (e) { return false; } }
1,284,862
43a9109b2ea62e9546aae167a48de116
swh:1:cnt:cf6d232b0f66197cac7aa9f936347c2eb0892e33;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-90/
576b712dcb85abd623cd71cdd8665db5182a1f21
wlbdashboard
wmcs
node_modules/whatwg-url/dist/utils.js
iteratorResult
function
function iteratorResult([key, value], kind) { let result; switch (kind) { case "key": result = key; break; case "value": result = value; break; case "key+value": result = [key, value]; break; } return { value: result, done: false }; }
1,284,863
9ae3a1188857e4cad30a2ce502e81deb
swh:1:cnt:43b00518b02c89681c22dd6041f247b656bcaf69;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-20/
d83d63b543a75ee7498fe5f74546faba598726f4
wlbdashboard
wmcs
node_modules/whatwg-url/dist/VoidFunction.js
invokeTheCallbackFunction
function
function invokeTheCallbackFunction() { if (new.target !== undefined) { throw new Error("Internal error: invokeTheCallbackFunction is not a constructor"); } const thisArg = utils.tryWrapperForImpl(this); let callResult; callResult = Reflect.apply(value, thisArg, []); }
1,284,864
443ad2ca4b52e1d78634f6804cf65737
swh:1:cnt:96d9daf6bd6ee335d2d35712aec52df3336ac811;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/
09796383bd4c87bdea9612205e13a77acea20173
wlbdashboard
wmcs
node_modules/which-boxed-primitive/index.d.ts
primitive
type
type primitive = string | number | bigint | boolean | symbol | null | undefined;
1,284,865
4082519176ae1ef73a5f7f84786180d9
swh:1:cnt:6f194b34e2107b96da7ed3b8ed3a028561ea4675;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-5/
931665b6ab058107a995685fc375551ce33c475b
wlbdashboard
wmcs
node_modules/which-builtin-type/index.d.ts
AsyncFunction
type
type AsyncFunction<T = unknown> = (...args: unknown[]) => Promise<T>;
1,284,866
32f5f7bea7b0c28a6b27693eacaacbf1
swh:1:cnt:a603e2efdc24c71cc179f8971723a5a610b51938;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-35/
8a08be82c131506afa5aa1a339b8e2eac85a36d0
wlbdashboard
wmcs
node_modules/which-typed-array/index.d.ts
whichTypedArray::TypedArrayName
type
type TypedArrayName = | 'Int8Array' | 'Uint8Array' | 'Uint8ClampedArray' | 'Int16Array' | 'Uint16Array' | 'Int32Array' | 'Uint32Array' | 'Float32Array' | 'Float64Array' | 'Float16Array' | 'BigInt64Array' | 'BigUint64Array';
1,284,867
6d98755e7f88c5284fed7ee9e4a4f267
swh:1:cnt:a603e2efdc24c71cc179f8971723a5a610b51938;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-63/
8a08be82c131506afa5aa1a339b8e2eac85a36d0
wlbdashboard
wmcs
node_modules/which-typed-array/index.d.ts
whichTypedArray::TypedArrayConstructor
type
type TypedArrayConstructor = | Int8ArrayConstructor | Uint8ArrayConstructor | Uint8ClampedArrayConstructor | Int16ArrayConstructor | Uint16ArrayConstructor | Int32ArrayConstructor | Uint32ArrayConstructor | Float32ArrayConstructor | Float64ArrayConstructor | Float16ArrayConstruct...
1,284,868
a79cc1189fa8314a7a8c981814be4630
swh:1:cnt:a603e2efdc24c71cc179f8971723a5a610b51938;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-49/
8a08be82c131506afa5aa1a339b8e2eac85a36d0
wlbdashboard
wmcs
node_modules/which-typed-array/index.d.ts
whichTypedArray::TypedArray
type
type TypedArray = | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | Float16Array | BigInt64Array | BigUint64Array;
1,284,869
442b8b81ad7febbb70a6b99c3c47f815
swh:1:cnt:07e06f81672c4db9070a71ffb211d69af5459951;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-49/
83b7529b0e8249c8b4523f93758cd5918932ff0b
wlbdashboard
wmcs
node_modules/word-wrap/index.d.ts
wrap::IOptions
type
interface IOptions { /** * The width of the text before wrapping to a new line. * @default ´50´ */ width?: number; /** * The string to use at the beginning of each line. * @default ´ ´ (two spaces) */ indent?: string; /** ...
1,284,870
894c23b259da52438a2e15c65219bbf5
swh:1:cnt:08f1e41d779f6c9173a3aa6a01101baaff3dc8dd;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-15/
f1e2c910c6b9e42fb807c23c28b1da8ca102ffde
wlbdashboard
wmcs
node_modules/word-wrap/index.js
trimEnd
function
/*! * word-wrap <https://github.com/jonschlinkert/word-wrap> * * Copyright (c) 2014-2023, Jon Schlinkert. * Released under the MIT License. */ function trimEnd(str) { let lastCharPos = str.length - 1; let lastChar = str[lastCharPos]; while(lastChar === ' ' || lastChar === '\t') { lastChar = str[--lastCh...
1,284,871
36438498e8a63f74b51391da71946a57
swh:1:cnt:08f1e41d779f6c9173a3aa6a01101baaff3dc8dd;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-21/
f1e2c910c6b9e42fb807c23c28b1da8ca102ffde
wlbdashboard
wmcs
node_modules/word-wrap/index.js
trimTabAndSpaces
function
function trimTabAndSpaces(str) { const lines = str.split('\n'); const trimmedLines = lines.map((line) => trimEnd(line)); return trimmedLines.join('\n'); }
1,284,872
dd4bd740e789f4f2d275b8152b67072c
swh:1:cnt:08f1e41d779f6c9173a3aa6a01101baaff3dc8dd;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-61/
f1e2c910c6b9e42fb807c23c28b1da8ca102ffde
wlbdashboard
wmcs
node_modules/word-wrap/index.js
identity
function
function identity(str) { return str; }
1,284,873
6b87769e73d38b55fa0ed5b91eabcc9c
swh:1:cnt:8594ccd1ab32b7f6f564be42eb86fbe7eed0e34d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-26/
a859070f11f4aea6dfcb8c6164fdb7499c31903c
wlbdashboard
wmcs
node_modules/workbox-background-sync/BackgroundSyncPlugin.d.ts
BackgroundSyncPlugin
type
class BackgroundSyncPlugin implements WorkboxPlugin { private readonly _queue; /** * @param {string} name See the {@link workbox-background-sync.Queue} * documentation for parameter details. * @param {Object} [options] See the * {@link workbox-background-sync.Queue} documentation for...
1,284,874
047bd4dfe1d231c1c7781c0bceac6b71
swh:1:cnt:52f2d236edec9016e00f68ec1df7320518349988;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-35/
b19721609da6f333e6328a686c96f01408c4bab4
wlbdashboard
wmcs
node_modules/workbox-background-sync/BackgroundSyncPlugin.js
BackgroundSyncPlugin
type
/** * A class implementing the `fetchDidFail` lifecycle callback. This makes it * easier to add failed requests to a background sync Queue. * * @memberof workbox-background-sync */ class BackgroundSyncPlugin { /** * @param {string} name See the {@link workbox-background-sync.Queue} * documentatio...
1,284,875
39c5d8bfce9979a650ef2417f0734872
swh:1:cnt:52f2d236edec9016e00f68ec1df7320518349988;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-34/
b19721609da6f333e6328a686c96f01408c4bab4
wlbdashboard
wmcs
node_modules/workbox-background-sync/BackgroundSyncPlugin.js
BackgroundSyncPlugin::constructor
function
/** * @param {string} name See the {@link workbox-background-sync.Queue} * documentation for parameter details. * @param {Object} [options] See the * {@link workbox-background-sync.Queue} documentation for * parameter details. */ constructor(name, options) { /** ...
1,284,876
44b07303c7babfcc0d9522b7485146c1
swh:1:cnt:c494d7b3e6d67910419354fa0eb5a7484fa8a9c8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-9/
f7c35e717a7b079b13b6b776cfff7aaf22ac36f8
wlbdashboard
wmcs
node_modules/workbox-background-sync/index.d.ts
SyncManager
type
interface SyncManager { getTags(): Promise<string[]>; register(tag: string): Promise<void>; }
1,284,877
7859faf5dbfefa85a83a98dd32d067c1
swh:1:cnt:c494d7b3e6d67910419354fa0eb5a7484fa8a9c8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-17/
f7c35e717a7b079b13b6b776cfff7aaf22ac36f8
wlbdashboard
wmcs
node_modules/workbox-background-sync/index.d.ts
SyncEvent
type
interface SyncEvent extends ExtendableEvent { readonly lastChance: boolean; readonly tag: string; }
1,284,878
7739b71a5e6c05bffca1ed87607d37c1
swh:1:cnt:c494d7b3e6d67910419354fa0eb5a7484fa8a9c8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-13/
f7c35e717a7b079b13b6b776cfff7aaf22ac36f8
wlbdashboard
wmcs
node_modules/workbox-background-sync/index.d.ts
ServiceWorkerRegistration
type
interface ServiceWorkerRegistration { readonly sync: SyncManager; }
1,284,879
6404bfc766f7c61aa74e63a0626b6586
swh:1:cnt:c494d7b3e6d67910419354fa0eb5a7484fa8a9c8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-20/
f7c35e717a7b079b13b6b776cfff7aaf22ac36f8
wlbdashboard
wmcs
node_modules/workbox-background-sync/index.d.ts
ServiceWorkerGlobalScopeEventMap
type
interface ServiceWorkerGlobalScopeEventMap { sync: SyncEvent; }
1,284,880
3f363a4214c2067f4898379395f1e23a
swh:1:cnt:46c999e25b5a7c646201f413df64e7737cae5b7f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/
9119512e0b588eaa3de7152c4aa480452c4e15b2
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.d.ts
OnSyncCallbackOptions
type
interface OnSyncCallbackOptions { queue: Queue; }
1,284,881
d03b7e6cff26987427a6078c17633405
swh:1:cnt:46c999e25b5a7c646201f413df64e7737cae5b7f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-7/
9119512e0b588eaa3de7152c4aa480452c4e15b2
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.d.ts
OnSyncCallback
type
interface OnSyncCallback { (options: OnSyncCallbackOptions): void | Promise<void>; }
1,284,882
212ff28bb9eee7cd548418949254fead
swh:1:cnt:46c999e25b5a7c646201f413df64e7737cae5b7f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-174/
9119512e0b588eaa3de7152c4aa480452c4e15b2
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.d.ts
Queue
type
class Queue { private readonly _name; private readonly _onSync; private readonly _maxRetentionTime; private readonly _queueStore; private readonly _forceSyncFallback; private _syncInProgress; private _requestsAddedDuringSync; /** * Creates an instance of Queue with the given options...
1,284,883
f49bdd43fff9514f9046f60d758dede9
swh:1:cnt:46c999e25b5a7c646201f413df64e7737cae5b7f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-17/
9119512e0b588eaa3de7152c4aa480452c4e15b2
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.d.ts
QueueEntry
type
interface QueueEntry { request: Request; timestamp?: number; metadata?: object; }
1,284,884
f231bd6ecc28efeab017bbcef9e46295
swh:1:cnt:46c999e25b5a7c646201f413df64e7737cae5b7f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-12/
9119512e0b588eaa3de7152c4aa480452c4e15b2
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.d.ts
QueueOptions
type
interface QueueOptions { forceSyncFallback?: boolean; maxRetentionTime?: number; onSync?: OnSyncCallback; }
1,284,885
f064c82ddab8cf0241ae604b8d50ad1c
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-400/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue
type
/** * A class to manage storing failed requests in IndexedDB and retrying them * later. All parts of the storing and replaying process are observable via * callbacks. * * @memberof workbox-background-sync */ class Queue { /** * Creates an instance of Queue with the given options * * @param {str...
1,284,886
1949d7454ac042ec57d148214637dad1
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-86/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::constructor
function
/** * Creates an instance of Queue with the given options * * @param {string} name The unique name for this queue. This name must be * unique as it's used to register sync events and store requests * in IndexedDB specific to this instance. An error will be thrown if * a duplica...
1,284,887
11c04342d676e7f4b660919d9dde1972
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-92/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::name
function
/** * @return {string} */ get name() { return this._name; }
1,284,888
9b6e4ef3700d247e17dde39d7b97c6f0
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=126-158/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::unshiftRequest
function
/** * Stores the passed request in IndexedDB (with its timestamp and any * metadata) at the beginning of the queue. * * @param {QueueEntry} entry * @param {Request} entry.request The request to store in the queue. * @param {Object} [entry.metadata] Any metadata you want associated with the...
1,284,889
0d16f927c78ea77d043af91c342f9224
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=159-168/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::popRequest
function
/** * Removes and returns the last request in the queue (along with its * timestamp and any metadata). The returned object takes the form: * `{request, timestamp, metadata}`. * * @return {Promise<QueueEntry | undefined>} */ async popRequest() { return this._removeRequest('pop')...
1,284,890
c3f4a57289a3c7acf3982b686b4f0b33
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=93-125/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::pushRequest
function
/** * Stores the passed request in IndexedDB (with its timestamp and any * metadata) at the end of the queue. * * @param {QueueEntry} entry * @param {Request} entry.request The request to store in the queue. * @param {Object} [entry.metadata] Any metadata you want associated with the ...
1,284,891
eb9191fb61e47c829e76a8ffba940238
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=169-178/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::shiftRequest
function
/** * Removes and returns the first request in the queue (along with its * timestamp and any metadata). The returned object takes the form: * `{request, timestamp, metadata}`. * * @return {Promise<QueueEntry | undefined>} */ async shiftRequest() { return this._removeRequest('sh...
1,284,892
a39730fdbb3a2dc4bb0f59be634e50ac
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=179-201/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::getAll
function
/** * Returns all the entries that have not expired (per `maxRetentionTime`). * Any expired entries are removed from the queue. * * @return {Promise<Array<QueueEntry>>} */ async getAll() { const allEntries = await this._queueStore.getAll(); const now = Date.now(); co...
1,284,893
9b94c127f4684d4ca4d7041539a5aa04
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=202-210/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::size
function
/** * Returns the number of entries present in the queue. * Note that expired entries (per `maxRetentionTime`) are also included in this count. * * @return {Promise<number>} */ async size() { return await this._queueStore.size(); }
1,284,894
20f9cd345f5f9570cdc23ff26f0f2b38
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=211-252/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::_addRequest
function
/** * Adds the entry to the QueueStore and registers for a sync event. * * @param {Object} entry * @param {Request} entry.request * @param {Object} [entry.metadata] * @param {number} [entry.timestamp=Date.now()] * @param {string} operation ('push' or 'unshift') * @private */...
1,284,895
44e155899aaf832f763280ea356e21a6
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=253-284/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::_removeRequest
function
/** * Removes and returns the first or last (depending on `operation`) entry * from the QueueStore that's not older than the `maxRetentionTime`. * * @param {string} operation ('pop' or 'shift') * @return {Object|undefined} * @private */ async _removeRequest(operation) { co...
1,284,896
e3d496c50f57a62d64be909f02510f01
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=314-331/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::registerSync
function
/** * Registers a sync event with a tag unique to this instance. */ async registerSync() { // See https://github.com/GoogleChrome/workbox/issues/2393 if ('sync' in self.registration && !this._forceSyncFallback) { try { await self.registration.sync.register(`${TA...
1,284,897
42c67e76594b7d82e73218e5c5394a99
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=285-313/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::replayRequests
function
/** * Loops through each request in the queue and attempts to re-fetch it. * If any request fails to re-fetch, it's put back in the same position in * the queue (which registers a retry for the next sync event). */ async replayRequests() { let entry; while ((entry = await this.sh...
1,284,898
23fb1bcf2805bd3f684f3c9f0b8d7bab
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=332-388/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::_addSyncListener
function
/** * In sync-supporting browsers, this adds a listener for the sync event. * In non-sync-supporting browsers, or if _forceSyncFallback is true, this * will retry the queue on service worker startup. * * @private */ _addSyncListener() { // See https://github.com/GoogleChrome/wo...
1,284,899
c692f5cb9b73e6ab374b748ebe97a4b2
swh:1:cnt:7ae3e6934cb0f51cbcfcb0ea779586203afa138a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=389-399/
f07a7768d4f72634ba02cdd68a622a7b0881d342
wlbdashboard
wmcs
node_modules/workbox-background-sync/Queue.js
Queue::_queueNames
function
/** * Returns the set of queue names. This is primarily used to reset the list * of queue names in tests. * * @return {Set<string>} * * @private */ static get _queueNames() { return queueNames; }