Skip to content

Commit

Permalink
[Fix] add missing dependencies; use call-bound directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 12, 2024
1 parent 3d302d7 commit 34de4b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic');
var $ArrayBuffer = GetIntrinsic('%ArrayBuffer%');
var $DataView = GetIntrinsic('%DataView%', true);

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

// node <= 0.10, < 0.11.4 has a nonconfigurable own property instead of a prototype getter
var $dataViewBuffer = callBound('DataView.prototype.buffer', true);
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
},
"homepage": "https://github.com/inspect-js/is-data-view#readme",
"dependencies": {
"call-bound": "^1.0.2",
"get-intrinsic": "^1.2.6",
"is-typed-array": "^1.1.13"
},
"devDependencies": {
Expand Down

0 comments on commit 34de4b5

Please sign in to comment.