Skip to content

Commit

Permalink
[Dev Deps] use hasown instead of has
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 21, 2023
1 parent ad8446e commit cefe5dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -53,8 +53,8 @@
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"functions-have-names": "^1.2.3",
"has": "^1.0.3",
"has-strict-mode": "^1.0.1",
"hasown": "^2.0.0",
"in-publish": "^2.0.1",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
Expand Down
4 changes: 2 additions & 2 deletions test/tests.js
@@ -1,6 +1,6 @@
'use strict';

var has = require('has');
var hasOwn = require('hasown');

module.exports = function (toSorted, t) {
var nums = [2, 1, 3];
Expand Down Expand Up @@ -143,7 +143,7 @@ module.exports = function (toSorted, t) {

var sorted = toSorted(arr);
st.deepEqual(sorted, [1, 2, 3, 4, undefined]);
st.ok(has(sorted, 4));
st.ok(hasOwn(sorted, 4));

st.end();
});
Expand Down

0 comments on commit cefe5dc

Please sign in to comment.