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,288,600 | c9325e7c4c6fdcce1004b86606692c6e | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=162-167/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | WebSocket::protocol | function | /**
* @type {String}
*/
get protocol() {
return this._protocol;
} |
1,288,601 | 60677ec464ba555159f899934167ebeb | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=377-422/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | WebSocket::send | function | /**
* Send a data message.
*
* @param {*} data The message to send
* @param {Object} [options] Options object
* @param {Boolean} [options.compress] Specifies whether or not to compress
* `data`
* @param {Boolean} [options.binary] Specifies whether `data` is binary or
* text
* @param {... |
1,288,602 | 15d25582a2937705c0309e0ea516190c | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=888-899/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | emitErrorAndClose | function | /**
* Emit the `'error'` and `'close'` event.
*
* @param {WebSocket} websocket The WebSocket instance
* @param {Error} The error to emit
* @private
*/
function emitErrorAndClose(websocket, err) {
websocket._readyState = WebSocket.CLOSING;
websocket.emit('error', err);
websocket.emitClose();
} |
1,288,603 | 02fd373a28de09e1594a54b7d35f5869 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=913-928/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | tlsConnect | function | /**
* Create a `tls.TLSSocket` and initiate a connection.
*
* @param {Object} options Connection options
* @return {tls.TLSSocket} The newly created socket used to start the connection
* @private
*/
function tlsConnect(options) {
options.path = undefined;
if (!options.servername && options.servername !== '')... |
1,288,604 | 6eabba64834e2b5758b78d2aacf62d10 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=966-996/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | sendAfterClose | function | /**
* Handle cases where the `ping()`, `pong()`, or `send()` methods are called
* when the `readyState` attribute is `CLOSING` or `CLOSED`.
*
* @param {WebSocket} websocket The WebSocket instance
* @param {*} [data] The data to send
* @param {Function} [cb] Callback
* @private
*/
function sendAfterClose(websock... |
1,288,605 | d506ac74dea725629d1db4693d447a03 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=998-1019/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | receiverOnConclude | function | /**
* The listener of the `Receiver` `'conclude'` event.
*
* @param {Number} code The status code
* @param {String} reason The reason for closing
* @private
*/
function receiverOnConclude(code, reason) {
const websocket = this[kWebSocket];
websocket._closeFrameReceived = true;
websocket._closeMessage = rea... |
1,288,606 | a4dc6d94dfa49512fc749ab037ee5239 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1157-1167/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | socketOnData | function | /**
* The listener of the `net.Socket` `'data'` event.
*
* @param {Buffer} chunk A chunk of data
* @private
*/
function socketOnData(chunk) {
if (!this[kWebSocket]._receiver.write(chunk)) {
this.pause();
}
} |
1,288,607 | 26b12ece8f445feb4a78aed3d890c8bb | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=129-135/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | WebSocket::onerror | function | /**
* @type {Function}
*/
/* istanbul ignore next */
get onerror() {
return undefined;
} |
1,288,608 | e617e969d6f923e820d9c05b840fc431 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=345-375/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | WebSocket::pong | function | /**
* Send a pong.
*
* @param {*} [data] The data to send
* @param {Boolean} [mask] Indicates whether or not to mask `data`
* @param {Function} [cb] Callback which is executed when the pong is sent
* @public
*/
pong(data, mask, cb) {
if (this.readyState === WebSocket.CONNECTING) {
throw... |
1,288,609 | c21d12ba50a4034913d8064fe402214d | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=424-440/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | WebSocket::terminate | function | /**
* Forcibly close the connection.
*
* @public
*/
terminate() {
if (this.readyState === WebSocket.CLOSED) return;
if (this.readyState === WebSocket.CONNECTING) {
const msg = 'WebSocket was closed before the connection was established';
return abortHandshake(this, this._req, msg);
... |
1,288,610 | 43dab393fa0a7681425b7a01147bcf27 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=901-911/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | netConnect | function | /**
* Create a `net.Socket` and initiate a connection.
*
* @param {Object} options Connection options
* @return {net.Socket} The newly created socket used to start the connection
* @private
*/
function netConnect(options) {
options.path = options.socketPath;
return net.connect(options);
} |
1,288,611 | 14babdbfeb278a9b33e3b7971611f6a4 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1030-1052/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | receiverOnError | function | /**
* The listener of the `Receiver` `'error'` event.
*
* @param {(RangeError|Error)} err The emitted error
* @private
*/
function receiverOnError(err) {
const websocket = this[kWebSocket];
if (websocket._socket[kWebSocket] !== undefined) {
websocket._socket.removeListener('data', socketOnData);
//
... |
1,288,612 | 16b0a036aeb149038bf6b37533686de0 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=533-540/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | get | function | get() {
const listeners = this.listeners(method);
for (let i = 0; i < listeners.length; i++) {
if (listeners[i]._listener) return listeners[i]._listener;
}
return undefined;
} |
1,288,613 | a2cb262895188fe75acb99ab0d02cb7c | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=541-550/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | set | function | set(listener) {
const listeners = this.listeners(method);
for (let i = 0; i < listeners.length; i++) {
//
// Remove only the listeners added via `addEventListener`.
//
if (listeners[i]._listener) this.removeListener(method, listeners[i]);
}
this.addEventListener(m... |
1,288,614 | 9543a492b1617a8cdbafbe6a7d6c1b41 | swh:1:cnt:14f82c8239c4e13352e8fadd6c2d2f00c80b7647;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1096-1104/ | 9e2be3d621ce198b99f63138e9f26c209422fc37 | wlbdashboard | wmcs | node_modules/ws/lib/websocket.js | resume | function | /**
* Resume a readable stream
*
* @param {Readable} stream The readable stream
* @private
*/
function resume(stream) {
stream.resume();
} |
1,288,615 | 4b79453be59716c495f1c50465e73660 | swh:1:cnt:a62111ac19dbef68ae156e1b3e176704e796cdf0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-43/ | 27910653fc20d87c3b2fd2114225b985a48feda0 | wlbdashboard | wmcs | node_modules/xml-name-validator/lib/generated-parser.js | _waka | function | function _waka(parser, startRule) {
if(startRule && ! parser.rules[startRule])
throw new Error('start rule missing: ' + JSON.stringify(startRule))
return {
getState: function() {
return parser.state
},
getTrace: function(message) {
return (message ? message + '\n' : '') + parser.state.... |
1,288,616 | b053df78f3bc96a93c93db5036259216 | swh:1:cnt:a62111ac19dbef68ae156e1b3e176704e796cdf0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=438-498/ | 27910653fc20d87c3b2fd2114225b985a48feda0 | wlbdashboard | wmcs | node_modules/xml-name-validator/lib/generated-parser.js | ParserState | function | function ParserState() {
this.doc = ''
this.pos = 0
this.adv = true
this.setInput = function(doc) {
this.doc = doc
this.pos = 0
this.adv = true
}
this.isEOF = function() {
return this.pos == this.doc.length
}
this.cur = function() {
return _P.doc[_P.pos]
}
this.match = functi... |
1,288,617 | 98aee995a1c83918f734ac5423a8003f | swh:1:cnt:54695fa8575c7bd2340ca3404ae8d06291a39fdb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-17/ | 5c63635bf90d6562db8500d019aee4081f3d0a4b | wlbdashboard | wmcs | node_modules/xml-name-validator/lib/xml-name-validator.js | mapResult | function | function mapResult(result) {
return {
success: result.success,
error: result.error && parser.getTrace(result.error.message)
};
} |
1,288,618 | 02bd309ae8fbac59e564d0c9f513ff3d | swh:1:cnt:e515a28012ee78e0f4ebf3f9240e074170319e1d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-48/ | b654071b79f8a0837271898963d56fc9b3504c37 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.0/ed5.js | isChar | function | /**
* Determines whether a codepoint matches the ``CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``CHAR``.
*/
function isChar(c) {
return (c >= SPACE && c <= 0xD7FF) ||
c === NL || c === CR || c === TAB ||
(c >= 0xE000 && c <= 0xFFFD) ||
... |
1,288,619 | 4bd32495978b541c8510b7a7e21d973e | swh:1:cnt:e515a28012ee78e0f4ebf3f9240e074170319e1d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-103/ | b654071b79f8a0837271898963d56fc9b3504c37 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.0/ed5.js | isNameChar | function | /**
* Determines whether a codepoint matches the ``NAME_CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``NAME_CHAR``.
*/
function isNameChar(c) {
return isNameStartChar(c) ||
(c >= 0x30 && c <= 0x39) ||
c === 0x2D ||
c === 0x2E ||
... |
1,288,620 | 52724f670b8fa037a1b2e3cbf2bf2912 | swh:1:cnt:e515a28012ee78e0f4ebf3f9240e074170319e1d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-86/ | b654071b79f8a0837271898963d56fc9b3504c37 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.0/ed5.js | isNameStartChar | function | /**
* Determines whether a codepoint matches the ``NAME_START_CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``NAME_START_CHAR``.
*/
function isNameStartChar(c) {
return ((c >= 0x41 && c <= 0x5A) ||
(c >= 0x61 && c <= 0x7A) ||
c === 0x3A ||
... |
1,288,621 | 9922e9f3f9dad3b39f8cd3ce6935f885 | swh:1:cnt:e515a28012ee78e0f4ebf3f9240e074170319e1d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=50-59/ | b654071b79f8a0837271898963d56fc9b3504c37 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.0/ed5.js | isS | function | /**
* Determines whether a codepoint matches the ``S`` (space) production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``S``.
*/
function isS(c) {
return c === SPACE || c === NL || c === CR || c === TAB;
} |
1,288,622 | 885cb9a2e49c8d8ec0672c120b6255c4 | swh:1:cnt:7906e76a23b2a8dc7b687e15656e10794561000d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-49/ | eeed83fdb0f2807dc19269b2f0d8623778096ee2 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.1/ed2.js | isChar | function | /**
* Determines whether a codepoint matches the ``CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``CHAR``.
*/
function isChar(c) {
return (c >= 0x0001 && c <= 0xD7FF) ||
(c >= 0xE000 && c <= 0xFFFD) ||
(c >= 0x10000 && c <= 0x10FFFF);
} |
1,288,623 | d7ea170cdb10bf770a38efaa72064b3f | swh:1:cnt:7906e76a23b2a8dc7b687e15656e10794561000d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-87/ | eeed83fdb0f2807dc19269b2f0d8623778096ee2 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.1/ed2.js | isCharAndNotRestricted | function | /**
* Determines whether a codepoint matches the ``CHAR`` production and does not
* match the ``RESTRICTED_CHAR`` production. ``isCharAndNotRestricted(x)`` is
* equivalent to ``isChar(x) && !isRestrictedChar(x)``. This function is faster
* than running the two-call equivalent.
*
* @param c The code point.
*
* @... |
1,288,624 | 9922e9f3f9dad3b39f8cd3ce6935f885 | swh:1:cnt:7906e76a23b2a8dc7b687e15656e10794561000d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=89-98/ | eeed83fdb0f2807dc19269b2f0d8623778096ee2 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.1/ed2.js | isS | function | /**
* Determines whether a codepoint matches the ``S`` (space) production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``S``.
*/
function isS(c) {
return c === SPACE || c === NL || c === CR || c === TAB;
} |
1,288,625 | 34a7853019151ac3ae447d5295512ac9 | swh:1:cnt:7906e76a23b2a8dc7b687e15656e10794561000d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=100-126/ | eeed83fdb0f2807dc19269b2f0d8623778096ee2 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.1/ed2.js | isNameStartChar | function | /**
* Determines whether a codepoint matches the ``NAME_START_CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``NAME_START_CHAR``.
*/
// tslint:disable-next-line:cyclomatic-complexity
function isNameStartChar(c) {
return ((c >= 0x41 && c <= 0x5A) ||
(c >=... |
1,288,626 | 10be05cf55defb55a7480149810ad24e | swh:1:cnt:7906e76a23b2a8dc7b687e15656e10794561000d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-65/ | eeed83fdb0f2807dc19269b2f0d8623778096ee2 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.1/ed2.js | isRestrictedChar | function | /**
* Determines whether a codepoint matches the ``RESTRICTED_CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``RESTRICTED_CHAR``.
*/
function isRestrictedChar(c) {
return (c >= 0x1 && c <= 0x8) ||
c === 0xB ||
c === 0xC ||
(c >= 0xE && c ... |
1,288,627 | 4bd32495978b541c8510b7a7e21d973e | swh:1:cnt:7906e76a23b2a8dc7b687e15656e10794561000d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-143/ | eeed83fdb0f2807dc19269b2f0d8623778096ee2 | wlbdashboard | wmcs | node_modules/xmlchars/xml/1.1/ed2.js | isNameChar | function | /**
* Determines whether a codepoint matches the ``NAME_CHAR`` production.
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches ``NAME_CHAR``.
*/
function isNameChar(c) {
return isNameStartChar(c) ||
(c >= 0x30 && c <= 0x39) ||
c === 0x2D ||
c === 0x2E ||
... |
1,288,628 | d36024c1f4f9683f2ce6eb871475c999 | swh:1:cnt:50d8d9d6edd626737005a5a71f021f509ff12480;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-46/ | 3a8158140e4cb60b53b02687b43ce6a87632df4e | wlbdashboard | wmcs | node_modules/xmlchars/xmlns/1.0/ed3.js | isNCNameStartChar | function | /**
* Determines whether a codepoint matches [[NC_NAME_START_CHAR]].
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches.
*/
// tslint:disable-next-line:cyclomatic-complexity
function isNCNameStartChar(c) {
return ((c >= 0x41 && c <= 0x5A) ||
c === 0x5F ||
(c >= 0x61 &&... |
1,288,629 | 6f99f4d613dc741690262982f6b96180 | swh:1:cnt:50d8d9d6edd626737005a5a71f021f509ff12480;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-63/ | 3a8158140e4cb60b53b02687b43ce6a87632df4e | wlbdashboard | wmcs | node_modules/xmlchars/xmlns/1.0/ed3.js | isNCNameChar | function | /**
* Determines whether a codepoint matches [[NC_NAME_CHAR]].
*
* @param c The code point.
*
* @returns ``true`` if the codepoint matches.
*/
function isNCNameChar(c) {
return isNCNameStartChar(c) ||
(c === 0x2D ||
c === 0x2E ||
(c >= 0x30 && c <= 0x39) ||
c === 0x... |
1,288,630 | da071359f38c9444d5f453a6344a2ba0 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-162/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N | type | class Y18N {
constructor(opts) {
// configurable options.
opts = opts || {};
this.directory = opts.directory || './locales';
this.updateFiles = typeof opts.updateFiles === 'boolean' ? opts.updateFiles : true;
this.locale = opts.locale || 'en';
this.fallbackToLanguage ... |
1,288,631 | bfeaa0db0936167d36c8e726eff755c2 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-13/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::constructor | function | constructor(opts) {
// configurable options.
opts = opts || {};
this.directory = opts.directory || './locales';
this.updateFiles = typeof opts.updateFiles === 'boolean' ? opts.updateFiles : true;
this.locale = opts.locale || 'en';
this.fallbackToLanguage = typeof opts.fal... |
1,288,632 | d0a04491f71de8b2dd7c827f871a5fc2 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-41/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::__ | function | __(...args) {
if (typeof arguments[0] !== 'string') {
return this._taggedLiteral(arguments[0], ...arguments);
}
const str = args.shift();
let cb = function () { }; // start with noop.
if (typeof args[args.length - 1] === 'function')
cb = args.pop();
... |
1,288,633 | 34193bb0239c333275b2cea749f76211 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-84/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::setLocale | function | setLocale(locale) {
this.locale = locale;
} |
1,288,634 | 1379b7e2dc52b8a89cb26674a800fb17 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-81/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::__n | function | __n() {
const args = Array.prototype.slice.call(arguments);
const singular = args.shift();
const plural = args.shift();
const quantity = args.shift();
let cb = function () { }; // start with noop.
if (typeof args[args.length - 1] === 'function')
cb = args.pop(... |
1,288,635 | 5181c8044caa25f1d902df17688688d6 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-87/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::getLocale | function | getLocale() {
return this.locale;
} |
1,288,636 | ac377bf11730c93ca998f6a4ed96773d | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-96/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::updateLocale | function | updateLocale(obj) {
if (!this.cache[this.locale])
this._readLocaleFile();
for (const key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
this.cache[this.locale][key] = obj[key];
}
}
} |
1,288,637 | 5c0723783ae617f5187866143ca3d8c2 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=97-107/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::_taggedLiteral | function | _taggedLiteral(parts, ...args) {
let str = '';
parts.forEach(function (part, i) {
const arg = args[i + 1];
str += part;
if (typeof arg !== 'undefined') {
str += '%s';
}
});
return this.__.apply(this, [str].concat([].slice.ca... |
1,288,638 | 8f57ea1eaed48ea140813584926cede4 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=108-112/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::_enqueueWrite | function | _enqueueWrite(work) {
this.writeQueue.push(work);
if (this.writeQueue.length === 1)
this._processWriteQueue();
} |
1,288,639 | 7b87dc3b2bc10725c8c62549e2972cb3 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=113-128/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::_processWriteQueue | function | _processWriteQueue() {
const _this = this;
const work = this.writeQueue[0];
// destructure the enqueued work.
const directory = work.directory;
const locale = work.locale;
const cb = work.cb;
const languageFile = this._resolveLocaleFile(directory, locale);
... |
1,288,640 | a4dc024cb401c12e0e8996f15abca513 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=129-148/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::_readLocaleFile | function | _readLocaleFile() {
let localeLookup = {};
const languageFile = this._resolveLocaleFile(this.directory, this.locale);
try {
// When using a bundler such as webpack, readFileSync may not be defined:
if (shim.fs.readFileSync) {
localeLookup = JSON.parse(shim... |
1,288,641 | c630c4264a812aaf9b556a96edb688b3 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=149-158/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::_resolveLocaleFile | function | _resolveLocaleFile(directory, locale) {
let file = shim.resolve(directory, './', locale + '.json');
if (this.fallbackToLanguage && !this._fileExistsSync(file) && ~locale.lastIndexOf('_')) {
// attempt fallback to language only
const languageFile = shim.resolve(directory, './', lo... |
1,288,642 | 5fae41e05c0c6e57b2a7fefa53000ee5 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=159-161/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | Y18N::_fileExistsSync | function | _fileExistsSync(file) {
return shim.exists(file);
} |
1,288,643 | e1b3c742539642ae9bdea0052c58cfd8 | swh:1:cnt:e38f33594c158b6335ef049f35a0ed18abf7d2d0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=163-174/ | 491f63547b57f77982fe5a96f63c6b7dbfa2bab0 | wlbdashboard | wmcs | node_modules/y18n/build/lib/index.js | y18n | function | function y18n(opts, _shim) {
shim = _shim;
const y18n = new Y18N(opts);
return {
__: y18n.__.bind(y18n),
__n: y18n.__n.bind(y18n),
setLocale: y18n.setLocale.bind(y18n),
getLocale: y18n.getLocale.bind(y18n),
updateLocale: y18n.updateLocale.bind(y18n),
locale: y... |
1,288,644 | fbba95466d91dc34a616588407bfa885 | swh:1:cnt:ed4e7303aa47d3e11cd8993666a101bde88834d6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-28/ | 46ab9b701d4724f80b0c365697dafae1810f149e | wlbdashboard | wmcs | node_modules/yallist/yallist.js | Yallist | function | function Yallist (list) {
var self = this
if (!(self instanceof Yallist)) {
self = new Yallist()
}
self.tail = null
self.head = null
self.length = 0
if (list && typeof list.forEach === 'function') {
list.forEach(function (item) {
self.push(item)
})
} else if (arguments.length > 0) {
... |
1,288,645 | 0e72f241775c5bf0f17ef8103171727b | swh:1:cnt:ed4e7303aa47d3e11cd8993666a101bde88834d6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=384-390/ | 46ab9b701d4724f80b0c365697dafae1810f149e | wlbdashboard | wmcs | node_modules/yallist/yallist.js | push | function | function push (self, item) {
self.tail = new Node(item, self.tail, null, self)
if (!self.head) {
self.head = self.tail
}
self.length++
} |
1,288,646 | e0352cf24cce493b10786ee3f49fe253 | swh:1:cnt:ed4e7303aa47d3e11cd8993666a101bde88834d6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=392-398/ | 46ab9b701d4724f80b0c365697dafae1810f149e | wlbdashboard | wmcs | node_modules/yallist/yallist.js | unshift | function | function unshift (self, item) {
self.head = new Node(item, null, self.head, self)
if (!self.tail) {
self.tail = self.head
}
self.length++
} |
1,288,647 | 3945cb05619d7f15c26ca2a3c9d9a456 | swh:1:cnt:ed4e7303aa47d3e11cd8993666a101bde88834d6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=367-382/ | 46ab9b701d4724f80b0c365697dafae1810f149e | wlbdashboard | wmcs | node_modules/yallist/yallist.js | insert | function | function insert (self, node, value) {
var inserted = node === self.head ?
new Node(value, null, node, self) :
new Node(value, node, node.next, self)
if (inserted.next === null) {
self.tail = inserted
}
if (inserted.prev === null) {
self.head = inserted
}
self.length++
return inserted
} |
1,288,648 | 6e11d8ec24433c750129fe2835db5526 | swh:1:cnt:ed4e7303aa47d3e11cd8993666a101bde88834d6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=400-421/ | 46ab9b701d4724f80b0c365697dafae1810f149e | wlbdashboard | wmcs | node_modules/yallist/yallist.js | Node | function | function Node (value, prev, next, list) {
if (!(this instanceof Node)) {
return new Node(value, prev, next, list)
}
this.list = list
this.value = value
if (prev) {
prev.next = this
this.prev = prev
} else {
this.prev = null
}
if (next) {
next.prev = this
this.next = next
} e... |
1,288,649 | 5a232d113403e0e809710bb9756c8b9a | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-96/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | Options | type | interface Options extends Schema.Options {
/**
* Default prefix for anchors.
*
* Default: `'a'`, resulting in anchors `a1`, `a2`, etc.
*/
anchorPrefix?: string
/**
* The number of spaces to use when indenting code.
*
* Default: `2`
*/
indent?: number
/**
* Whether block sequences sh... |
1,288,650 | 3d94c13c87d48b9173d8e8244108252b | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=125-138/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | scalarOptions::Bool | type | interface Bool {
/**
* String representation for `true`. With the core schema, use `'true' | 'True' | 'TRUE'`.
*
* Default: `'true'`
*/
trueStr: string
/**
* String representation for `false`. With the core schema, use `'false' | 'False' | 'FALSE'`.
*
* Default: `'false'`
... |
1,288,651 | 4e7f1d80c6e6445873f273d10460a413 | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-123/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | scalarOptions::Binary | type | interface Binary {
/**
* The type of string literal used to stringify `!!binary` values.
*
* Default: `'BLOCK_LITERAL'`
*/
defaultType: Scalar.Type
/**
* Maximum line width for `!!binary`.
*
* Default: `76`
*/
lineWidth: number
} |
1,288,652 | a86868bfac59d3b25bbc2f13f9011531 | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=140-147/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | scalarOptions::Int | type | interface Int {
/**
* Whether integers should be parsed into BigInt values.
*
* Default: `false`
*/
asBigInt: boolean
} |
1,288,653 | 83692904048ae65f2bfd6eeb3d37a8db | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=149-156/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | scalarOptions::Null | type | interface Null {
/**
* String representation for `null`. With the core schema, use `'null' | 'Null' | 'NULL' | '~' | ''`.
*
* Default: `'null'`
*/
nullStr: string
} |
1,288,654 | afb11d91454d1ab470ec9adee32160c9 | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=158-193/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | scalarOptions::Str | type | interface Str {
/**
* The default type of string literal used to stringify values
*
* Default: `'PLAIN'`
*/
defaultType: Scalar.Type
doubleQuoted: {
/**
* Whether to restrict double-quoted strings to use JSON-compatible syntax.
*
* Default: `false`
*/
... |
1,288,655 | 3ea271d6cac57584e2144c0c0b01b046 | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=196-259/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | Document | type | class Document extends Collection {
cstNode?: CST.Document
constructor(options?: Options)
tag: never
directivesEndMarker?: boolean
type: Type.DOCUMENT
/**
* Anchors associated with the document's nodes;
* also provides alias & merge node creators.
*/
anchors: Document.Anchors
/** The document c... |
1,288,656 | 7e8af2c2226fd0cdca07247a6f1f9588 | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=262-266/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | Document::Parsed | type | interface Parsed extends Document {
contents: Scalar | YAMLMap | YAMLSeq | null
/** The schema used with the document. */
schema: Schema
} |
1,288,657 | 0fcac8c474df3034bab193ffff0504aa | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=268-295/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | Document::Anchors | type | interface Anchors {
/**
* Create a new `Alias` node, adding the required anchor for `node`.
* If `name` is empty, a new anchor name will be generated.
*/
createAlias(node: Node, name?: string): Alias
/**
* Create a new `Merge` node with the given source nodes.
* Non-`Alias` sources ... |
1,288,658 | c095b3032c8a7bb82d006ecd4a20264c | swh:1:cnt:53eb011b85ac105fe68e75c4dc91634bccc42f02;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=297-300/ | 3784c97588bc6e2745c9204a63d369b151631ec6 | wlbdashboard | wmcs | node_modules/yaml/index.d.ts | Document::TagPrefix | type | interface TagPrefix {
handle: string
prefix: string
} |
1,288,659 | a9b6328f11c9c6b0a63e781ef4ae76a0 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-7/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | ParsedCST | type | interface ParsedCST extends Array<CST.Document> {
setOrigRanges(): boolean
} |
1,288,660 | 5a49253ba2801726fcac15eb31037b03 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=66-70/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Alias | type | interface Alias extends Node {
type: Type.ALIAS
/** contain the anchor without the * prefix */
readonly rawValue: string
} |
1,288,661 | 956d6d8ed4fe474635505d9ee79c0d44 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-33/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::ParseContext | type | interface ParseContext {
/** Node starts at beginning of line */
atLineStart: boolean
/** true if currently in a collection context */
inCollection: boolean
/** true if currently in a flow context */
inFlow: boolean
/** Current level of indentation */
indent: number
/** Start of the ... |
1,288,662 | 9b410a185ee686f6fccc17a4228e3038 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-64/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Node | type | interface Node {
context: ParseContext | null
/** if not null, indicates a parser failure */
error: YAMLSyntaxError | null
/** span of context.src parsed into this node */
range: Range | null
valueRange: Range | null
/** anchors, tags and comments */
props: Range[]
/** specific node ... |
1,288,663 | 058328615e1eccd3b29ce8c25314127a | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-72/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Scalar | type | type Scalar = BlockValue | PlainValue | QuoteValue |
1,288,664 | 7e6873ad300d9db2803b0b75ab4c2f74 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=123-126/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::MapItem | type | interface MapItem extends Node {
type: Type.MAP_KEY | Type.MAP_VALUE
node: ContentNode | null
} |
1,288,665 | 687011e210a5266ce20bd6c7e33594c6 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=136-140/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Map | type | interface Map extends Node {
type: Type.MAP
/** implicit keys are not wrapped */
items: Array<BlankLine | Comment | Alias | Scalar | MapItem>
} |
1,288,666 | a8f540b0e04b8c5da43a4f7fae5ef0ad | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=142-145/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::SeqItem | type | interface SeqItem extends Node {
type: Type.SEQ_ITEM
node: ContentNode | null
} |
1,288,667 | 9d7a250b37d4203e072ae5dd46d0e1e6 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=152-156/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::FlowChar | type | interface FlowChar {
char: '{' | '}' | '[' | ']' | ',' | '?' | ':'
offset: number
origOffset?: number
} |
1,288,668 | ac8d7413ff00d8d27786e3ceeae694bd | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=169-171/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::FlowSeq | type | interface FlowSeq extends FlowCollection {
type: Type.FLOW_SEQ
} |
1,288,669 | 451a951a0e93ac54861800011129eb3e | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=175-181/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Directive | type | interface Directive extends Node {
type: Type.DIRECTIVE
name: string
readonly anchor: null
readonly parameters: string[]
readonly tag: null
} |
1,288,670 | a2232b382306d109f42fddcea169cf6d | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=173-173/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::ContentNode | type | type ContentNode = Alias | Scalar | Map | Seq | FlowCollection |
1,288,671 | 75012b6da2cde584e351b0477eedcad4 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=74-80/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::BlockValue | type | interface BlockValue extends Node {
type: Type.BLOCK_FOLDED | Type.BLOCK_LITERAL
chomping: 'CLIP' | 'KEEP' | 'STRIP'
blockIndent: number | null
header: Range
readonly strValue: string | null
} |
1,288,672 | 5393052d639500b239f7155f6a3e117d | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=132-134/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::MapValue | type | interface MapValue extends MapItem {
type: Type.MAP_VALUE
} |
1,288,673 | d61ea7b6fc4e7520b28d2786047f576f | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-121/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::BlankLine | type | interface BlankLine extends Node {
type: Type.BLANK_LINE
} |
1,288,674 | d55e040ef7ee55bdcf1f56188c2665f4 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-16/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Range | type | interface Range {
start: number
end: number
origStart?: number
origEnd?: number
isEmpty(): boolean
} |
1,288,675 | 622d1052908d3c45101518c4ee88f728 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-88/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::BlockLiteral | type | interface BlockLiteral extends BlockValue {
type: Type.BLOCK_LITERAL
} |
1,288,676 | f53ccd982dadaebc26ae8c36a9530d40 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=90-93/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::PlainValue | type | interface PlainValue extends Node {
type: Type.PLAIN
readonly strValue: string | null
} |
1,288,677 | 60274cc95b5d61f2a5880ce78b90733f | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=95-101/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::QuoteValue | type | interface QuoteValue extends Node {
type: Type.QUOTE_DOUBLE | Type.QUOTE_SINGLE
readonly strValue:
| null
| string
| { str: string; errors: YAMLSyntaxError[] }
} |
1,288,678 | 538db55b40c5650e61ea39a4413c22b2 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=111-117/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Comment | type | interface Comment extends Node {
type: Type.COMMENT
readonly anchor: null
readonly comment: string
readonly rawValue: null
readonly tag: null
} |
1,288,679 | e9c9c23fc8f9c9f549b4434e19feb3c4 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=107-109/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::QuoteSingle | type | interface QuoteSingle extends QuoteValue {
type: Type.QUOTE_SINGLE
} |
1,288,680 | 6ea871776d21156e96b68552c98b7509 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=147-150/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Seq | type | interface Seq extends Node {
type: Type.SEQ
items: Array<BlankLine | Comment | SeqItem>
} |
1,288,681 | 550821a9950ac2840371176fdbb95eb7 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=165-167/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::FlowMap | type | interface FlowMap extends FlowCollection {
type: Type.FLOW_MAP
} |
1,288,682 | eb07b1bbcc05a40fe4589224836fb162 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-84/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::BlockFolded | type | interface BlockFolded extends BlockValue {
type: Type.BLOCK_FOLDED
} |
1,288,683 | 045bab8c0b319e6656ff82e641ef59d5 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-130/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::MapKey | type | interface MapKey extends MapItem {
type: Type.MAP_KEY
} |
1,288,684 | 61e9c6eb1e6efc3bbf8ce3b9741b8627 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=103-105/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::QuoteDouble | type | interface QuoteDouble extends QuoteValue {
type: Type.QUOTE_DOUBLE
} |
1,288,685 | 3275f9769085265f1dd81e94e2bb3972 | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=158-163/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::FlowCollection | type | interface FlowCollection extends Node {
type: Type.FLOW_MAP | Type.FLOW_SEQ
items: Array<
FlowChar | BlankLine | Comment | Alias | Scalar | FlowCollection
>
} |
1,288,686 | d3283e0db987aa9a6832e4ba3ef345eb | swh:1:cnt:9fd2ebf8b7b955d015d1cf880a43e31faa55ef91;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=183-190/ | a992e3da817c6a7f2a8f3836a5cf6430d71df635 | wlbdashboard | wmcs | node_modules/yaml/parse-cst.d.ts | CST::Document | type | interface Document extends Node {
type: Type.DOCUMENT
directives: Array<BlankLine | Comment | Directive>
contents: Array<BlankLine | Comment | ContentNode>
readonly anchor: null
readonly comment: null
readonly tag: null
} |
1,288,687 | 642479413d1edc6558fcc5f29a552251 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-83/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema::Options | type | interface Options {
/**
* Array of additional tags to include in the schema, or a function that may
* modify the schema's base tag array.
*/
customTags?: (TagId | Tag)[] | ((tags: Tag[]) => Tag[])
/**
* Enable support for `<<` merge keys.
*
* Default: `false` for YAML 1.2, `tru... |
1,288,688 | af3ff3dc48d0cb6b7880b07c335b7af0 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-88/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema::CreateNodeContext | type | interface CreateNodeContext {
wrapScalars?: boolean
[key: string]: any
} |
1,288,689 | febe80ae9120393fe327bd7cbf094421 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-53/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema::Name | type | type Name = 'core' | 'failsafe' | 'json' | 'yaml-1.1' |
1,288,690 | 521f9f8f9a3e7a6f115fe448596a6a09 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-114/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema::TagId | type | type TagId =
| 'binary'
| 'bool'
| 'float'
| 'floatExp'
| 'floatNaN'
| 'floatTime'
| 'int'
| 'intHex'
| 'intOct'
| 'intTime'
| 'null'
| 'omap'
| 'pairs'
| 'set'
| 'timestamp' |
1,288,691 | 1ebea479497374c5ec64f5aac8639abb | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=254-268/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Pair | type | class Pair extends Node {
constructor(key: any, value?: any)
type: Pair.Type.PAIR | Pair.Type.MERGE_PAIR
/** Always Node or null when parsed, but can be set to anything. */
key: any
/** Always Node or null when parsed, but can be set to anything. */
value: any
cstNode?: never // no corresponding cstNode
... |
1,288,692 | d1df6cb5c2722667beb743ff647e26b3 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=323-333/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | YAMLMap | type | class YAMLMap extends Collection {
type?: Type.FLOW_MAP | Type.MAP
items: Array<Pair>
hasAllNullValues(): boolean
toJSON(arg?: any, ctx?: AST.NodeToJsonContext): object | Map<any, any>
toString(
ctx?: Schema.StringifyContext,
onComment?: () => void,
onChompKeep?: () => void
): string
} |
1,288,693 | 7d57728258f9cb40c7e76c835ce608c4 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=204-224/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Node | type | class Node {
/** A comment on or immediately after this */
comment?: string | null
/** A comment before this */
commentBefore?: string | null
/** Only available when `keepCstNodes` is set to `true` */
cstNode?: CST.Node
/**
* The [start, end] range of characters of the source parsed
* into this node... |
1,288,694 | 8162a0e8abc9c466bbf69d8b7e67f742 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=335-348/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | YAMLSeq | type | class YAMLSeq extends Collection {
type?: Type.FLOW_SEQ | Type.SEQ
delete(key: number | string | Scalar): boolean
get(key: number | string | Scalar, keepScalar?: boolean): any
has(key: number | string | Scalar): boolean
set(key: number | string | Scalar, value: any): void
hasAllNullValues(): boolean
toJSO... |
1,288,695 | 394ce3b4bda619fcaf96ccf21fc4d69a | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=361-364/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | AST::BlockFolded | type | interface BlockFolded extends Scalar {
type: Type.BLOCK_FOLDED
cstNode?: CST.BlockFolded
} |
1,288,696 | d61720865c6b595880433cf5ae83cfbd | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=371-374/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | AST::PlainValue | type | interface PlainValue extends Scalar {
type: Type.PLAIN
cstNode?: CST.PlainValue
} |
1,288,697 | ec9f644056f5837a47bdeb5bbc1563a5 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-50/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema | type | class Schema {
/** Default: `'tag:yaml.org,2002:'` */
static defaultPrefix: string
static defaultTags: {
/** Default: `'tag:yaml.org,2002:map'` */
MAP: string
/** Default: `'tag:yaml.org,2002:seq'` */
SEQ: string
/** Default: `'tag:yaml.org,2002:str'` */
STR: string
}
constructor(optio... |
1,288,698 | 70e56e5b9c9e67c0c11c3186d11f8ab6 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=118-168/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema::BaseTag | type | interface BaseTag {
/**
* An optional factory function, used e.g. by collections when wrapping JS objects as AST nodes.
*/
createNode?: (
schema: Schema,
value: any,
ctx: Schema.CreateNodeContext
) => YAMLMap | YAMLSeq | Scalar
/**
* If a tag has multiple forms that shou... |
1,288,699 | 3650fa90106f63a49a9a1859bfd4fdd6 | swh:1:cnt:411e74e8a11aab25b8b1eaf9b4db71b76de4f44d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=183-201/ | e86ceeef07691e7577b2f1010e649b4ebbd855d7 | wlbdashboard | wmcs | node_modules/yaml/types.d.ts | Schema::DefaultTag | type | interface DefaultTag extends BaseTag {
/**
* If `true`, together with `test` allows for values to be stringified without
* an explicit tag. For most cases, it's unlikely that you'll actually want to
* use this, even if you first think you do.
*/
default: true
/**
* Alternative form ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.