Skip to content

Commit e2511e0

Browse files
committed
[Refactor] use es-errors, so things that only need those do not need get-intrinsic
1 parent 46cc1f4 commit e2511e0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: index.js

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

3-
var GetIntrinsic = require('get-intrinsic');
4-
5-
var $TypeError = GetIntrinsic('%TypeError%');
3+
var $TypeError = require('es-errors/type');
64

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

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"homepage": "https://github.com/ljharb/typed-array-buffer#readme",
3838
"dependencies": {
3939
"call-bind": "^1.0.6",
40-
"get-intrinsic": "^1.2.4",
40+
"es-errors": "^1.3.0",
4141
"is-typed-array": "^1.1.13"
4242
},
4343
"devDependencies": {

0 commit comments

Comments
 (0)