Comparing version 1.2.0 to 1.3.0
'use strict'; | ||
var util = require('util'); | ||
var isArrayish = require('is-arrayish'); | ||
@@ -36,2 +37,5 @@ var errorEx = function errorEx(name, properties) { | ||
newMessage; | ||
if (!isArrayish(newMessage)) { | ||
newMessage = [newMessage]; | ||
} | ||
} | ||
@@ -38,0 +42,0 @@ } |
{ | ||
"name": "error-ex", | ||
"description": "Easy error subclassing and stack customization", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"maintainers": [ | ||
@@ -24,2 +24,9 @@ "JD Ballard <i.am.qix@gmail.com> (github.com/qix-)", | ||
}, | ||
"xo": { | ||
"rules": { | ||
"operator-linebreak": [ | ||
0 | ||
] | ||
} | ||
}, | ||
"repository": "qix-/node-error-ex", | ||
@@ -36,3 +43,6 @@ "files": [ | ||
"xo": "^0.7.1" | ||
}, | ||
"dependencies": { | ||
"is-arrayish": "^0.2.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8394
89
1
+ Addedis-arrayish@^0.2.1
+ Addedis-arrayish@0.2.1(transitive)