webdetector/.cache/bf/a4bb1da13c49eee8e491e5a7fcae99.json
2018-12-21 13:36:28 +01:00

1 line
22 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/operators/endWith.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/endWith.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/endWith.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":"../observable/fromArray","loc":{"line":2,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/endWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromArray.js"},{"name":"../observable/scalar","loc":{"line":3,"column":23},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/endWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/scalar.js"},{"name":"../observable/empty","loc":{"line":4,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/endWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/empty.js"},{"name":"../observable/concat","loc":{"line":5,"column":39},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/endWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js"},{"name":"../util/isScheduler","loc":{"line":6,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/endWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isScheduler.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.endWith = endWith;\n\nvar _fromArray = require(\"../observable/fromArray\");\n\nvar _scalar = require(\"../observable/scalar\");\n\nvar _empty = require(\"../observable/empty\");\n\nvar _concat = require(\"../observable/concat\");\n\nvar _isScheduler = require(\"../util/isScheduler\");\n\n/** PURE_IMPORTS_START _observable_fromArray,_observable_scalar,_observable_empty,_observable_concat,_util_isScheduler PURE_IMPORTS_END */\nfunction endWith() {\n var array = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i] = arguments[_i];\n }\n\n return function (source) {\n var scheduler = array[array.length - 1];\n\n if ((0, _isScheduler.isScheduler)(scheduler)) {\n array.pop();\n } else {\n scheduler = null;\n }\n\n var len = array.length;\n\n if (len === 1 && !scheduler) {\n return (0, _concat.concat)(source, (0, _scalar.scalar)(array[0]));\n } else if (len > 0) {\n return (0, _concat.concat)(source, (0, _fromArray.fromArray)(array, scheduler));\n } else {\n return (0, _concat.concat)(source, (0, _empty.empty)(scheduler));\n }\n };\n}","map":{"mappings":[{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":19,"column":16}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":61},"generated":{"line":19,"column":19}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":20,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":20,"column":14}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":7}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":13}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":16}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":19}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":21}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":27},"generated":{"line":22,"column":24}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":61},"generated":{"line":22,"column":33}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":61},"generated":{"line":22,"column":34}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":61},"generated":{"line":22,"column":42}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":61},"generated":{"line":22,"column":44}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":49,"column":61},"generated":{"line":22,"column":48}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":50,"column":2},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":51,"column":4},"generated":{"line":26,"column":9}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":51,"column":17},"generated":{"line":26,"column":19}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":51,"column":4},"generated":{"line":26,"column":25}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":51,"column":40},"generated":{"line":26,"column":27}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":27,"column":8}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":27,"column":17}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":20},"generated":{"line":27,"column":20}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":20},"generated":{"line":27,"column":25}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":20},"generated":{"line":27,"column":26}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":30},"generated":{"line":27,"column":31}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":27,"column":32}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":20},"generated":{"line":27,"column":38}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":27,"column":41}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":20},"generated":{"line":27,"column":42}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":27,"column":43}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":29,"column":8}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":53,"column":18},"generated":{"line":29,"column":38}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":29,"column":47}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":53,"column":18},"generated":{"line":29,"column":50}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":54,"column":5},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":54,"column":5},"generated":{"line":30,"column":6}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":54,"column":5},"generated":{"line":30,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":54,"column":5},"generated":{"line":30,"column":12}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":54,"column":5},"generated":{"line":30,"column":15}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":55,"column":6},"generated":{"line":31,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":56,"column":5},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":56,"column":5},"generated":{"line":32,"column":6}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":56,"column":5},"generated":{"line":32,"column":15}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":56,"column":5},"generated":{"line":32,"column":18}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":56,"column":5},"generated":{"line":32,"column":22}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":4},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":8},"generated":{"line":35,"column":8}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":11},"generated":{"line":35,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":11},"generated":{"line":35,"column":14}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":17},"generated":{"line":35,"column":19}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":17},"generated":{"line":35,"column":20}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":59,"column":4},"generated":{"line":35,"column":26}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":37,"column":8}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":37,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":13},"generated":{"line":37,"column":16}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":37,"column":17}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":13},"generated":{"line":37,"column":21}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":13},"generated":{"line":37,"column":22}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":60,"column":26},"generated":{"line":37,"column":33}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":13}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":33}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":39}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":41}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":61}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":66}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":67}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":68}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":69}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":70}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":38,"column":71}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":6},"generated":{"line":39,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":6},"generated":{"line":39,"column":15}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":13},"generated":{"line":39,"column":18}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":13},"generated":{"line":39,"column":21}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":6},"generated":{"line":39,"column":22}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":13},"generated":{"line":39,"column":24}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":13}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":33}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":39}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":41}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":67}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":72}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":74}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":83}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":84}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":63,"column":5},"generated":{"line":40,"column":85}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":62,"column":6},"generated":{"line":41,"column":5}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":64,"column":6},"generated":{"line":41,"column":11}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":13}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":33}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":39}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":41}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":59}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":68}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":69}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":65,"column":5},"generated":{"line":42,"column":70}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":66,"column":4},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/endWith.ts","name":null,"original":{"line":67,"column":1},"generated":{"line":44,"column":0}}],"sources":{"../../../src/internal/operators/endWith.ts":"import { Observable } from '../Observable';\nimport { fromArray } from '../observable/fromArray';\nimport { scalar } from '../observable/scalar';\nimport { empty } from '../observable/empty';\nimport { concat as concatStatic } from '../observable/concat';\nimport { isScheduler } from '../util/isScheduler';\nimport { MonoTypeOperatorFunction, SchedulerLike } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function endWith<T>(scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(v1: T, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(v1: T, v2: T, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(v1: T, v2: T, v3: T, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(v1: T, v2: T, v3: T, v4: T, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(v1: T, v2: T, v3: T, v4: T, v5: T, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(v1: T, v2: T, v3: T, v4: T, v5: T, v6: T, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function endWith<T>(...array: Array<T | SchedulerLike>): MonoTypeOperatorFunction<T>;\n/* tslint:enable:max-line-length */\n\n/**\n * Returns an Observable that emits the items you specify as arguments after it finishes emitting\n * items emitted by the source Observable.\n *\n * ![](endWith.png)\n *\n * ## Example\n * ### After the source observable completes, appends an emission and then completes too.\n *\n * ```javascript\n * of('hi', 'how are you?', 'sorry, I have to go now').pipe(\n * endWith('goodbye!'),\n * )\n * .subscribe(word => console.log(word));\n * // result:\n * // 'hi'\n * // 'how are you?'\n * // 'sorry, I have to go now'\n * // 'goodbye!'\n * ```\n *\n * @param {...T} values - Items you want the modified Observable to emit last.\n * @param {SchedulerLike} [scheduler] - A {@link SchedulerLike} to use for scheduling\n * the emissions of the `next` notifications.\n * @return {Observable} An Observable that emits the items emitted by the source Observable\n * and then emits the items in the specified Iterable.\n * @method endWith\n * @owner Observable\n */\nexport function endWith<T>(...array: Array<T | SchedulerLike>): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => {\n let scheduler = <SchedulerLike>array[array.length - 1];\n if (isScheduler(scheduler)) {\n array.pop();\n } else {\n scheduler = null;\n }\n\n const len = array.length;\n if (len === 1 && !scheduler) {\n return concatStatic(source, scalar(array[0] as T));\n } else if (len > 0) {\n return concatStatic(source, fromArray(array as T[], scheduler));\n } else {\n return concatStatic<T>(source, empty(scheduler) as any);\n }\n };\n}\n"},"lineCount":null}},"hash":"45bbed903b05148422cb858ec9d189c8","cacheData":{"env":{}}}