1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"id":"SEU0","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/toSubscriber.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":"../Subscriber","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../symbol/rxSubscriber","loc":{"line":3,"column":51},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js"},{"name":"../Observer","loc":{"line":4,"column":39},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observer.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.toSubscriber=i;var r=require(\"../Subscriber\"),e=require(\"../symbol/rxSubscriber\"),b=require(\"../Observer\");function i(i,u,s){if(i){if(i instanceof r.Subscriber)return i;if(i[e.rxSubscriber])return i[e.rxSubscriber]()}return i||u||s?new r.Subscriber(i,u,s):new r.Subscriber(b.empty)}","map":{"mappings":[{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":124}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":132}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":158}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":160}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":168}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":1,"column":192}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":1,"column":194}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":1,"column":196}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":1,"column":198}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":1,"column":201}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":1,"column":204}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":1,"column":206}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":1,"column":207}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":1,"column":210}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":46},"generated":{"line":1,"column":223}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":46},"generated":{"line":1,"column":225}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":14,"column":5},"generated":{"line":1,"column":236}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":14,"column":5},"generated":{"line":1,"column":243}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":1,"column":245}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":1,"column":248}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":250}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":1,"column":252}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":1,"column":273}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":1,"column":275}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":1,"column":277}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":293}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":1,"column":300}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":15},"generated":{"line":1,"column":303}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":26},"generated":{"line":1,"column":306}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":308}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":312}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":314}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":325}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":327}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":1,"column":329}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":1,"column":332}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":1,"column":336}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":1,"column":338}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":1,"column":349}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":1,"column":351}}],"sources":{"../../../src/internal/util/toSubscriber.ts":"import { Subscriber } from '../Subscriber';\nimport { rxSubscriber as rxSubscriberSymbol } from '../symbol/rxSubscriber';\nimport { empty as emptyObserver } from '../Observer';\nimport { PartialObserver } from '../types';\n\nexport function toSubscriber<T>(\n nextOrObserver?: PartialObserver<T> | ((value: T) => void),\n error?: (error: any) => void,\n complete?: () => void): Subscriber<T> {\n\n if (nextOrObserver) {\n if (nextOrObserver instanceof Subscriber) {\n return (<Subscriber<T>> nextOrObserver);\n }\n\n if (nextOrObserver[rxSubscriberSymbol]) {\n return nextOrObserver[rxSubscriberSymbol]();\n }\n }\n\n if (!nextOrObserver && !error && !complete) {\n return new Subscriber(emptyObserver);\n }\n\n return new Subscriber(nextOrObserver, error, complete);\n}\n"},"lineCount":null}},"hash":"ae08b7e103ca94f3826c108ea14adcad","cacheData":{"env":{}}} |