1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/subscribeToPromise.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":"./hostReportError","loc":{"line":2,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/hostReportError.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.subscribeToPromise = void 0;\n\nvar _hostReportError = require(\"./hostReportError\");\n\n/** PURE_IMPORTS_START _hostReportError PURE_IMPORTS_END */\nvar subscribeToPromise = function (promise) {\n return function (subscriber) {\n promise.then(function (value) {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, function (err) {\n return subscriber.error(err);\n }).then(null, _hostReportError.hostReportError);\n return subscriber;\n };\n};\n\nexports.subscribeToPromise = subscribeToPromise;","map":{"mappings":[{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":5,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":11,"column":4}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":6,"column":5},"generated":{"line":11,"column":22}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":6,"column":10},"generated":{"line":11,"column":25}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":6,"column":10},"generated":{"line":11,"column":35}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":6,"column":10},"generated":{"line":11,"column":42}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":6,"column":10},"generated":{"line":11,"column":44}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":7,"column":11},"generated":{"line":12,"column":19}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":7,"column":6},"generated":{"line":12,"column":29}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":7,"column":30},"generated":{"line":12,"column":31}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":13,"column":11}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":13,"column":12}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":13,"column":17}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":8,"column":24},"generated":{"line":13,"column":27}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":8,"column":8},"generated":{"line":13,"column":32}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":8,"column":31},"generated":{"line":13,"column":34}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":14,"column":10}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":14,"column":11}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":19},"generated":{"line":14,"column":21}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":19},"generated":{"line":14,"column":22}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":8},"generated":{"line":14,"column":28}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":9,"column":30},"generated":{"line":14,"column":30}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":8}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":18}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":19}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":23}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":24}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":10,"column":7},"generated":{"line":15,"column":29}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":16,"column":8}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":12,"column":18},"generated":{"line":16,"column":18}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":12,"column":18},"generated":{"line":16,"column":19}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":16,"column":27}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":14,"column":7},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":2},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":18,"column":7}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":19},"generated":{"line":18,"column":17}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":9},"generated":{"line":18,"column":20}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":18,"column":22}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":13}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":23}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":24}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":29}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":30}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":33}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":19,"column":34}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":15,"column":20},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":20,"column":7}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":20,"column":12}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":20,"column":18}},{"source":"../../../src/internal/util/subscribeToPromise.ts","name":null,"original":{"line":5,"column":2},"generated":{"line":23,"column":1}}],"sources":{"../../../src/internal/util/subscribeToPromise.ts":"import { Subscriber } from '../Subscriber';\nimport { hostReportError } from './hostReportError';\n\nexport const subscribeToPromise = <T>(promise: PromiseLike<T>) => (subscriber: Subscriber<T>) => {\n promise.then(\n (value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n },\n (err: any) => subscriber.error(err)\n )\n .then(null, hostReportError);\n return subscriber;\n};\n"},"lineCount":null}},"hash":"74fdbc1843a4b4de8812087036129bfd","cacheData":{"env":{}}} |