smartlog-destination-devtools/.cache/c7/1179cf638bfb6930887a03dc6f3995.json
2018-11-13 01:32:39 +01:00

1 line
22 KiB
JSON

{"id":"node_modules/pretty-bytes/index.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/package.json","includedInParent":true,"mtime":1542067438335},{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/pretty-bytes/package.json","includedInParent":true,"mtime":1542058764034}],"generated":{"js":"'use strict';\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function (obj) { return typeof obj; }; } else { _typeof = function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nconst UNITS = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\nmodule.exports = num => {\n if (!Number.isFinite(num)) {\n throw new TypeError(\"Expected a finite number, got \".concat(_typeof(num), \": \").concat(num));\n }\n\n const neg = num < 0;\n\n if (neg) {\n num = -num;\n }\n\n if (num < 1) {\n return (neg ? '-' : '') + num + ' B';\n }\n\n const exponent = Math.min(Math.floor(Math.log(num) / Math.log(1000)), UNITS.length - 1);\n const numStr = Number((num / Math.pow(1000, exponent)).toPrecision(3));\n const unit = UNITS[exponent];\n return (neg ? '-' : '') + numStr + ' ' + unit;\n};","map":{"mappings":[{"generated":{"line":1,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":1,"column":0}},{"generated":{"line":5,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":0}},{"name":"UNITS","generated":{"line":5,"column":6},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":6}},{"generated":{"line":5,"column":11},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":11}},{"generated":{"line":5,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":15},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":15}},{"generated":{"line":5,"column":18},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":20},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":20}},{"generated":{"line":5,"column":24},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":26},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":26}},{"generated":{"line":5,"column":30},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":32},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":32}},{"generated":{"line":5,"column":36},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":38},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":38}},{"generated":{"line":5,"column":42},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":44},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":44}},{"generated":{"line":5,"column":48},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":50},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":50}},{"generated":{"line":5,"column":54},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":56},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":56}},{"generated":{"line":5,"column":60},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":62},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":62}},{"generated":{"line":5,"column":66},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":14}},{"generated":{"line":5,"column":67},"source":"node_modules/pretty-bytes/index.js","original":{"line":2,"column":0}},{"name":"module","generated":{"line":7,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":0}},{"generated":{"line":7,"column":6},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":6}},{"name":"exports","generated":{"line":7,"column":7},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":7}},{"generated":{"line":7,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":0}},{"name":"num","generated":{"line":7,"column":17},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":17}},{"generated":{"line":7,"column":20},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":20}},{"generated":{"line":7,"column":24},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":24}},{"generated":{"line":8,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":1}},{"generated":{"line":8,"column":6},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":5}},{"name":"Number","generated":{"line":8,"column":7},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":6}},{"generated":{"line":8,"column":13},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":12}},{"name":"isFinite","generated":{"line":8,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":13}},{"generated":{"line":8,"column":22},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":6}},{"name":"num","generated":{"line":8,"column":23},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":22}},{"generated":{"line":8,"column":26},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":6}},{"generated":{"line":8,"column":27},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":1}},{"generated":{"line":8,"column":29},"source":"node_modules/pretty-bytes/index.js","original":{"line":5,"column":28}},{"generated":{"line":9,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":2}},{"generated":{"line":9,"column":10},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":8}},{"name":"TypeError","generated":{"line":9,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":12}},{"generated":{"line":9,"column":23},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":8}},{"name":"num","generated":{"line":9,"column":72},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":62}},{"generated":{"line":9,"column":75},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":8}},{"name":"num","generated":{"line":9,"column":91},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":70}},{"generated":{"line":9,"column":94},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":8}},{"generated":{"line":9,"column":96},"source":"node_modules/pretty-bytes/index.js","original":{"line":6,"column":2}},{"generated":{"line":10,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":7,"column":2}},{"generated":{"line":12,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":1}},{"name":"neg","generated":{"line":12,"column":8},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":7}},{"generated":{"line":12,"column":11},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":10}},{"name":"num","generated":{"line":12,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":13}},{"generated":{"line":12,"column":17},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":16}},{"generated":{"line":12,"column":20},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":19}},{"generated":{"line":12,"column":21},"source":"node_modules/pretty-bytes/index.js","original":{"line":9,"column":1}},{"generated":{"line":14,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":11,"column":1}},{"name":"neg","generated":{"line":14,"column":6},"source":"node_modules/pretty-bytes/index.js","original":{"line":11,"column":5}},{"generated":{"line":14,"column":9},"source":"node_modules/pretty-bytes/index.js","original":{"line":11,"column":1}},{"generated":{"line":14,"column":11},"source":"node_modules/pretty-bytes/index.js","original":{"line":11,"column":10}},{"name":"num","generated":{"line":15,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":12,"column":2}},{"name":"num","generated":{"line":15,"column":4},"source":"node_modules/pretty-bytes/index.js","original":{"line":12,"column":2}},{"generated":{"line":15,"column":7},"source":"node_modules/pretty-bytes/index.js","original":{"line":12,"column":5}},{"generated":{"line":15,"column":10},"source":"node_modules/pretty-bytes/index.js","original":{"line":12,"column":8}},{"name":"num","generated":{"line":15,"column":11},"source":"node_modules/pretty-bytes/index.js","original":{"line":12,"column":9}},{"generated":{"line":15,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":12,"column":2}},{"generated":{"line":16,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":13,"column":2}},{"generated":{"line":18,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":15,"column":1}},{"name":"num","generated":{"line":18,"column":6},"source":"node_modules/pretty-bytes/index.js","original":{"line":15,"column":5}},{"generated":{"line":18,"column":9},"source":"node_modules/pretty-bytes/index.js","original":{"line":15,"column":8}},{"generated":{"line":18,"column":12},"source":"node_modules/pretty-bytes/index.js","original":{"line":15,"column":11}},{"generated":{"line":18,"column":13},"source":"node_modules/pretty-bytes/index.js","original":{"line":15,"column":1}},{"generated":{"line":18,"column":15},"source":"node_modules/pretty-bytes/index.js","original":{"line":15,"column":14}},{"generated":{"line":19,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":2}},{"generated":{"line":19,"column":11},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":9}},{"name":"neg","generated":{"line":19,"column":12},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":10}},{"generated":{"line":19,"column":15},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":13}},{"generated":{"line":19,"column":18},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":16}},{"generated":{"line":19,"column":21},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":13}},{"generated":{"line":19,"column":24},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":22}},{"generated":{"line":19,"column":26},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":9}},{"name":"num","generated":{"line":19,"column":30},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":28}},{"generated":{"line":19,"column":33},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":9}},{"generated":{"line":19,"column":36},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":34}},{"generated":{"line":19,"column":40},"source":"node_modules/pretty-bytes/index.js","original":{"line":16,"column":2}},{"generated":{"line":20,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":17,"column":2}},{"generated":{"line":22,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":1}},{"name":"exponent","generated":{"line":22,"column":8},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":7}},{"generated":{"line":22,"column":16},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":15}},{"name":"Math","generated":{"line":22,"column":19},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":18}},{"generated":{"line":22,"column":23},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":22}},{"name":"min","generated":{"line":22,"column":24},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":23}},{"generated":{"line":22,"column":27},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":18}},{"name":"Math","generated":{"line":22,"column":28},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":27}},{"generated":{"line":22,"column":32},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":31}},{"name":"floor","generated":{"line":22,"column":33},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":32}},{"generated":{"line":22,"column":38},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":27}},{"name":"Math","generated":{"line":22,"column":39},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":38}},{"generated":{"line":22,"column":43},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":42}},{"name":"log","generated":{"line":22,"column":44},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":43}},{"generated":{"line":22,"column":47},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":38}},{"name":"num","generated":{"line":22,"column":48},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":47}},{"generated":{"line":22,"column":51},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":38}},{"name":"Math","generated":{"line":22,"column":55},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":54}},{"generated":{"line":22,"column":59},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":58}},{"name":"log","generated":{"line":22,"column":60},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":59}},{"generated":{"line":22,"column":63},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":54}},{"generated":{"line":22,"column":64},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":63}},{"generated":{"line":22,"column":68},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":54}},{"generated":{"line":22,"column":69},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":27}},{"generated":{"line":22,"column":70},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":18}},{"name":"UNITS","generated":{"line":22,"column":72},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":71}},{"generated":{"line":22,"column":77},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":76}},{"name":"length","generated":{"line":22,"column":78},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":77}},{"generated":{"line":22,"column":84},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":71}},{"generated":{"line":22,"column":87},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":86}},{"generated":{"line":22,"column":88},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":18}},{"generated":{"line":22,"column":89},"source":"node_modules/pretty-bytes/index.js","original":{"line":19,"column":1}},{"generated":{"line":23,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":1}},{"name":"numStr","generated":{"line":23,"column":8},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":7}},{"generated":{"line":23,"column":14},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":13}},{"name":"Number","generated":{"line":23,"column":17},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":16}},{"generated":{"line":23,"column":23},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":22}},{"generated":{"line":23,"column":24},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":23}},{"name":"num","generated":{"line":23,"column":25},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":24}},{"generated":{"line":23,"column":28},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":27}},{"name":"Math","generated":{"line":23,"column":31},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":30}},{"generated":{"line":23,"column":35},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":34}},{"name":"pow","generated":{"line":23,"column":36},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":35}},{"generated":{"line":23,"column":39},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":30}},{"generated":{"line":23,"column":40},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":39}},{"generated":{"line":23,"column":44},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":30}},{"name":"exponent","generated":{"line":23,"column":46},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":45}},{"generated":{"line":23,"column":54},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":30}},{"generated":{"line":23,"column":55},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":23}},{"name":"toPrecision","generated":{"line":23,"column":57},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":56}},{"generated":{"line":23,"column":68},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":23}},{"generated":{"line":23,"column":69},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":68}},{"generated":{"line":23,"column":70},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":23}},{"generated":{"line":23,"column":71},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":22}},{"generated":{"line":23,"column":72},"source":"node_modules/pretty-bytes/index.js","original":{"line":20,"column":1}},{"generated":{"line":24,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":1}},{"name":"unit","generated":{"line":24,"column":8},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":7}},{"generated":{"line":24,"column":12},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":11}},{"name":"UNITS","generated":{"line":24,"column":15},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":14}},{"generated":{"line":24,"column":20},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":19}},{"name":"exponent","generated":{"line":24,"column":21},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":20}},{"generated":{"line":24,"column":29},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":19}},{"generated":{"line":24,"column":30},"source":"node_modules/pretty-bytes/index.js","original":{"line":21,"column":1}},{"generated":{"line":25,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":1}},{"generated":{"line":25,"column":9},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":8}},{"name":"neg","generated":{"line":25,"column":10},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":9}},{"generated":{"line":25,"column":13},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":12}},{"generated":{"line":25,"column":16},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":15}},{"generated":{"line":25,"column":19},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":12}},{"generated":{"line":25,"column":22},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":21}},{"generated":{"line":25,"column":24},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":8}},{"name":"numStr","generated":{"line":25,"column":28},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":27}},{"generated":{"line":25,"column":34},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":8}},{"generated":{"line":25,"column":37},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":36}},{"generated":{"line":25,"column":40},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":8}},{"name":"unit","generated":{"line":25,"column":43},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":42}},{"generated":{"line":25,"column":47},"source":"node_modules/pretty-bytes/index.js","original":{"line":23,"column":1}},{"generated":{"line":26,"column":0},"source":"node_modules/pretty-bytes/index.js","original":{"line":24,"column":1}},{"generated":{"line":26,"column":1},"source":"node_modules/pretty-bytes/index.js","original":{"line":4,"column":0}}],"sources":{"node_modules/pretty-bytes/index.js":"'use strict';\nconst UNITS = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\nmodule.exports = num => {\n\tif (!Number.isFinite(num)) {\n\t\tthrow new TypeError(`Expected a finite number, got ${typeof num}: ${num}`);\n\t}\n\n\tconst neg = num < 0;\n\n\tif (neg) {\n\t\tnum = -num;\n\t}\n\n\tif (num < 1) {\n\t\treturn (neg ? '-' : '') + num + ' B';\n\t}\n\n\tconst exponent = Math.min(Math.floor(Math.log(num) / Math.log(1000)), UNITS.length - 1);\n\tconst numStr = Number((num / Math.pow(1000, exponent)).toPrecision(3));\n\tconst unit = UNITS[exponent];\n\n\treturn (neg ? '-' : '') + numStr + ' ' + unit;\n};\n"},"lineCount":null}},"hash":"04580261afdebb1327769b1911acd1ca","cacheData":{"env":{}}}