Sha256: f134b6295581d2b126ce3dfbe3680049220e9847a79072c77e685635468523d2

Contents?: true

Size: 915 Bytes

Versions: 2

Compression:

Stored size: 915 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _importDeferProxy;
function _importDeferProxy(init) {
  var ns = null;
  var constValue = function (v) {
    return function () {
      return v;
    };
  };
  var proxy = function (run) {
    return function (arg1, arg2, arg3) {
      if (ns === null) ns = init();
      return run(ns, arg2, arg3);
    };
  };
  return new Proxy({}, {
    defineProperty: constValue(false),
    deleteProperty: constValue(false),
    get: proxy(Reflect.get),
    getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
    getPrototypeOf: constValue(null),
    isExtensible: constValue(false),
    has: proxy(Reflect.has),
    ownKeys: proxy(Reflect.ownKeys),
    preventExtensions: constValue(true),
    set: constValue(false),
    setPrototypeOf: constValue(false)
  });
}

//# sourceMappingURL=importDeferProxy.js.map

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.39 node_modules/@babel/helpers/lib/helpers/importDeferProxy.js
immosquare-cleaner-0.1.38 node_modules/@babel/helpers/lib/helpers/importDeferProxy.js