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 20, 2024
1 parent eb46fe3 commit f5aa29e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var ToIntegerOrInfinity = require('es-abstract/2024/ToIntegerOrInfinity');
var ToObject = require('es-object-atoms/ToObject');
var ToString = require('es-abstract/2024/ToString');

var callBound = require('call-bind/callBound');
var callBound = require('call-bound');
var isNegativeZero = require('is-negative-zero');
var isString = require('is-string');
var $Object = require('es-object-atoms');
Expand Down
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 define = require('define-properties');
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
var callBound = require('call-bind/callBound');
var callBound = require('call-bound');

var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
},
"dependencies": {
"call-bind": "^1.0.8",
"call-bound": "^1.0.3",
"define-properties": "^1.2.1",
"es-abstract": "^1.23.6",
"es-object-atoms": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion polyfill.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var callBind = require('call-bind');
var callBound = require('call-bind/callBound');
var callBound = require('call-bound');
var $indexOf = callBound('Array.prototype.indexOf', true);
var $arrayIndexOfApply = callBind.apply(Array.prototype.indexOf);

Expand Down

0 comments on commit f5aa29e

Please sign in to comment.