File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ var objectKeys = require('object-keys');
17
17
var whichBoxedPrimitive = require ( 'which-boxed-primitive' ) ;
18
18
var whichCollection = require ( 'which-collection' ) ;
19
19
var whichTypedArray = require ( 'which-typed-array' ) ;
20
+ var byteLength = require ( 'array-buffer-byte-length' ) ;
20
21
21
- var byteLength = callBound ( 'ArrayBuffer.prototype.byteLength' , true )
22
- || function byteLength ( ab ) { return ab . byteLength ; } ; // in node < 0.11, byteLength is an own nonconfigurable property
23
22
var sabByteLength = callBound ( 'SharedArrayBuffer.prototype.byteLength' , true ) ;
24
23
25
24
var $getTime = callBound ( 'Date.prototype.getTime' ) ;
Original file line number Diff line number Diff line change 31
31
"postversion" : " auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \" v$(node -e \" console.log(require('./package.json').version)\" )\" "
32
32
},
33
33
"dependencies" : {
34
+ "array-buffer-byte-length" : " ^1.0.0" ,
34
35
"call-bind" : " ^1.0.2" ,
35
36
"es-get-iterator" : " ^1.1.3" ,
36
37
"get-intrinsic" : " ^1.2.0" ,
You can’t perform that action at this time.
0 commit comments