Skip to content

Commit

Permalink
[Refactor] use hasown instead of has
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 11, 2024
1 parent 97a0171 commit 344ec25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
var forEach = require('array.prototype.foreach');
var entries = require('object.entries');
var warning = require('warning');
var has = require('has');
var has = require('hasown');
var trim = require('string.prototype.trim');

var warn = function warn(message) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"author": "Spike Brehm <[email protected]>",
"dependencies": {
"array.prototype.foreach": "^1.0.2",
"has": "^1.0.3",
"hasown": "^2.0.2",
"object.entries": "^1.1.5",
"string.prototype.trim": "^1.2.6",
"warning": "^4.0.3"
Expand Down

0 comments on commit 344ec25

Please sign in to comment.