Skip to content

Commit

Permalink
[Refactor] use es-errors, so things that only need those do not nee…
Browse files Browse the repository at this point in the history
…d `get-intrinsic`
  • Loading branch information
ljharb committed Feb 6, 2024
1 parent 46cc1f4 commit e2511e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

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

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"homepage": "https://github.com/ljharb/typed-array-buffer#readme",
"dependencies": {
"call-bind": "^1.0.6",
"get-intrinsic": "^1.2.4",
"es-errors": "^1.3.0",
"is-typed-array": "^1.1.13"
},
"devDependencies": {
Expand Down

0 comments on commit e2511e0

Please sign in to comment.