Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
8
node_modules/es-abstract/2016/HasOwnProperty.js
generated
vendored
8
node_modules/es-abstract/2016/HasOwnProperty.js
generated
vendored
|
|
@ -1,10 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
var $TypeError = require('es-errors/type');
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
|
||||
var has = require('has');
|
||||
var hasOwn = require('hasown');
|
||||
|
||||
var IsPropertyKey = require('./IsPropertyKey');
|
||||
var Type = require('./Type');
|
||||
|
|
@ -18,5 +16,5 @@ module.exports = function HasOwnProperty(O, P) {
|
|||
if (!IsPropertyKey(P)) {
|
||||
throw new $TypeError('Assertion failed: `P` must be a Property Key');
|
||||
}
|
||||
return has(O, P);
|
||||
return hasOwn(O, P);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue