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,286,900
9a21549a9571fcbbf3f6dd220d6938d3
swh:1:cnt:0fc668977fca888760aded57498aa2733509bc2f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-10/
dd38bde4f1e8e14abc93fa3427678b7bc3a8d8a8
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/json/output-json.js
outputJson
function
async function outputJson (file, data, options = {}) { const str = stringify(data, options) await outputFile(file, str, options) }
1,286,901
fe955128f5dd02bd4406a084e3a7cb59
swh:1:cnt:fa3ea618a29b6de8b76f4318c0b99700f878b39a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-30/
dbda42c9fd516b02ad76e936e03d8faa0fd97ed9
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move/move.js
move
function
function move (src, dest, opts, cb) { if (typeof opts === 'function') { cb = opts opts = {} } const overwrite = opts.overwrite || opts.clobber || false stat.checkPaths(src, dest, 'move', (err, stats) => { if (err) return cb(err) const { srcStat } = stats stat.checkParentPaths(src, srcStat,...
1,286,902
4f051b5264a1e8f923815618ac68464e
swh:1:cnt:fa3ea618a29b6de8b76f4318c0b99700f878b39a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-63/
dbda42c9fd516b02ad76e936e03d8faa0fd97ed9
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move/move.js
moveAcrossDevice
function
function moveAcrossDevice (src, dest, overwrite, cb) { const opts = { overwrite, errorOnExist: true } copy(src, dest, opts, err => { if (err) return cb(err) return remove(src, cb) }) }
1,286,903
de3fdd56266016530c31be1c96a7d8ad
swh:1:cnt:fa3ea618a29b6de8b76f4318c0b99700f878b39a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-52/
dbda42c9fd516b02ad76e936e03d8faa0fd97ed9
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move/move.js
rename
function
function rename (src, dest, overwrite, cb) { fs.rename(src, dest, err => { if (!err) return cb() if (err.code !== 'EXDEV') return cb(err) return moveAcrossDevice(src, dest, overwrite, cb) }) }
1,286,904
10a23261a01f080a44ea4f9f6dd103d9
swh:1:cnt:fa3ea618a29b6de8b76f4318c0b99700f878b39a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-44/
dbda42c9fd516b02ad76e936e03d8faa0fd97ed9
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move/move.js
doRename
function
function doRename (src, dest, overwrite, cb) { if (overwrite) { return remove(dest, err => { if (err) return cb(err) return rename(src, dest, overwrite, cb) }) } pathExists(dest, (err, destExists) => { if (err) return cb(err) if (destExists) return cb(new Error('dest already exists.'))...
1,286,905
43bb420e293a50606a4e52da047d14a6
swh:1:cnt:20f910cc258f8f2969a66d538e2d1703c4de98af;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-18/
2fb8b33e3a193b6cead75efe6d93c821e75063e6
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move-sync/move-sync.js
moveSync
function
function moveSync (src, dest, opts) { opts = opts || {} const overwrite = opts.overwrite || opts.clobber || false const { srcStat } = stat.checkPathsSync(src, dest, 'move') stat.checkParentPathsSync(src, srcStat, dest, 'move') mkdirpSync(path.dirname(dest)) return doRename(src, dest, overwrite) }
1,286,906
b87967ed2e80c0591859fc09c1abcb10
swh:1:cnt:20f910cc258f8f2969a66d538e2d1703c4de98af;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-36/
2fb8b33e3a193b6cead75efe6d93c821e75063e6
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move-sync/move-sync.js
rename
function
function rename (src, dest, overwrite) { try { fs.renameSync(src, dest) } catch (err) { if (err.code !== 'EXDEV') throw err return moveAcrossDevice(src, dest, overwrite) } }
1,286,907
6cd0518ef23b2cf1bb9f0331ea228b3c
swh:1:cnt:20f910cc258f8f2969a66d538e2d1703c4de98af;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-45/
2fb8b33e3a193b6cead75efe6d93c821e75063e6
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move-sync/move-sync.js
moveAcrossDevice
function
function moveAcrossDevice (src, dest, overwrite) { const opts = { overwrite, errorOnExist: true } copySync(src, dest, opts) return removeSync(src) }
1,286,908
add12f2b1e1bc97fb492a52343ec5c63
swh:1:cnt:20f910cc258f8f2969a66d538e2d1703c4de98af;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-27/
2fb8b33e3a193b6cead75efe6d93c821e75063e6
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/move-sync/move-sync.js
doRename
function
function doRename (src, dest, overwrite) { if (overwrite) { removeSync(dest) return rename(src, dest, overwrite) } if (fs.existsSync(dest)) throw new Error('dest already exists.') return rename(src, dest, overwrite) }
1,286,909
c9173856539eedfa7569d792c0008fd3
swh:1:cnt:92297ca3a68cc16713fb25504d3800bad744fb72;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-26/
b38833a363be6683ff44b4e554e5a7bd61655216
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/output/index.js
outputFile
function
function outputFile (file, data, encoding, callback) { if (typeof encoding === 'function') { callback = encoding encoding = 'utf8' } const dir = path.dirname(file) pathExists(dir, (err, itDoes) => { if (err) return callback(err) if (itDoes) return fs.writeFile(file, data, encoding, callback) ...
1,286,910
9d841563ac66a9ae014b1adbd1a70c02
swh:1:cnt:92297ca3a68cc16713fb25504d3800bad744fb72;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-35/
b38833a363be6683ff44b4e554e5a7bd61655216
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/output/index.js
outputFileSync
function
function outputFileSync (file, ...args) { const dir = path.dirname(file) if (fs.existsSync(dir)) { return fs.writeFileSync(file, ...args) } mkdir.mkdirsSync(dir) fs.writeFileSync(file, ...args) }
1,286,911
7d7937635a84b262b5a2300de2b49e21
swh:1:cnt:ddd9bc718f73367de57c345c3bfcd236c579dc2f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-7/
2923047d3f1bf88ef54bb55755c6bc0c3f99d0c3
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/path-exists/index.js
pathExists
function
function pathExists (path) { return fs.access(path).then(() => true).catch(() => false) }
1,286,912
8a6aaa9a6cc3f07666ad52e055cc6ef0
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-25/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
defaults
function
function defaults (options) { const methods = [ 'unlink', 'chmod', 'stat', 'lstat', 'rmdir', 'readdir' ] methods.forEach(m => { options[m] = options[m] || fs[m] m = m + 'Sync' options[m] = options[m] || fs[m] }) options.maxBusyTries = options.maxBusyTries || 3 }
1,286,913
c4c81764c6df8b08b99298a8f08ff339
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=112-132/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
fixWinEPERM
function
function fixWinEPERM (p, options, er, cb) { assert(p) assert(options) assert(typeof cb === 'function') options.chmod(p, 0o666, er2 => { if (er2) { cb(er2.code === 'ENOENT' ? null : er) } else { options.stat(p, (er3, stats) => { if (er3) { cb(er3.code === 'ENOENT' ? null : ...
1,286,914
ca7444305112321895d1126935ae259b
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-110/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rimraf_
function
// Two possible strategies. // 1. Assume it's a file. unlink it, then do the dir stuff on EPERM or EISDIR // 2. Assume it's a directory. readdir, then do the file stuff on ENOTDIR // // Both result in an extra syscall when you guess wrong. However, there // are likely far more normal files in the world than director...
1,286,915
9ccf2fb65bc64b22f4f4b7d2e8b6d648
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=134-165/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
fixWinEPERMSync
function
function fixWinEPERMSync (p, options, er) { let stats assert(p) assert(options) try { options.chmodSync(p, 0o666) } catch (er2) { if (er2.code === 'ENOENT') { return } else { throw er } } try { stats = options.statSync(p) } catch (er3) { if (er3.code === 'ENOENT') ...
1,286,916
ce6e62e840b9b455b51533b66f897e99
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=167-184/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rmdir
function
function rmdir (p, options, originalEr, cb) { assert(p) assert(options) assert(typeof cb === 'function') // try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS) // if we guessed wrong, and it's not a directory, then // raise the original error. options.rmdir(p, er => { if (er && (er.co...
1,286,917
acf1f25515a99f671f0e2d64cb7f7780
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=186-211/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rmkids
function
function rmkids (p, options, cb) { assert(p) assert(options) assert(typeof cb === 'function') options.readdir(p, (er, files) => { if (er) return cb(er) let n = files.length let errState if (n === 0) return options.rmdir(p, cb) files.forEach(f => { rimraf(path.join(p, f), options, e...
1,286,918
8d3a47582f649b9059f6392ea8868b1b
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=213-257/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rimrafSync
function
// this looks simpler, and is strictly *faster*, but will // tie up the JavaScript thread and fail on excessively // deep directory trees. function rimrafSync (p, options) { let st options = options || {} defaults(options) assert(p, 'rimraf: missing path') assert.strictEqual(typeof p, 'string', 'rimraf: pat...
1,286,919
4ed820941495fd00c348a2b0f2c6983b
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=259-274/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rmdirSync
function
function rmdirSync (p, options, originalEr) { assert(p) assert(options) try { options.rmdirSync(p) } catch (er) { if (er.code === 'ENOTDIR') { throw originalEr } else if (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM') { rmkidsSync(p, options) } else if (er.c...
1,286,920
b63fd6d7cac4a1f7e3036f39076ac88e
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=276-299/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rmkidsSync
function
function rmkidsSync (p, options) { assert(p) assert(options) options.readdirSync(p).forEach(f => rimrafSync(path.join(p, f), options)) if (isWindows) { // We only end up here once we got ENOTEMPTY at least once, and // at this point, we are guaranteed to have removed all the kids. // So, we know th...
1,286,921
df8666e9404d8ae74b2044ce9108ab85
swh:1:cnt:2c771026586fd6ef15ed120d105df2a804779453;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-59/
fe831c9823b5df7a5a6538fa4f3a2b2166ba0d81
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/remove/rimraf.js
rimraf
function
function rimraf (p, options, cb) { let busyTries = 0 if (typeof options === 'function') { cb = options options = {} } assert(p, 'rimraf: missing path') assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string') assert.strictEqual(typeof cb, 'function', 'rimraf: callback function req...
1,286,922
fd0687147a03f8d9626775eac9ccfdb5
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-20/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
getStats
function
function getStats (src, dest) { return Promise.all([ stat(src), stat(dest).catch(err => { if (err.code === 'ENOENT') return null throw err }) ]).then(([srcStat, destStat]) => ({ srcStat, destStat })) }
1,286,923
dfd9273603108dd0624867640c0ead96
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-79/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
checkParentPaths
function
// recursively check if dest parent is a subdirectory of src. // It works for all file types including symlinks since it // checks the src and dest inodes. It starts from the deepest // parent and stops once it reaches the src parent or the root path. function checkParentPaths (src, srcStat, dest, funcName, cb) { con...
1,286,924
9218ff93bad2013e6f07a791688734bb
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-32/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
getStatsSync
function
function getStatsSync (src, dest) { let destStat const srcStat = statSync(src) try { destStat = statSync(dest) } catch (err) { if (err.code === 'ENOENT') return { srcStat, destStat: null } throw err } return { srcStat, destStat } }
1,286,925
39a04660223423794052ea9079d8b3e9
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-46/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
checkPaths
function
function checkPaths (src, dest, funcName, cb) { util.callbackify(getStats)(src, dest, (err, stats) => { if (err) return cb(err) const { srcStat, destStat } = stats if (destStat && areIdentical(srcStat, destStat)) { return cb(new Error('Source and destination must not be the same.')) } if (sr...
1,286,926
495b670077b47d780841b1bf38b9fe69
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-57/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
checkPathsSync
function
function checkPathsSync (src, dest, funcName) { const { srcStat, destStat } = getStatsSync(src, dest) if (destStat && areIdentical(srcStat, destStat)) { throw new Error('Source and destination must not be the same.') } if (srcStat.isDirectory() && isSrcSubdir(src, dest)) { throw new Error(errMsg(src, de...
1,286,927
bfc73175281431f01b698cae15b1c1b1
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-96/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
checkParentPathsSync
function
function checkParentPathsSync (src, srcStat, dest, funcName) { const srcParent = path.resolve(path.dirname(src)) const destParent = path.resolve(path.dirname(dest)) if (destParent === srcParent || destParent === path.parse(destParent).root) return let destStat try { destStat = statSync(destParent) } cat...
1,286,928
fbc6bdda0a8bbb7f073a560450c3a79a
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=98-119/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
areIdentical
function
function areIdentical (srcStat, destStat) { if (destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev) { if (nodeSupportsBigInt || destStat.ino < Number.MAX_SAFE_INTEGER) { // definitive answer return true } // Use additional heuristics if we can't use 'b...
1,286,929
d1f6a119e2c27684327529aea008e60d
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=121-127/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
isSrcSubdir
function
// return true if dest is a subdir of src, otherwise false. // It only checks the path strings. function isSrcSubdir (src, dest) { const srcArr = path.resolve(src).split(path.sep).filter(i => i) const destArr = path.resolve(dest).split(path.sep).filter(i => i) return srcArr.reduce((acc, cur, i) => acc && destArr[...
1,286,930
1c8bda332d807a444939a0da93e09729
swh:1:cnt:0b1c1b09636b75e896d0aeccea48ec7976c47547;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=129-131/
1fc84610719e80a58b6e4048767c0642c18eb2cf
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/stat.js
errMsg
function
function errMsg (src, dest, funcName) { return `Cannot ${funcName} '${src}' to a subdirectory of itself, '${dest}'.` }
1,286,931
a384e37552a93c9b89def133fe540031
swh:1:cnt:75395deff42fa751456e99b9fd4a7b2426c7eeac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-15/
0e7df96990c1b86054ca31846dbc8d52bea3c7f2
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/utimes.js
utimesMillis
function
function utimesMillis (path, atime, mtime, callback) { // if (!HAS_MILLIS_RES) return fs.utimes(path, atime, mtime, callback) fs.open(path, 'r+', (err, fd) => { if (err) return callback(err) fs.futimes(fd, atime, mtime, futimesErr => { fs.close(fd, closeErr => { if (callback) callback(futimesE...
1,286,932
8d6098cab0d8fe51bf5c16ebe697ce03
swh:1:cnt:75395deff42fa751456e99b9fd4a7b2426c7eeac;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-21/
0e7df96990c1b86054ca31846dbc8d52bea3c7f2
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/fs-extra/lib/util/utimes.js
utimesMillisSync
function
function utimesMillisSync (path, atime, mtime) { const fd = fs.openSync(path, 'r+') fs.futimesSync(fd, atime, mtime) return fs.closeSync(fd) }
1,286,933
053aaaad2a4a78eb407253b1cdbd6b54
swh:1:cnt:0772daedb399e23fb4f846b535e7b65967052d5f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-17/
30e143368e53de2d6872ee438b12485721252990
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/index.d.ts
traverse::SchemaObject
type
interface SchemaObject { $id?: string; $schema?: string; [x: string]: any; }
1,286,934
14514c4f6b53de5cbc0daa32502f4fc6
swh:1:cnt:0772daedb399e23fb4f846b535e7b65967052d5f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-37/
30e143368e53de2d6872ee438b12485721252990
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/index.d.ts
traverse::Options
type
interface Options { allKeys?: boolean; cb?: | Callback | { pre?: Callback; post?: Callback; }; }
1,286,935
1f42e704654422b6885ff35db07dde4c
swh:1:cnt:0772daedb399e23fb4f846b535e7b65967052d5f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-27/
30e143368e53de2d6872ee438b12485721252990
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/index.d.ts
traverse::Callback
type
type Callback = ( schema: SchemaObject, jsonPtr: string, rootSchema: SchemaObject, parentJsonPtr?: string, parentKeyword?: string, parentSchema?: SchemaObject, keyIndex?: string | number ) => void;
1,286,936
de19ef3f3e9dd507f23e136deff40c07
swh:1:cnt:e521bfa858a7eed886a3c6f9a26a5479a981401f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-88/
28a949dfa47faa49f5dbe53794995723398dd9f2
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/index.js
_traverse
function
function _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) { if (schema && typeof schema == 'object' && !Array.isArray(schema)) { pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex); for (var key in schema) { ...
1,286,937
c7f730427a23e5b3f227245ba9042c49
swh:1:cnt:e521bfa858a7eed886a3c6f9a26a5479a981401f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=91-93/
28a949dfa47faa49f5dbe53794995723398dd9f2
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/index.js
escapeJsonPtr
function
function escapeJsonPtr(str) { return str.replace(/~/g, '~0').replace(/\//g, '~1'); }
1,286,938
807584c6aed92dedb4d094661eb4cce9
swh:1:cnt:c76b64fc8496ca677ca2d9c0cb620a565530f3fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=160-162/
c44b63d70d9caadce979b639f19d2f66d6131992
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/spec/index.spec.js
callback
function
function callback() { calls.push(Array.prototype.slice.call(arguments)); }
1,286,939
0046951eb5abdcccd6e801b6847631c5
swh:1:cnt:c76b64fc8496ca677ca2d9c0cb620a565530f3fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=164-166/
c44b63d70d9caadce979b639f19d2f66d6131992
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/spec/index.spec.js
pre
function
function pre() { calls.push(['pre'].concat(Array.prototype.slice.call(arguments))); }
1,286,940
0a31cf2acea324913d13f01fc65c4d5f
swh:1:cnt:c76b64fc8496ca677ca2d9c0cb620a565530f3fa;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=168-170/
c44b63d70d9caadce979b639f19d2f66d6131992
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/spec/index.spec.js
post
function
function post() { calls.push(['post'].concat(Array.prototype.slice.call(arguments))); }
1,286,941
227109359f255202692f7ea03a0a2abd
swh:1:cnt:c51430cdc3d34f28f8010c3c7c472f3cfbf84bd0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-61/
cd39baf73af03c2295cd2c8f3c0b9955d5963c5a
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/spec/fixtures/schema.js
subschema
function
function subschema(keyword) { var sch = { properties: {}, additionalProperties: false, additionalItems: false, anyOf: [ {format: 'email'}, {format: 'hostname'} ] }; sch.properties['foo_' + keyword] = {title: 'foo'}; sch.properties['bar_' + keyword] = {title: 'bar'}; return sch;...
1,286,942
1dfcdcd09d170e88c1ca749559a3179a
swh:1:cnt:c51430cdc3d34f28f8010c3c7c472f3cfbf84bd0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=106-114/
cd39baf73af03c2295cd2c8f3c0b9955d5963c5a
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/spec/fixtures/schema.js
expectedCalls
function
function expectedCalls(keyword) { return [ [schema[keyword], `/${keyword}`, schema, '', keyword, schema, undefined], [schema[keyword].properties[`foo_${keyword}`], `/${keyword}/properties/foo_${keyword}`, schema, `/${keyword}`, 'properties', schema[keyword], `foo_${keyword}`], [schema[keyword].properties[...
1,286,943
d009cebb2bf5707ee9ba67e8870e2861
swh:1:cnt:c51430cdc3d34f28f8010c3c7c472f3cfbf84bd0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=117-125/
cd39baf73af03c2295cd2c8f3c0b9955d5963c5a
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/json-schema-traverse/spec/fixtures/schema.js
expectedCallsChild
function
function expectedCallsChild(keyword, i) { return [ [schema[keyword][i], `/${keyword}/${i}`, schema, '', keyword, schema, i], [schema[keyword][i].properties[`foo_${keyword}_${i}`], `/${keyword}/${i}/properties/foo_${keyword}_${i}`, schema, `/${keyword}/${i}`, 'properties', schema[keyword][i], `foo_${keyword}_$...
1,286,944
b182c668a45878b8399690429006aada
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-7/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
SourceMapUrl
type
type SourceMapUrl = string;
1,286,945
fdb4f8141372a467d0aa4d0fb2cb21a9
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-13/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
StartOfSourceMap
type
interface StartOfSourceMap { file?: string; sourceRoot?: string; skipValidation?: boolean; }
1,286,946
4a0de5b2b35e876c1c2ccc9fe4d34238
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-28/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
RawIndexMap
type
interface RawIndexMap extends StartOfSourceMap { version: number; sections: RawSection[]; }
1,286,947
3ec4039377f11a0134c2324ed4c4ef5a
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-67/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
MappingItem
type
interface MappingItem { source: string; generatedLine: number; generatedColumn: number; originalLine: number; originalColumn: number; name: string; }
1,286,948
ca41d3bd529f1d914b65d47a600b626f
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=251-263/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
BasicSourceMapConsumerConstructor
type
interface BasicSourceMapConsumerConstructor { prototype: BasicSourceMapConsumer; new (rawSourceMap: RawSourceMap | string): Promise<BasicSourceMapConsumer>; /** * Create a BasicSourceMapConsumer from a SourceMapGenerator. * * @param sourceMap * The source map that will be consum...
1,286,949
73adfa988b83c97a3414e1d9d0a85b7a
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=271-275/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
IndexedSourceMapConsumerConstructor
type
interface IndexedSourceMapConsumerConstructor { prototype: IndexedSourceMapConsumer; new (rawSourceMap: RawIndexMap | string): Promise<IndexedSourceMapConsumer>; }
1,286,950
ccde9f300b45f8259753d2e868b9938d
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=244-249/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
BasicSourceMapConsumer
type
interface BasicSourceMapConsumer extends SourceMapConsumer { file: string; sourceRoot: string; sources: string[]; sourcesContent: string[]; }
1,286,951
a3182cbb39480fa90f2c45cd021b619a
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-74/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
Mapping
type
interface Mapping { generated: Position; original: Position; source: string; name?: string; }
1,286,952
2491231c7f4be521e8d1c177c62edc92
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-187/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
SourceMapConsumer
type
interface SourceMapConsumer { /** * Compute the last column for each generated mapping. The last column is * inclusive. */ computeColumnSpans(): void; /** * Returns the original source, line, and column information for the generated * source's line and column positions provided. Th...
1,286,953
3ec1b8c21f0421ea5f6558753bf127e9
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=329-369/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
SourceNode
type
class SourceNode { children: SourceNode[]; sourceContents: any; line: number; column: number; source: string; name: string; constructor(); constructor( line: number | null, column: number | null, source: string | null, chunks?: Array<(string | SourceNode)...
1,286,954
676ad81f92ac56e0503809f607cd536e
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-33/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
RawSection
type
interface RawSection { offset: Position; map: RawSourceMap; }
1,286,955
a76c1060c76e3ad2c62b46ae6ac5afa7
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-44/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
NullablePosition
type
interface NullablePosition { line: number | null; column: number | null; lastColumn: number | null; }
1,286,956
8d9875cf4d166d09d3db3a348ced9aee
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=267-269/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
IndexedSourceMapConsumer
type
interface IndexedSourceMapConsumer extends SourceMapConsumer { sources: string[]; }
1,286,957
2e757660ade2742499514998f1557a9d
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-79/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
CodeWithSourceMap
type
interface CodeWithSourceMap { code: string; map: SourceMapGenerator; }
1,286,958
543b88891ebf94063eeed8ec04863db8
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-23/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
RawSourceMap
type
interface RawSourceMap { version: number; sources: string[]; names: string[]; sourceRoot?: string; sourcesContent?: string[]; mappings: string; file: string; }
1,286,959
81c7689e618c1bc5d38fdf865f25120e
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-38/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
Position
type
interface Position { line: number; column: number; }
1,286,960
370b120ea3c8119d13e8a4963e942648
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-51/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
MappedPosition
type
interface MappedPosition { source: string; line: number; column: number; name?: string; }
1,286,961
fda01cd5b88f9a8592e394571fe7179b
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=53-58/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
NullableMappedPosition
type
interface NullableMappedPosition { source: string | null; line: number | null; column: number | null; name: string | null; }
1,286,962
a7bb4f7990ccaf34b4549e1c6dcf4923
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=189-240/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
SourceMapConsumerConstructor
type
interface SourceMapConsumerConstructor { prototype: SourceMapConsumer; GENERATED_ORDER: number; ORIGINAL_ORDER: number; GREATEST_LOWER_BOUND: number; LEAST_UPPER_BOUND: number; new (rawSourceMap: RawSourceMap, sourceMapUrl?: SourceMapUrl): Promise<BasicSourceMapConsumer>; new (rawSourceMap...
1,286,963
6668003468f93de60e4dc0c1e9000ae6
swh:1:cnt:2459391592c19a0249514767a6d58563210bef28;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=279-327/
2a74be874bca737fb5baa464901da0858a74d017
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/source-map.d.ts
SourceMapGenerator
type
class SourceMapGenerator { constructor(startOfSourceMap?: StartOfSourceMap); /** * Creates a new SourceMapGenerator based on a SourceMapConsumer * * @param sourceMapConsumer The SourceMap. */ static fromSourceMap(sourceMapConsumer: SourceMapConsumer): SourceMapGenerator; /** *...
1,286,964
a8fce00db3c57dfa57f6ec1381b216bf
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-99/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet
type
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ /** * A data structure which is a combination of an array and a set. Adding a new * member is O(1), testing fo...
1,286,965
a072ad047b89bb322d1bfdff2216dbb7
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-18/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::constructor
function
constructor() { this._array = []; this._set = new Map(); }
1,286,966
df77ee710364b589915013e8a680eb48
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=57-64/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::has
function
/** * Is the given string a member of this set? * * @param String aStr */ has(aStr) { return this._set.has(aStr); }
1,286,967
75680dd100b68279394e9595af081d27
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-29/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::fromArray
function
/** * Static method for creating ArraySet instances from an existing array. */ static fromArray(aArray, aAllowDuplicates) { const set = new ArraySet(); for (let i = 0, len = aArray.length; i < len; i++) { set.add(aArray[i], aAllowDuplicates); } return set; }
1,286,968
853692ea4d4f15f75d164fae79a44979
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-39/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::size
function
/** * Return how many unique items are in this ArraySet. If duplicates have been * added, than those do not count towards the size. * * @returns Number */ size() { return this._set.size; }
1,286,969
cee5d42588c14ee9083d4a8e41afe773
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-55/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::add
function
/** * Add the given string to this set. * * @param String aStr */ add(aStr, aAllowDuplicates) { const isDuplicate = this.has(aStr); const idx = this._array.length; if (!isDuplicate || aAllowDuplicates) { this._array.push(aStr); } if (!isDuplicate) { this._set.set(aStr, idx)...
1,286,970
51b807f4718ae8b9151acd78d3548f1b
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=66-77/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::indexOf
function
/** * What is the index of the given string in the array? * * @param String aStr */ indexOf(aStr) { const idx = this._set.get(aStr); if (idx >= 0) { return idx; } throw new Error('"' + aStr + '" is not in the set.'); }
1,286,971
5a28c0311ecda99ac4e1536be8fc2826
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-89/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::at
function
/** * What is the element at the given index? * * @param Number aIdx */ at(aIdx) { if (aIdx >= 0 && aIdx < this._array.length) { return this._array[aIdx]; } throw new Error("No element indexed by " + aIdx); }
1,286,972
2428f2eb387f0f734799da1acea0e09d
swh:1:cnt:40171b9a64c4fc050d7d7c6a253e22e51667a946;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=91-98/
d668b59366e13a9f277806c9ca6de7f116823170
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/array-set.js
ArraySet::toArray
function
/** * Returns the array representation of this set (which has the proper indices * indicated by indexOf). Note that this is a copy of the internal array used * for storing the members so that no one can mess with internal state. */ toArray() { return this._array.slice(); }
1,286,973
c9c9c0c9189c37dfd729279208f4abdf
swh:1:cnt:fc1049c89dcf500f9f7f4b0ae4af74755600ff16;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-73/
ddb10a4eedcab8bce8feea4398c294f68853c674
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/base64-vlq.js
toVLQSigned
function
/** * Converts from a two-complement value to a value where the sign bit is * placed in the least significant bit. For example, as decimals: * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) */ function toVLQSigned(aValue) { return aValue < 0 ? ((-...
1,286,974
5886bdcc6c9630dc3bd5c7e7091036f6
swh:1:cnt:fc1049c89dcf500f9f7f4b0ae4af74755600ff16;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-88/
ddb10a4eedcab8bce8feea4398c294f68853c674
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/base64-vlq.js
fromVLQSigned
function
/** * Converts to a two-complement value from a value where the sign bit is * placed in the least significant bit. For example, as decimals: * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 */ // eslint-disable-next-line no-unused-vars function fromVLQS...
1,286,975
c1ff7602ae4832879c106c18f0e95514
swh:1:cnt:d6f898ead90f29c9dbc710f8bae3e966a7af7505;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-65/
71cb1d1cfd1fcbd542ba14d16e39667a3f26fcf2
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/binary-search.js
recursiveSearch
function
/** * Recursive implementation of binary search. * * @param aLow Indices here and lower do not contain the needle. * @param aHigh Indices here and higher do not contain the needle. * @param aNeedle The element being searched for. * @param aHaystack The non-empty array being searched. * @param aCompare Function w...
1,286,976
910008145b75efc75b280ed0cce7a3b1
swh:1:cnt:7056861078d90e994b577fa8c4a4e1766db56bd9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-22/
1c24352dfbb1713fce572732e10eb8ddbe4b820f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/mapping-list.js
generatedPositionAfter
function
/** * Determine whether mappingB is after mappingA with respect to generated * position. */ function generatedPositionAfter(mappingA, mappingB) { // Optimized for most common case const lineA = mappingA.generatedLine; const lineB = mappingB.generatedLine; const columnA = mappingA.generatedColumn; const col...
1,286,977
a33a11889c603944df65cc5bf2f63071
swh:1:cnt:7056861078d90e994b577fa8c4a4e1766db56bd9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-45/
1c24352dfbb1713fce572732e10eb8ddbe4b820f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/mapping-list.js
MappingList::unsortedForEach
function
/** * Iterate through internal items. This method takes the same arguments that * `Array.prototype.forEach` takes. * * NOTE: The order of the mappings is NOT guaranteed. */ unsortedForEach(aCallback, aThisArg) { this._array.forEach(aCallback, aThisArg); }
1,286,978
6747ed8b931999fefc5fa141ce20dc83
swh:1:cnt:7056861078d90e994b577fa8c4a4e1766db56bd9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-60/
1c24352dfbb1713fce572732e10eb8ddbe4b820f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/mapping-list.js
MappingList::add
function
/** * Add the given source mapping. * * @param Object aMapping */ add(aMapping) { if (generatedPositionAfter(this._last, aMapping)) { this._last = aMapping; this._array.push(aMapping); } else { this._sorted = false; this._array.push(aMapping); } }
1,286,979
56453f718ce93464ed08c8b131a7a8d8
swh:1:cnt:7056861078d90e994b577fa8c4a4e1766db56bd9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-35/
1c24352dfbb1713fce572732e10eb8ddbe4b820f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/mapping-list.js
MappingList::constructor
function
constructor() { this._array = []; this._sorted = true; // Serves as infimum this._last = {generatedLine: -1, generatedColumn: 0}; }
1,286,980
22b61bc90b71aa8cd97a0715f4f02a68
swh:1:cnt:7056861078d90e994b577fa8c4a4e1766db56bd9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=62-77/
1c24352dfbb1713fce572732e10eb8ddbe4b820f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/mapping-list.js
MappingList::toArray
function
/** * Returns the flat, sorted array of mappings. The mappings are sorted by * generated position. * * WARNING: This method returns internal data without copying, for * performance. The return value must NOT be mutated, and should be treated as * an immutable borrow. If you want to take ownership, you...
1,286,981
10c3006f82fbf0a31310fbc47ca27be6
swh:1:cnt:7056861078d90e994b577fa8c4a4e1766db56bd9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-78/
1c24352dfbb1713fce572732e10eb8ddbe4b820f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/mapping-list.js
MappingList
type
/** * A data structure to provide a sorted view of accumulated mappings in a * performance conscious manner. It trades a negligible overhead in general * case for a large speedup in case of mappings being added in order. */ class MappingList { constructor() { this._array = []; this._sorted = true; // ...
1,286,982
e093d2ae97647caab122fc71e2eb5453
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-125/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
SourceMapConsumer
type
class SourceMapConsumer { constructor(aSourceMap, aSourceMapURL) { // If the constructor was called by super(), just return Promise<this>. // Yes, this is a hack to retain the pre-existing API of the base-class // constructor also being an async factory function. if (aSourceMap == INTERNAL) { re...
1,286,983
0f91030f622d819150ecfe242025f312
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=139-633/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
BasicSourceMapConsumer
type
/** * A BasicSourceMapConsumer instance represents a parsed source map which we can * query for information about the original file positions by giving it a file * position in the generated source. * * The first parameter is the raw source map (either as a JSON string, or * already parsed to an object). According...
1,286,984
e85645f8e28ddbbefeda3f8cc733e993
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=638-995/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer
type
/** * An IndexedSourceMapConsumer instance represents a parsed source map which * we can query for information. It differs from BasicSourceMapConsumer in * that it takes "indexed" source maps (i.e. ones with a "sections" field) as * input. * * The first parameter is a raw source map (either as a JSON string, or a...
1,286,985
dd239577a44581a6f0134f7b8c9b63b0
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-35/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
SourceMapConsumer::fromSourceMap
function
static fromSourceMap(aSourceMap, aSourceMapURL) { return _factoryBSM(aSourceMap, aSourceMapURL); }
1,286,986
99327f17b880a4f5ebf0b36d29feb602
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=284-328/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
BasicSourceMapConsumer::_parseMappings
function
/** * Parse the mappings in a string in to a data structure which we can easily * query (the ordered arrays in the `this.__generatedMappings` and * `this.__originalMappings` properties). */ _parseMappings() { const aStr = this._mappings; const size = aStr.length; const mappingsBufPtr = this._...
1,286,987
cbf144c2beffbf0470c7773407697ced
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=754-811/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::originalPositionFor
function
/** * Returns the original source, line, and column information for the generated * source's line and column positions provided. The only argument is an object * with the following properties: * * - line: The line number in the generated source. The line number * is 1-based. * - column: Th...
1,286,988
fd260eb846a25c27dab33fe0345056c8
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=813-821/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::hasContentsOfAllSources
function
/** * Return true if we have the source content for every source in the source * map, false otherwise. */ hasContentsOfAllSources() { return this._sections.every(function(s) { return s.consumer.hasContentsOfAllSources(); }); }
1,286,989
4d64ddfa94f6e0fec53af527d7a26cec
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=823-841/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::sourceContentFor
function
/** * Returns the original source content. The only argument is the url of the * original source file. Returns null if no original source content is * available. */ sourceContentFor(aSource, nullOnMissing) { for (let i = 0; i < this._sections.length; i++) { const section = this._sections[i]; ...
1,286,990
2c1514bf166411c8ba570d79b07d0124
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=912-947/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::allGeneratedPositionsFor
function
allGeneratedPositionsFor(aArgs) { const index = this._findSectionIndex(util.getArg(aArgs, "source")); const section = index >= 0 ? this._sections[index] : null; const nextSection = index >= 0 && index + 1 < this._sections.length ? this._sections[index + 1] : null; if (!section) re...
1,286,991
f953524074303640f1e638f4577ddf29
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=949-982/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::eachMapping
function
eachMapping(aCallback, aContext, aOrder) { this._sections.forEach((section, index) => { const nextSection = index + 1 < this._sections.length ? this._sections[index + 1] : null; const { generatedOffset } = section; const lineShift = generatedOffset.generatedLine - 1; ...
1,286,992
de2e386ce6b6ce87eb669e8264ed3b7f
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=984-988/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::computeColumnSpans
function
computeColumnSpans() { for (let i = 0; i < this._sections.length; i++) { this._sections[i].consumer.computeColumnSpans(); } }
1,286,993
f01d88472f368a39b1f0dafeddc2169a
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1014-1016/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
_factoryBSM
function
function _factoryBSM(aSourceMap, aSourceMapURL) { return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL); }
1,286,994
d9661f2aef80ae4f839d095294d53a0c
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-74/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
SourceMapConsumer::with
function
/** * Construct a new `SourceMapConsumer` from `rawSourceMap` and `sourceMapUrl` * (see the `SourceMapConsumer` constructor for details. Then, invoke the `async * function f(SourceMapConsumer) -> T` with the newly constructed consumer, wait * for `f` to complete, call `destroy` on the consumer, and return `...
1,286,995
abe8164a9b8bc80161d891d30441ecf5
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-31/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
SourceMapConsumer::initialize
function
static initialize(opts) { readWasm.initialize(opts["lib/mappings.wasm"]); }
1,286,996
41104f92419d122978c47d24180af6ae
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=174-225/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
BasicSourceMapConsumer::constructor
function
constructor(aSourceMap, aSourceMapURL) { return super(INTERNAL).then(that => { let sourceMap = aSourceMap; if (typeof aSourceMap === "string") { sourceMap = util.parseSourceMapInput(aSourceMap); } const version = util.getArg(sourceMap, "version"); const sources = util.getArg(s...
1,286,997
afdfb1fee7b58cabec12ce2558a1b7ab
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=416-427/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
BasicSourceMapConsumer::computeColumnSpans
function
/** * Compute the last column for each generated mapping. The last column is * inclusive. */ computeColumnSpans() { if (this._computedColumnSpans) { return; } this._wasm.exports.compute_column_spans(this._getMappingsPtr()); this._computedColumnSpans = true; }
1,286,998
b62fa793d2185d42ab7b0de875aa6652
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=843-851/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::_findSectionIndex
function
_findSectionIndex(source) { for (let i = 0; i < this._sections.length; i++) { const { consumer } = this._sections[i]; if (consumer._findSourceIndex(source) !== -1) { return i; } } return -1; }
1,286,999
150ed14c1f1fc1846af4df340bbe89bf
swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=990-994/
7d4444437907038bfc8abbc9196989179b206bce
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js
IndexedSourceMapConsumer::destroy
function
destroy() { for (let i = 0; i < this._sections.length; i++) { this._sections[i].consumer.destroy(); } }