zyb 0c0b5d869c 加入了node_modules
添加了新的功能项
2025-05-13 21:23:41 +08:00

36 lines
920 B
JavaScript

"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 (_target, p, receiver) {
if (ns === null) ns = init();
return run(ns, p, receiver);
};
};
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