webdetector/.cache/96/88879d1b3aad506e35afa7f18d5f0a.json

1 line
25 KiB
JSON
Raw Normal View History

2018-12-21 12:36:28 +00:00
{"id":"../node_modules/rxjs/_esm5/internal/operators/timeInterval.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeInterval.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/timeInterval.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":"../scheduler/async","loc":{"line":2,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeInterval.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/async.js"},{"name":"./scan","loc":{"line":3,"column":21},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeInterval.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/scan.js"},{"name":"../observable/defer","loc":{"line":4,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeInterval.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/defer.js"},{"name":"./map","loc":{"line":5,"column":20},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeInterval.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/map.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.timeInterval = timeInterval;\nexports.TimeInterval = void 0;\n\nvar _async = require(\"../scheduler/async\");\n\nvar _scan = require(\"./scan\");\n\nvar _defer = require(\"../observable/defer\");\n\nvar _map = require(\"./map\");\n\n/** PURE_IMPORTS_START _scheduler_async,_scan,_observable_defer,_map PURE_IMPORTS_END */\nfunction timeInterval(scheduler) {\n if (scheduler === void 0) {\n scheduler = _async.async;\n }\n\n return function (source) {\n return (0, _defer.defer)(function () {\n return source.pipe((0, _scan.scan)(function (_a, value) {\n var current = _a.current;\n return {\n value: value,\n current: scheduler.now(),\n last: current\n };\n }, {\n current: scheduler.now(),\n value: undefined,\n last: undefined\n }), (0, _map.map)(function (_a) {\n var current = _a.current,\n last = _a.last,\n value = _a.value;\n return new TimeInterval(value, current - last);\n }));\n });\n };\n}\n\nvar TimeInterval =\n/*@__PURE__*/\nfunction () {\n function TimeInterval(value, interval) {\n this.value = value;\n this.interval = interval;\n }\n\n return TimeInterval;\n}();\n\nexports.TimeInterval = TimeInterval;","map":{"mappings":[{"source":"../../../src/internal/operators/timeInterval.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":9,"column":0}},{"source":"../../../src/internal/operators/timeInterval.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/operators/timeInterval.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/operators/timeInterval.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/operators/timeInterval.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/timeInterval.ts","name":null,"original":{"line":9,"column":32},"generated":{"line":18,"column":0}},{"source":"../../