Comparing version 5.0.1 to 5.0.2
@@ -5,5 +5,7 @@ 'use strict'; | ||
const Assert = require('assert'); | ||
const Crypto = require('crypto'); | ||
const Path = require('path'); | ||
const Util = require('util'); | ||
const Escape = require('./escape'); | ||
@@ -731,3 +733,9 @@ | ||
throw new Error(msgs.join(' ') || 'Unknown error'); | ||
throw new Assert.AssertionError({ | ||
message: msgs.join(' ') || 'Unknown error', | ||
actual: false, | ||
expected: true, | ||
operator: '==', | ||
stackStartFunction: exports.assert | ||
}); | ||
}; | ||
@@ -734,0 +742,0 @@ |
{ | ||
"name": "hoek", | ||
"description": "General purpose node utilities", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"repository": "git://github.com/hapijs/hoek", | ||
@@ -11,3 +11,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=8.8.0" | ||
"node": ">=8.9.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "dependencies": {}, |
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
32048
798