smartlog-destination-devtools/.cache/b7/ead18d4d0f64712bb39528b0ec5a0b.json
2018-11-13 01:32:39 +01:00

1 line
19 KiB
JSON

{"id":"node_modules/assertion-error/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/assertion-error/package.json","includedInParent":true,"mtime":1542058764033}],"generated":{"js":"/*!\n * assertion-error\n * Copyright(c) 2013 Jake Luer <jake@qualiancy.com>\n * MIT Licensed\n */\n\n/*!\n * Return a function that will copy properties from\n * one object to another excluding any originally\n * listed. Returned function will create a new `{}`.\n *\n * @param {String} excluded properties ...\n * @return {Function}\n */\n\nfunction exclude () {\n var excludes = [].slice.call(arguments);\n\n function excludeProps (res, obj) {\n Object.keys(obj).forEach(function (key) {\n if (!~excludes.indexOf(key)) res[key] = obj[key];\n });\n }\n\n return function extendExclude () {\n var args = [].slice.call(arguments)\n , i = 0\n , res = {};\n\n for (; i < args.length; i++) {\n excludeProps(res, args[i]);\n }\n\n return res;\n };\n};\n\n/*!\n * Primary Exports\n */\n\nmodule.exports = AssertionError;\n\n/**\n * ### AssertionError\n *\n * An extension of the JavaScript `Error` constructor for\n * assertion and validation scenarios.\n *\n * @param {String} message\n * @param {Object} properties to include (optional)\n * @param {callee} start stack function (optional)\n */\n\nfunction AssertionError (message, _props, ssf) {\n var extend = exclude('name', 'message', 'stack', 'constructor', 'toJSON')\n , props = extend(_props || {});\n\n // default values\n this.message = message || 'Unspecified AssertionError';\n this.showDiff = false;\n\n // copy from properties\n for (var key in props) {\n this[key] = props[key];\n }\n\n // capture stack trace\n ssf = ssf || AssertionError;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, ssf);\n } else {\n try {\n throw new Error();\n } catch(e) {\n this.stack = e.stack;\n }\n }\n}\n\n/*!\n * Inherit from Error.prototype\n */\n\nAssertionError.prototype = Object.create(Error.prototype);\n\n/*!\n * Statically set name\n */\n\nAssertionError.prototype.name = 'AssertionError';\n\n/*!\n * Ensure correct constructor\n */\n\nAssertionError.prototype.constructor = AssertionError;\n\n/**\n * Allow errors to be converted to JSON for static transfer.\n *\n * @param {Boolean} include stack (default: `true`)\n * @return {Object} object that can be `JSON.stringify`\n */\n\nAssertionError.prototype.toJSON = function (stack) {\n var extend = exclude('constructor', 'toJSON', 'stack')\n , props = extend({ name: this.name }, this);\n\n // include stack if exists and not turned off\n if (false !== stack && this.stack) {\n props.stack = this.stack;\n }\n\n return props;\n};\n","map":{"mappings":[{"source":"node_modules/assertion-error/index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":2,"column":0},"generated":{"line":2,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":3,"column":0},"generated":{"line":3,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":4,"column":0},"generated":{"line":4,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":5,"column":0},"generated":{"line":5,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":6,"column":0},"generated":{"line":6,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":7,"column":0},"generated":{"line":7,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":8,"column":0},"generated":{"line":8,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":9,"column":0},"generated":{"line":9,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":10,"column":0},"generated":{"line":10,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":11,"column":0},"generated":{"line":11,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":12,"column":0},"generated":{"line":12,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":13,"column":0},"generated":{"line":13,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":14,"column":0},"generated":{"line":14,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":15,"column":0},"generated":{"line":15,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":16,"column":0},"generated":{"line":16,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":17,"column":0},"generated":{"line":17,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":18,"column":0},"generated":{"line":18,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":19,"column":0},"generated":{"line":19,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":20,"column":0},"generated":{"line":20,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":21,"column":0},"generated":{"line":21,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":22,"column":0},"generated":{"line":22,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":23,"column":0},"generated":{"line":23,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":24,"column":0},"generated":{"line":24,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":25,"column":0},"generated":{"line":25,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":26,"column":0},"generated":{"line":26,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":27,"column":0},"generated":{"line":27,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":28,"column":0},"generated":{"line":28,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":29,"column":0},"generated":{"line":29,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":30,"column":0},"generated":{"line":30,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":31,"column":0},"generated":{"line":31,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":32,"column":0},"generated":{"line":32,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":33,"column":0},"generated":{"line":33,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":34,"column":0},"generated":{"line":34,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":35,"column":0},"generated":{"line":35,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":36,"column":0},"generated":{"line":36,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":37,"column":0},"generated":{"line":37,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":38,"column":0},"generated":{"line":38,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":39,"column":0},"generated":{"line":39,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":40,"column":0},"generated":{"line":40,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":41,"column":0},"generated":{"line":41,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":42,"column":0},"generated":{"line":42,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":43,"column":0},"generated":{"line":43,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":44,"column":0},"generated":{"line":44,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":45,"column":0},"generated":{"line":45,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":46,"column":0},"generated":{"line":46,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":47,"column":0},"generated":{"line":47,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":48,"column":0},"generated":{"line":48,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":49,"column":0},"generated":{"line":49,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":50,"column":0},"generated":{"line":50,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":51,"column":0},"generated":{"line":51,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":52,"column":0},"generated":{"line":52,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":53,"column":0},"generated":{"line":53,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":54,"column":0},"generated":{"line":54,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":55,"column":0},"generated":{"line":55,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":56,"column":0},"generated":{"line":56,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":57,"column":0},"generated":{"line":57,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":58,"column":0},"generated":{"line":58,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":59,"column":0},"generated":{"line":59,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":60,"column":0},"generated":{"line":60,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":61,"column":0},"generated":{"line":61,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":62,"column":0},"generated":{"line":62,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":63,"column":0},"generated":{"line":63,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":64,"column":0},"generated":{"line":64,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":65,"column":0},"generated":{"line":65,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":66,"column":0},"generated":{"line":66,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":67,"column":0},"generated":{"line":67,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":68,"column":0},"generated":{"line":68,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":69,"column":0},"generated":{"line":69,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":70,"column":0},"generated":{"line":70,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":71,"column":0},"generated":{"line":71,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":72,"column":0},"generated":{"line":72,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":73,"column":0},"generated":{"line":73,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":74,"column":0},"generated":{"line":74,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":75,"column":0},"generated":{"line":75,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":76,"column":0},"generated":{"line":76,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":77,"column":0},"generated":{"line":77,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":78,"column":0},"generated":{"line":78,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":79,"column":0},"generated":{"line":79,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":80,"column":0},"generated":{"line":80,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":81,"column":0},"generated":{"line":81,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":82,"column":0},"generated":{"line":82,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":83,"column":0},"generated":{"line":83,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":84,"column":0},"generated":{"line":84,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":85,"column":0},"generated":{"line":85,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":86,"column":0},"generated":{"line":86,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":87,"column":0},"generated":{"line":87,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":88,"column":0},"generated":{"line":88,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":89,"column":0},"generated":{"line":89,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":90,"column":0},"generated":{"line":90,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":91,"column":0},"generated":{"line":91,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":92,"column":0},"generated":{"line":92,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":93,"column":0},"generated":{"line":93,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":94,"column":0},"generated":{"line":94,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":95,"column":0},"generated":{"line":95,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":96,"column":0},"generated":{"line":96,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":97,"column":0},"generated":{"line":97,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":98,"column":0},"generated":{"line":98,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":99,"column":0},"generated":{"line":99,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":100,"column":0},"generated":{"line":100,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":101,"column":0},"generated":{"line":101,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":102,"column":0},"generated":{"line":102,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":103,"column":0},"generated":{"line":103,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":104,"column":0},"generated":{"line":104,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":105,"column":0},"generated":{"line":105,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":106,"column":0},"generated":{"line":106,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":107,"column":0},"generated":{"line":107,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":108,"column":0},"generated":{"line":108,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":109,"column":0},"generated":{"line":109,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":110,"column":0},"generated":{"line":110,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":111,"column":0},"generated":{"line":111,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":112,"column":0},"generated":{"line":112,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":113,"column":0},"generated":{"line":113,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":114,"column":0},"generated":{"line":114,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":115,"column":0},"generated":{"line":115,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":116,"column":0},"generated":{"line":116,"column":0}},{"source":"node_modules/assertion-error/index.js","original":{"line":117,"column":0},"generated":{"line":117,"column":0}}],"sources":{"node_modules/assertion-error/index.js":"/*!\n * assertion-error\n * Copyright(c) 2013 Jake Luer <jake@qualiancy.com>\n * MIT Licensed\n */\n\n/*!\n * Return a function that will copy properties from\n * one object to another excluding any originally\n * listed. Returned function will create a new `{}`.\n *\n * @param {String} excluded properties ...\n * @return {Function}\n */\n\nfunction exclude () {\n var excludes = [].slice.call(arguments);\n\n function excludeProps (res, obj) {\n Object.keys(obj).forEach(function (key) {\n if (!~excludes.indexOf(key)) res[key] = obj[key];\n });\n }\n\n return function extendExclude () {\n var args = [].slice.call(arguments)\n , i = 0\n , res = {};\n\n for (; i < args.length; i++) {\n excludeProps(res, args[i]);\n }\n\n return res;\n };\n};\n\n/*!\n * Primary Exports\n */\n\nmodule.exports = AssertionError;\n\n/**\n * ### AssertionError\n *\n * An extension of the JavaScript `Error` constructor for\n * assertion and validation scenarios.\n *\n * @param {String} message\n * @param {Object} properties to include (optional)\n * @param {callee} start stack function (optional)\n */\n\nfunction AssertionError (message, _props, ssf) {\n var extend = exclude('name', 'message', 'stack', 'constructor', 'toJSON')\n , props = extend(_props || {});\n\n // default values\n this.message = message || 'Unspecified AssertionError';\n this.showDiff = false;\n\n // copy from properties\n for (var key in props) {\n this[key] = props[key];\n }\n\n // capture stack trace\n ssf = ssf || AssertionError;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, ssf);\n } else {\n try {\n throw new Error();\n } catch(e) {\n this.stack = e.stack;\n }\n }\n}\n\n/*!\n * Inherit from Error.prototype\n */\n\nAssertionError.prototype = Object.create(Error.prototype);\n\n/*!\n * Statically set name\n */\n\nAssertionError.prototype.name = 'AssertionError';\n\n/*!\n * Ensure correct constructor\n */\n\nAssertionError.prototype.constructor = AssertionError;\n\n/**\n * Allow errors to be converted to JSON for static transfer.\n *\n * @param {Boolean} include stack (default: `true`)\n * @return {Object} object that can be `JSON.stringify`\n */\n\nAssertionError.prototype.toJSON = function (stack) {\n var extend = exclude('constructor', 'toJSON', 'stack')\n , props = extend({ name: this.name }, this);\n\n // include stack if exists and not turned off\n if (false !== stack && this.stack) {\n props.stack = this.stack;\n }\n\n return props;\n};\n"},"lineCount":117}},"hash":"f42b0200c00d68c0a05c5d76b0dd6df7","cacheData":{"env":{}}}