1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/util/pipe.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/pipe.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/pipe.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":"./noop","loc":{"line":2,"column":21},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/pipe.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/noop.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.pipe = pipe;\nexports.pipeFromArray = pipeFromArray;\n\nvar _noop = require(\"./noop\");\n\n/** PURE_IMPORTS_START _noop PURE_IMPORTS_END */\nfunction pipe() {\n var fns = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n\n return pipeFromArray(fns);\n}\n\nfunction pipeFromArray(fns) {\n if (!fns) {\n return _noop.noop;\n }\n\n if (fns.length === 1) {\n return fns[0];\n }\n\n return function piped(input) {\n return fns.reduce(function (prev, fn) {\n return fn(prev);\n }, input);\n };\n}","map":{"mappings":[{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":0},"generated":{"line":9,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":12,"column":13}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":59},"generated":{"line":12,"column":16}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":13,"column":9}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":13,"column":12}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":7}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":11}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":13}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":16}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":19}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":21}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":15,"column":24}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":59},"generated":{"line":15,"column":33}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":59},"generated":{"line":15,"column":34}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":59},"generated":{"line":15,"column":42}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":59},"generated":{"line":15,"column":44}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":18,"column":59},"generated":{"line":15,"column":48}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":19,"column":2},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":19,"column":22}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":19,"column":23}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":19,"column":26}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":19,"column":27}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":23,"column":0},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":22,"column":9}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":22,"column":22}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":22,"column":23}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":22,"column":26}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":24,"column":12},"generated":{"line":22,"column":28}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":23,"column":6}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":23,"column":7}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":23,"column":12}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":24,"column":11}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":24,"column":21}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":27,"column":6}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":27,"column":9}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":27,"column":10}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":27,"column":16}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":27,"column":21}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":29,"column":18},"generated":{"line":27,"column":24}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":11}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":14}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":15}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":16}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":17}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":31,"column":9}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":33,"column":15},"generated":{"line":31,"column":18}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":31,"column":23}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":33,"column":22},"generated":{"line":31,"column":24}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":31,"column":29}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":33,"column":22},"generated":{"line":31,"column":31}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":11}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":14}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":15}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":21}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":22}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":32}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":36}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":38}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":40}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":32,"column":42}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":33,"column":13}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":33,"column":15}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":33,"column":16}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":33,"column":20}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":33,"column":21}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":34,"column":5}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":34,"column":7}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":34,"column":12}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":34,"column":13}},{"source":"../../../src/internal/util/pipe.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":35,"column":0}}],"sources":{"../../../src/internal/util/pipe.ts":"import { noop } from './noop';\nimport { UnaryFunction } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function pipe<T>(): UnaryFunction<T, T>;\nexport function pipe<T, A>(fn1: UnaryFunction<T, A>): UnaryFunction<T, A>;\nexport function pipe<T, A, B>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>): UnaryFunction<T, B>;\nexport function pipe<T, A, B, C>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>): UnaryFunction<T, C>;\nexport function pipe<T, A, B, C, D>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>): UnaryFunction<T, D>;\nexport function pipe<T, A, B, C, D, E>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>): UnaryFunction<T, E>;\nexport function pipe<T, A, B, C, D, E, F>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>): UnaryFunction<T, F>;\nexport function pipe<T, A, B, C, D, E, F, G>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>): UnaryFunction<T, G>;\nexport function pipe<T, A, B, C, D, E, F, G, H>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>): UnaryFunction<T, H>;\nexport function pipe<T, A, B, C, D, E, F, G, H, I>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>, fn9: UnaryFunction<H, I>): UnaryFunction<T, I>;\nexport function pipe<T, A, B, C, D, E, F, G, H, I>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>, fn9: UnaryFunction<H, I>, ...fns: UnaryFunction<any, any>[]): UnaryFunction<T, {}>;\n/* tslint:enable:max-line-length */\n\nexport function pipe(...fns: Array<UnaryFunction<any, any>>): UnaryFunction<any, any> {\n return pipeFromArray(fns);\n}\n\n/** @internal */\nexport function pipeFromArray<T, R>(fns: Array<UnaryFunction<T, R>>): UnaryFunction<T, R> {\n if (!fns) {\n return noop as UnaryFunction<any, any>;\n }\n\n if (fns.length === 1) {\n return fns[0];\n }\n\n return function piped(input: T): R {\n return fns.reduce((prev: any, fn: UnaryFunction<T, R>) => fn(prev), input as any);\n };\n}\n"},"lineCount":null}},"hash":"6c8de8e273449143386ea35f906ec035","cacheData":{"env":{}}} |