{"_id":"@jointly/cache-candidate","_rev":"33-b30399213463f5da96eed714016a1446","name":"@jointly/cache-candidate","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.0":{"name":"@jointly/cache-candidate","version":"1.0.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.0.0","maintainers":[{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"f231467a4f89e1d5cdbef406686fde9e1406a46e","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.0.0.tgz","fileCount":15,"integrity":"sha512-tlXQLA60BCfQstXEClH63A88xjtzlxKuMeKg/znusNKMsXgtYRB6V8AnKDDq/AxhhoC9UR5Y6HWHDYCNHV9jdg==","signatures":[{"sig":"MEUCIC5OiicBPAx1KEp03sqdGv0S1JRBl/WxVFObpYodxpZjAiEAwu1WOUJyKsswub0znb1AcbD6KkbFo3LwWs6qiB5oyog=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxXhOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2Qw/+M4lEFRFhL5BmZDBHUdT0adCT8AmZmXuxqkfIvEfUeeQ4IbNg\r\nhPIHJ0oewhTAq/XCLQ7CacUYXpTbL5qCBu4YrelRWJuUkdyxKkGNB933LEG7\r\n+kYEcxDKbjg8wMtJeDZoiczQ/d+zx3F+M97W12H5P+uhQlc25JaG0b7OR5Oo\r\npeVYbwMcBoJMwY9Idu6gnJ38gNqo1CCJ5ROCLOBNprPf8F1mY39XnWTsCS5C\r\n1aJMgY81cp5TuaBFFea+zphv9k68memzJ1P71sRxI2L/d92DqEluy7mCE0vD\r\nQyvyMBkDGJaxn1n+LJ7rhTsuT4J3K0Ujc5ANQvSxf852XoD0pmG1HkUGhnPG\r\nv1rD5BxZgk08WAemFlKuaSKC5rEEpEOelXo4vaBX5u4+DTduEv3EPMUK3tLq\r\nlpeoQnyhRGlzEPoLzST+EFzaqB1akdKAr2a6GU6TV+BLbKivsbwMRcq2jrK/\r\nNk04114iyg01VItLerk2qPU4BAt8rY8XCQSs4a64ROXDyvSpMPev51KCzKbW\r\nVKoi6yemwSXYU3O3eLnblorYPBkWKbYZK2gjiAMOSEJhxAUOWS71TyjWjNxJ\r\nFXMRt5XvHAi+Jx7rRzOdKLZxB6HoEtt7Rso+Bx9Rjf6b3jZwoo/EnPk2IFCn\r\nMk5QN/TK1bIJ0f597AbWhmMzPiQUk6EiYVE=\r\n=0XRs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"21a2f76d3efad16a3a838efc26179949f567738d","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a decorator and a higher-order function to cache the result of a method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.4","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.0.0_1673885774096_0.26675237041305655","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@jointly/cache-candidate","version":"1.0.2","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.0.2","maintainers":[{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"d31add8f441418bbc8da9dd0cfd387e9317217cc","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.0.2.tgz","fileCount":15,"integrity":"sha512-OwEmMH8pUBn/8Li6bdSNe77hOab4PsQ1QGYX9sQ5RECmf/QPekV9xU13yDp6fK54tF13OmlTwe6Ib+6WZ5QEig==","signatures":[{"sig":"MEYCIQDYjTZkXMY9NExOHbXfFMOiZDidufb4zRxZzk5nhE9YrAIhAPW4374B+3ecg2zI7BJgkLWDsFWb7y3y5JiKPpChRM8C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxYTJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr10A//TYUF6m+ztq2tkhnp09H/IUT15jRDzeLm7kjnjP05ajhjgECI\r\nfwRBQl6IwzqwFQzBL14Xg3EUQGtEM2sA99132ZDtA7+Re2y4K0MVAuvpe5ue\r\ndHLIryvEjCxcED8zbU+G/msoNq+a8UWvBMLirL4mTvUTLRewc8G/uxTL5N8I\r\nRNw/yG6C+n4AVEtaeprPxIrIaaxZlRlDLrtpDI/8/HsfsYpVUPuDEj4VbXfR\r\nM1jURd9638Y9oQn9jIKAAI+INJdYva6j25vi+LtGWqxCjW5dFv5PTSrk+qiM\r\nI+kIrfOzgGLDDfw1Q+vtiz5/sm/x/Az9+SYwCTtxPVVWLhvGgPOhHukDg0N2\r\n80LmMYCNJh667Bgzf5bYu8Wvrm5AyPhxG0oD5oJXdoB37JEPEUSaqPc8BAUk\r\nM3tH7OJVXCIg9tQvAZGqck+RrrvePeb7zlrA6bRq+HTlmXpyZAgIr119cMJz\r\ncJoldiQ7VHl79wvkAZsT2M9vz9GTgdHFMA2ZbRJy6jU0IgxQpmstB2VcVoyL\r\ntyEp/9qVRwIJ2UqKJmv2AsHoqOuVIHMlLuny5s4M0xu54h/NKX2Etih4phJO\r\nOCV2xXDtIzp9EMwuHYk+elILT+JyrvtV0PWbaNInzmwhdbrnWjsXBT6yqw4l\r\nPAdR9m9uNSwlg92hWJ9v6RqB8AqGlF8ykBk=\r\n=/4iu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"5e754b2f31de8b36c0ad7c6a2e27ba646fbd166d","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a decorator and a higher-order function to cache the result of a method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.4","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.0.2_1673888969730_0.4323140581480218","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@jointly/cache-candidate","version":"1.1.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.1.0","maintainers":[{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"dd2bd8159e7788217443c91a7919fa18a05aa200","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.1.0.tgz","fileCount":15,"integrity":"sha512-ld8mm/qmVIx8p9Xsz0kwas+2166CTpFiRSZFdazIU5ashDUc8ACv7S29n2IOfnR4/wgWt2FkYswW8TukmZuW2g==","signatures":[{"sig":"MEUCIDv7BrE1upY7mvu1/tIAQ/Tr/J7WzrMHXuBozSVr2VrPAiEA5xAUz3RbAxkukqyHgjWKUXAE5gPhhRpszIDyT75DU28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxrNbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmraLQ/5AclDxlrlHQkAx7GaJTdz4oo5/KW57L+QVJrinE/jtjJrHPwu\r\n68rgu53CPa29gSSvQTIj4e7Y7Q/S/2j3iPgI9ey28OVqZm5CtAeQS8xeZ+MH\r\n5+srhHVDIjuO1c+KdSyivB8y+uCLhlPKnhmv+d3+6wbIVzgB7WEAjaOOEKsY\r\nkQAVkKpuEfqhmRiOKzGS8BsUC01UpTQbaE8ppf3o3+0GjWh7cw/HbCLZl3XB\r\nTls+Wz1Nwm+IO3wDyVrrYBTCEMNABacfU1Xbl4oz9dDwZBVMHDz2OdONs/Mv\r\n3XBulx7BkyCJ4tVZsbOGgLwt9z7Mo+Y547ZuTgSzTjLNBGLlb3118JO2A+Tv\r\nI129u1+wwYTvjYElJCUkDZFg4BwvTSJ15LsSBf14GQETjpmUnyLa++VkjnG4\r\n4pGcCT/CwT5sGhiEY323TiiRorLP0Jp+Ldhm/zevuvQwBtH9jxuOeuVwFCPC\r\nZsJPlNf16zE6Fas9mdNgf7amziX8C24Uguu90yBxipC5djSynrkUpDeXVLD4\r\nAHF0P5GLhSAy1bdcogPeUc5eDhGyuR/CV/Uf1Onlr6lSNn1EPrIK+Ibpat80\r\nNJ+2pNKWDx6feVqYxqFOvQNHVLiXcYP42tpZFd8kx3gq0/ZRBF7VmmZeH6u0\r\nnZsdhWa5kpVgklhMI2iuRePK9yApsJsm138=\r\n=BXAh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"97a785207b4f41dd18d0b4a07a718b71119bc263","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.1.0_1673966427456_0.3843244156287495","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@jointly/cache-candidate","version":"1.1.1","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.1.1","maintainers":[{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"bed150eed8069e9ebb54a236f1ced7cf92997c8b","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.1.1.tgz","fileCount":15,"integrity":"sha512-FU0/kLJYa9WmyxHwmc0o4CgL/uLVJudBWMt5cL8l3LehmdwmojUx/DGGsa9eAn368j7aNYII+cosKvrZZUNijQ==","signatures":[{"sig":"MEQCIFlcsitjD/RgkyUOqCV1YOiDWDvvruBsJ3djVHqz8MPoAiAQfw1r+N5yJHAjPhooWlobil1TQRuR+flsQtOc1KHqpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxtPuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOww//X04NDMp31tW3Ln0rampr8StRD94RurFMBQe26v1FG5cnhdiY\r\nvCuDXgbeGFGi5Pi+G4PG301Ygxi2lQT/NLnd4gSsCzhqiK/e9oIOt0xlNRjN\r\n4LljJITJqLqjwfmnjtuNn6/qSh9BAzgq7cyWQReDCYCgceGHmg889ueboNZb\r\nsbARFe0fLe5vggINBquSHPxNPLrCDYvq0s6pde8CQAYZOH7X6084Kf7XQNtq\r\ncTmOAHUvw5aWZU8vDhHAikUXw92oScufOThOjK+nO7kea0cXqp5EYRuVG7IQ\r\nzG6YppY9fGh2R5H9bn6MvCj+cXadxHT3+GTfuCJWtd7RGpCq4to0hHhv3mpf\r\nJmPC/ZBWQJj5gpA4a46wFxYmLlTmhykCrJsBU6mNVR/11JHgkv79IINT+weu\r\n+Dv2rpxeH4qeEbacs2ae4h9k3XkRVpcwuOGOF+b9aOv7bB0ZQ+s+Cqwe546u\r\nvVnN32Yb04xThe/5PkpXnY9ZAEHVnTqTDCb3U5683UCFpsX1lfvABSU6hB0z\r\nUjPWgrPIO2DEBxI5isFiyAXqQ5aiCmbundNutTLFWgGYPsCGTIhKrQZp9h17\r\nLZ4f45R7ShQdJAwfkfoIq3m6hyNGj0NW7FXNJuAmYjCbjRJugW0CfP56u2xJ\r\n32EIkAG5VX5hMXSQGSKD75U/5XHH0lk86z8=\r\n=wCpS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"b1a1cce6555c28e664d2b768427ff9bb06978376","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.1.1_1673974766775_0.8154525483749575","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@jointly/cache-candidate","version":"1.1.2","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.1.2","maintainers":[{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"5b15c8924d8edf6c6bb0bc61cf286320ad4b5bc1","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.1.2.tgz","fileCount":15,"integrity":"sha512-pTpnMhfvTJs0MmaKvAYe9fAEoT+e9hwRmg9NpfI1PeIHltJdsj3nyIANXJP/iOshIjk7G3FJG7fNCQQ7w48TzQ==","signatures":[{"sig":"MEQCIB7GshE9yNABEsdpKZsJSXHGcUVe3hJrRJZvcwaI/dMsAiA7ld3T2GwsNMCd7dQ56/4mNukVPmYMHxXreU5wZw43Lw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxtp2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8dg/+MnRmg2wK7lxvEIAcrWkWwZtFKoqK964/mP0Pn0htclPqLJ8a\r\nSTyu8Dab0Gtui8DoNvAGqTabXv8f230wrmcs9GhxAe3Ns7VeEDXojnI79tv+\r\nS8YiijV9F9DmvyGxjjnoapDmgqmUnLGxqYeYNhLeDFciL2nw0iNvtH367h5V\r\n/qZkuKxBH2AeooDX4U6NDz2JrRSVZLSxyjltUX24GL8HFccChx/TAMgU7Y/I\r\ne+xX4SJyEnfuwJFSX89I+ZErC5RMBLyRQf2AzLrRr/qxq028GSiz+SOPCQ/k\r\nAClgCQxuov8pvO01Lq+BjBhHZRbTyb5DRr9cZg6lu0qAlEEYkeF5uHf8h02O\r\nWoQo0Hb5VjI0MnbpqJQAJgjpG+qiuUhdZ++dS3LFFB7jCyQ2JO12h0gibkAb\r\n+TDqao0/T0LIbFW7Ikh35ICiycy+mFp9HgHMeAXtYA3gdR/rieTiDWAWVlcA\r\n6XhO5J1vYMMldW1iGTOB/SBJ94hM8CTlkWN5ikQDWekwZPrrZi+dS7We0aMQ\r\nPdTnDH7yDjVtHwPux5t2HV2WG2n9ZKulxSz7axU+8Fd6WSD3L8Q9PFsO+fcJ\r\nMgsvdpQg1H3UKjL4xBkzGgtyME/dVQQCOnAsX2uIpalZSOOPnN6G/GyCCTsS\r\nTWsdw/+u4lvgN9nMT/JXFoeUrfbcKoPMfsQ=\r\n=Xq4Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"fdefd2fa197598eff76c27fc9e99d979caf43105","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.1.2_1673976438795_0.30645297711173414","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@jointly/cache-candidate","version":"1.1.3","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.1.3","maintainers":[{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"cb1b5e79a0dd8dc30af5a828577f79ba873386a4","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.1.3.tgz","fileCount":15,"integrity":"sha512-6wBOe4Cw0sUXIoN/NRxhnm45twfC8yKjZgfKneHzPRlweJJuMt6JE7FEuqN3kgqW6gVs7U9yfQpIBpXPCbyX+Q==","signatures":[{"sig":"MEUCIQDBAXp/rpf+Ql2Ffz6mZbR3WyWuxAkakErlVk2fefbSlwIgD2E16yB38HWHMF8pUQN1ctvwk0Zk78+tqVUQcB4PLwA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxuFXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnfA//dBjWpUOBZjyMn79IdbtReZH/TGq9jS+xRfhjDbYl/KBkKN1I\r\nXPF88h7nRo8zQydEotxm5lSKA1VRfVmWCjEsJ10pTg8zIhwz6YCzWDTLET0t\r\nCATUKk6YWo8PVCSxqdad9KXNEPdCdQmGMvdJex/KRA7MHXSqbN0hRZP9fL4G\r\njsScIHFQ54d8ZU2K7yED+Q6/f4uqAEgsdGNBE6gbNKSSeB1cDIVs9o1cRV5r\r\nzTO1EmJ5APtOaI/ckiyS71aGrIATpBmN0JiTVHOsbuth/o7VrvDGXOkrWvT+\r\n30zaeoItCG0C5ZEMt+vyF/yXjQwE3GnSQ4Z+/tuw80xTCejWIz0MhE2r/EiW\r\nsor8EqaXfkxUE4I4Mwsx2OfRU6s0JLzbe++/cNmmf2RTTj7zTOUKNFgx9xQZ\r\nvfvMcS09Q1E4glGRLDN6PI/Nff9I7IX+lh+72vDPHQNmAR/7BdQK1UGYmGO+\r\ny+ubJzjaMWz5gAUqzRTnO2b5/hBNTfdNg5zNhfo88l65wSc7Z3x05VYiTJB3\r\n4kXsRhINggHhEdZqu4GG8QsOZSJvq5oXPLIfniBObKOg5nMsy95Tj7JHNFD0\r\nhTjNCdoO1tBEdQbIY0a7IsNsOqJsr5ukrWCX7MKDmdNjrlV0p1HMYObfEZbY\r\ngyLt82ldH2nLHcHbbvdnBxOj09qsEalAN8A=\r\n=4yRq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"aea8fd9a86340ae53686ca94027e38e405d682da","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.1.3_1673978198972_0.02013716045638181","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@jointly/cache-candidate","version":"1.1.4","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.1.4","maintainers":[{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"5707822608c32d64bdccfaa8303490a14defb50f","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.1.4.tgz","fileCount":15,"integrity":"sha512-uBPjnmpmPmSDq8ObCfHalOZ1bQzCpu89jHjLfkXZeBDc2ZNWgwk9BLqy6jaDs3ThRHyO3VsaijmWmN/Se7vO6g==","signatures":[{"sig":"MEUCIEOUm81QviexqWy/g4Pomhw3iYSO6tM0JINKjU3otIP6AiEAtoAunqwItCtbZnsMH7eedTcq+ZxwN5On+Dt355/sGWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxvOOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrWQ//b8MOROkgNdAUYPg9fS+lejBpbdL7lNyBXYd5AMmc/po90+JT\r\nGkIV9KaJpilWFBlui5ts7+Ic7qVuj1d3pI8jRBiHSQ+WXEjTAy4Gt13h06M9\r\nQqp0kcKT1IAD489Nb7I52jtzG/0twpCGyDfeVNLQe1eEVeMsnUix5m4X637q\r\nfm9M+xMwNguiKZpXoP21oUdmieYy0yFsKyyDNl2rlqK+8lqyPeP596VQCnMY\r\nlKSRB/Gs//ZUGuBb2FI1fHVUpMmfNqM9FuE4jXwBNPrFYAVBLJt6uAmQYjYa\r\nlA7H8oFp3lPwNvTkCEC0DhEGlfgV73zvAPZibfRCYyUMMLgqc16Vt3zTRF1/\r\n9wcLqhA8KAgcp/gN5nL5ZhiZzVlTNnkqjL+ro+nVmEIlR/FreNz3sziqra73\r\nmtsaP6+2eeA0TxsBV8MS07FkwBaJBhHs75YmuxsrAUfX1Sl3AM2CY0yNpehN\r\nGRooqcBYVnHyYd6P99HGCWnj4WCpMKY2ZhaDetQGwPxl0tw5G02/CASMW/9b\r\nf8xu2Dhdi09vtijUKJNVEYUnfWzUVTHRaBtF71iAVeOBy9pPbhD0qgGs2yon\r\njrTqHmYt0fKVOzYT0LrOWZE5iCTLqyPeVZ5FTD/MbC06sDrZuMoiXzOpTP3b\r\nl5ofPg13okz1Jnvxz111HqKYSj5sIhZuH+8=\r\n=umJW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"65945bb706a248f8b99331b1b900c9a875fe4690","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.1.4_1673982861995_0.7136163065806691","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@jointly/cache-candidate","version":"1.1.5","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.1.5","maintainers":[{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"aeb26b13643c0e6d97468f38afb863ce27df8744","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.1.5.tgz","fileCount":15,"integrity":"sha512-ly9pzutb80Je2k8nb6HiX3R957ejQNJEL3EJFOBPUZyVJ+Al12cQXgSXDh7WcDWIsWAiynE/k7H0JkibDB3Npw==","signatures":[{"sig":"MEUCIQDwMuh92v6oCvoEXtLDcgy4p9/cyQ6vdiQ4OEwp5r4dewIgMHDTFrbEg20T0au4YNe8ENtReLpyLmQthlM7aGlrpxE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx8xuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+rxAAlAT72U3cz2buYygGjkhSYyqTs1nR8e4LSRzB4Bx2SBbsgNFR\r\nOD/j7H4K2BtSsgusvdFHTOI81POINxmxQDS/ZR7Jvlq42PMBTq2+ANPFZalS\r\npMrLIcYIzrs5STJckhBfDe4y/wOV1GTRIVM+Qvz+98H+aEgFKyy5+P7XN82Z\r\nMMH/+ni6Lf0kg6WRyDazaNAESUXMbYvgJuG+3rSPlpvUSWdZSP0AI6pnl4in\r\n0SgfxDiqy0E/LahpD7AleG5wrI1Kcej66JBEx/MJusv+dRx8K2VYDIVHbBrS\r\nx2wnF/m3zonKNULJ1f562PBSfYkpVyoVgHxJ7ayK2xGpVfSJnZ2GbrrKUvdV\r\ng8+DHq6qwGVz/Sl/0eIw5FeMxZCQyMdO9wHIw8KLbhCP4jyAt3TCZwlH6bUc\r\n8SAw6lwxwUYR6ipXd5nJRhOFxW97VaBkC7yo5kpQ5ebvHXbeuktU2UbIITK9\r\nJImlSmcLMbQ3/mQHHKhuQqueKVWtzAQjxTJ2urTqGfcF33UCnCOTCByR7Pqb\r\nh0G/NtucX8b/iZx669EdIWCcGEX9BvnjkjM7xAqV4rYCofE20w5Ro0IGCXwy\r\nTX1n2PI1rf/mDHkrAqjDRIAJTL1zaztc84ZQqXqL8PwhmAy68A8tB1ZuW1dI\r\nwuZzOc7/SezqTajeqweUxEMrgdRN7NTKm9A=\r\n=nfp/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"02f1033cf737ae6f37403a7d7ad3f6dcd79b41d7","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.1.5_1674038381948_0.2993384040634661","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@jointly/cache-candidate","version":"1.2.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.2.0","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"44635902a8ca921121a96645972675d6fd3489f1","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.2.0.tgz","fileCount":15,"integrity":"sha512-Xk5sItcq2WHSudPTeiu5LJxrTae2HqiKu14Wdb8M+Kw7EHIlD2y0Zkwvjm8ydInlM13ODYYKQmOFVTzeSS89dw==","signatures":[{"sig":"MEQCIFPdJz5XMrgFdI6FuurYKWAHm+qafNAbSa5xNEgT6e2aAiBpReHFsvP1S756Mpi9+rx1C0xXcdXJ7noE307udCdPjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1D0hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorRBAAia72BFel6hXTBH1KTax29jxdVKsIn42fPaoER3hkiL612s4D\r\nUQRmmZcvH86fVD8qqJXhN4CMhDFvIUaxbgYO/C5Jl7aU/F9d0wx1Nbb12lfA\r\n0mU7iFtGr0UToJcxSdPokDL6Ec+DEuN5UI4Nala/p08TbquY3rCBNnmipkPM\r\nIziwwZc6wQ1Eti+RXJNUFtZ3rWaZSrL6hcITF92848i72gX72qBog+RKc9Md\r\na1AOnVipxyF4J+ixo5bVc2ZY/kfEwCBhwrxj+mMLY0SyjptKx82KsynW81d1\r\n+9C/Tt30nyT6GqHtY+DCFOE9f1EXdBPnjmTXjKrG/dQcJ/kXSswun9g4Qvax\r\nBeQuoLcrOin3HFz7QQHkhYQo7nbplMZ9YTnijn9tCn+1hGEjO7KYFCYictOd\r\nniwsiU9vvYozR4t4AE+0ZYMdWLlV6Vp/sQyFT5aPaclcrB8TY4kyit1VBo6G\r\nfhhQMKbQ1DiLxPp2bThjHuHm7fTADlbsWTlNwa7DHSo/hksug1UeHnGNmgGv\r\nXoonJE7+RME36Qk8sp8dAOTBr+L9q3CL27NY7MYM3sB0Xko8RezjbFjoT5Zk\r\nzzHgWNJJFenB96yymqaVv2QmjquvPdARxiAvY4LwuRiUK46XdoaPrYnQxI0A\r\n33upWKjNKPi90B3p/AibcjaY1NbdXBZaq1M=\r\n=ygh2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"dc66abfdf30574b8ec36638a7736c23bc5b5843a","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.2.0_1674853664997_0.5426462209399334","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@jointly/cache-candidate","version":"1.3.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.3.0","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"817968dcd08ba1a145cf1192b60678390a008fb1","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.3.0.tgz","fileCount":15,"integrity":"sha512-Vi+ECW7Ocisqjsk0azXtHXleOxirAOvP03/UGylzAvCQBM4/d7JDcO3Oakw/DzOWLWdljCDmOFm4O5VhbRuTJg==","signatures":[{"sig":"MEUCIDvrQlvYcuudkW5EjMYZL3vXLuLeA6t+30sN8l/Lh+G4AiEA5Ao5F5m+xLsk4YYvBoMHshF6jBn3k7VfffQMGwTmiQ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1+QIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJPw/9GcNvs8teZR7CJg/8HfnAqaA0nTvbgC/uScqjGc0fNlvKvZjw\r\nR5F1tw3TwbnXgIOPGV/R+9Y3GitMPUGMDXFk+p5Q2zwMZwjRQMq6R/Ez7wEg\r\nQ77wGWZPJy4iunrBc4VstYQilH6YYo9/jbgh+TehSiaTAJWsCFzOnHsExB/g\r\nB2qaO81Xotra0i6I8WcCFLc/wdwOQ8rc+ipgcFQs47ojjNrjvv0N1Yx7sECf\r\n1B5mwldT9fsRN+9gqZlLBjcKoqS+N4/xm5Pje3b7Jgjx1KRt7B99DycICeGD\r\nR0g6Xk4nbjgTl6XXEI9mjoX06+dsyGq7Sg33VigiVtOcJcf6AzKniTUggdgx\r\nSNKulS46EixmJLDM+Ajw+lrPhUnJB07cGNDL+krehp+u6rSaVXykYJUC7Oje\r\nyFUO8X+8zcc7sE4ZTPtvv3U9E9rj5wx9VpIzumFgVkgCzqoBWxaao4JLXjeL\r\neLi0RW0ohbfIEwCF/LjjAackCLwDWhZnPHJ8vaAJkJ5tgeLdspq3E5Z7uJKZ\r\nHNzuRQF01IEQq3+bVz4+/LnXolFdxNUvMCHJxTwlHSWlETleE4UpXj+ILC0V\r\n5QY61wch9euNdDLD9l7AIVFpqTddci0B2zQyyl/VQPIlLoifg+xky26uiOtT\r\nDt+ZGojvyO8pGWjJrygODfo5WysUw35NTec=\r\n=/GN+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"e93809218392a8b8724aa6a111e97b818ccb7824","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.3.0_1675093000604_0.07200315216706832","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@jointly/cache-candidate","version":"1.4.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.4.0","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"46c5c597ffef3ef3f51220002ae778ba4736dc00","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.4.0.tgz","fileCount":15,"integrity":"sha512-OJWSfLciaaDy3K94pWwvMDwV13eBfzsbBbkwdqQbN9H5fIcl53R8le4zYRP7DISVRZZsfxfRxPotQCtDVlywmg==","signatures":[{"sig":"MEUCIB9kUmky4RcVbPDnJolO6j+FrB92Y5S4KFzI93A40RRSAiEAoILDGGmeKcTgLbcBuDOd23knJWL5Y7ukM91EtA01Um8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1/UFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLjw/9FrKszAFGp/G/t9E37zuozKLM85otnLVz+imHLUed/yPPvLzU\r\nhBdDxD514sELwKSNaEG47bXx6CAwscKzLUlE4z85tnbcUXAh0lbaW7tHgCCb\r\n8Y/Zb4vvUH2Pp2RVDfCGy1eGDPxlKfG6lhkZU9kUqwpXZ0Z1WwRTighKPNG2\r\nczc1mIAcGwpp3878S9eBe2ZLJWBiwF/XXWSZkvHbzFlPYmDday8irYMgRvbk\r\n1xknYxyREbqM2FV3egv9YSf0IxZJZ2PBi9/CDvCzbQ6NnX1R9+1vOc4jZx72\r\n8eAYilXN147UASAjjRHh1AB8AalNVDmDo78FAiWmKuViMsoujoyIoWP1ZuYU\r\nmF1c9htpvS4IpXkIeMRKZkaJ2C+lEVkt1WPZObn73UI/DfzzMMzl5njzqTN1\r\nffjmzXU5l43zmfjAWfUy2JMOYtqxwylQ8W9oNds6TJ5w9kgBjjKWMrygkf6E\r\nhHXp5HI/JAvtAsgpZUOOy32a6wq87v5gQYAokwkvGeJskREB4mE0JT71wz6v\r\n6JPMX1vpiTXIKLpMSooOCqIr5EaCkPamz8mAMS1wl1yYX34fxSz/reU7qw7I\r\nFybHz55nd/Ku5f4Uj+/QJQms8mLbtxBIFaimkM1UaFTGfcpR+JrE2VCtsRvA\r\nvmSUyl8eD8bdxfykeQlDppGgiJHWEoaqA0k=\r\n=jnwf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"f704db5b8233f53b76ca86f7d09ceee35f3c0e10","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.4.0_1675097349351_0.7024990186900544","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@jointly/cache-candidate","version":"1.4.1","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.4.1","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"b75d23caa8ca911821dd1d31616d370ce5322c1b","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.4.1.tgz","fileCount":15,"integrity":"sha512-U2PBfP+qIylBJwxE6IY2EbYmgIrOLyIUlM2rpEtS2bPN2/JicRgHfwKUbuCJd6PONFfDgYIY313/S70AS3N4hw==","signatures":[{"sig":"MEQCIBrOuhCbC4z+C8npMGRy1w3sKo4v/tKymRotDpreQ54QAiB5AukJHYy4bTSC9TiQxvV6rg3nXPZ+TiGGmyMUkG2RJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2C/1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZBw/+LSav4b+WvsrqPtU12N7ZLVZqtViYSBmBtJiAtEPN2D6lulKr\r\nb+AIiFY0P+Gxnv7UY9ni5eK45XJ7dY9u0Utc4W6BHJIdKgWorJ4C39npmd6d\r\n+b6t8FEO1mD2gEDHyADo3+5g4kiizafSmfndqb90bL3UBkmqh4dKZYmZFYMz\r\ngxZUKvJVsSRoC+NnK3n3jeIGAPpB25qVTNaNdS/2Bp1ZFxZ/IHrhBTS7MLOF\r\nvT9vwpV4g6bkVsKoNADBysz4PbJR7VfDbIzFZI/IaOokQm3o2nU0pzd9KSFI\r\nNJQiSzaJxcnKlP4TcjPKFTu1cAH8rrdmO8QZRWQ6kWAZC36cEME3jgwORENC\r\nMpKnGIULFj8525Sl5+laI+dz1kyn99sVdXW5i+wt2qk3shRrLyg3Yh0xuLce\r\nl5Ppa3BNuekzpjaCNxD22Fg2+8WrOlzv3xn+g0XLtfeSPxTc4a7bRtbd1reM\r\nx3wtvxwR+avEFBJYGyQPnQB/BcilD0ANWc3vUaF9DIQ8xS9RTHmi5reShMQI\r\nWkCbmxp6b9UuJ0VKe9p8QPhD64qZI69+Q/HZqArksWD79PZJ3taLUjX6njpc\r\nk4NI2xn2NcZrv/Fx8dmlUzlPY6Yhj7rzWvDufiP3M3gtzyMgyEdHhT3N3Ong\r\nSaVsry/WZIsC4+bf+C004RX8Y6uo7sZfGnY=\r\n=JPuc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"6fa9f05196b64374c6fb4454098db900de6bfe08","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.4.1_1675112437516_0.0026278679584836873","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"@jointly/cache-candidate","version":"1.5.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.0","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"0e4fbe0e5545de177fa369c1cc1f427acfa5dafb","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.0.tgz","fileCount":15,"integrity":"sha512-R+gItx0v7Dd+ZPaFPQv+B3QNpbJlBkBuFXcNUZERp0TIgspArWq42zYUQcBSdec2Bvowy60+k/ik1IOlKp7ifw==","signatures":[{"sig":"MEUCIEL2HiOJ19f5sDa9cal/rLEwYbQEMnzW+IiV+WgzPIGLAiEA5OXEy714t6fv0fCWjVuD1AePhWo2pPGpSQAF5813gcw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2NzKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHKQ/9G8JF6CwPnX6v/35YSIPHJEClE/GgqO1LBduwnqpNi4OsHGEB\r\nIxiUSFQdVQsNYpHP8iM1Otu0M8CQc7heXxZHbdBQi2hmGY/r2QjhxRKu/7EL\r\n+qoqBU+1evlNBgvVu44f1h6mrAYQmyy6QxcjoobumvoahxwEAh1d15BawSPu\r\n0pVmJYNev+/1NX1owTBkATU4WQe3pXG2Vn6kWFG8OFx++x+CWJw4pDzoSdqh\r\nrGyMWRAhQlN+JAf+aZ74dHDbvMeDScuW7+K3BsYZfKsnFGy4TUFQvsd96Ia0\r\nuv229pG+6S/h3Z1t1Dcz623/I1Lb5pbjxkLdQ5r4gvXYkT0pwLfjtEzI+ejV\r\nUhrgfbnLgoTMrkFw0B8yQe0rQvaFVuHWSizpijY+l5PbFzwrzBaVLMxl74ZV\r\nkVI0GgG3toYnSNFC7lAdfxBrkljPg24kGequJYQkDUF4rCoN1m8zDGU8fP1D\r\nOZd+K/Or/laU9rCbBuz+zK7I+tfZePlABoOkv5+nLt6F5o31t0/JyekBMnTQ\r\n2nanG8x+RjBPA79Qkqqn69M8EF59jXzIVOWiOrqy6uOhpnumFJTGPnmTvizs\r\n5PiTgpSovt9tcvgXSrbCoDVogzdJMrGMx9j2xa2prFchOsviecSiIxhXiCOC\r\nc4qVUu48SDjEh1zdg/aZBaEPxvpIgGQTM6k=\r\n=3V2a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"859c99db270e84f744b1c59f33d68b3b22dcc56b","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.0_1675156682275_0.5440189034983445","host":"s3://npm-registry-packages"}},"1.5.2":{"name":"@jointly/cache-candidate","version":"1.5.2","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.2","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"454f75657dec3ea15e8f8e5c4c0a21387e80e764","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.2.tgz","fileCount":15,"integrity":"sha512-6SQh66OWT0CMqqTo3wy/OUUoQTvj1O4RL6aMhafrps7BfsN1S5pjpGFJjzet8KHRW4gNFCzgtTF5iGDHuCOQRw==","signatures":[{"sig":"MEUCIQD2eeegQ9fcfHbp8/Pg0RNLsywrsn9jmBpEIk5ezZC0aQIgJXCdVLE1XW1tFujVIHxmXAwIcBt5sda7zTAOq8ETj2s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj257WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPvQ//aEFxAHDQqrzXXGy6OR31LBy9tV4yfXTOfixNk104Rnq36ADp\r\nPH78M8So9zPwRiMDnh5F/r+GQNSB/uEJ+t1kJFvJM7Td4SvSeifowqcOVQeo\r\n1r4eJKlY2mHEsktS2O/y8uOUAftjaKrX1hfWKOHjjqMJF+toXvGBUSv3VchG\r\nTbbBzEkkmDOB9TmDPLL46Wmh2elvgBlcSfbOt2i6fGg2K7fSQSEQEJt8/PLT\r\nLccmGpeqLEq/ZZ7x61QtqVwSGpJ0Yixchcc8YaVU3T3t6XsHtV57NvzB4DTL\r\n+qX0i/zDrma3KlNv0BFSfXvAeVUjKQlpJK4MqxhysnqJTVgf1StqWs9BIE/Z\r\nRhM6alDtY+4/JZkqPY2jr9/0sdI1PUvPStJ1AM+GTp+YxKsjSgfpzzwqFHa4\r\nw+xBHWTtl1BclOX545fDenKmpsdUoYJo5+kMUdsf744EKSQLH0MSyH7LZq7z\r\nj5MjYBDgE4gH6/A1dCFz+B19IOBJz/1vTTyRbff0pmRKHkRAK15G2+3Py3jg\r\nT8rlLZp+D9aNAeJ0dDmfhFtWtaxN1Gbn+zBL6sifFEcgyeAW2VofEpAC1FEy\r\ndm9Pts3s1w1dc6qaUQEH2+oKPxPDm4f9jeJyv4GpftWHkiTAqGjxdgl8sDHk\r\nJJXmUCfw7jBc1x8hbiZFrhqpEYGbrfR5kLA=\r\n=jvj4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"c3d9b7cf7a55640449dac804e50bcd9792a28ef5","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"rollsappletree","email":"rollsappletree@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"9.2.0","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.21.2","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.2_1675337430519_0.3995009432293526","host":"s3://npm-registry-packages"}},"1.5.3":{"name":"@jointly/cache-candidate","version":"1.5.3","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.3","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"65deeb602e064444492429cbcb143d4bd60b5a35","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.3.tgz","fileCount":15,"integrity":"sha512-mUsMka3BP/sLYVJdo7Mb+vBVXIT2GNB/NG421lEkYVse76uaxMDvGRviZvpTVF1Qt4QGUz5dDjI37BiD1TdPWw==","signatures":[{"sig":"MEUCIQCoWaBPV2PbVYtEzgvvZsJlUH0OKohsoM0CYnsqUUYS9wIgIRNgDVQz4k/AYMJs3N2O9oaWxHhgvSFMq+/11OcZ7vM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2+LAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrb3Q//WuXds8cQPLWcgdIJNibpl3b9FCSP/mRqgJeAzuJj9hh23U2t\r\nvQCuiycUuSEmNdp6ggeVoGLnboGXynGRYn/smOngSsiR4lVwxZ8ZT11acGQ7\r\nh+I0v/ahGzT+sRnUsKebjHYYMG8B9cG/SAYHHN1Om9Tv6egP6s2zR9K26lmt\r\npgaToXhG6UVivYBSKLiWlJkLC3hfR6t9OCywkgaLY8FVgfrY6iUUFCwsYz3n\r\nrN9Upwa7xy4LtSQ8JDqH9XehaKgYykPzmNksKF5eV7iYkWvEMmBs3cBntKZf\r\nvCpBXFvlynWQbNG5S/jvmAsIuLf3hGgWme63rFDnRtoywwlNdfhSj0P79JXn\r\nrykMtJpEr9zf3wF737182/64ATuVtEIVNe892739R3aL06Q3m8ma8Z7V+hOt\r\nuAywN3SYkSpMR+Zjc7cm5yozGa05b0k75HeRLTUBSxZEjgHfLHuKbnFueJ8D\r\nXQ6N8VOAjYt4EPvvFN9a0IGS31ts0tRfSmHXA+lKlGp68lMXCL5miBc7Y2p6\r\nUrjtPzDQwegMKDjvgXaSFrcgMoyS+u16DoLwYa2QYvBE8Yl8DsmclOVoNJne\r\n4Em2HBg2E2bW0B+l4wAcrlG/6qXf1gFCOSoGHY/dBe4r01IBChBOSgd72B7z\r\nspLj7DH3Vjgo3AHbgFQZGDriofBr151B1rk=\r\n=LKhG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"69b7cac619459e67426e677621adb7d91227c157","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.3_1675354816528_0.8769308508784532","host":"s3://npm-registry-packages"}},"1.5.4":{"name":"@jointly/cache-candidate","version":"1.5.4","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.4","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"56d48cff1d0838f10d15960ba71acb917639c647","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.4.tgz","fileCount":15,"integrity":"sha512-jD2A4Dby8Z120jb7elSZORmp8QqJXhfjxRGxa7zyd926FhnTFU3tEXW/sCOtAlZkeg+AdDyNicMS8s8bk+2ppg==","signatures":[{"sig":"MEUCIGDCRmBEf6+VFkwiw2d1QJA0fGRy2loSibzw2rZo82K7AiEA6L4Wjtz0Zg/ZqFY1jknU/hU7ih7OKIt8YeYqA4xIZ1o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj52nQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmplsw/8CW0soCT+k1Cyrt1CgO0VKmtxdDsNU97Vwn6/kyyiNi32v9/d\r\nhJZgcFZU2gJfEc8ng/IhDyIQu2xmoskKidVRPNc4f50GWwa8Q1+WTBAYfqxO\r\nGGdsyZF4qUKECFZHyXxXPF1mxeAYvciFPJSsKRjhKzoBTdAbr8oi8icbKOqb\r\nRfdeqyrk0Gn1DHtqqGCX6+bDw0ULNzDn6SoaL+L2XgWI6nB8rlTR7h6SKxG+\r\nTJ2WY2EH6YtCphL1BbTwZCWExoMNeIWPYSt+orM6a7+ZIJIOlMkFdw2OiA2b\r\nk+J0cDtJdCbiwGeFHnu7t8SapG0HG869JVuDbZLTU0l2CLCkmdGlgA9TMX5Q\r\nw8D8x0tu6qJn++f9A+pUhPwfRApEWt+Pi4u1bR0BOSsxSAP3RKp6r8Ur0119\r\nJGeDGKkKgFcD/oJSDPzZsiYeJAoTZDgcROGtaY+ni7uXPKA4VpPs1/OkA6Nx\r\n0XPPM7iT3PHZU9OVoG9JBkmkaebzI+RQRBOJakdbGnVn1uTRjpADfXpNvDWs\r\n7b9nu0WSoTRZyRJ6E2dnx5bi1fKDg/A7Hm5/nW1efhwxTBe6GDAc14dwxFcc\r\neZ7qJ8ZU0gVV4fexNoaUkCYhfWkp1YM06tB3ZeOFwHMfCLHTNr1B/u6uj9X3\r\nckVnn3DSZU7L9jr9eXfSIwIUwSvukTKiyos=\r\n=Atsy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"40b3841bb7ce88cb91f00694d9baec855a528218","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.11.0","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"16.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.4_1676110287866_0.5764423519065607","host":"s3://npm-registry-packages"}},"1.5.5":{"name":"@jointly/cache-candidate","version":"1.5.5","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.5","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"1aedb726e349417c74d80663605041bdbbe69061","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.5.tgz","fileCount":15,"integrity":"sha512-NvQC3SyT84lwdPrNEivT54tAfzPlTYdM+eoa3F8YnJE4EgfgczGsNNO55sMLSFozyB1lrmwqBsVDLVGnuvUjhA==","signatures":[{"sig":"MEUCIE2Y5HOjSnO7A7eTGCo0Zfk1idg+CPZmojq7BKPr/i5eAiEAyfKOZXkeVXDeUM9bnM47XeQGI0F0gA25j3AejRFDNYE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8JERACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpObw/8CYezrNVeI3OtvQHkxAY5eG6VChnzOd66ICEg1ucNfIAlC0Rp\r\n6UFI8P0os1GRMqAPqPwsPEeIowYHjhmNKy0tPvI4G1kYAxNNVilK7bmhHQMJ\r\nxwPsQIRACbu1GJQpOjuDYrHld+o5e+DlcSouHEmLkCslCGi1ZoZaYI5U9VQC\r\nUrH22hmY38IP9kgUp3XcbSYiyVzArUVppg2mtEpyxJSRknc/jVQEUYNniAXf\r\neey4WEZyAoi8awP7ZR+QB5yoTFH7UDsFQrajmzDuy9ACRFzFy8WSTOCs96a8\r\nP4cx8ohyetna/YuaBcXhrjV5VLrcX1ZgTJwXeQ5Esnc0qR7T/p2lAmrrBE3l\r\nZvFVLND9xaYKrVRWEKofs+Onl0r7r6uOpwTS+IjfUQbrhIzAzLrbmadjl2v9\r\n2bK6SVQjZsJyy5l7S/inVcQJ6s6g6cl2KEsw3o3E4roeqJQe3PA4VSrWXffb\r\noF0/wc1ROUKCjcv2UIEzApjYzw42B1HBwdRhiXpnI49/cG4rhw62Mw9qqBwC\r\nbLGhEr/uK6Db/aA6jyEHh4Xkf/jTNsScGldKEmC79f335XAeqjA3CV4ZM7Fz\r\nkRUKMHE0OyTPSX8mgZe7CpenBKsA4F5f5eZPVYqDMnRz+oz4zYP7n2VAsJPS\r\nnt+xTAfoV4Fe23z12dfqhP5WwOLrUA0wg7o=\r\n=8Xb6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"672125a586bc63829524db99234386a2dc3a3a6c","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.5_1676710161141_0.280665614728969","host":"s3://npm-registry-packages"}},"1.5.6":{"name":"@jointly/cache-candidate","version":"1.5.6","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.6","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"2335f81f0e18565002eaebdbb7ebcdee35b688a5","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.6.tgz","fileCount":15,"integrity":"sha512-/g9nPMibOE1ztr3Vh0Nht++ZgvF8CkBA2ddiKzeYbQl16qmosx01CX/FgIDmgO6Jrn28ScJtInudQ8/fH/DCYQ==","signatures":[{"sig":"MEUCIGKEfKlRsw5D7+FJnvHw2fn+nq+tGzjROtsf37UMOLeQAiEAgwfQZPtXUPk29bdsXpVA2vgWOHRIY4CsbKQ5PbDrvn8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBePWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+uA//YZTG8B6EgfJF/CWuUWAFGhV4WtcD+1tAAWTaypkotjlfopeT\r\nl7rcG8zwyCabmZBTiNwBpi8zDXw4Uf8ujDV7jZvaGr18b0oDspDzSfAoKdph\r\nIlBkW80FbJHPayA2r3hxA5il15H9oOhztA4YxE93HdMPUIKK6QsUM5toAqFR\r\nE3aDVJAVs3ZnI0F83y089edgV81NzSoF5g2IyoGIwr078AlD76/8d+giOIpv\r\nTSCy8n8WfOz9qctmxISt+LftPGRi78PBof8kjo40a6NMvpvDf1SK0WBOfuJd\r\nX+B+M9047w6t10PdgXnkt0VLgxXsK2VZg3V8HW96/OePOG2/mG36GEca2Jj0\r\nJ0cGJlxoeUXLDEOqRrzlep9nReBpT7DHAgattMSj+2UE34yh8CST6IrdmcUJ\r\nwjYW6rUPZhtHbLN3Hmor5Hv0SNNnKJdpmf/a608NcEvL1WkQwQlyDCKJ0b2D\r\nZn8WSrWVxJfciOZcQUg4EeY2tb1pWSt5lGO1GXdMPvvK1vP1NXInNHDlbilJ\r\nofoMCeK5gvKkNL5Z8WaVGRqNrmm26b+yiXnf0N7U0thaOyFoBZODpNpo5k5t\r\n+3cIxxz0xlDNgvNINdR5gaZxYOLbC/0YPZ2OCENSiQUkNEuUbrWIWbITtCGT\r\nbRTsMb1/7RN1kqsXwdf1vDlWvfTzitYYOIM=\r\n=1gQN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"32207017d8acede93e10e9542ff2b89b15ce8084","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.6_1678107606268_0.6285998643427837","host":"s3://npm-registry-packages"}},"1.5.7":{"name":"@jointly/cache-candidate","version":"1.5.7","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.7","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"f109719aa3b0c937c25d84335982aa19a23a4a54","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.7.tgz","fileCount":15,"integrity":"sha512-gD7P3ZlQfwTwHPR7DWbDgAwZS9UpLnJ8jH6PzBFXGnPOtyH1Y4zI/m+kAcnN+9ruM7Oqj5h7s+8CPFkLDL4N6Q==","signatures":[{"sig":"MEUCICtwLteVjva07/e/xqUf4hLOnmBVFmLSv/DDd+3hcoJvAiEA/fsYgQjCNB9Wv0m6hjjCh/y0cT3CfXCPd6+1vsJTqjg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBeS4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVZg/5AM5bHCqlZXk1GpeeLRrssZNmB6kjJnwQwmSn2vNtkEocP06c\r\n9/VyLsj+2+ZegJxyU3WP1X9Ycs3QlnRQ6ZIH6+LWexBWuJ2Fz3u5LwfTHqJR\r\nvoWfPY6OJKPeA9rneqO6V0a0IwnjFohIqvbAolR2cUYHbiQMb6AcCPj4HvF1\r\n44t79mNzzID6Bh7cgUBoOeL8NtP7V1O7yRDGSkQicVsiGA69D5R+E18lfWrf\r\ngDqFG2K1VsazAXiEqrDZQ5ebYkG8n7cy3HcOV+L/DzdcFvrwms3c0z6k4hsP\r\nWFEad1st6jpUKarS4ZvfioqSiv8KJgHKAfIIgMvwLTbgVJSWNyVBQfGQOV4T\r\nBekb198azqbo6G6hLDi4m3G4jXsZDDNn1rZf7GAhEB4JLLFV1tBG7fG8rcFL\r\nE5AC+zB78/XYWsrlArbFALElu23asOAVpy6gxfRPeRIGyJaFezW48X1e2L2/\r\nJYrAojv6PrvoT0ykbRGMh2go+seqS6uOF1mflXF1ZK8BMaencHwj4O7QjmGU\r\nSLM2PgDlQOyn70RztDbqHLSdhFrrOLbXNcnPJxcfoejgD3uD3RmM5SH4/kp2\r\njZLej5YC4KVEsB3iGlOZpKGBShEyFtDvjdYZ68mtgek5IrJLY0UeMRIR5Ujr\r\nkumfcdoszgVQJLKSczHvLow8fLASLkaYw/8=\r\n=H5J3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"b3a98f45d8479df4dc6fb7a0e29b90c769eef954","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.7_1678107832091_0.45968814378470757","host":"s3://npm-registry-packages"}},"1.5.8":{"name":"@jointly/cache-candidate","version":"1.5.8","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.8","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"1c5097de35373124f9da2fb721842891fea9912e","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.8.tgz","fileCount":15,"integrity":"sha512-WBYTSsCGJlrbxI2GZ6xQg6GwOk7RgtW+7OH0L/VNQvQoXmZtt9Vri3sCOgikJVGsYLbr5UT+KnYTt40kACZLFA==","signatures":[{"sig":"MEUCIF0gqJU1LaB3lzWJcJs6rPtYUktVtykUiSFyJaDrHbHmAiEA8tgqfI2l1jAdUgs9sx+g3Vb5VS+Ys+KbL3L14Sn1qRY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLAGzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxYA//S812d4Av/PPB4VN7reobiKXEbRPUUCY1SYDZkI+QgasvYWl/\r\nv3Tsijj/jMBfee0/S55eoPlJXHQFpG1bmBdna1Me+EhpsvUy6bTIL2PDeeuu\r\nVFppPFxsZwgeR3TeU3qT4+Wv1eSH2fD+tWxucNcfPE06bXfDcSVBy6xP52rp\r\narJEdJj5k/pLnf3n0bkt33ta4WmKp0CjGsiGjMYz9H8N9I9ZbJql7syEudXG\r\nw4GWyLJCjzUMzICWG4KGx/Jbkw9YNro7DCvNrtXFxKAtUEPDnxfQ7wGeWY6g\r\n8qrTOKRdDZ0WAp8ICHRAgPkFTUVCoAB1s9cd2BJGihhOQcYro3rVV2H8BpfE\r\n7o4KIHbVZODLgqYYqPnDf/SBCRr08QOm5vzcg4zjIVDEPvfTpQpixfxQDvSC\r\nAnF8H9SWm13KBqPBT15SlVm4kXDk6x2NcutF75/u4WMKJ6BYw9gIWGs/zupw\r\nJDbvLSoj3n4pEVdNxP2iCaOPxq82332SV1bsTfWyC8+nBQU2C9+jGQscEaLx\r\nZCj0KvF0ljke0X1zJqlEq7sBEDSWsDSW8QTNK5E+DXG4mAkHiAmbwYggnmfU\r\n/Rz1oZRCaB9uA4NVITvwrnS8a31ZZP3B67HW9EqgLiaRoOnK8OV59jI/SYFD\r\nblcf2IvbeWFL0e35HrMQl9URz4dBnrDjhzQ=\r\n=dp34\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"70746d540f628b73c6490d3ecb81aa6b41b0d56d","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.8_1680605619606_0.46684309513216293","host":"s3://npm-registry-packages"}},"1.5.10":{"name":"@jointly/cache-candidate","version":"1.5.10","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@1.5.10","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"838bdb31f7bc0bba9159b9e1818fdc3070872d71","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-1.5.10.tgz","fileCount":15,"integrity":"sha512-91qsiaxJdMOTHE6CH9SZTFFSZulYwSw27KVWe+Q3UU6JeWbB55JwV6FcPq40G4tPmh/ZRkUswN3pDoyUQxVWWA==","signatures":[{"sig":"MEQCIFBU8ldZiq79I5gnyjCAmHPqN18NG8W2JcYR+omOYFB9AiB5GtEATDMwPjkMSNEfPmvBGPVvvfTKt+FmJeRxl/DQqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkROMtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6WhAAo2J+aO4Eu21HodtlMTIZDTwmy2WUDUAIFSq8vqm3zaOAQ6k2\r\nlpLPlapP+Mk1I0JGhEFMdfomSNdQDi7jv0+wuDUtna4/HhUtUG1Cysvdyi2U\r\nVhXnknEtyly9YorNQEfLls7wFwrztQi1HOyGNYFgogORP3Ej0H03ALis/+Q/\r\nXy3st5YzG9LTyHWs4UpLR1ev/OjyB7nbkpG0M39Sf2bd2a3oujxYR7jaTWOo\r\nfHuGqhvZVYl/fFVQS8Xa7ZTnr6UY5cdGgVChfvTw15ONo1WpKmDWGUvO9l3+\r\nicAWQEyvf/aiepbFdHe5/d54TOTx1FY59EZRVh3gZnbKOswbWot0jYkMM9Kk\r\nJIjeN5+JVolhpAw1cWYNe5znXAw1rbCzbKFhESFVpsWWADqfrloFI5ovBNe+\r\neqJATi6HUWCnbz4tyBoBOBkr2D2lzNG/fZCwJmdLyemJlQmLUN+g1PRhcWYn\r\ny9UIWkHp8uBRBY3blBb+Wo+v9ZXKHakpxzwEZJ1Jlg6XerT4wK8tZRlnV+qU\r\nwCHrE0/4UAWmFK4oQ3XPvnHSUgwLjfET+Iu2qAW1SfS9+lUzf67PZNYBjoDm\r\nVF5+D6kyUAZxgq6bDb7/GeVQ1rV1ckNx1NqEkea8ErigVR8ESZ2kJt86qKq9\r\np9zAppBnRX6L6tHJyCKin2h1rOpRS0Vig1g=\r\n=icdN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"c6504944874d953716f28169ffccf33098b29982","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"9.6.4","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"20.0.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^1.2.6"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_1.5.10_1682236205452_0.6416683310785161","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@jointly/cache-candidate","version":"2.0.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@2.0.0","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"4416df28f508b08193d87bfeb85aeebe193c41eb","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-2.0.0.tgz","fileCount":16,"integrity":"sha512-rFzZt5o0xKujmZZw9jJBqKsr4mWkZQS3bWjD0sAZKKdgpDZzYQFeK5KPZOB44HuwAKID148muPBxZiplw/dbsg==","signatures":[{"sig":"MEUCIQDLUuXghxgQeJ+A1SQdgLMW5iuTkpuWfJr6yzzIjyAedgIgeZ3Dd7x0DDBOk82MSrpp92d1IV1qLbMuie1vfggm65g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35781},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"9b23a60ba357657a52903bbff9620e83441a4229","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"8.19.2","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"hook-fn":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","husky":"^8.0.2","eslint":"^8.29.0","rimraf":"^3.0.2","esbuild":"^0.16.4","ts-jest":"^29.0.3","prettier":"^2.8.1","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/node":"^18.11.12","lint-staged":"^13.1.0","@types/redis":"^4.0.11","@commitlint/cli":"^17.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^5.46.0","@commitlint/config-conventional":"^17.3.0","@typescript-eslint/eslint-plugin":"^5.46.0","@jointly/cache-candidate-plugin-base":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_2.0.0_1686054450445_0.6286011053785325","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@jointly/cache-candidate","version":"2.0.1","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@2.0.1","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"9493a2467f33d28b8fef53ca18603a789225e3d6","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-2.0.1.tgz","fileCount":16,"integrity":"sha512-hAXjsg3mqV+79V1lc5LTqYFo5Teg6iZU3HbXr0r+Fm2UV5OWL9F7LMMYe2sy2PthsKPl2FfU78Mb78sb1AZZ+g==","signatures":[{"sig":"MEUCIQDeFVyrMcAsbWxJzAcspljNeRcYm0FQQbcET9GT8L8XAgIgNxFye1EioeNeYlhYjDBdfaCvLrKpZJlzeLp0kLd7Nhg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35781},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"adf8df20c90a36b500841293fce2b162031a192b","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"10.2.4","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"20.11.1","dependencies":{"hook-fn":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","eslint":"^8.29.0","rimraf":"^5.0.5","esbuild":"^0.21.0","ts-jest":"^29.1.2","prettier":"^3.2.5","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.5.12","@types/node":"^20.12.10","lint-staged":"^15.2.2","@types/redis":"^4.0.11","@commitlint/cli":"^19.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^7.8.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.8.0","@jointly/cache-candidate-plugin-base":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_2.0.1_1715085915752_0.9885733847271079","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@jointly/cache-candidate","version":"2.1.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@2.1.0","maintainers":[{"name":"tonycaputome","email":"caputo.antonio@outlook.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"cadienvan","email":"cadienvan@gmail.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"5dd15e5a88409bca1147470d51c41c95629dba53","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-2.1.0.tgz","fileCount":16,"integrity":"sha512-km2ZgLzG1VFiYvUZzGaFc3hrNVGCMmgqIugK2I/6PeitwiSwfO8BKy2bPKOPMSdkQ7jUcIr3y+fY4YcOHw29Zw==","signatures":[{"sig":"MEYCIQDfd66x1+qsVTWfMMW+RZSdDDyzPry3s/guWDZ05cn8LAIhAKCxDyyiKWJv2wFubKiBDhN2WcT2enzdsqt1+0iP5kxO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36195},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"b2a00169427e5e2abf8e31564effbcbae7fff51e","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"10.8.3","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"22.9.0","dependencies":{"hook-fn":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","eslint":"^8.29.0","rimraf":"^5.0.5","esbuild":"^0.21.0","ts-jest":"^29.1.2","prettier":"^3.2.5","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.5.12","@types/node":"^20.12.10","lint-staged":"^15.2.2","@types/redis":"^4.0.11","@commitlint/cli":"^19.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^7.8.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.8.0","@jointly/cache-candidate-plugin-base":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_2.1.0_1727342962449_0.6903421886516783","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@jointly/cache-candidate","version":"2.1.1","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@2.1.1","maintainers":[{"name":"cadienvan","email":"cadienvan@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"tonycaputome","email":"caputo.antonio@outlook.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"326f0940cf398fce13a5be66f8cf7a601807fa51","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-2.1.1.tgz","fileCount":16,"integrity":"sha512-1vq0c4GO6q8AZnGXkPseFjN8C17PF7wzhq6r+VRYnJaAkFj8nPJViHMhkDyemU0NjaOTGOjp1tQi3bwwTl5o6g==","signatures":[{"sig":"MEYCIQCQTgMNpzOr8cd0jt8jgPwv0fWBpv0y8KlPEeaCj6DzyQIhAMfG3bvK3mQRIa3BmoKSqKR04f1TPZQTxWrzfYmwAmvV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36227},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"a2213e448b81f4da3665b7025ca2e48273e9c84f","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"10.9.0","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"22.10.0","dependencies":{"hook-fn":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","eslint":"^8.29.0","rimraf":"^5.0.5","esbuild":"^0.21.0","ts-jest":"^29.1.2","prettier":"^3.2.5","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.5.12","@types/node":"^20.12.10","lint-staged":"^15.2.2","@types/redis":"^4.0.11","@commitlint/cli":"^19.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^7.8.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.8.0","@jointly/cache-candidate-plugin-base":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_2.1.1_1733737564679_0.8920799079936379","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@jointly/cache-candidate","version":"2.1.2","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@2.1.2","maintainers":[{"name":"cadienvan","email":"cadienvan@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"tonycaputome","email":"caputo.antonio@outlook.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"33d34756376eaba13edbb4cde882e972fcc178ce","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-2.1.2.tgz","fileCount":16,"integrity":"sha512-4WkgsFp/tNEhsdUBa551Y+4Y3mdFDIMu5fx4bQBGnfyR5REApc9V/4lxswLW6wpAgC4uUgf98/LgIxvCvgXQrQ==","signatures":[{"sig":"MEUCIGIkwhlw8z3sl3b8okunjFw3cNyijc/d7Mm7ANQGUhzkAiEAqeILacOIT2F2U0zTZoeNbzcHzDbor2A92xd35K5uiS8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36220},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"ff34f351ba94b46442676a096e8b78df0dedf527","prepare":"npm run build","private":false,"scripts":{"dev":"jest --watch","lint":"eslint ./src --ext .ts","test":"jest --no-cache","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","coverage":"jest --coverage","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"10.9.0","description":"This is a library providing both a higher-order function and a decorator to cache the result of a function/method if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"22.10.0","dependencies":{"hook-fn":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","eslint":"^8.29.0","rimraf":"^5.0.5","esbuild":"^0.21.0","ts-jest":"^29.1.2","prettier":"^3.2.5","benchmark":"^2.1.4","typescript":"^4.9.4","@types/jest":"^29.5.12","@types/node":"^20.12.10","lint-staged":"^15.2.2","@types/redis":"^4.0.11","@commitlint/cli":"^19.3.0","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^7.8.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.8.0","@jointly/cache-candidate-plugin-base":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_2.1.2_1733744483600_0.3884968566806739","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@jointly/cache-candidate","version":"3.0.0","author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","_id":"@jointly/cache-candidate@3.0.0","maintainers":[{"name":"cadienvan","email":"cadienvan@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"tonycaputome","email":"caputo.antonio@outlook.com"}],"homepage":"https://github.com/JointlyTech/cache-candidate#readme","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"dist":{"shasum":"73c4f7479fb3f5c6d6bd95bf49941e0e6e75ce3c","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-3.0.0.tgz","fileCount":13,"integrity":"sha512-+Yt+eJMVBZl8L481n8Naz3imJC/Vj4Pp9uAsxnXpHoH0ZpacoqwN/7HxMgFRAvvXYCPa+Ku7/1bRw/oB4Oc1HA==","signatures":[{"sig":"MEQCIAfuUqE5PC+9f3QK3diiaAhGJ+KAwxsOFmqqAeBMggyEAiB/xz/fWOf6JZiA/w5QSabgOkfEWhz8sPIx+Sou5pimRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34046},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"8e8a78c25f3a0af6aa3e892e42986aaff30f0e70","prepare":"npm run build","private":false,"scripts":{"lint":"eslint ./src --ext .ts","test":"node --import tsx --test-force-exit --test **/index.test.ts","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","check":"npm run prettier && npm run lint && npm test","prettier":"prettier --write ./src","ts-types":"tsc --emitDeclarationOnly --outDir dist","benchmark":"node benchmark.js","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","test:coverage":"node --import tsx --test-force-exit --experimental-test-coverage --test **/index.test.ts","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js"},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"repository":{"url":"git://github.com/JointlyTech/cache-candidate.git","type":"git"},"_npmVersion":"10.9.2","description":"This is a library providing a higher-order function to cache the result of a function if given conditions are met.","directories":{},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"_nodeVersion":"22.14.0","dependencies":{"hook-fn":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","husky":"^9.1.7","eslint":"^9.21.0","rimraf":"^6.0.1","esbuild":"^0.25.0","prettier":"^3.5.2","benchmark":"^2.1.4","typescript":"^5.7.3","@types/node":"^22.13.5","lint-staged":"^15.4.3","@types/redis":"^4.0.11","@commitlint/cli":"^19.7.1","generate-changelog":"^1.8.0","@typescript-eslint/parser":"^8.24.1","@commitlint/config-conventional":"^19.7.1","@typescript-eslint/eslint-plugin":"^8.24.1","@jointly/cache-candidate-plugin-base":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cache-candidate_3.0.0_1740387738245_0.8905027708731876","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@jointly/cache-candidate","private":false,"version":"3.1.0","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"ts-types":"tsc --emitDeclarationOnly --outDir dist","check":"npm run prettier && npm run lint && npm test","build":"npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types","build-doctor-bubbleproof":"rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js","prettier":"prettier --write ./src","lint":"eslint ./src --ext .ts","test":"node --import tsx --test-force-exit --test **/index.test.ts","test:coverage":"node --import tsx --test-force-exit --experimental-test-coverage --test **/index.test.ts","benchmark":"node benchmark.js","release:common":"npm run build && git push --follow-tags origin main && npm publish --access public","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common"},"prepare":"npm run build","devDependencies":{"@commitlint/cli":"^19.7.1","@commitlint/config-conventional":"^19.7.1","@jointly/cache-candidate-plugin-base":"^2.1.1","@types/node":"^22.13.5","@types/redis":"^4.0.11","@typescript-eslint/eslint-plugin":"^8.24.1","@typescript-eslint/parser":"^8.24.1","benchmark":"^2.1.4","esbuild":"^0.25.0","eslint":"^9.21.0","generate-changelog":"^1.8.0","husky":"^9.1.7","lint-staged":"^15.4.3","prettier":"^3.5.2","rimraf":"^6.0.1","tsx":"^4.19.3","typescript":"^5.7.3"},"lint-staged":{"src/**/*.{js,jsx,ts,tsx}":["npx prettier --write","npx eslint --fix"]},"repository":{"type":"git","url":"git://github.com/JointlyTech/cache-candidate.git"},"license":"MIT","author":{"name":"Jointly","email":"dev@jointly.pro"},"dependencies":{"hook-fn":"^1.0.6"},"_id":"@jointly/cache-candidate@3.1.0","gitHead":"5ef50b209ae248b37d00cdabfef702b6c101fe8f","description":"This is a library providing a higher-order function to cache the result of a function if given conditions are met.","bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"homepage":"https://github.com/JointlyTech/cache-candidate#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-xV23WNgF5qRh/H06hmGSI57ymvK35dBXRQfFhVUyJ624SGsiNlEwPs4i7219Zjlx2GWLOVvyspI7clDGonR7Rg==","shasum":"58d4e86a85e079a05a77bdf671020b22863477fb","tarball":"https://registry.npmjs.org/@jointly/cache-candidate/-/cache-candidate-3.1.0.tgz","fileCount":13,"unpackedSize":34115,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDrprfOXPwmUy52wO44fVBuQVV/T6eTiKlJEh3RgUBpZAiEAnpESaUuxuSyMIhUaXNhvfBNOZ/ypGHen33z2y/NaKSs="}]},"_npmUser":{"name":"cadienvan","email":"cadienvan@gmail.com"},"directories":{},"maintainers":[{"name":"cadienvan","email":"cadienvan@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"tonycaputome","email":"caputo.antonio@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cache-candidate_3.1.0_1759921179689_0.6339285350907782"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-16T16:16:13.999Z","modified":"2025-10-08T10:59:40.145Z","1.0.0":"2023-01-16T16:16:14.280Z","1.0.2":"2023-01-16T17:09:29.938Z","1.1.0":"2023-01-17T14:40:27.673Z","1.1.1":"2023-01-17T16:59:26.957Z","1.1.2":"2023-01-17T17:27:18.962Z","1.1.3":"2023-01-17T17:56:39.128Z","1.1.4":"2023-01-17T19:14:22.194Z","1.1.5":"2023-01-18T10:39:42.195Z","1.2.0":"2023-01-27T21:07:45.201Z","1.3.0":"2023-01-30T15:36:40.733Z","1.4.0":"2023-01-30T16:49:09.542Z","1.4.1":"2023-01-30T21:00:37.724Z","1.5.0":"2023-01-31T09:18:02.436Z","1.5.2":"2023-02-02T11:30:30.784Z","1.5.3":"2023-02-02T16:20:16.722Z","1.5.4":"2023-02-11T10:11:28.017Z","1.5.5":"2023-02-18T08:49:21.290Z","1.5.6":"2023-03-06T13:00:06.497Z","1.5.7":"2023-03-06T13:03:52.256Z","1.5.8":"2023-04-04T10:53:39.804Z","1.5.10":"2023-04-23T07:50:05.619Z","2.0.0":"2023-06-06T12:27:30.599Z","2.0.1":"2024-05-07T12:45:15.889Z","2.1.0":"2024-09-26T09:29:22.632Z","2.1.1":"2024-12-09T09:46:04.854Z","2.1.2":"2024-12-09T11:41:23.761Z","3.0.0":"2025-02-24T09:02:18.468Z","3.1.0":"2025-10-08T10:59:39.860Z"},"bugs":{"url":"https://github.com/JointlyTech/cache-candidate/issues"},"author":{"name":"Jointly","email":"dev@jointly.pro"},"license":"MIT","homepage":"https://github.com/JointlyTech/cache-candidate#readme","repository":{"type":"git","url":"git://github.com/JointlyTech/cache-candidate.git"},"description":"This is a library providing a higher-order function to cache the result of a function if given conditions are met.","maintainers":[{"name":"cadienvan","email":"cadienvan@gmail.com"},{"name":"rollsappletree","email":"rollsappletree@gmail.com"},{"name":"darknios","email":"dark.nios@gmail.com"},{"name":"akram.mahmoud","email":"akrammahmoud.web@gmail.com"},{"name":"emcestari","email":"enricomaria.cestari@gmail.com"},{"name":"captainolon","email":"pellegrino.durante@gmail.com"},{"name":"tonycaputome","email":"caputo.antonio@outlook.com"}],"readme":"# What is it?\n\nThis is a library providing a higher-order function to cache the result of a function if given conditions are met.\n\n# How do I install it?\n\nYou can install it by using the following command:\n\n```bash\nnpm install @jointly/cache-candidate\n```\n\n# Examples\n\n## Use-case #1: DB query\n\nIn this scenario, we want to cache the result of the function if the same parameters are passed 3 times in the last 30 seconds, but we want to keep the cache record for 60 seconds.\n\n```js\nimport { cacheCandidate } from '@jointly/cache-candidate';\n\nfunction getUsers(filters = {}) {\n  return db.query('SELECT * FROM users WHERE ?', filters);\n}\n\nconst cachedGetUsers = cacheCandidate(getUsers, {\n  requestsThreshold: 3,\n  ttl: 60000,\n  timeFrame: 30000\n});\n\nawait cachedGetUsers({ name: 'John' }); // <-- This won't be cached, because the requestsThreshold is 3 in the last 30 seconds\nawait cachedGetUsers({ name: 'John' }); // <-- This won't be cached, because the requestsThreshold is 3 in the last 30 seconds\nawait cachedGetUsers({ name: 'John' }); // <-- This WILL be cached, because the requestsThreshold is 3 in the last 30 seconds!\nawait cachedGetUsers({ name: 'Jack' }); // <-- This won't be cached, because parameters are different\nawait sleep(61000); // <-- This will wait enough time (ttl) for the cache record to expire\nawait cachedGetUsers({ name: 'John' }); // <-- This won't be cached, because the requestsThreshold is 3 in the last 30 seconds\n```\n## Use-case #2: DB query - Different timeFrame\n\nIn this scenario, we want to cache the result of the function if the same parameters are passed 3 times in the last 45 seconds, but we want to keep the cache record for 30 seconds. This example could reflect a scenario in which you are paying for the cache storage, yet you want to cache the same result again if the same parameters are passed 3 times in a short period of time.\n```js\nimport { cacheCandidate } from '@jointly/cache-candidate';\n\nfunction getUsers(filters = {}) {\n  return db.query('SELECT * FROM users WHERE ?', filters);\n}\n\nconst cachedGetUsers = cacheCandidate(getUsers, {\n  requestsThreshold: 3,\n  ttl: 30000,\n  timeFrame: 45000 // <-- Notice the different timeFrame, higher than cache ttl\n});\n\nawait cachedGetUsers({ name: 'John' }); // <-- This won't be cached, because the requestsThreshold is 3 in the last 45 seconds\nawait cachedGetUsers({ name: 'John' }); // <-- This won't be cached, because the requestsThreshold is 3 in the last 45 seconds\nawait cachedGetUsers({ name: 'John' }); // <-- This WILL be cached, because the requestsThreshold is 3 in the last 45 seconds!\nawait cachedGetUsers({ name: 'Jack' }); // <-- This won't be cached, because parameters are different\nawait sleep(31000); // <-- This will wait enough time (ttl) for the cache record to expire\nawait cachedGetUsers({ name: 'John' }); // <-- This WILL be cached, because the requestsThreshold is 3 in the last 45 seconds!\n```\n\n## Use-case #3: Advanced Usage - Candidate Function\n\nYou can also pass a candidate function to check if the conditions are met.\n\n```js\nimport { cacheCandidate } from '@jointly/cache-candidate';\n\nfunction getUsers(filters = {}) {\n  return db.query('SELECT * FROM users WHERE ?', filters);\n}\n\nconst cachedGetUsers = cacheCandidate(getUsers, {\n  ttl: 30000,\n  candidateFunction: ({ timeFrameCacheRecords, options, args }) => args[0].name === 'John',\n});\n\nawait cachedGetUsers({ name: 'John' }); // <-- This will be cached, because the candidateFunction returns true\nawait cachedGetUsers({ name: 'John' }); // <-- This will return the cached value\nawait cachedGetUsers({ name: 'Jack' }); // <-- This won't be cached, because the candidateFunction returns false\nawait sleep(31000); // <-- This will invalidate the cache because of the ttl\n```\n\n# How does it work?\n\nThe library exposes the `cacheCandidate` function which accepts the function to be cached as the first argument and the options as the second argument.  \nThe returned function is an async function which returns a Promise fulfilled with the cached value if the method has already been called with the same arguments and/or the conditions are met.  \n\nThe options available are:\n- `ttl` (_optional_): The time to live of the cache record in milliseconds. Default: `600000` (10 minutes).\n- `timeFrame` (_optional_): The timeframe considered for the condition checks. Default: `30000` (30 seconds).  \n  Consider the timeFrame as `the execution history of the last X milliseconds`. This timeframe collects information about the function's execution time. \n  For example, if you set the timeFrame to 30000 (30 seconds), the library will check the execution history of the last 30 seconds.  \n  This means that if you set the `requestsThreshold` (explained below) to 3, the function will be cached only if the same parameters are passed 3 times in the last 30 seconds.\n- `candidateFunction` (_optional_): The function to be called to check if the conditions are met. If not passed, this criteria will be ignored.  \n  The candidateFunction receives an object with the following properties:\n  - `options`: The options passed to the `cacheCandidate` function.\n  - `executionTime`: The execution time of the current function execution in milliseconds.\n  - `args`: The arguments passed to the current function.\n  - `timeFrameCacheRecords`: The cache records of the last `timeFrame` milliseconds.\n- `customKeyFunction` (_optional_): A function to generate a custom key for every cache record.  \n  The function receives the arguments passed to the current function and should return a string.  \n  If not passed, the key will be generated based on an internal algorithm that considers the arguments passed to the function.\n- `millisecondThreshold` (_optional_): The threshold in milliseconds to be considered for the condition checks. If not passed, this criteria will be ignored.\n- `requestsThreshold` (_optional_): The number of requests to be considered for the condition checks. Default: `1`.\n- `expirationMode` (_optional_): The expiration mode to use. Default: `default`.\n    - `default`: The cache-candidate will be responsible for generating timeouts that, when reached, will call the provided delete method of the cache adapter.  \n    - `timeout-only`: The cache-candidate will be responsible for generating timeouts that, when reached, will *not* call the provided delete method of the cache adapter. This means your cache adapter must have a mechanism to delete the cache record when the timeout is reached (Ex. Redis EX option). Plugins and events will be called as usual.  \n    - `eject`: The cache-candidate will not be responsible for generating timeouts nor calling the delete method. This means your cache adapter must have a mechanism to delete the cache record when the timeout is reached (Ex. Redis EX option). *Be aware plugins and events will not be called.*\n\n- `keepAlive` (_optional_): If `true`, the cache record will be kept alive at every request. Default: `false`.\n- `cache` (_optional_): The cache adapter to be used. Defaults to `an in-memory cache based on Maps, but with Promises`.  \n  Available adapters are:\n  - `makeRedisCache`: A cache adapter based on Redis. Receives a Redis client as the first and only argument.\n- `fetchingMode` (_optional_): The fetching mode to use.  \n  Available modes are:\n  - `default`: The default behaviour, if an entry is found in the cache, it will be returned.\n  - `stale-while-revalidate`: If an entry is found in the cache, it will be returned. Otherwise, a stale result will be returned and a new call to the cache-candidate will be made in background. Be aware this mechanism doesn't grant the result will be cached, depending on your threshold configuration. If, for example, you set a `requestsThreshold` of 3, the revalidation will only call the function once, so it won't be cached.\n- `events` (_optional_): Listener functions to be called at specific steps of the process.  \n  Available events are:\n  - `onCacheHit`: Called when the cache entry is hit.\n  - `onCacheSet`: Called when the cache entry is set.\n  - `onCacheDelete`: Called when the cache entry is deleted.\n  - `onBeforeFunctionExecution`: Called before the function execution.\n  - `onAfterFunctionExecution`: Called after the function execution.\n  Every event receives an object containing the `key` property, which is the key used for the cache.  \n  The `onAfterFunctionExecution` event also receives the `executionTime` property, which is the execution time of the current function in milliseconds.\n- `plugins` (_optional_): An array of plugins to be used. Default: `[]`.  \n  Please, refer to the [@jointly/cache-candidate-plugin-base](https://github.com/JointlyTech/cache-candidate-plugin-base) package for more information.\n\n## Key composition\n\nThe cache key is composed based on the following criteria:\n\n- The arguments passed to the method (JSON.stringify)\n- `uniqueIdentifier`: A uniqid generated to allow multiple files to contain the same function name\n\n## Conditions / Criterias\nThe conditions are, within the given `timeFrame`:\n\n- If a `candidateFunction` is provided, it returns `true` at least once.  \n  The candidateFunction ignores all the other conditions.  \n- If a `millisecondThreshold` is provided, the function execution time passed such threshold at least `requestsThreshold` times.\n- If only a `requestsThreshold` is provided (default), the function is called at least `requestsThreshold` times.\n\n# Other Info\n\n## Plugins\n\nThe library supports plugins to extend its functionality.  \nPlease, refer to the [@jointly/cache-candidate-plugin-base](https://github.com/JointlyTech/cache-candidate-plugin-base) package for the documentation on how to create a plugin.  \n\n### First-party plugins\n\n- [@jointly/cache-candidate-plugin-dependency-keys](https://github.com/JointlyTech/cache-candidate-plugin-dependency-keys): A plugin allowing to define dependency keys when setting the cache record.  \n  This provides a mechanism to delete one or more cache records when a dependency key is invalidated.\n- [@jointly/cache-candidate-plugin-invalidate-function](https://github.com/JointlyTech/cache-candidate-plugin-invalidate-function): A plugin providing an invalidation mechanism under specific conditions.\n\n## Constraints\n\n- The higher-order function and the decorator only work with async functions.  \n  Please, refer to the [Considerations on synchronous functions](#considerations-on-synchronous-functions) section for more information.\n\n## Cache Stampede\n\nThe library prevents the cache stampede problem by using a `Map` called `runningQueries` which saves the promise of the function call.  \nIf multiple calls are made to the same function with the same arguments, the function will be called only once and the other calls will wait for the Promise to finish.  \nThe `runningQueries` Map will be cleaned after the function execution is finished.  \nThe `onCacheHit` event will be called also when the running query is returned.\n\n## Considerations on cache operations\n\nThe library doesn't consider the correct execution of the given cache functions.  \nIt isn't the library's responsibility to check if the cache functions are working properly.  \nThe only consideration done is based on the fact that the `set` method will eventually fulfill or reject the Promise as it uses the `.finally` Promise method to delete the key from the `runningQueries` Map and set the timeout to clean the cache record.\n\n## Problems with synchronous functions\n\nIf the given function is synchronous, the library could not work as expected.  \nThe reason is that the library internally transforms the function to an asynchronous one, so executing the same function multiple times during the same Event Loop tick will prevent the cache from setting the value in time, thus not working as expected.  \nThe expected result will still be achieved, but please consider the multiple cache set operations during development.\n\n## Key composition\n\nThe cache key is composed based on the following criteria, allowing multiple files to export the same class name with the same method name / the same function names without conflicts.\n\n### Higher-order function\n\n- The arguments passed to the method. (JSON.stringify)\n- `uniqueIdentifier`: A uniqid generated to allow multiple files to contain the same function name.\n\n### Decorator\n\n- The method name.\n- `uniqueIdentifier`: A uniqid generated to allow multiple files to contain the same class with the same method.\n- `instanceIdentifier`: A uniqid generated for each instance of the class. It uses the instance properties to generate the id. (JSON.stringify)\n- The arguments passed to the method. (JSON.stringify)\n\n## Benchmarks\n\nAn overhead benchmark is available launching the `npm run benchmark` command.  \nThe benchmark will run:\n- A simple function without cache-candidate.\n- A cache-candidate wrap of the same function of the first test with an unreachable requestsThreshold.\n- A cache-candidate wrap of the same function of the first test with a candidateFunction that always returns false.\n\nThe results on a MacBook Pro M1 2021 with 16GB of RAM are:\n\n```\ncacheCandidate OFF - normalFunction x 47.48 ops/sec ±0.48% (74 runs sampled)\ncacheCandidate ON - Request Threshold unreachable x 46.86 ops/sec ±0.76% (73 runs sampled)\ncacheCandidate ON - Candidate Function set to false x 46.75 ops/sec ±0.47% (72 runs sampled)\n```\n\nThe results show that the library has a very low overhead, even when the cache is not used.  \nOur suggestion therefore is to use the library on every function that could benefit from an hypothetical caching.\n\n# Contributing\n\nPlease, refer to the [CONTRIBUTING.md](https://github.com/JointlyTech/cache-candidate/blob/main/CONTRIBUTING.md) file for more information.\n","readmeFilename":"README.md"}