Sha256: 8fcd5ae9cda0bc9e657124d85b3d757c602cfc1a0a70e69402073200aff62dac
Contents?: true
Size: 615 Bytes
Versions: 28
Compression:
Stored size: 615 Bytes
Contents
'use strict'; var define = require('define-properties'); var util = require('util'); var implementation = require('./implementation'); var getPolyfill = require('./polyfill'); var polyfill = getPolyfill(); var shim = require('./shim'); /* eslint-disable no-unused-vars */ var boundPromisify = function promisify(orig) { /* eslint-enable no-unused-vars */ return polyfill.apply(util, arguments); }; define(boundPromisify, { custom: polyfill.custom, customPromisifyArgs: polyfill.customPromisifyArgs, getPolyfill: getPolyfill, implementation: implementation, shim: shim }); module.exports = boundPromisify;
Version data entries
28 entries across 27 versions & 9 rubygems