securityos/node_modules/next/dist/trace/shared.js

33 lines
730 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
traceGlobals: null,
setGlobal: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
traceGlobals: function() {
return traceGlobals;
},
setGlobal: function() {
return setGlobal;
}
});
let _traceGlobals = global._traceGlobals;
if (!_traceGlobals) {
_traceGlobals = new Map();
}
global._traceGlobals = _traceGlobals;
const traceGlobals = _traceGlobals;
const setGlobal = (key, val)=>{
traceGlobals.set(key, val);
};
//# sourceMappingURL=shared.js.map