smartlog-destination-devtools/.cache/d7/7fe2461eb92444bda6d76729c37f0d.json

1 line
23 KiB
JSON
Raw Normal View History

2018-11-13 00:32:39 +00:00
{"id":"node_modules/@pushrocks/early/dist/index.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/early/ts/index.ts","includedInParent":true,"mtime":499162500000},{"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/@pushrocks/early/package.json","includedInParent":true,"mtime":1542058764035},{"name":"@pushrocks/consolecolor","loc":{"line":3,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/early/dist/index.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/consolecolor/dist/index.js"},{"name":"@pushrocks/smartpromise","loc":{"line":4,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/early/dist/index.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/smartpromise/dist/index.js"},{"name":"./early.hrtMeasurement","loc":{"line":5,"column":39},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/early/dist/index.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/early/dist/early.hrtMeasurement.js"},{"name":"process","parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/early/dist/index.js","resolved":"/Users/philkunz/.nvm/versions/node/v10.13.0/lib/node_modules/parcel-bundler/node_modules/process/browser.js"}],"generated":{"js":"var process = require(\"process\");\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst consolecolor = require(\"@pushrocks/consolecolor\");\nconst smartpromise = require(\"@pushrocks/smartpromise\");\nconst early_hrtMeasurement_1 = require(\"./early.hrtMeasurement\");\nexports.HrtMeasurement = early_hrtMeasurement_1.HrtMeasurement;\nlet doText = false;\nlet moduleName = 'undefined module name';\nlet startHrt;\nif (process.argv.indexOf('-v') === -1) {\n doText = true;\n}\n/**\n * start the loading\n */\nexports.start = function (moduleNameArg = '', loaderLengthArg = '10') {\n moduleName = moduleNameArg;\n startHrt = new early_hrtMeasurement_1.HrtMeasurement();\n startHrt.start();\n if (doText) {\n console.log(`**** starting ${consolecolor.coloredString(moduleNameArg, 'green')} ****`);\n }\n};\nexports.stop = () => {\n let done = smartpromise.defer();\n let earlyExecutionTime = startHrt.stop().milliSeconds;\n let earlyExecutionTimeString = (earlyExecutionTime / 1000).toString();\n console.log(`OK! -> finished loading within ${consolecolor.coloredString(earlyExecutionTimeString, 'blue')}`);\n done.resolve(earlyExecutionTime);\n return done.promise;\n};\n","map":{"mappings":[{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":4,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":56},"generated":{"line":4,"column":56}},{"source":"../ts/index.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":5,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":2,"column":56},"generated":{"line":5,"column":56}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":6,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":56},"generated":{"line":6,"column":65}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":9},"generated":{"line":7,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":9},"generated":{"line":7,"column":25}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":23},"generated":{"line":7,"column":62}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"col