sec commit

This commit is contained in:
2024-08-16 15:06:52 +05:30
parent 63dc2b340a
commit dc5b771f30
16489 changed files with 2607484 additions and 0 deletions

14
node_modules/array-buffer-byte-length/index.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
'use strict';
var callBound = require('call-bind/callBound');
var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);
var isArrayBuffer = require('is-array-buffer');
/** @type {import('.')} */
module.exports = function byteLength(ab) {
if (!isArrayBuffer(ab)) {
return NaN;
}
return $byteLength ? $byteLength(ab) : ab.byteLength;
}; // in node < 0.11, byteLength is an own nonconfigurable property