Comparing version 3.0.2 to 4.0.0
@@ -200,3 +200,6 @@ 'use strict'; | ||
internals.assert(this, arguments.length === 1, 'Can only assert include with a single parameter'); | ||
this._flags.deep = !this._flags.shallow; | ||
this._flags.part = this._flags.hasOwnProperty('part') ? this._flags.part : false; | ||
return this.assert(Hoek.contain(this._ref, value, this._flags), 'include ' + internals.display(value)); | ||
@@ -203,0 +206,0 @@ }; |
{ | ||
"name": "code", | ||
"description": "assertion library", | ||
"version": "3.0.2", | ||
"version": "4.0.0", | ||
"repository": "git://github.com/hapijs/code", | ||
@@ -19,3 +19,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"lab": "10.x.x", | ||
"lab": "11.x.x", | ||
"markdown-toc": "0.12.x" | ||
@@ -22,0 +22,0 @@ }, |
@@ -0,0 +0,0 @@ # code |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
297
17057