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,100 | 47d5b0e43f1baa68f9d02aed26f92f02 | swh:1:cnt:97afd40b67313997ddf8ba814c777a90f40ef75a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-23/ | 62fe7d7c1399866e25ef137c46d63bea42d603a3 | wlbdashboard | wmcs | node_modules/workbox-streams/isSupported.js | isSupported | function | /**
* This is a utility method that determines whether the current browser supports
* the features required to create streamed responses. Currently, it checks if
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
* can be created.
*
* @return {boolean} `true`, if ... |
1,288,101 | ef1556617a1ca98839dcfa6b138358bb | swh:1:cnt:5c5f53affd94368ebb54a6597ee6fb9b655c65a1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-6/ | 655729cdc074e394bdf81b80c11e8375fe49cfbc | wlbdashboard | wmcs | node_modules/workbox-streams/strategy.d.ts | StreamsHandlerCallback | type | interface StreamsHandlerCallback {
({ url, request, event, params }: RouteHandlerCallbackOptions): Promise<StreamSource> | StreamSource;
} |
1,288,102 | 33c96a058bdd070a90c4ccc191b4fffe | swh:1:cnt:227abd81ba4fcdb69b3738d30a4dbf0017ec3a1f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-67/ | a2e6422f85cab4b7559150175da6d897d2978145 | wlbdashboard | wmcs | node_modules/workbox-streams/strategy.js | strategy | function | /**
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
*
* On browsers that do not support constructing new `ReadableStream`s, this
* strategy will automatically wait for all the `sourceFunctions` to complete,
* and create a final response that concatenates their values together.
*
*... |
1,288,103 | 437524a67881a4b5259206f1c5dea743 | swh:1:cnt:1ecb1ba8725ebcd476d1caa090c944d9cfe1bdde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-2/ | d1c31dacc752bfc5fb912616f0b9ea316357aed7 | wlbdashboard | wmcs | node_modules/workbox-streams/_types.d.ts | StreamSource | type | type StreamSource = Response | ReadableStream | BodyInit; |
1,288,104 | ddf753605798d97b4207f26c99e91f79 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-43/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | _getReaderFromSource | function | /*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
/**
* Takes either a Response, a ReadableStream, or a
* [BodyInit](https://fetch.spec.whatwg.org/#bodyin... |
1,288,105 | 0199b8cbd48e5a3eac16067168575da7 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=144-175/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | createHeaders | function | /*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
/**
* This is a utility method that determines whether the current browser supports
* the features requi... |
1,288,106 | fcccf1c50a0d78933f49b3a2781f2b59 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=44-142/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | concatenate | function | /**
* Takes multiple source Promises, each of which could resolve to a Response, a
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
*
* Returns an object exposing a ReadableStream with each individual stream's
* data returned in sequence, along with a Promise which si... |
1,288,107 | 06f30a1667e683100e134235ac668f87 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=177-215/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | concatenateToResponse | function | /*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
/**
* Takes multiple source Promises, each of which could resolve to a Response, a
* ReadableStream, or ... |
1,288,108 | a7e324644d8eb66056431727e00f727d | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=217-238/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | isSupported | function | /*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
/**
* This is a utility method that determines whether the current browser supports
* the features requi... |
1,288,109 | 2ab1688559531d99f770a2b2a96b97b9 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=240-321/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | strategy | function | /*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
/**
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
*
* On browsers... |
1,288,110 | 889cf084a094b195726f94d855702735 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=129-135/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | concatenate::cancel | function | cancel() {
{
logger_js.logger.warn('The ReadableStream was cancelled.');
}
streamDeferred.resolve();
} |
1,288,111 | 490bda264bd944581bd960abffbce287 | swh:1:cnt:c9b8331301becc18d3781e2da6dcfd9a6c20ec0a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=77-127/ | da070e71e127e8063df98ed0e06de07d346ba786 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.dev.js | concatenate::pull | function | pull(controller) {
return readerPromises[i].then(reader => {
if (reader instanceof ReadableStreamDefaultReader) {
return reader.read();
} else {
return;
}
}).then(result => {
if (result === null || result === void 0 ? void 0... |
1,288,112 | aae2705cb4e9fafd09216781048c1ee6 | swh:1:cnt:216bfa9c2aa41b64d89d0aea67cbcde3fb19bf04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | bb016a85570167bfe05d703a1737c25b47a47587 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.prod.js | s | function | function s(e){const r=e.map((e=>Promise.resolve(e).then((e=>function(e){if(e instanceof Response){if(e.body)return e.body.getReader();throw new t.WorkboxError("opaque-streams-source",{type:e.type})}return e instanceof ReadableStream?e.getReader():new Response(e).body.getReader()}(e))))),s=new n.Deferred;let o=0;const a... |
1,288,113 | 47449c1150efcf49ad0f053ac4fa549c | swh:1:cnt:216bfa9c2aa41b64d89d0aea67cbcde3fb19bf04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | bb016a85570167bfe05d703a1737c25b47a47587 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.prod.js | a | function | function a(e,n){const{done:t,stream:r}=s(e),a=o(n);return{done:t,response:new Response(r,{headers:a})}} |
1,288,114 | 27e4896e8916becfca439e2f6e4e07dc | swh:1:cnt:216bfa9c2aa41b64d89d0aea67cbcde3fb19bf04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | bb016a85570167bfe05d703a1737c25b47a47587 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.prod.js | o | function | function o(e={}){const n=new Headers(e);return n.has("content-type")||n.set("content-type","text/html"),n} |
1,288,115 | 1239d62094fe118d69ec8b6f5c1956a1 | swh:1:cnt:216bfa9c2aa41b64d89d0aea67cbcde3fb19bf04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | bb016a85570167bfe05d703a1737c25b47a47587 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.prod.js | u | function | function u(){return r.canConstructReadableStream()} |
1,288,116 | 54141a845167fe629c0b139a7d285180 | swh:1:cnt:216bfa9c2aa41b64d89d0aea67cbcde3fb19bf04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | bb016a85570167bfe05d703a1737c25b47a47587 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.prod.js | s::cancel | function | cancel(){s.resolve()} |
1,288,117 | 9a672300fbcf3ccb8bd9714d53b73a98 | swh:1:cnt:216bfa9c2aa41b64d89d0aea67cbcde3fb19bf04;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | bb016a85570167bfe05d703a1737c25b47a47587 | wlbdashboard | wmcs | node_modules/workbox-streams/build/workbox-streams.prod.js | s::pull | function | pull(e){return r[o].then((e=>e instanceof ReadableStreamDefaultReader?e.read():void 0)).then((n=>{if(null==n?void 0:n.done)return o++,o>=r.length?(e.close(),void s.resolve()):this.pull(e);e.enqueue(null==n?void 0:n.value)})).catch((e=>{throw s.reject(e),e}))} |
1,288,118 | 665ab8f7fc4e0d06442c76b97909bfef | swh:1:cnt:c6ba329f6d314d54c9ab6058e1e309585c49f2f1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-40/ | 3e3240b297a80da6c93f2dc8bf53a3042fb7a02e | wlbdashboard | wmcs | node_modules/workbox-streams/src/concatenate.ts | _getReaderFromSource | function | /**
* Takes either a Response, a ReadableStream, or a
* [BodyInit](https://fetch.spec.whatwg.org/#bodyinit) and returns the
* ReadableStreamReader object associated with it.
*
* @param {workbox-streams.StreamSource} source
* @return {ReadableStreamReader}
* @private
*/
function _getReaderFromSource(
source: S... |
1,288,119 | d0b4c4901c3f7fbd5d04a33c35931531 | swh:1:cnt:c6ba329f6d314d54c9ab6058e1e309585c49f2f1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-144/ | 3e3240b297a80da6c93f2dc8bf53a3042fb7a02e | wlbdashboard | wmcs | node_modules/workbox-streams/src/concatenate.ts | concatenate | function | /**
* Takes multiple source Promises, each of which could resolve to a Response, a
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
*
* Returns an object exposing a ReadableStream with each individual stream's
* data returned in sequence, along with a Promise which signals when the
* st... |
1,288,120 | e08456db6e1911fe76325b263007ccfb | swh:1:cnt:c6ba329f6d314d54c9ab6058e1e309585c49f2f1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=134-140/ | 3e3240b297a80da6c93f2dc8bf53a3042fb7a02e | wlbdashboard | wmcs | node_modules/workbox-streams/src/concatenate.ts | concatenate::cancel | function | cancel() {
if (process.env.NODE_ENV !== 'production') {
logger.warn('The ReadableStream was cancelled.');
}
streamDeferred.resolve();
} |
1,288,121 | e1ab131bcfb51e3b44c976475a28db41 | swh:1:cnt:c6ba329f6d314d54c9ab6058e1e309585c49f2f1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-132/ | 3e3240b297a80da6c93f2dc8bf53a3042fb7a02e | wlbdashboard | wmcs | node_modules/workbox-streams/src/concatenate.ts | concatenate::pull | function | pull(controller: ReadableStreamDefaultController<any>) {
return readerPromises[i]
.then((reader) => {
if (reader instanceof ReadableStreamDefaultReader) {
return reader.read();
} else {
return;
}
})
.then((result) => {
if (res... |
1,288,122 | d7836ab2d4e0a4b9c61b8a7ca12b1f34 | swh:1:cnt:5e45fbbc1bc477d1c250df9bf0138bc01523be2d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-41/ | aef86f26a6bfea1fbf70c2f59b448d0c978c1283 | wlbdashboard | wmcs | node_modules/workbox-streams/src/concatenateToResponse.ts | concatenateToResponse | function | /**
* Takes multiple source Promises, each of which could resolve to a Response, a
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),
* along with a
* [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).
*
* Returns an object exposing a Response whose body consists of eac... |
1,288,123 | ab745fc2099ff47a87886a9af28beed5 | swh:1:cnt:d6107ee7dd61e3bf40b356f9fc6f53487a63b355;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-25/ | efa5d636ea4cbcbca9b702ee2077cbcab88b6f6a | wlbdashboard | wmcs | node_modules/workbox-streams/src/isSupported.ts | isSupported | function | /**
* This is a utility method that determines whether the current browser supports
* the features required to create streamed responses. Currently, it checks if
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
* can be created.
*
* @return {boolean} `true`, if ... |
1,288,124 | e119c8d082aaf7ac2067df863b57084d | swh:1:cnt:f90cd378561918b6b1be6c5640b18704beafbd51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-24/ | 8564b49f39ae89b1de8bf8257d2a52f909c22921 | wlbdashboard | wmcs | node_modules/workbox-streams/src/strategy.ts | StreamsHandlerCallback | type | interface StreamsHandlerCallback {
({url, request, event, params}: RouteHandlerCallbackOptions):
| Promise<StreamSource>
| StreamSource;
} |
1,288,125 | 3677ddeb54f466647ab4c7060e942333 | swh:1:cnt:f90cd378561918b6b1be6c5640b18704beafbd51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-92/ | 8564b49f39ae89b1de8bf8257d2a52f909c22921 | wlbdashboard | wmcs | node_modules/workbox-streams/src/strategy.ts | strategy | function | /**
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
*
* On browsers that do not support constructing new `ReadableStream`s, this
* strategy will automatically wait for all the `sourceFunctions` to complete,
* and create a final response that concatenates their values together.
*
*... |
1,288,126 | 437524a67881a4b5259206f1c5dea743 | swh:1:cnt:2a3f3878c6579497520e1ec8a3a0aef66a4e3bea;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-11/ | fc737652ec1ff536070fb86231fdfc6c57f9cc3a | wlbdashboard | wmcs | node_modules/workbox-streams/src/_types.ts | StreamSource | type | type StreamSource = Response | ReadableStream | BodyInit; |
1,288,127 | 1d20f4ab9617f9604996b245ab4f7bf8 | swh:1:cnt:c3e51b94465af09ef6e15d065f889e8e58cccfc9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-32/ | 9ebba99f662bc8482f48fbbf9553e2e1f1445246 | wlbdashboard | wmcs | node_modules/workbox-streams/src/utils/createHeaders.ts | createHeaders | function | /**
* This is a utility method that determines whether the current browser supports
* the features required to create streamed responses. Currently, it checks if
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
* is available.
*
* @private
* @param {HeadersInit... |
1,288,128 | a9a573570432dc06820a5ffb8954a178 | swh:1:cnt:2115d9a013d44b3123ac6ce2484e7644e3675e65;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-30/ | ebe1df005a136c1923e11a54d4c2318b3a824411 | wlbdashboard | wmcs | node_modules/workbox-streams/utils/createHeaders.js | createHeaders | function | /**
* This is a utility method that determines whether the current browser supports
* the features required to create streamed responses. Currently, it checks if
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
* is available.
*
* @private
* @param {HeadersInit... |
1,288,129 | 235eb5c3bea15656b7b4ad12784c4ad2 | swh:1:cnt:a021f0ae5aa22592def106a8a2bebb65e9031b86;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | f269c4e6533afa54e02b7a1b9c5ca8e1b3bfa0ae | wlbdashboard | wmcs | node_modules/workbox-sw/build/workbox-sw.js | constructor | function | constructor(){return this.v={},this.Pt={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.$t=this.Pt.debug?"dev":"prod",this.jt=!1,new Proxy(this,{get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule(`workbox-${o}`),e[s]}})} |
1,288,130 | 5912f6fe986465238757a30e10dbdfa2 | swh:1:cnt:a021f0ae5aa22592def106a8a2bebb65e9031b86;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | f269c4e6533afa54e02b7a1b9c5ca8e1b3bfa0ae | wlbdashboard | wmcs | node_modules/workbox-sw/build/workbox-sw.js | St | function | St(t){if(this.Pt.modulePathCb)return this.Pt.modulePathCb(t,this.Pt.debug);let e=["https://storage.googleapis.com/workbox-cdn/releases/6.6.0"];const s=`${t}.${this.$t}.js`,o=this.Pt.modulePathPrefix;return o&&(e=o.split("/"),""===e[e.length-1]&&e.splice(e.length-1,1)),e.push(s),e.join("/")} |
1,288,131 | 6dacd9095c1cc5a910b196ea28646ef6 | swh:1:cnt:a021f0ae5aa22592def106a8a2bebb65e9031b86;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | f269c4e6533afa54e02b7a1b9c5ca8e1b3bfa0ae | wlbdashboard | wmcs | node_modules/workbox-sw/build/workbox-sw.js | setConfig | function | setConfig(t={}){if(this.jt)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.Pt,t),this.$t=this.Pt.debug?"dev":"prod"} |
1,288,132 | 525ae05c930a2f63ac85075abddc192a | swh:1:cnt:a021f0ae5aa22592def106a8a2bebb65e9031b86;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | f269c4e6533afa54e02b7a1b9c5ca8e1b3bfa0ae | wlbdashboard | wmcs | node_modules/workbox-sw/build/workbox-sw.js | loadModule | function | loadModule(t){const e=this.St(t);try{importScripts(e),this.jt=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}} |
1,288,133 | 6bbd23601c51aca85822e32421b115ce | swh:1:cnt:a021f0ae5aa22592def106a8a2bebb65e9031b86;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/ | f269c4e6533afa54e02b7a1b9c5ca8e1b3bfa0ae | wlbdashboard | wmcs | node_modules/workbox-sw/build/workbox-sw.js | constructor::get | function | get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule(`workbox-${o}`),e[s]} |
1,288,134 | 847d19af099a4c8faa92a6fc6f9868ea | swh:1:cnt:3f340ece4fb6f56483eb8841367f7c7edc0a491c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-5/ | b9574019843f71b4ef15ca85bcfffb735ca0ef51 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.d.ts | GenerateSWConfig | type | interface GenerateSWConfig extends WebpackGenerateSWOptions {
manifestEntries?: Array<ManifestEntry>;
} |
1,288,135 | 1c098c250be3e4c21ee367924a87e6f4 | swh:1:cnt:3f340ece4fb6f56483eb8841367f7c7edc0a491c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-71/ | b9574019843f71b4ef15ca85bcfffb735ca0ef51 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.d.ts | GenerateSW | type | class GenerateSW {
protected config: GenerateSWConfig;
private alreadyCalled;
/**
* Creates an instance of GenerateSW.
*/
constructor(config?: GenerateSWConfig);
/**
* @param {Object} [compiler] default compiler object passed from webpack
*
* @private
*/
propagateWe... |
1,288,136 | 4bed725f9c3575cefbef70fef7d9212b | swh:1:cnt:01496659b9fe4f5b17677f31848980f2e3051962;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-188/ | 24b05e67ee34ba3523c29b3ffa53bab5ff0360c1 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.js | GenerateSW | type | /**
* This class supports creating a new, ready-to-use service worker file as
* part of the webpack compilation process.
*
* Use an instance of `GenerateSW` in the
* [`plugins` array](https://webpack.js.org/concepts/plugins/#usage) of a
* webpack config.
*
* ```
* // The following lists some common options; se... |
1,288,137 | fe1d7be5aa166ac862325729a93d3dc7 | swh:1:cnt:01496659b9fe4f5b17677f31848980f2e3051962;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-75/ | 24b05e67ee34ba3523c29b3ffa53bab5ff0360c1 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.js | GenerateSW::constructor | function | /**
* Creates an instance of GenerateSW.
*/
constructor(config = {}) {
this.config = config;
this.alreadyCalled = false;
} |
1,288,138 | 4af9f93148f49046516bf314332daf2b | swh:1:cnt:01496659b9fe4f5b17677f31848980f2e3051962;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=89-118/ | 24b05e67ee34ba3523c29b3ffa53bab5ff0360c1 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.js | GenerateSW::apply | function | /**
* @param {Object} [compiler] default compiler object passed from webpack
*
* @private
*/
apply(compiler) {
this.propagateWebpackConfig(compiler);
// webpack v4/v5 compatibility:
// https://github.com/webpack/webpack/issues/11425#issuecomment-690387207
if (webp... |
1,288,139 | b237c39c54c5ad3a15b8b7179e6080fe | swh:1:cnt:01496659b9fe4f5b17677f31848980f2e3051962;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-187/ | 24b05e67ee34ba3523c29b3ffa53bab5ff0360c1 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.js | GenerateSW::addAssets | function | /**
* @param {Object} compilation The webpack compilation.
*
* @private
*/
async addAssets(compilation) {
var _a;
// See https://github.com/GoogleChrome/workbox/issues/1790
if (this.alreadyCalled) {
const warningMessage = `${this.constructor.name} has been cal... |
1,288,140 | ac48072f92a78251dba5bc5731c65fca | swh:1:cnt:01496659b9fe4f5b17677f31848980f2e3051962;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-88/ | 24b05e67ee34ba3523c29b3ffa53bab5ff0360c1 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/generate-sw.js | GenerateSW::propagateWebpackConfig | function | /**
* @param {Object} [compiler] default compiler object passed from webpack
*
* @private
*/
propagateWebpackConfig(compiler) {
// Because this.config is listed last, properties that are already set
// there take precedence over derived properties from the compiler.
this.... |
1,288,141 | 1dde092cfaf804ea36762329316189dd | swh:1:cnt:71af460b8807bf1f7e985479fe9d1744aa2a1b88;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-73/ | 356be9eff7d670216ccbd7b2d6d76939422bdb42 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.d.ts | InjectManifest | type | class InjectManifest {
protected config: WebpackInjectManifestOptions;
private alreadyCalled;
/**
* Creates an instance of InjectManifest.
*/
constructor(config: WebpackInjectManifestOptions);
/**
* @param {Object} [compiler] default compiler object passed from webpack
*
* @... |
1,288,142 | ab441bfc3cda3b7c8e7968ce729e8405 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-269/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest | type | /**
* This class supports compiling a service worker file provided via `swSrc`,
* and injecting into that service worker a list of URLs and revision
* information for precaching based on the webpack asset pipeline.
*
* Use an instance of `InjectManifest` in the
* [`plugins` array](https://webpack.js.org/concepts/... |
1,288,143 | f6104602017b0fb71955038d350ab947 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=57-63/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::constructor | function | /**
* Creates an instance of InjectManifest.
*/
constructor(config) {
this.config = config;
this.alreadyCalled = false;
} |
1,288,144 | db8fab9b98e0d5252b16a792599afacf | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-160/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::addSrcToAssets | function | /**
* @param {Object} compilation The webpack compilation.
* @param {Object} parentCompiler The webpack parent compiler.
*
* @private
*/
addSrcToAssets(compilation, parentCompiler) {
// eslint-disable-next-line
const source = parentCompiler.inputFileSystem.readFileSync(this.... |
1,288,145 | 1050e5348bf0cd5a4144396d771bf618 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=78-111/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::apply | function | /**
* @param {Object} [compiler] default compiler object passed from webpack
*
* @private
*/
apply(compiler) {
var _a;
this.propagateWebpackConfig(compiler);
compiler.hooks.make.tapPromise(this.constructor.name, (compilation) => this.handleMake(compilation, compiler).catc... |
1,288,146 | 7a481a5c22bb0bdef6dc56cd39da75f5 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=64-77/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::propagateWebpackConfig | function | /**
* @param {Object} [compiler] default compiler object passed from webpack
*
* @private
*/
propagateWebpackConfig(compiler) {
// Because this.config is listed last, properties that are already set
// there take precedence over derived properties from the compiler.
this.... |
1,288,147 | b1ab5b22c0f9efa1e2817ad81fc82819 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=112-149/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::performChildCompilation | function | /**
* @param {Object} compilation The webpack compilation.
* @param {Object} parentCompiler The webpack parent compiler.
*
* @private
*/
async performChildCompilation(compilation, parentCompiler) {
const outputOptions = {
path: parentCompiler.options.output.path,
... |
1,288,148 | 3138003c4b7c08969555398773c937e0 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=161-192/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::handleMake | function | /**
* @param {Object} compilation The webpack compilation.
* @param {Object} parentCompiler The webpack parent compiler.
*
* @private
*/
async handleMake(compilation, parentCompiler) {
try {
this.config = (0, validate_options_1.validateWebpackInjectManifestOptions)(this.... |
1,288,149 | 14bd0b623e5279f050ce4888d9a76889 | swh:1:cnt:b4fd6ed23289e57db91983e72e6476428f03dfde;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=193-268/ | 972164c5ba65d69bddb6b32c3872a52841d83c95 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/inject-manifest.js | InjectManifest::addAssets | function | /**
* @param {Object} compilation The webpack compilation.
*
* @private
*/
async addAssets(compilation) {
var _a, _b, _c, _d, _e;
// See https://github.com/GoogleChrome/workbox/issues/1790
if (this.alreadyCalled) {
const warningMessage = `${this.constructor.na... |
1,288,150 | c0321f3837eaf810dddf7af8da7056e5 | swh:1:cnt:6a3fb2756544fa7cacf3fabf38a7be0cdc3cd4f0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-31/ | 015e22879b95610689cfef58d7cfe770d329271d | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-asset-hash.js | getAssetHash | function | /**
* @param {Asset} asset
* @return {string} The MD5 hash of the asset's source.
*
* @private
*/
function getAssetHash(asset) {
// If webpack has the asset marked as immutable, then we don't need to
// use an out-of-band revision for it.
// See https://github.com/webpack/webpack/issues/9038
if (as... |
1,288,151 | b39407c2bfa92855ba42fc5680039592 | swh:1:cnt:7beec5b8e9856a0149d5d7e663a2b7d8c800f05b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-40/ | c54449b4b7f134fe101c3272b6c7a48a551120cd | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js | checkConditions | function | /**
* For a given asset, checks whether at least one of the conditions matches.
*
* @param {Asset} asset The webpack asset in question. This will be passed
* to any functions that are listed as conditions.
* @param {Compilation} compilation The webpack compilation. This will be passed
* to any functions that are ... |
1,288,152 | 1b6826dd7cf62ec1f09b3eb4f2cd32ec | swh:1:cnt:7beec5b8e9856a0149d5d7e663a2b7d8c800f05b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-160/ | c54449b4b7f134fe101c3272b6c7a48a551120cd | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js | filterAssets | function | /**
* Filters the set of assets out, based on the configuration options provided:
* - chunks and excludeChunks, for chunkName-based criteria.
* - include and exclude, for more general criteria.
*
* @param {Compilation} compilation The webpack compilation.
* @param {Object} config The validated configuration, obta... |
1,288,153 | 2e62773f97c8bba96768358d566ba2ba | swh:1:cnt:7beec5b8e9856a0149d5d7e663a2b7d8c800f05b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-70/ | c54449b4b7f134fe101c3272b6c7a48a551120cd | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js | getNamesOfAssetsInChunkOrGroup | function | /**
* Returns the names of all the assets in all the chunks in a chunk group,
* if provided a chunk group name.
* Otherwise, if provided a chunk name, return all the assets in that chunk.
* Otherwise, if there isn't a chunk group or chunk with that name, return null.
*
* @param {Compilation} compilation
* @param... |
1,288,154 | 7264a5292ee7f4614cda66a2e1e6bfa8 | swh:1:cnt:7beec5b8e9856a0149d5d7e663a2b7d8c800f05b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-86/ | c54449b4b7f134fe101c3272b6c7a48a551120cd | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js | getNamesOfAssetsInChunk | function | /**
* Returns the names of all the assets in a chunk.
*
* @param {Chunk} chunk
* @return {Array<string>}
* @private
*/
function getNamesOfAssetsInChunk(chunk) {
const assetNames = [];
assetNames.push(...chunk.files);
// This only appears to be set in webpack v5.
if (chunk.auxiliaryFiles) {
... |
1,288,155 | 4f0d88cda7ab8edc1477a52d68b13368 | swh:1:cnt:7beec5b8e9856a0149d5d7e663a2b7d8c800f05b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=161-187/ | c54449b4b7f134fe101c3272b6c7a48a551120cd | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js | getManifestEntriesFromCompilation | function | async function getManifestEntriesFromCompilation(compilation, config) {
const filteredAssets = filterAssets(compilation, config);
const { publicPath } = compilation.options.output;
const fileDetails = Array.from(filteredAssets).map((asset) => {
return {
file: (0, resolve_webpack_url_1.re... |
1,288,156 | 6445e3bbc388757749e0c8427303cfec | swh:1:cnt:b004de156b76e4377b083e92882a5927f653f4ff;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-41/ | 56f0d79023ea152f3fd1ad0a2675283e1215e7ae | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-script-files-for-chunks.js | getScriptFilesForChunks | function | function getScriptFilesForChunks(compilation, chunkNames) {
var _a;
const { chunks } = compilation.getStats().toJson({ chunks: true });
const { publicPath } = compilation.options.output;
const scriptFiles = new Set();
for (const chunkName of chunkNames) {
const chunk = chunks.find((chunk) =>... |
1,288,157 | 97a23ab3936bdd8c8cf55403f8772f3f | swh:1:cnt:5f9d1769fb2ce0d1375e9134e51a7d376b24ab42;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-50/ | 2a26ece8ccf85d08368c1e762b2ae102f23f0682 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/get-sourcemap-asset-name.js | getSourcemapAssetName | function | /**
* If our bundled swDest file contains a sourcemap, we would invalidate that
* mapping if we just replaced injectionPoint with the stringified manifest.
* Instead, we need to update the swDest contents as well as the sourcemap
* at the same time.
*
* See https://github.com/GoogleChrome/workbox/issues/2235
*
... |
1,288,158 | 11184646c3d0a6fbd1f290b7afc714fb | swh:1:cnt:ff3a38f282be047f16c646da15012febd4c23be2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-31/ | 0901ab461644888b8e18a3179f847dc30aca58a3 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/relative-to-output-path.js | relativeToOutputPath | function | /**
* @param {Object} compilation The webpack compilation.
* @param {string} swDest The original swDest value.
*
* @return {string} If swDest was not absolute, the returns swDest as-is.
* Otherwise, returns swDest relative to the compilation's output path.
*
* @private
*/
function relativeToOutputPath(compilati... |
1,288,159 | de7e3e8427d26d05e06b27e07a6b16c4 | swh:1:cnt:fcedd6fd7e8ef880a04e726b0a150c6b5ee41690;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-33/ | b055500517ab24ba5bd8dd62923e81f6f90bc06f | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/build/lib/resolve-webpack-url.js | resolveWebpackURL | function | /**
* Resolves a url in the way that webpack would (with string concatenation)
*
* Use publicPath + filePath instead of url.resolve(publicPath, filePath) see:
* https://webpack.js.org/configuration/output/#output-publicpath
*
* @function resolveWebpackURL
* @param {string} publicPath The publicPath value from we... |
1,288,160 | 2c152ab276a7f000557e01625ad07784 | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-4/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | StartOfSourceMap | type | interface StartOfSourceMap {
file?: string;
sourceRoot?: string;
} |
1,288,161 | 81c7689e618c1bc5d38fdf865f25120e | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-17/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | Position | type | interface Position {
line: number;
column: number;
} |
1,288,162 | 84e61a28d91d242f1d69eeee4a8edbd6 | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-12/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | RawSourceMap | type | interface RawSourceMap extends StartOfSourceMap {
version: string;
sources: string[];
names: string[];
sourcesContent?: string[];
mappings: string;
} |
1,288,163 | 7b25fecec2883e09beaeb5b8277cede2 | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-21/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | LineRange | type | interface LineRange extends Position {
lastColumn: number;
} |
1,288,164 | c263d5ce69992c7531304a9139fa8dc5 | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-26/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | FindPosition | type | interface FindPosition extends Position {
// SourceMapConsumer.GREATEST_LOWER_BOUND or SourceMapConsumer.LEAST_UPPER_BOUND
bias?: number;
} |
1,288,165 | 20cbb36b9672d216889ee0f6003516ac | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-30/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | SourceFindPosition | type | interface SourceFindPosition extends FindPosition {
source: string;
} |
1,288,166 | 85ca62c37015df9cb0daa399a94b6e4d | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-35/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | MappedPosition | type | interface MappedPosition extends Position {
source: string;
name?: string;
} |
1,288,167 | 3ec4039377f11a0134c2324ed4c4ef5a | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-44/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/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,288,168 | b089df21ae75ca4fae7300f03a1fdccb | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-61/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | SourceMapConsumer | type | class SourceMapConsumer {
static GENERATED_ORDER: number;
static ORIGINAL_ORDER: number;
static GREATEST_LOWER_BOUND: number;
static LEAST_UPPER_BOUND: number;
constructor(rawSourceMap: RawSourceMap);
computeColumnSpans(): void;
originalPositionFor(generatedPosition: FindPosition): MappedP... |
1,288,169 | a3182cbb39480fa90f2c45cd021b619a | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-68/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | Mapping | type | interface Mapping {
generated: Position;
original: Position;
source: string;
name?: string;
} |
1,288,170 | 0a84eeafa02ab08587b0d0b8adc7ff0e | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-98/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | SourceNode | type | class SourceNode {
constructor();
constructor(line: number, column: number, source: string);
constructor(line: number, column: number, source: string, chunk?: string, name?: string);
static fromStringWithSourceMap(code: string, sourceMapConsumer: SourceMapConsumer, relativePath?: string): SourceNode;
... |
1,288,171 | 4bde63368c2ff7b8aee31ae50003e806 | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-77/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | SourceMapGenerator | type | class SourceMapGenerator {
constructor(startOfSourceMap?: StartOfSourceMap);
static fromSourceMap(sourceMapConsumer: SourceMapConsumer): SourceMapGenerator;
addMapping(mapping: Mapping): void;
setSourceContent(sourceFile: string, sourceContent: string): void;
applySourceMap(sourceMapConsumer: Source... |
1,288,172 | 2e757660ade2742499514998f1557a9d | swh:1:cnt:8f972b0cfbf389901ed4392a635f91d5cf2bf0e0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-82/ | 151a3aa1e90be28c19c2e59fdcab053c7beb270c | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/source-map.d.ts | CodeWithSourceMap | type | interface CodeWithSourceMap {
code: string;
map: SourceMapGenerator;
} |
1,288,173 | 3f99099613250988125279da996f48d8 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-37/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | __webpack_require__ | function | /******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/
/******/ // Create a new module (and put it into the cache)
/******... |
1,288,174 | fbaff0e1e45d569818c48a0a8c587be4 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-102/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | SourceMapGenerator | function | /**
* An instance of the SourceMapGenerator represents a source map which is
* being built incrementally. You may pass an object with the following
* properties:
*
* - file: The filename of the generated source.
* - sourceRoot: A root for all relative URLs in this source map.
*/
function SourceMapGen... |
1,288,175 | e88163fdd93865074865f729066d8bf6 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=953-955/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | identity | function | function identity (s) {
return s;
} |
1,288,176 | a672fd83a0daa54946d62940067aff5c | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1093-1111/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | strcmp | function | function strcmp(aStr1, aStr2) {
if (aStr1 === aStr2) {
return 0;
}
if (aStr1 === null) {
return 1; // aStr2 !== null
}
if (aStr2 === null) {
return -1; // aStr1 !== null
}
if (aStr1 > aStr2) {
return 1;
}
return -1;
} |
1,288,177 | b684ca1f749e00834dc773a1e0f4ea81 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1147-1154/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | parseSourceMapInput | function | /**
* Strip any JSON XSSI avoidance prefix from the string (as documented
* in the source maps specification), and then parse the string as
* JSON.
*/
function parseSourceMapInput(str) {
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ''));
} |
1,288,178 | c81b5e963ab8389783715dcfbf59e595 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1876-1886/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | Mapping | function | /**
* Provide the JIT with a nice shape / hidden class.
*/
function Mapping() {
this.generatedLine = 0;
this.generatedColumn = 0;
this.source = null;
this.originalLine = null;
this.originalColumn = null;
this.name = null;
} |
1,288,179 | f6525fb1598a0d668ab67bf3d02ecb02 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=576-588/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.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
*/
function fromVLQSigned(aValue) {
var isNegative = (... |
1,288,180 | 32468df3fb923caded69d1afcad790c7 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=564-574/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.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,288,181 | 67d354a95308084f28684137984abf33 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=975-981/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | fromSetString | function | function fromSetString(aStr) {
if (isProtoString(aStr)) {
return aStr.slice(1);
}
return aStr;
} |
1,288,182 | 6e914199d5d4d43d68e9a674227dafe1 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=984-1014/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | isProtoString | function | function isProtoString(s) {
if (!s) {
return false;
}
var length = s.length;
if (length < 9 /* "__proto__".length */) {
return false;
}
if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||
s.charCodeAt(length - 2) !== 95 /* '_' */ ||
s.charCodeAt(length - 3) !== 111 /* 'o' ... |
1,288,183 | 390d05306c111be6f49dfafd22976359 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=957-972/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | toSetString | function | /**
* Because behavior goes wacky when you set `__proto__` on objects, we
* have to prefix all the strings in our set with an arbitrary character.
*
* See https://github.com/mozilla/source-map/pull/31 and
* https://github.com/mozilla/source-map/issues/30
*
* @param String aStr
*/
function toSetString(a... |
1,288,184 | cc72a9fa972770634ef94fc41de00b8d | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2695-2726/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | swap | function | /* -*- 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
*/
// It turns out that some (most?) JavaScript engines don't self-host
// `Array.prototype.sort`. This mak... |
1,288,185 | f4309e222e48d1f32110d175534be353 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2837-2858/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | SourceNode | function | /**
* SourceNodes provide a way to abstract over interpolating/concatenating
* snippets of generated JavaScript source code while maintaining the line and
* column information associated with the original source code.
*
* @param aLine The original line number.
* @param aColumn The original column number.
... |
1,288,186 | 11ed5f92ea0195e7ba0837830ebc5766 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=752-764/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | urlParse | function | function urlParse(aUrl) {
var match = aUrl.match(urlRegexp);
if (!match) {
return null;
}
return {
scheme: match[1],
auth: match[2],
host: match[3],
port: match[4],
path: match[5]
};
} |
1,288,187 | 9fbedd51039362064ae3b6e5044d8eee | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1113-1144/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | compareByGeneratedPositionsInflated | function | /**
* Comparator between two mappings with inflated source and name strings where
* the generated positions are compared.
*/
function compareByGeneratedPositionsInflated(mappingA, mappingB) {
var cmp = mappingA.generatedLine - mappingB.generatedLine;
if (cmp !== 0) {
return cmp;
}
cmp = mappin... |
1,288,188 | 742ea5a0014b3da3e4056cb460746f61 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1157-1207/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | computeSourceURL | function | /**
* Compute the URL of a source given the the source root, the source's
* URL, and the source map's URL.
*/
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
sourceURL = sourceURL || '';
if (sourceRoot) {
// This follows what Chrome does.
if (sourceRoot[sourceRoot.length - 1] !... |
1,288,189 | 312ac4722ac7177a6ba57901558392f1 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1226-1235/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | ArraySet | function | /**
* A data structure which is a combination of an array and a set. Adding a new
* member is O(1), testing for membership is O(1), and finding the index of an
* element is O(1). Removing elements from the set is not supported. Only
* strings are supported for membership.
*/
function ArraySet() {
this._ar... |
1,288,190 | b79e3299c3332dec6eda7fc7f59548d9 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1351-1363/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | generatedPositionAfter | function | /**
* Determine whether mappingB is after mappingA with respect to generated
* position.
*/
function generatedPositionAfter(mappingA, mappingB) {
// Optimized for most common case
var lineA = mappingA.generatedLine;
var lineB = mappingB.generatedLine;
var columnA = mappingA.generatedColumn;
var co... |
1,288,191 | 0e724c147544b5a75bee308a618ae8db | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1365-1375/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | MappingList | function | /**
* A data structure to provide a sorted view of accumulated mappings in a
* performance conscious manner. It trades a neglibable overhead in general
* case for a large speedup in case of mappings being added in order.
*/
function MappingList() {
this._array = [];
this._sorted = true;
// Serves as i... |
1,288,192 | 8c755e13c623aecc7ed6bd34783c8210 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1440-1449/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | SourceMapConsumer | function | function SourceMapConsumer(aSourceMap, aSourceMapURL) {
var sourceMap = aSourceMap;
if (typeof aSourceMap === 'string') {
sourceMap = util.parseSourceMapInput(aSourceMap);
}
return sourceMap.sections != null
? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)
: new BasicSourceMapConsum... |
1,288,193 | 2de3a8e07cbf2f627635dd78f453932d | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1680-1772/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | BasicSourceMapConsumer | function | /**
* 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). Acc... |
1,288,194 | 348ef905304a51e0d0e41c40eb9b81b6 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2254-2349/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | IndexedSourceMapConsumer | function | /**
* 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... |
1,288,195 | 63b9fc922cc5421c5e92160ebe12c20e | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2728-2738/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | randomIntInRange | function | /**
* Returns a random integer within the range `low .. high` inclusive.
*
* @param {Number} low
* The lower bound on the range.
* @param {Number} high
* The upper bound on the range.
*/
function randomIntInRange(low, high) {
return Math.round(low + (Math.random() * (high - low)));
} |
1,288,196 | 318d1db8ae94558d91b7f7a0e311599f | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2964-2977/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | addMappingWithCode | function | function addMappingWithCode(mapping, code) {
if (mapping === null || mapping.source === undefined) {
node.add(code);
} else {
var source = aRelativePath
? util.join(aRelativePath, mapping.source)
: mapping.source;
node.add(new SourceNode(mapping.originalLin... |
1,288,197 | 1b42dd49e156577bf8c1a54ca78ff8f6 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=721-746/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | getArg | function | /* -*- 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
*/
/**
* This is a helper function for getting values from parameter/options
* objects.
*
* @param a... |
1,288,198 | 776d3ed733121efb38d7b6da9da54270 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=767-786/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | urlGenerate | function | function urlGenerate(aParsedUrl) {
var url = '';
if (aParsedUrl.scheme) {
url += aParsedUrl.scheme + ':';
}
url += '//';
if (aParsedUrl.auth) {
url += aParsedUrl.auth + '@';
}
if (aParsedUrl.host) {
url += aParsedUrl.host;
}
if (aParsedUrl.port) {
url += ":" + aParsedUrl.p... |
1,288,199 | a27573a824851cfa572f70a39a44bf91 | swh:1:cnt:aad0620d70e16717ec338fc1d332279739e0d97c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=789-842/ | 5ef24329b1a2eabfdfe7fbfeba0a4276732d5c19 | wlbdashboard | wmcs | node_modules/workbox-webpack-plugin/node_modules/source-map/dist/source-map.debug.js | normalize | function | /**
* Normalizes a path, or the path portion of a URL:
*
* - Replaces consecutive slashes with one slash.
* - Removes unnecessary '.' parts.
* - Removes unnecessary '<dir>/..' parts.
*
* Based on code in the Node.js 'path' core module.
*
* @param aPath The path or url to normalize.
*/
function norm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.