Cache M Fixo

This commit is contained in:
Luiz Silva 2025-08-03 09:24:16 -03:00
parent 2dafba786d
commit e3c5642027
4 changed files with 11 additions and 2 deletions

View file

@ -19,6 +19,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
var cacheMemoria_exports = {};
__export(cacheMemoria_exports, {
cacheM: () => cacheM,
cacheMFixo: () => cacheMFixo,
cacheMemoria: () => cacheMemoria,
verCacheM: () => verCacheM
});
@ -41,9 +42,11 @@ const cacheM = (chave, valor, validadeSeg) => {
};
const verCacheM = () => _cache;
const cacheMemoria = cacheM;
const cacheMFixo = (chave) => (valor) => cacheM(chave, valor);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
cacheM,
cacheMFixo,
cacheMemoria,
verCacheM
});