Skip to content

Commit 433be34

Browse files
committed
[Refactor] use call-bound directly
1 parent 4ff7467 commit 433be34

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var callBound = require('call-bind/callBound');
3+
var callBound = require('call-bound');
44
var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);
55

66
var isArrayBuffer = require('is-array-buffer');

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@
4747
},
4848
"homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
4949
"dependencies": {
50-
"call-bind": "^1.0.8",
50+
"call-bound": "^1.0.3",
5151
"is-array-buffer": "^3.0.5"
5252
},
5353
"devDependencies": {
5454
"@ljharb/eslint-config": "^21.1.1",
5555
"@ljharb/tsconfig": "^0.2.2",
56-
"@types/call-bind": "^1.0.5",
5756
"@types/es-value-fixtures": "^1.4.4",
5857
"@types/for-each": "^0.3.3",
5958
"@types/object-inspect": "^1.13.0",

0 commit comments

Comments
 (0)