feige
2025-04-19 b849886a6e1004c32cee00c2ee4e15f9d848f061
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
'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;