webdetector/.cache/06/60afa7c6675593f5110ac33e0b7d58.json
2018-12-21 13:36:28 +01:00

1 line
16 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/subscribeToIterable.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../symbol/iterator","loc":{"line":2,"column":44},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/iterator.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.subscribeToIterable = void 0;\n\nvar _iterator = require(\"../symbol/iterator\");\n\n/** PURE_IMPORTS_START _symbol_iterator PURE_IMPORTS_END */\nvar subscribeToIterable = function (iterable) {\n return function (subscriber) {\n var iterator = iterable[_iterator.iterator]();\n\n do {\n var item = iterator.next();\n\n if (item.done) {\n subscriber.complete();\n break;\n }\n\n subscriber.next(item.value);\n\n if (subscriber.closed) {\n break;\n }\n } while (true);\n\n if (typeof iterator.return === 'function') {\n subscriber.add(function () {\n if (iterator.return) {\n iterator.return();\n }\n });\n }\n\n return subscriber;\n };\n};\n\nexports.subscribeToIterable = subscribeToIterable;","map":{"mappings":[{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":8},"generated":{"line":11,"column":4}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":11,"column":23}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":11,"column":26}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":43},"generated":{"line":11,"column":36}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":28},"generated":{"line":11,"column":44}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":47},"generated":{"line":11,"column":46}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":6,"column":5},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":6,"column":5},"generated":{"line":12,"column":19}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":6,"column":5},"generated":{"line":12,"column":29}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":6,"column":5},"generated":{"line":12,"column":31}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":4},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":10},"generated":{"line":13,"column":8}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":17},"generated":{"line":13,"column":16}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":17},"generated":{"line":13,"column":19}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":26},"generated":{"line":13,"column":27}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":30},"generated":{"line":13,"column":28}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":26},"generated":{"line":13,"column":46}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":17},"generated":{"line":13,"column":47}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":7,"column":4},"generated":{"line":13,"column":49}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":8,"column":4},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":8,"column":4},"generated":{"line":15,"column":7}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":6},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":6},"generated":{"line":16,"column":10}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":6},"generated":{"line":16,"column":14}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":17},"generated":{"line":16,"column":17}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":25},"generated":{"line":16,"column":25}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":25},"generated":{"line":16,"column":26}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":17},"generated":{"line":16,"column":30}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":9,"column":6},"generated":{"line":16,"column":32}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":18,"column":10}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":10,"column":12},"generated":{"line":18,"column":14}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":10,"column":12},"generated":{"line":18,"column":15}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":10,"column":6},"generated":{"line":18,"column":19}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":10,"column":12},"generated":{"line":18,"column":21}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":11,"column":5},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":11,"column":5},"generated":{"line":19,"column":8}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":11,"column":5},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":11,"column":5},"generated":{"line":19,"column":19}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":11,"column":5},"generated":{"line":19,"column":27}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":23,"column":6}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":12},"generated":{"line":23,"column":16}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":12},"generated":{"line":23,"column":17}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":23,"column":21}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":12},"generated":{"line":23,"column":22}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":12},"generated":{"line":23,"column":26}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":12},"generated":{"line":23,"column":27}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":23,"column":32}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":25,"column":10}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":25,"column":20}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":25,"column":21}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":25,"column":27}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":25,"column":29}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":16,"column":11},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":19,"column":6},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":8,"column":4},"generated":{"line":28,"column":5}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":20,"column":4},"generated":{"line":28,"column":13}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":8,"column":4},"generated":{"line":28,"column":17}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":6},"generated":{"line":30,"column":8}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":10},"generated":{"line":30,"column":15}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":19},"generated":{"line":30,"column":23}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":19},"generated":{"line":30,"column":24}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":6},"generated":{"line":30,"column":30}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":27},"generated":{"line":30,"column":35}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":21,"column":27},"generated":{"line":30,"column":47}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":31,"column":16}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":31,"column":17}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":22,"column":17},"generated":{"line":31,"column":21}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":22,"column":26},"generated":{"line":31,"column":33}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":32,"column":12}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":32,"column":20}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":32,"column":21}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":32,"column":27}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":32,"column":29}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":24,"column":7},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":24,"column":7},"generated":{"line":33,"column":10}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":24,"column":7},"generated":{"line":33,"column":18}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":24,"column":7},"generated":{"line":33,"column":19}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":24,"column":7},"generated":{"line":33,"column":25}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":27,"column":9},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":39,"column":3}},{"source":"../../../src/internal/util/subscribeToIterable.ts","name":null,"original":{"line":5,"column":2},"generated":{"line":40,"column":1}}],"sources":{"../../../src/internal/util/subscribeToIterable.ts":"import { Subscriber } from '../Subscriber';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\n\nexport const subscribeToIterable = <T>(iterable: Iterable<T>) => (subscriber: Subscriber<T>) => {\n const iterator = iterable[Symbol_iterator]();\n do {\n const item = iterator.next();\n if (item.done) {\n subscriber.complete();\n break;\n }\n subscriber.next(item.value);\n if (subscriber.closed) {\n break;\n }\n } while (true);\n\n // Finalize the iterator if it happens to be a Generator\n if (typeof iterator.return === 'function') {\n subscriber.add(() => {\n if (iterator.return) {\n iterator.return();\n }\n });\n }\n\n return subscriber;\n};\n"},"lineCount":null}},"hash":"d267d25734adf3f5b79d067c36d391fd","cacheData":{"env":{}}}