smartlog-destination-devtools/.cache/bd/463b2e077625947c3373e6947ef005.json
2018-11-13 01:32:39 +01:00

1 line
14 KiB
JSON

{"id":"browsertest.ts","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/package.json","includedInParent":true,"mtime":1542069011329},{"name":"@pushrocks/smartlog","loc":{"line":10,"column":36},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/test/browsertest.ts","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/smartlog/dist/index.js"},{"name":"../ts/index","loc":{"line":21,"column":55},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/test/browsertest.ts","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/ts/index.ts"}],"generated":{"js":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\nexports.__esModule = true;\n\nvar smartlog = __importStar(require(\"@pushrocks/smartlog\"));\n\nvar logger = smartlog.defaultLogger;\nvar logContext = {\n company: 'Lossless GmbH',\n companyunit: 'Lossless.Cloud',\n containerName: 'testContainer',\n environment: 'staging',\n runtime: 'chrome',\n zone: 'servezone'\n}; // import the module to test\n\nvar smartlogDestinationDevtools = __importStar(require(\"../ts/index\"));\n\nvar testDestination = new smartlogDestinationDevtools.SmartlogDestinationDevtools();\ntestDestination.handleLog({\n timestamp: Date.now(),\n type: 'log',\n context: logContext,\n level: 'info',\n message: 'wait, what? Hi, this is a message!'\n});","map":{"mappings":[{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":12}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":27}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":28}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":35}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":36}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":57}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":58}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":59}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":17,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":6},"generated":{"line":17,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":17,"column":10}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":15},"generated":{"line":17,"column":13}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":23},"generated":{"line":17,"column":21}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":17,"column":22}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":17,"column":35}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":18,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":6},"generated":{"line":18,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":18,"column":14}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":18,"column":17}},{"source":"browsertest.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":19,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":19,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":7,"column":9},"generated":{"line":19,"column":9}},{"source":"browsertest.ts","name":null,"original":{"line":7,"column":11},"generated":{"line":19,"column":11}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":19,"column":26}},{"source":"browsertest.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":20,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":20,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":8,"column":13},"generated":{"line":20,"column":13}},{"source":"browsertest.ts","name":null,"original":{"line":8,"column":15},"generated":{"line":20,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":20,"column":31}},{"source":"browsertest.ts","name":null,"original":{"line":9,"column":2},"generated":{"line":21,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":9,"column":2},"generated":{"line":21,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":9,"column":15},"generated":{"line":21,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":9,"column":17},"generated":{"line":21,"column":17}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":21,"column":32}},{"source":"browsertest.ts","name":null,"original":{"line":10,"column":2},"generated":{"line":22,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":10,"column":2},"generated":{"line":22,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":10,"column":13},"generated":{"line":22,"column":13}},{"source":"browsertest.ts","name":null,"original":{"line":10,"column":15},"generated":{"line":22,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":22,"column":24}},{"source":"browsertest.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":23,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":23,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":11,"column":9},"generated":{"line":23,"column":9}},{"source":"browsertest.ts","name":null,"original":{"line":11,"column":11},"generated":{"line":23,"column":11}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":23,"column":19}},{"source":"browsertest.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":24,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":24,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":12,"column":6},"generated":{"line":24,"column":6}},{"source":"browsertest.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":24,"column":8}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":32},"generated":{"line":25,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":25,"column":1}},{"source":"browsertest.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":25,"column":3}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":31}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":34}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":46}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":47}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":54}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":55}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":68}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":69}},{"source":"browsertest.ts","name":null,"original":{"line":16,"column":0},"generated":{"line":27,"column":70}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":0},"generated":{"line":29,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":6},"generated":{"line":29,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":29,"column":19}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":24},"generated":{"line":29,"column":22}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":28},"generated":{"line":29,"column":26}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":29,"column":53}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":56},"generated":{"line":29,"column":54}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":24},"generated":{"line":29,"column":81}},{"source":"browsertest.ts","name":null,"original":{"line":18,"column":0},"generated":{"line":29,"column":83}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":30,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":15},"generated":{"line":30,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":16},"generated":{"line":30,"column":16}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":30,"column":25}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":26},"generated":{"line":30,"column":26}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":2},"generated":{"line":31,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":2},"generated":{"line":31,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":11},"generated":{"line":31,"column":11}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":13},"generated":{"line":31,"column":13}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":17},"generated":{"line":31,"column":17}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":18},"generated":{"line":31,"column":18}},{"source":"browsertest.ts","name":null,"original":{"line":21,"column":13},"generated":{"line":31,"column":21}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":26},"generated":{"line":31,"column":23}},{"source":"browsertest.ts","name":null,"original":{"line":22,"column":2},"generated":{"line":32,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":22,"column":2},"generated":{"line":32,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":22,"column":6},"generated":{"line":32,"column":6}},{"source":"browsertest.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":32,"column":8}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":26},"generated":{"line":32,"column":13}},{"source":"browsertest.ts","name":null,"original":{"line":23,"column":2},"generated":{"line":33,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":23,"column":2},"generated":{"line":33,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":23,"column":9},"generated":{"line":33,"column":9}},{"source":"browsertest.ts","name":null,"original":{"line":23,"column":11},"generated":{"line":33,"column":11}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":26},"generated":{"line":33,"column":21}},{"source":"browsertest.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":34,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":34,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":24,"column":7},"generated":{"line":34,"column":7}},{"source":"browsertest.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":34,"column":9}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":26},"generated":{"line":34,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":25,"column":2},"generated":{"line":35,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":25,"column":2},"generated":{"line":35,"column":2}},{"source":"browsertest.ts","name":null,"original":{"line":25,"column":9},"generated":{"line":35,"column":9}},{"source":"browsertest.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":35,"column":11}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":26},"generated":{"line":36,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":36,"column":1}}],"sources":{"browsertest.ts":"// preparation\nimport { ILogContext } from '@pushrocks/smartlog-interfaces';\nimport * as smartlog from '@pushrocks/smartlog';\n\nconst logger = smartlog.defaultLogger;\nconst logContext: ILogContext = {\n company: 'Lossless GmbH',\n companyunit: 'Lossless.Cloud',\n containerName: 'testContainer',\n environment: 'staging',\n runtime: 'chrome',\n zone: 'servezone'\n};\n\n// import the module to test\nimport * as smartlogDestinationDevtools from '../ts/index';\n\nconst testDestination = new smartlogDestinationDevtools.SmartlogDestinationDevtools();\n\ntestDestination.handleLog({\n timestamp: Date.now(),\n type: 'log',\n context: logContext,\n level: 'info',\n message: 'wait, what? Hi, this is a message!'\n});\n"},"lineCount":null}},"hash":"af248d8707c26eeb74f669dcc878b4ed","cacheData":{"env":{}}}