webdetector/.cache/1d/6f64cf543da3b60075798b5ce9d231.json
2018-12-21 13:36:28 +01:00

1 line
5.1 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/util/isNumeric.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isNumeric.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/isNumeric.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":"./isArray","loc":{"line":2,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isNumeric.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isNumeric = isNumeric;\n\nvar _isArray = require(\"./isArray\");\n\n/** PURE_IMPORTS_START _isArray PURE_IMPORTS_END */\nfunction isNumeric(val) {\n return !(0, _isArray.isArray)(val) && val - parseFloat(val) + 1 >= 0;\n}","map":{"mappings":[{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":8,"column":10},"generated":{"line":11,"column":9}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":11,"column":18}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":8,"column":22},"generated":{"line":11,"column":19}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":11,"column":22}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":8,"column":27},"generated":{"line":11,"column":24}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":10}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":32}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":35}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":36}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":40}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":43}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":46}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":56}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":57}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":60}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":61}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":64}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":65}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":69}},{"source":"../../../src/internal/util/isNumeric.ts","name":null,"original":{"line":9,"column":1},"generated":{"line":12,"column":70}}],"sources":{"../../../src/internal/util/isNumeric.ts":"import { isArray } from './isArray';\n\nexport function isNumeric(val: any): val is number | string {\n // parseFloat NaNs numeric-cast false positives (null|true|false|\"\")\n // ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n // subtraction forces infinities to NaN\n // adding 1 corrects loss of precision from parseFloat (#15100)\n return !isArray(val) && (val - parseFloat(val) + 1) >= 0;\n}\n"},"lineCount":null}},"hash":"a59d148cdd8ace29b999b07249867621","cacheData":{"env":{}}}