Sha256: 294d1f5ec0e6366b36cc2781078dce1a913e87a52872372f9634b2e5776d41a1

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

'use strict';
require('../../modules/es.promise');
require('../../modules/esnext.promise.with-resolvers');
var call = require('../../internals/function-call');
var isCallable = require('../../internals/is-callable');
var path = require('../../internals/path');

var Promise = path.Promise;
var promiseWithResolvers = Promise.withResolvers;

module.exports = function withResolvers() {
  return call(promiseWithResolvers, isCallable(this) ? this : Promise);
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/actual/promise/with-resolvers.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/actual/promise/with-resolvers.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/actual/promise/with-resolvers.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/actual/promise/with-resolvers.js