Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/SetValueInBuffer.js
r0c6b92a r79a0317 5 5 var $SyntaxError = require('es-errors/syntax'); 6 6 var $TypeError = require('es-errors/type'); 7 var isInteger = require('math-intrinsics/isInteger'); 7 8 var $Uint8Array = GetIntrinsic('%Uint8Array%', true); 8 9 var isInteger = require('../helpers/isInteger');10 9 11 10 var IsBigIntElementType = require('./IsBigIntElementType'); … … 15 14 var isArrayBuffer = require('is-array-buffer'); 16 15 var isSharedArrayBuffer = require('is-shared-array-buffer'); 17 var has = require('hasown');16 var hasOwn = require('hasown'); 18 17 19 18 var tableTAO = require('./tables/typed-array-objects'); … … 36 35 } 37 36 38 if (typeof type !== 'string' || !has (tableTAO.size, '$' + type)) {37 if (typeof type !== 'string' || !hasOwn(tableTAO.size, '$' + type)) { 39 38 throw new $TypeError('Assertion failed: `type` must be a Typed Array Element Type'); 40 39 }
Note:
See TracChangeset
for help on using the changeset viewer.