diff --git a/package.json b/package.json index 97698db..89bf51a 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "level-community": "^3.0.0", "level-concat-iterator": "^2.0.0", "nyc": "^14.0.0", - "standard": "^12.0.1", + "standard": "^13.0.1", "tape": "^4.0.0", "uuid": "^3.3.2" }, diff --git a/test/native-order-test.js b/test/native-order-test.js index 96446cf..4b7c2b1 100644 --- a/test/native-order-test.js +++ b/test/native-order-test.js @@ -166,7 +166,7 @@ function humanRange (options) { var a = [] ;['gt', 'gte', 'lt', 'lte'].forEach(function (opt) { - if (options.hasOwnProperty(opt)) { + if (opt in options) { var target = options[opt] if (typeof target === 'string' || Array.isArray(target)) {