Sha256: a56412a4a7231a6a70ba854ac297aba545de511fdbb5669adcfe463062a0f0ae

Contents?: true

Size: 616 Bytes

Versions: 28

Compression:

Stored size: 616 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _construct;
var _isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
var _setPrototypeOf = require("./setPrototypeOf.js");
function _construct(Parent, args, Class) {
  if ((0, _isNativeReflectConstruct.default)()) {
    return Reflect.construct.apply(null, arguments);
  }
  var a = [null];
  a.push.apply(a, args);
  var instance = new (Parent.bind.apply(Parent, a))();
  if (Class) (0, _setPrototypeOf.default)(instance, Class.prototype);
  return instance;
}

//# sourceMappingURL=construct.js.map

Version data entries

28 entries across 24 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.62 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.61 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.60 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.59 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.58 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.57 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.56 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.55 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.54 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.53 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.52 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.51 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.50 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.49 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.48 node_modules/@babel/helpers/lib/helpers/construct.js
immosquare-cleaner-0.1.47 node_modules/@babel/helpers/lib/helpers/construct.js