Comparing version 3.0.0 to 3.0.1
@@ -726,6 +726,7 @@ 'use strict'; | ||
msgs = msgs.map(function (msg) { | ||
msgs = msgs.map((msg) => { | ||
return typeof msg === 'string' ? msg : msg instanceof Error ? msg.message : exports.stringify(msg); | ||
}); | ||
throw new Error(msgs.join(' ') || 'Unknown error'); | ||
@@ -732,0 +733,0 @@ }; |
{ | ||
"name": "hoek", | ||
"description": "General purpose node utilities", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"repository": "git://github.com/hapijs/hoek", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
'use strict'; | ||
exports.x = 1; |
'use strict'; | ||
exports.y = 2; |
'use strict'; | ||
exports.z = 3; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
153588
2716