1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/util/canReportError.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/canReportError.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/canReportError.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":"../Subscriber","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/canReportError.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.canReportError = canReportError;\n\nvar _Subscriber = require(\"../Subscriber\");\n\n/** PURE_IMPORTS_START _Subscriber PURE_IMPORTS_END */\nfunction canReportError(observer) {\n while (observer) {\n var _a = observer,\n closed_1 = _a.closed,\n destination = _a.destination,\n isStopped = _a.isStopped;\n\n if (closed_1 || isStopped) {\n return false;\n } else if (destination && destination instanceof _Subscriber.Subscriber) {\n observer = destination;\n } else {\n observer = null;\n }\n }\n\n return true;\n}","map":{"mappings":[{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":11,"column":9}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":11,"column":23}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":11,"column":19},"generated":{"line":11,"column":24}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":11,"column":32}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":11,"column":19},"generated":{"line":11,"column":34}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":12,"column":10},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":12,"column":10},"generated":{"line":12,"column":19}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":13,"column":8}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":13,"column":10}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":8},"generated":{"line":13,"column":13}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":13,"column":21}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":18},"generated":{"line":14,"column":8}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":14,"column":16}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":14,"column":19}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":14,"column":21}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":14,"column":22}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":14,"column":28}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":15,"column":8}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":15,"column":19}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":15,"column":22}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":15,"column":24}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":15,"column":25}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":15,"column":36}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":16,"column":8}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":16,"column":17}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":16,"column":20}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":16,"column":22}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":29},"generated":{"line":16,"column":23}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":16,"column":32}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":14,"column":6},"generated":{"line":18,"column":8}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":18,"column":16}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":14,"column":18},"generated":{"line":18,"column":20}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":14,"column":19},"generated":{"line":18,"column":31}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":19,"column":13}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":6},"generated":{"line":20,"column":11}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":6},"generated":{"line":20,"column":15}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":17},"generated":{"line":20,"column":26}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":17},"generated":{"line":20,"column":30}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":29},"generated":{"line":20,"column":41}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":29},"generated":{"line":20,"column":53}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":6},"generated":{"line":20,"column":75}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":29},"generated":{"line":20,"column":77}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":17,"column":5},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":17,"column":5},"generated":{"line":21,"column":6}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":17,"column":5},"generated":{"line":21,"column":14}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":17,"column":5},"generated":{"line":21,"column":17}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":17,"column":5},"generated":{"line":21,"column":28}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":16,"column":6},"generated":{"line":22,"column":5}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":18,"column":6},"generated":{"line":22,"column":11}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":19,"column":5},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":19,"column":5},"generated":{"line":23,"column":6}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":19,"column":5},"generated":{"line":23,"column":14}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":19,"column":5},"generated":{"line":23,"column":17}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":19,"column":5},"generated":{"line":23,"column":21}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":20,"column":3},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":21,"column":2},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":22,"column":1},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":22,"column":1},"generated":{"line":27,"column":9}},{"source":"../../../src/internal/util/canReportError.ts","name":null,"original":{"line":22,"column":1},"generated":{"line":27,"column":13}}],"sources":{"../../../src/internal/util/canReportError.ts":"import { Subscriber } from '../Subscriber';\nimport { Subject } from '../Subject';\n\n/**\n * Determines whether the ErrorObserver is closed or stopped or has a\n * destination that is closed or stopped - in which case errors will\n * need to be reported via a different mechanism.\n * @param observer the observer\n */\nexport function canReportError(observer: Subscriber<any> | Subject<any>): boolean {\n while (observer) {\n const { closed, destination, isStopped } = observer as any;\n if (closed || isStopped) {\n return false;\n } else if (destination && destination instanceof Subscriber) {\n observer = destination;\n } else {\n observer = null;\n }\n }\n return true;\n}\n"},"lineCount":null}},"hash":"e47bd074b43d0c8865730bc67955ba9d","cacheData":{"env":{}}} |