diff --git a/implementation.js b/implementation.js index b673cc4..d866197 100644 --- a/implementation.js +++ b/implementation.js @@ -16,7 +16,7 @@ if (typeof Promise !== 'function') { throw new TypeError('`Promise` must be globally available for util.promisify to work.'); } -var callBound = require('es-abstract/helpers/callBound'); +var callBound = require('call-bind/callBound'); var $slice = callBound('Array.prototype.slice'); var $concat = callBound('Array.prototype.concat'); diff --git a/package.json b/package.json index 0bf60ab..742ade5 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Polyfill/shim for util.promisify in node versions < v8", "main": "index.js", "dependencies": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3", - "es-abstract": "^1.17.5", "for-each": "^0.3.3", "has-symbols": "^1.0.1", "object.getownpropertydescriptors": "^2.1.0"