1 line
24 KiB
JSON
1 line
24 KiB
JSON
{"id":"x5qu","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/finalize.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/finalize.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/finalize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/finalize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../Subscription","loc":{"line":4,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/finalize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscription.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.finalize=i;var e=n(require(\"tslib\")),r=require(\"../Subscriber\"),t=require(\"../Subscription\");function n(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}function i(e){return function(r){return r.lift(new u(e))}}var u=function(){function e(e){this.callback=e}return e.prototype.call=function(e,r){return r.subscribe(new c(e,this.callback))},e}(),c=function(r){function n(e,n){var i=r.call(this,e)||this;return i.add(new t.Subscription(n)),i}return e.__extends(n,r),n}(r.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":85}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":87}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":93}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":1,"column":150}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":169}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":178}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":180}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":186}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":189}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":191}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":202}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":209}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":211}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":215}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":220}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":223}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":229}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":231}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":235}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":239}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":244}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":246}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":256}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":281}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":286}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":288}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":291}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":292}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":296}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":298}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":305}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":321}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":328}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":353}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":360}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":385}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":387}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":390}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":393}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":395}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":402}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":406}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":413}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":428}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":430}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":432}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":435}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":437}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":442}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":452}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":454}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":462}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":464}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":1,"column":466}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":475}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":10},"generated":{"line":1,"column":477}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":480}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":487}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":496}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":499}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":506}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":508}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":513}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":517}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":1,"column":519}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":1,"column":524}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":42},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":22},"generated":{"line":1,"column":541}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":22},"generated":{"line":1,"column":550}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":22},"generated":{"line":1,"column":552}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":1,"column":555}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":1,"column":560}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":1,"column":569}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":571}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":11},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":11},"generated":{"line":1,"column":580}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":18},"generated":{"line":1,"column":590}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":1,"column":595}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":1,"column":604}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":50},"generated":{"line":1,"column":606}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":609}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":616}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":618}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":628}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":632}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":634}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":636}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":1,"column":641}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":653}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":42},"generated":{"line":1,"column":655}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":658}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":660}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":48},"generated":{"line":1,"column":669}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":1,"column":672}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":1,"column":681}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":1,"column":683}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":35,"column":10},"generated":{"line":1,"column":685}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":1,"column":688}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":1,"column":692}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":1,"column":694}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":17},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":17},"generated":{"line":1,"column":701}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":30},"generated":{"line":1,"column":706}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":41},"generated":{"line":1,"column":710}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":37,"column":3},"generated":{"line":1,"column":715}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":722}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":724}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":728}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":732}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":734}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":747}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":37,"column":3},"generated":{"line":1,"column":751}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":753}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":1,"column":760}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":1,"column":762}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":1,"column":772}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":14},"generated":{"line":1,"column":774}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":777}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":779}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":1,"column":782}}],"sources":{"../../../src/internal/operators/finalize.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { Observable } from '../Observable';\nimport { MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\n/**\n * Returns an Observable that mirrors the source Observable, but will call a specified function when\n * the source terminates on complete or error.\n * @param {function} callback Function to be called when source terminates.\n * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination.\n * @method finally\n * @owner Observable\n */\nexport function finalize<T>(callback: () => void): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new FinallyOperator(callback));\n}\n\nclass FinallyOperator<T> implements Operator<T, T> {\n constructor(private callback: () => void) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass FinallySubscriber<T> extends Subscriber<T> {\n constructor(destination: Subscriber<T>, callback: () => void) {\n super(destination);\n this.add(new Subscription(callback));\n }\n}\n"},"lineCount":null}},"hash":"2a2504f70b800ec507d94758d46fdf2c","cacheData":{"env":{}}} |