Skip to content

Commit

Permalink
[Refactor] use call-bound directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 19, 2024
1 parent 4ff7467 commit 433be34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

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

var isArrayBuffer = require('is-array-buffer');
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@
},
"homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
"dependencies": {
"call-bind": "^1.0.8",
"call-bound": "^1.0.3",
"is-array-buffer": "^3.0.5"
},
"devDependencies": {
"@ljharb/eslint-config": "^21.1.1",
"@ljharb/tsconfig": "^0.2.2",
"@types/call-bind": "^1.0.5",
"@types/es-value-fixtures": "^1.4.4",
"@types/for-each": "^0.3.3",
"@types/object-inspect": "^1.13.0",
Expand Down

0 comments on commit 433be34

Please sign in to comment.