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,287,100 | 5b6de59179e51a2754001dac0683dadb | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=89-101/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::host | function | get host() {
const url = this._url;
if (url.host === null) {
return "";
}
if (url.port === null) {
return usm.serializeHost(url.host);
}
return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port);
} |
1,287,101 | 0a809800293c4f09e1676464e78125f1 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-125/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::hostname | function | set hostname(v) {
if (this._url.cannotBeABaseURL) {
return;
}
usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" });
} |
1,287,102 | 0ff00a0cb626c443a6c7cfac21f7b095 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=135-145/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::port | function | set port(v) {
if (usm.cannotHaveAUsernamePasswordPort(this._url)) {
return;
}
if (v === "") {
this._url.port = null;
} else {
usm.basicURLParse(v, { url: this._url, stateOverride: "port" });
}
} |
1,287,103 | 3cc6252460cde58cd58685f022cd72a5 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=176-189/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::search | function | set search(v) {
const url = this._url;
if (v === "") {
url.query = null;
this._query._list = [];
return;
}
const input = v[0] === "?" ? v.substring(1) : v;
url.query = "";
usm.basicURLParse(input, { url, stateOverride: "query" });
this._query._list = urlencoded.parseUrlen... |
1,287,104 | 9a16b95d4f4732d8111584c4c8cad25e | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=214-216/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::toJSON | function | toJSON() {
return this.href;
} |
1,287,105 | db2fc58a9b6ffa225de3c6a0f5d96b76 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-63/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::protocol | function | set protocol(v) {
usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" });
} |
1,287,106 | f28f43eaadd20b7bc6409d70e3152081 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-75/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::username | function | set username(v) {
if (usm.cannotHaveAUsernamePasswordPort(this._url)) {
return;
}
usm.setTheUsername(this._url, v);
} |
1,287,107 | c6a1aff3127033f09064485b7ed74064 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=203-212/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::hash | function | set hash(v) {
if (v === "") {
this._url.fragment = null;
return;
}
const input = v[0] === "#" ? v.substring(1) : v;
this._url.fragment = "";
usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" });
} |
1,287,108 | 4949cbc5ddb757fe0f0c8a89d11f9e1d | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-87/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::password | function | set password(v) {
if (usm.cannotHaveAUsernamePasswordPort(this._url)) {
return;
}
usm.setThePassword(this._url, v);
} |
1,287,109 | 60d38519118426bf6436c942555b9f5a | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=147-157/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::pathname | function | get pathname() {
if (this._url.cannotBeABaseURL) {
return this._url.path[0];
}
if (this._url.path.length === 0) {
return "";
}
return "/" + this._url.path.join("/");
} |
1,287,110 | 05966d0287db068bd2615c2b7e856927 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-32/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::constructor | function | constructor(constructorArgs) {
const url = constructorArgs[0];
const base = constructorArgs[1];
let parsedBase = null;
if (base !== undefined) {
parsedBase = usm.basicURLParse(base);
if (parsedBase === null) {
throw new TypeError(`Invalid base URL: ${base}`);
}
}
cons... |
1,287,111 | 472c5ad204629fde4efca3171247d447 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-55/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::origin | function | get origin() {
return usm.serializeURLOrigin(this._url);
} |
1,287,112 | 9853e1b2b4268dc7b171ad64db5909fd | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=191-193/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::searchParams | function | get searchParams() {
return this._query;
} |
1,287,113 | 6328c7385711c75621ffb4d5b4a54f3e | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=57-59/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isSpecialScheme | function | function isSpecialScheme(scheme) {
return specialSchemes[scheme] !== undefined;
} |
1,287,114 | 2f2e1bc0f754cc3ccf85a793a3cc081a | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=73-83/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | utf8PercentEncode | function | function utf8PercentEncode(c) {
const buf = Buffer.from(c);
let str = "";
for (let i = 0; i < buf.length; ++i) {
str += percentEncode(buf[i]);
}
return str;
} |
1,287,115 | 0504d314d11178f4ab22744df6eb94c8 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-67/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isNotSpecial | function | function isNotSpecial(url) {
return !isSpecialScheme(url.scheme);
} |
1,287,116 | 588243c5ec27671d513314bd76eb0730 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=115-143/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | parseIPv4Number | function | function parseIPv4Number(input) {
let R = 10;
if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") {
input = input.substring(2);
R = 16;
} else if (input.length >= 2 && input.charAt(0) === "0") {
input = input.substring(1);
R = 8;
}
if (input === "") {
... |
1,287,117 | e495967dca1f4a9b933cfdd7cd8a3704 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=145-188/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | parseIPv4 | function | function parseIPv4(input) {
const parts = input.split(".");
if (parts[parts.length - 1] === "") {
if (parts.length > 1) {
parts.pop();
}
}
if (parts.length > 4) {
return input;
}
const numbers = [];
for (const part of parts) {
if (part === "") {
return input;
}
const ... |
1,287,118 | 09da24232f7f4246fc1e31010cf9ae9d | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=395-406/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | parseOpaqueHost | function | function parseOpaqueHost(input) {
if (containsForbiddenHostCodePointExcludingPercent(input)) {
return failure;
}
let output = "";
const decoded = punycode.ucs2.decode(input);
for (let i = 0; i < decoded.length; ++i) {
output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);
}
return out... |
1,287,119 | 0d632f9df3c25bba4feda33aea7b848e | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=443-454/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | serializeHost | function | function serializeHost(host) {
if (typeof host === "number") {
return serializeIPv4(host);
}
// IPv6 serializer
if (host instanceof Array) {
return "[" + serializeIPv6(host) + "]";
}
return host;
} |
1,287,120 | f6dba70672d1b3edb66b0e5d62be03f0 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=470-472/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | trimControlChars | function | function trimControlChars(url) {
return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, "");
} |
1,287,121 | ec5ae2c26cc123ef12126ab85f24b381 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=478-488/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | shortenPath | function | function shortenPath(url) {
const { path } = url;
if (path.length === 0) {
return;
}
if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {
return;
}
path.pop();
} |
1,287,122 | af003970de9604deed4ace1415d05425 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=898-903/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,123 | 9a9bf747847d732af6531a9980ca359d | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=498-500/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isNormalizedWindowsDriveLetter | function | function isNormalizedWindowsDriveLetter(string) {
return /^[A-Za-z]:$/.test(string);
} |
1,287,124 | ff48ba9eac8df2565bc7fef4a2a5c78c | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-43/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isWindowsDriveLetterString | function | function isWindowsDriveLetterString(string) {
return string.length === 2 && infra.isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|");
} |
1,287,125 | 9ec1451a49a35ad703236958ac5c9940 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-47/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isNormalizedWindowsDriveLetterString | function | function isNormalizedWindowsDriveLetterString(string) {
return string.length === 2 && infra.isASCIIAlpha(string.codePointAt(0)) && string[1] === ":";
} |
1,287,126 | 77cd2e868f6eee4381c9eb09b10f4f0e | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=91-93/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isUserinfoPercentEncode | function | function isUserinfoPercentEncode(c) {
return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);
} |
1,287,127 | aa6c60c7f2376fef9a400bcfd18197c0 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-87/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isC0ControlPercentEncode | function | function isC0ControlPercentEncode(c) {
return c <= 0x1F || c > 0x7E;
} |
1,287,128 | 74935414955702808f9ebb1031f5d10b | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=408-441/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | findLongestZeroSequence | function | function findLongestZeroSequence(arr) {
let maxIdx = null;
let maxLen = 1; // only find elements > 1
let currStart = null;
let currLen = 0;
for (let i = 0; i < arr.length; ++i) {
if (arr[i] !== 0) {
if (currLen > maxLen) {
maxIdx = currStart;
maxLen = currLen;
}
currSta... |
1,287,129 | 0ba810e72b71db0c252311461aa5ab24 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=474-476/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | trimTabAndNewline | function | function trimTabAndNewline(url) {
return url.replace(/\u0009|\u000A|\u000D/g, "");
} |
1,287,130 | b63e009df983c5e8a479854025d130d8 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1170-1209/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | serializeURL | function | function serializeURL(url, excludeFragment) {
let output = url.scheme + ":";
if (url.host !== null) {
output += "//";
if (url.username !== "" || url.password !== "") {
output += url.username;
if (url.password !== "") {
output += ":" + url.password;
}
output += "@";
}
... |
1,287,131 | 8473ebe398263b8caff1912dd47b8ada | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=502-561/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | URLStateMachine | function | function URLStateMachine(input, base, encodingOverride, url, stateOverride) {
this.pointer = 0;
this.input = input;
this.base = base || null;
this.encodingOverride = encodingOverride || "utf-8";
this.stateOverride = stateOverride;
this.url = url;
this.failure = false;
this.parseError = false;
if (!th... |
1,287,132 | 66fcc84190a48c69af6320da4fca7a06 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1211-1220/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | serializeOrigin | function | function serializeOrigin(tuple) {
let result = tuple.scheme + "://";
result += serializeHost(tuple.host);
if (tuple.port !== null) {
result += ":" + tuple.port;
}
return result;
} |
1,287,133 | 933df1967df8d28782a0b321fe3b022f | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=456-468/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | domainToASCII | function | function domainToASCII(domain, beStrict = false) {
const result = tr46.toASCII(domain, {
checkBidi: true,
checkHyphens: false,
checkJoiners: true,
useSTD3ASCIIRules: beStrict,
verifyDNSLength: beStrict
});
if (result === null) {
return failure;
}
return result;
} |
1,287,134 | 97719042f449ffda88806e0122ed7b6f | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-21/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | countSymbols | function | function countSymbols(str) {
return punycode.ucs2.decode(str).length;
} |
1,287,135 | 4d5577e97384794639a6cb8c0f7882f4 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-30/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isSingleDot | function | function isSingleDot(buffer) {
return buffer === "." || buffer.toLowerCase() === "%2e";
} |
1,287,136 | e28be45ae80162e0e2f923f321bf732c | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-35/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isDoubleDot | function | function isDoubleDot(buffer) {
buffer = buffer.toLowerCase();
return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e";
} |
1,287,137 | d7b535c6332f614883c08c5a9f6d2015 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-26/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | at | function | function at(input, idx) {
const c = input[idx];
return isNaN(c) ? undefined : String.fromCodePoint(c);
} |
1,287,138 | 840a294256a0fd5842bf3a394c9f8122 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-51/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | containsForbiddenHostCodePoint | function | function containsForbiddenHostCodePoint(string) {
return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1;
} |
1,287,139 | c2266c07227fc03d1a011b1a403fa51f | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=105-113/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | percentEncodeChar | function | function percentEncodeChar(c, encodeSetPredicate) {
const cStr = String.fromCodePoint(c);
if (encodeSetPredicate(c)) {
return utf8PercentEncode(cStr);
}
return cStr;
} |
1,287,140 | 93df7fc6443601f6734ec8db91b72d06 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=101-103/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isPathPercentEncode | function | function isPathPercentEncode(c) {
return isFragmentPercentEncode(c) || extraPathPercentEncodeSet.has(c);
} |
1,287,141 | 29f740ae3fceb6ba650934766339969a | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=96-98/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isFragmentPercentEncode | function | function isFragmentPercentEncode(c) {
return isC0ControlPercentEncode(c) || extraFragmentPercentEncodeSet.has(c);
} |
1,287,142 | 127c0de3a1504948e0014c8d7c45e194 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-63/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isSpecial | function | function isSpecial(url) {
return isSpecialScheme(url.scheme);
} |
1,287,143 | 661e5084d2e6d4a2e846fab38993d89e | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=205-332/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,144 | a2c82ac76d07c7d5f1904606658916d2 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=364-393/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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 = percentDecode(Buffer.f... |
1,287,145 | b0d81ff07bd4b56a4975b8def833e93d | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=494-496/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | cannotHaveAUsernamePasswordPort | function | function cannotHaveAUsernamePasswordPort(url) {
return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file";
} |
1,287,146 | 0e71d3bdfb6fde6ce0cf808131b95485 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-39/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | isWindowsDriveLetterCodePoints | function | function isWindowsDriveLetterCodePoints(cp1, cp2) {
return infra.isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);
} |
1,287,147 | 4ab57e28ceee9689fb9fa75d8564e7ac | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-55/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | containsForbiddenHostCodePointExcludingPercent | function | function containsForbiddenHostCodePointExcludingPercent(string) {
return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1;
} |
1,287,148 | c16682962e9f7a53c2991d60e1a7c045 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-71/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | defaultPort | function | function defaultPort(scheme) {
return specialSchemes[scheme];
} |
1,287,149 | 31f78248eebd03f665ebc9dcfe5a9c32 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=190-203/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | serializeIPv4 | function | function serializeIPv4(address) {
let output = "";
let n = address;
for (let i = 1; i <= 4; ++i) {
output = String(n % 256) + output;
if (i !== 4) {
output = "." + output;
}
n = Math.floor(n / 256);
}
return output;
} |
1,287,150 | 678126bd53db607c0918646403a4ab77 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=490-492/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | includesCredentials | function | function includesCredentials(url) {
return url.username !== "" || url.password !== "";
} |
1,287,151 | 8e46393154caa0128f8271e928524ed2 | swh:1:cnt:f76a87063caea2a553df543b95a3ac6987736373;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=334-362/ | e2629999f0ca9edd8f55408faacfaded1c02fd6c | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/url-state-machine.js | serializeIPv6 | function | function serializeIPv6(address) {
let output = "";
const seqResult = findLongestZeroSequence(address);
const compress = seqResult.idx;
let ignore0 = false;
for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {
if (ignore0 && address[pieceIndex] === 0) {
continue;
} else if (ignore0) {
... |
1,287,152 | 666b8be5e758c92909585fb1ea5dc7be | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-241/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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["USVString"](curArg, { context: "Failed t... |
1,287,153 | 296cde130539845f82992db816af4928 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-53/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::href | function | set href(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'href' property on 'URL': The provided value" });
this[impl]["href"] = V;
} |
1,287,154 | 973f9ddb6948290fa281398f12cb9799 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-86/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::protocol | function | set protocol(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'protocol' property on 'URL': The provided value" });
this[impl]["protocol"] = V;
} |
1,287,155 | 7eaf8784aa6ab2b3f21312d63c43da69 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=186-194/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::pathname | function | set pathname(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'pathname' property on 'URL': The provided value" });
this[impl]["pathname"] = V;
} |
1,287,156 | 4ced192c07c14206ceb773b7d2d6e0b4 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-158/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::hostname | function | set hostname(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'hostname' property on 'URL': The provided value" });
this[impl]["hostname"] = V;
} |
1,287,157 | 3c1a9bb476096dee947b4826ac65c467 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=214-222/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::searchParams | function | get searchParams() {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
return utils.getSameObject(this, "searchParams", () => {
return utils.tryWrapperForImpl(this[impl]["searchParams"]);
});
} |
1,287,158 | 7527f39d1e5efa769d3a9b634019cd04 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=292-297/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | convert | function | convert(obj, { context = "The provided value" } = {}) {
if (module.exports.is(obj)) {
return utils.implForWrapper(obj);
}
throw new TypeError(`${context} is not of type 'URL'.`);
} |
1,287,159 | aefb1f72369160e0abc34ae57c9118af | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=299-303/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | create | function | create(constructorArgs, privateData) {
let obj = Object.create(URL.prototype);
obj = this.setup(obj, constructorArgs, privateData);
return obj;
} |
1,287,160 | f011ae71fbb0a752e6b9b92f1b712c13 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=304-308/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | createImpl | function | createImpl(constructorArgs, privateData) {
let obj = Object.create(URL.prototype);
obj = this.setup(obj, constructorArgs, privateData);
return utils.implForWrapper(obj);
} |
1,287,161 | 557f5f06f4f8ba272842df6a7051b009 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=309-309/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | _internalSetup | function | _internalSetup(obj) {} |
1,287,162 | 00e46db11a0d0008a1410744af4014d1 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=62-68/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::origin | function | get origin() {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
return this[impl]["origin"];
} |
1,287,163 | 194c602f5808f1a5689666841456e6ee | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=96-104/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::username | function | set username(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'username' property on 'URL': The provided value" });
this[impl]["username"] = V;
} |
1,287,164 | d8c7c77e0cddc93c436668641af7a6ee | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=132-140/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::host | function | set host(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'host' property on 'URL': The provided value" });
this[impl]["host"] = V;
} |
1,287,165 | 9ee38323e51af4d3c9cf8d4ccbabe739 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-35/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::toJSON | function | toJSON() {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
return this[impl].toJSON();
} |
1,287,166 | 37af9e068f2ca44733b5dced20f3a772 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=114-122/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::password | function | set password(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'password' property on 'URL': The provided value" });
this[impl]["password"] = V;
} |
1,287,167 | 1070f0df7462fc5ccf30e42a755b10c8 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=168-176/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::port | function | set port(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'port' property on 'URL': The provided value" });
this[impl]["port"] = V;
} |
1,287,168 | 03c885ef1e5de953e3bc56887ebe101f | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=232-240/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::hash | function | set hash(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'hash' property on 'URL': The provided value" });
this[impl]["hash"] = V;
} |
1,287,169 | b08d3899f00cc339e6bb2e1d66d84745 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=277-291/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | isImpl | function | isImpl(obj) {
if (obj) {
if (obj instanceof Impl.implementation) {
return true;
}
const wrapper = utils.wrapperForImpl(obj);
for (const isMixedInto of module.exports._mixedIntoPredicates) {
if (isMixedInto(wrapper)) {
return true;
}
}
}
return... |
1,287,170 | e774fc0cf47f306b7f4b154e91aa667a | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-27/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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, { context: "Failed to construct 'U... |
1,287,171 | c5fd907f123cc1168048edd31f18fdf5 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-60/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::toString | function | toString() {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
return this[impl]["href"];
} |
1,287,172 | 8a896cc68b7aeebeedfd61b56cd83f2b | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=204-212/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | URL::search | function | set search(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["USVString"](V, { context: "Failed to set the 'search' property on 'URL': The provided value" });
this[impl]["search"] = V;
} |
1,287,173 | 22317f43862a9cb779b5f424c777f630 | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=264-276/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | is | function | is(obj) {
if (obj) {
if (utils.hasOwn(obj, impl) && obj[impl] instanceof Impl.implementation) {
return true;
}
for (const isMixedInto of module.exports._mixedIntoPredicates) {
if (isMixedInto(obj)) {
return true;
}
}
}
return false;
} |
1,287,174 | 72b3eabf19a771e2c0d73cbf760889bc | swh:1:cnt:e98524fd4640515a7c3555590637544472cc7347;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=310-326/ | bbd8ea9b8624654dd437b963fc4fc05505552eb1 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL.js | setup | function | setup(obj, constructorArgs, privateData) {
if (!privateData) privateData = {};
privateData.wrapper = obj;
this._internalSetup(obj);
Object.defineProperty(obj, impl, {
value: new Impl.implementation(constructorArgs, privateData),
configurable: true
});
obj[impl][utils.wrapperSymbol... |
1,287,175 | f70921d98d33a2bb97d0763e96740a2c | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-17/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,176 | a938eb528381ec96647c4d0b047905f3 | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-77/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/urlencoded.js | parseUrlencoded | function | function parseUrlencoded(input) {
const sequences = strictlySplitByteSequence(input, 38);
const output = [];
for (const bytes of sequences) {
if (bytes.length === 0) {
continue;
}
let name;
let value;
const indexOfEqual = bytes.indexOf(61);
if (indexOfEqual >= 0) {
name = byt... |
1,287,177 | 0a352295ba57f08f032e206ae6fad47c | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-49/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/urlencoded.js | percentDecode | function | function percentDecode(input) {
const output = Buffer.alloc(input.byteLength);
let ptr = 0;
for (let i = 0; i < input.length; ++i) {
if (input[i] !== 37 || !isASCIIHex(input[i + 1]) || !isASCIIHex(input[i + 2])) {
output[ptr++] = input[i];
} else {
output[ptr++] = parseInt(input.slice(i + 1, i... |
1,287,178 | 7cfb3a19b3b67d74379263af4be02f96 | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-26/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,179 | a76fe81f1283efd06ac2ee1ea20fbe2b | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-35/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/urlencoded.js | percentEncode | function | function percentEncode(c) {
let hex = c.toString(16).toUpperCase();
if (hex.length === 1) {
hex = "0" + hex;
}
return "%" + hex;
} |
1,287,180 | f4e86a83789840a3fa9c9dab45c0a3b4 | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-97/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/urlencoded.js | serializeUrlencodedByte | function | function serializeUrlencodedByte(input) {
let output = "";
for (const byte of input) {
if (byte === 32) {
output += "+";
} else if (byte === 42 ||
byte === 45 ||
byte === 46 ||
(byte >= 48 && byte <= 57) ||
(byte >= 65 && byte <= 90) ||
... |
1,287,181 | 02d45b5178bc9791f0044b82a4930402 | swh:1:cnt:b9020792383c8c8937d5e0febf8633f0b61ae6c6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-125/ | d1d2b17b1343f1c94bde85971babf8cd084ca0a3 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/urlencoded.js | serializeUrlencoded | function | function serializeUrlencoded(tuples, encodingOverride = undefined) {
let encoding = "utf-8";
if (encodingOverride !== undefined) {
encoding = encodingOverride;
}
let output = "";
for (const [i, tuple] of tuples.entries()) {
// TODO: handle encoding override
const name = serializeUrlencodedByte(Bu... |
1,287,182 | 29e6900cbd08baa4e8e78f1eec5f8d40 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-31/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::constructor | function | constructor(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 init) {
... |
1,287,183 | ec9f77043ce87c204e6e5168eec1346f | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-67/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::get | function | get(name) {
for (const tuple of this._list) {
if (tuple[0] === name) {
return tuple[1];
}
}
return null;
} |
1,287,184 | d6de4a4a76013a9be41c8ef91824903c | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=43-46/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::append | function | append(name, value) {
this._list.push([name, value]);
this._updateSteps();
} |
1,287,185 | fd1e0d0921cd44a23a714c5f346c7e91 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-41/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,186 | 77f39fd59d40500a6453b2ec24847817 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-58/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,187 | fb7e51d3d90c47a131d25451ed152c90 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-77/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,188 | 577cc529f856b9727511033317ae81b4 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-86/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::has | function | has(name) {
for (const tuple of this._list) {
if (tuple[0] === name) {
return true;
}
}
return false;
} |
1,287,189 | 5f67c3e00e7a259770593c3f45a546dd | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-108/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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,287,190 | 07299a061869309a0dc1ade28ba1d1eb | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-113/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::sort | function | sort() {
this._list = stableSortBy(this._list, [0]);
this._updateSteps();
} |
1,287,191 | 2b7b934bb291139d9548fcdf72605557 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=115-117/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::[Symbol.iterator] | function | [Symbol.iterator]() {
return this._list[Symbol.iterator]();
} |
1,287,192 | e45c5e5152d43d9340ccf8a572f75a09 | swh:1:cnt:70535ae6766a0da8f6a74a98067f36649b5eb5db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-121/ | a80317676585883e86068e9675b4689a7aa738ec | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams-impl.js | URLSearchParamsImpl::toString | function | toString() {
return urlencoded.serializeUrlencoded(this._list);
} |
1,287,193 | a01daa78d25ae4b296c96fc55caca4c4 | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-330/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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 TypeError(
... |
1,287,194 | bb7ccc4800befd3d989537957bf0b53e | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=125-153/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams.js | URLSearchParams::append | function | append(name, value) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
if (arguments.length < 2) {
throw new TypeError(
"Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only " +
arguments.length +
" pres... |
1,287,195 | 5748a9955a426274648004c1e355cd27 | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=271-277/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams.js | URLSearchParams::sort | function | sort() {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
return this[impl].sort();
} |
1,287,196 | 557f5f06f4f8ba272842df6a7051b009 | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=406-406/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams.js | _internalSetup | function | _internalSetup(obj) {} |
1,287,197 | 97a551731094780a247b35e2b754e86d | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-123/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/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(
"Failed to construct 'U... |
1,287,198 | f44ad1336a14c70557cd5fa831f45fca | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=155-176/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams.js | URLSearchParams::delete | function | delete(name) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
if (arguments.length < 1) {
throw new TypeError(
"Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only " +
arguments.length +
" present."
... |
1,287,199 | 6db91468aed829bbe2e65a1fa02b8eac | swh:1:cnt:d99a9a4e2b0fea8bec870e0a11ddf69844b09053;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=178-197/ | f0d30a314782d71d919c96bb0630b4d942b642b4 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URLSearchParams.js | URLSearchParams::get | function | get(name) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
if (arguments.length < 1) {
throw new TypeError(
"Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only " + arguments.length + " present."
);
}
const arg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.