diff --git a/lib/index.js b/lib/index.js index 640f3a2..7854ba1 100755 --- a/lib/index.js +++ b/lib/index.js @@ -24,7 +24,7 @@ const internals = { // Hoek - Hoek.Error + Hoek.AssertError ] }; diff --git a/package.json b/package.json index 84a82ec..dcace6a 100644 --- a/package.json +++ b/package.json @@ -17,13 +17,13 @@ ] }, "dependencies": { - "@hapi/boom": "^10.0.0", - "@hapi/hoek": "^10.0.0" + "@hapi/boom": "^10.0.1", + "@hapi/hoek": "^11.0.2" }, "devDependencies": { "@hapi/code": "^9.0.0", "@hapi/eslint-plugin": "*", - "@hapi/lab": "25.0.0-beta.1" + "@hapi/lab": "^25.1.0" }, "scripts": { "test": "lab -a @hapi/code -t 100 -L", diff --git a/test/index.js b/test/index.js index e11118d..3f28ea4 100755 --- a/test/index.js +++ b/test/index.js @@ -509,7 +509,7 @@ describe('Bounce', () => { it('identifies hoek Error as system', () => { - expect(Bounce.isSystem(new Hoek.Error([]))).to.be.true(); + expect(Bounce.isSystem(new Hoek.AssertError([]))).to.be.true(); }); it('identifies Error as non-system', () => {