chimpanzee
Advanced tools
Comparing version 0.0.57 to 0.0.58
@@ -8,5 +8,11 @@ "use strict"; | ||
exports.default = function (message, inner, props) { | ||
if (IS_DEBUG && inner.stack) { | ||
console.log("CHIMPANZEE_DEBUG:", message); | ||
console.log("CHIMPANZEE_DEBUG:", inner.stack); | ||
} | ||
throw new ChimpanzeeError(message, inner, props); | ||
}; | ||
const IS_DEBUG = process.env.CHIMPANZEE_DEBUG; | ||
class ChimpanzeeError extends Error { | ||
@@ -13,0 +19,0 @@ constructor(message, inner, props) { |
@@ -7,5 +7,4 @@ "use strict"; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /* */ | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
exports.composite = composite; | ||
@@ -12,0 +11,0 @@ |
{ | ||
"name": "chimpanzee", | ||
"version": "0.0.57", | ||
"version": "0.0.58", | ||
"author": "Isotropy Team<isotropy@agilehead.com>", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
210100
76
1223