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 de770f7 commit de71c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var callBound = require('call-bind/callBound');
var callBind = require('call-bind');
var GetIntrinsic = require('get-intrinsic');

var $RangeError = GetIntrinsic('%RangeError%');
var $RangeError = require('es-errors/range');
var $push = callBound('Array.prototype.push');
var $fromCharCodeSpread = callBind.apply(GetIntrinsic('%String.fromCharCode%'), null);

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"call-bind": "^1.0.6",
"define-properties": "^1.2.1",
"es-abstract": "^1.22.3",
"es-errors": "^1.3.0",
"get-intrinsic": "^1.2.3"
},
"devDependencies": {
Expand Down

0 comments on commit de71c86

Please # to comment.