From ba8a78fc1c1fe9b4223c9a8721579026d5ddbce1 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 15 Dec 2024 18:21:29 -0800 Subject: [PATCH] [Refactor] use `call-bound` directly --- index.js | 2 +- package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 77fb8eb..3a3d058 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ 'use strict'; -var callBound = require('call-bind/callBound'); +var callBound = require('call-bound'); /** @type {(receiver: ThisParameterType, ...args: Parameters) => ReturnType} */ var $strValueOf = callBound('String.prototype.valueOf'); diff --git a/package.json b/package.json index f63dcbd..92d8824 100644 --- a/package.json +++ b/package.json @@ -36,14 +36,13 @@ "String object" ], "dependencies": { - "call-bind": "^1.0.8", + "call-bound": "^1.0.3", "has-tostringtag": "^1.0.2" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.1", "@ljharb/eslint-config": "^21.1.1", "@ljharb/tsconfig": "^0.2.2", - "@types/call-bind": "^1.0.5", "@types/core-js": "^2.5.8", "@types/tape": "^5.7.0", "auto-changelog": "^2.5.0",