Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
7
node_modules/internal-slot/index.js
generated
vendored
7
node_modules/internal-slot/index.js
generated
vendored
|
|
@ -1,10 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
var has = require('has');
|
||||
var hasOwn = require('hasown');
|
||||
var channel = require('side-channel')();
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
|
||||
var SLOT = {
|
||||
assert: function (O, slot) {
|
||||
|
|
@ -37,7 +36,7 @@ var SLOT = {
|
|||
throw new $TypeError('`slot` must be a string');
|
||||
}
|
||||
var slots = channel.get(O);
|
||||
return !!slots && has(slots, '$' + slot);
|
||||
return !!slots && hasOwn(slots, '$' + slot);
|
||||
},
|
||||
set: function (O, slot, V) {
|
||||
if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue