From 72c0fe1964d3c26d63d2e5c0cfd27596bf44823d Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 19 Dec 2024 22:36:09 -0800 Subject: [PATCH] [Refactor] use `call-bound` directly --- implementation.js | 2 +- package.json | 1 + regexp-matchall.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/implementation.js b/implementation.js index 9d8989e..818d8c5 100644 --- a/implementation.js +++ b/implementation.js @@ -6,7 +6,7 @@ var GetMethod = require('es-abstract/2024/GetMethod'); var IsRegExp = require('es-abstract/2024/IsRegExp'); var ToString = require('es-abstract/2024/ToString'); var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible'); -var callBound = require('call-bind/callBound'); +var callBound = require('call-bound'); var hasSymbols = require('has-symbols')(); var flagsGetter = require('regexp.prototype.flags'); var GetIntrinsic = require('get-intrinsic'); diff --git a/package.json b/package.json index 43c91e8..40963b7 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "homepage": "https://github.com/es-shims/String.prototype.matchAll#readme", "dependencies": { "call-bind": "^1.0.8", + "call-bound": "^1.0.3", "define-properties": "^1.2.1", "es-abstract": "^1.23.6", "es-errors": "^1.3.0", diff --git a/regexp-matchall.js b/regexp-matchall.js index 5643f69..37c1ba0 100644 --- a/regexp-matchall.js +++ b/regexp-matchall.js @@ -1,6 +1,6 @@ 'use strict'; -// var Construct = require('es-abstract/2023/Construct'); +// var Construct = require('es-abstract/2024/Construct'); var CreateRegExpStringIterator = require('es-abstract/2024/CreateRegExpStringIterator'); var Get = require('es-abstract/2024/Get'); var Set = require('es-abstract/2024/Set'); @@ -10,7 +10,7 @@ var ToString = require('es-abstract/2024/ToString'); var Type = require('es-abstract/2024/Type'); var flagsGetter = require('regexp.prototype.flags'); var setFunctionName = require('set-function-name'); -var callBound = require('call-bind/callBound'); +var callBound = require('call-bound'); var GetIntrinsic = require('get-intrinsic'); var $TypeError = require('es-errors/type');