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 254a502 commit 56f17fa
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
Expand Up @@ -2,7 +2,7 @@

var $TypeError = require('es-errors/type');

var callBound = require('call-bind/callBound');
var callBound = require('call-bound');

var $dataViewByteLength = callBound('DataView.prototype.byteLength', true);

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@
},
"homepage": "https://github.com/inspect-js/data-view-byte-length#readme",
"dependencies": {
"call-bind": "^1.0.8",
"call-bound": "^1.0.3",
"es-errors": "^1.3.0",
"is-data-view": "^1.0.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.1",
"@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 56f17fa

Please sign in to comment.