{"_id":"fetch-mock-cache","_rev":"14-8ffd3c651ed0e8807c4465f56cf5d60f","name":"fetch-mock-cache","dist-tags":{"latest":"3.1.0"},"versions":{"2.0.0":{"name":"fetch-mock-cache","version":"2.0.0","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.0.0","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"231d05929c144857538db487b441964bcd3fcadf","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.0.0.tgz","fileCount":47,"integrity":"sha512-dfWNYNOSM8AoEjEtPHr3C0S7aYQQneX2gQ4N5palgS2Cyb4360SScpMkMskAlpiNBQMXl3iL6iz43PuaW2k2/Q==","signatures":[{"sig":"MEUCIQD5LxmcolLheS5HSJxren7bbAWlxjcl57Syo1aIdD1KiwIgKYeWJFICCgsw+cC6mIYYzK7MMnOHXf9rW2FPPMUvJYA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66960},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"d78a345d80fbe4946138063b6f09ae6a423c1e8b","scripts":{"ci":"yarn tsc --noEmit && yarn lint && yarn coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"test --coverage","prettier":"prettier -w src","test:all":"yarn test && yarn tsc && yarn lint","prepublishOnly":"yarn build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.8.2","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.0.0_1728642752854_0.1563199923757943","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"fetch-mock-cache","version":"2.0.1","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.0.1","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"cf99114d98500dc111aa474bd6cd5f18351f53ee","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.0.1.tgz","fileCount":37,"integrity":"sha512-Ct6GQJJfmNOW+2i2pQsyKYEc+M90oN1gpFZ5k09HD+45gZNhH2trtnsItyu8G77DrZB0fmR67XguOhGZ97zCxg==","signatures":[{"sig":"MEUCIQCaSQgucGQ42XFswKeR5L3g1Oz4MY9hZ37Dcm7y+B9DzQIgIFQU4Lf+E3nnaEzRnbgQOTerGwCO5/1XqgVTU0VVcV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57274},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"e43ef875c0c299f2a918f46e208bcde668f05f39","scripts":{"ci":"yarn tsc --noEmit && yarn lint && yarn coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"test --coverage","prettier":"prettier -w src","test:all":"yarn test && yarn tsc && yarn lint","prepublishOnly":"yarn build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.0.1_1728644665407_0.2638234584052579","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"fetch-mock-cache","version":"2.0.2","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.0.2","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"70f47936b7b734b655128baf27827272b6b38421","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.0.2.tgz","fileCount":38,"integrity":"sha512-myDp9uYZzFccygEHFiTDv1hGBd91Sy8CrktiJOT7+2Vpow+bbgwOGbNKevsfgJSJjmxsGVT/QViKD835CoF+mQ==","signatures":[{"sig":"MEQCIHqZNzdSql8DfLMCJP/ci9VAJ9SYrRbh6/QK0KUIpZKqAiAJ2qLQf0U9spUyo3OmBcLG0FGN4Y6knB4dMETEPN8iFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57885},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"ac2320264042817a7149871cdcba71476fa0e620","scripts":{"ci":"yarn tsc --noEmit && yarn lint && yarn coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"test --coverage","prettier":"prettier -w src","test:all":"yarn test && yarn tsc && yarn lint","prepublishOnly":"yarn build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.0.2_1728891707471_0.9098497552595195","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"fetch-mock-cache","version":"2.0.3","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.0.3","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"7bce1d14a4219b20d9e4be91cfb651151cae6508","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.0.3.tgz","fileCount":39,"integrity":"sha512-VWq+PjAw8wulDw5FTeXm8ISLFLanyZmKMx0qYksiBeacjcGoLoIvCW9FVYv6/eewWg1XUDcZq5PctCmP6tiUIQ==","signatures":[{"sig":"MEUCID070mbsf0JoQrMCQ8GLKP52QWwgGc1j7VAO5HtHm9hgAiEA871wvb3JgWzNxHQWgIvQu4aWPpwWrlQiuJ3txDyW/0s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77986},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"2674cec7aea28753440878b679815fde6b7ecf58","scripts":{"ci":"tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","prettier":"prettier -w src","test:all":"npm run test && npm run tsc && npm run lint","prepublishOnly":"npm run build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.0.3_1729760877710_0.08338312522178892","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"fetch-mock-cache","version":"2.1.0","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.1.0","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"7defcbba9099f23ddcd482473bc7a857cb354f96","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.1.0.tgz","fileCount":41,"integrity":"sha512-JUbM6qOrSDKNI6PSbXPWECjMMjp+N0T5z1QfIAFCMX2wTJo/1csnEwHgPDKyYPf09J5jHgG+v/KdwshkQBe1lg==","signatures":[{"sig":"MEQCIBxcfRpxXeeGbLsH0OCQD8H8Z1wjpdRt2hxPeoUr5O5fAiBZp5YGJBVLVDHoL3ePhZquGO5YAIFcoUjE3FM5UvE0Sw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85400},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"08246d44145074c4d28878695aef240fd32729a0","scripts":{"ci":"tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","prettier":"prettier -w src","test:all":"npm run test && npm run tsc && npm run lint","prepublishOnly":"npm run build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.1.0_1729938663068_0.703480434781411","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"fetch-mock-cache","version":"2.1.1","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.1.1","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"18f4f58a1ca13dfc7821268790acc07c131c761c","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.1.1.tgz","fileCount":43,"integrity":"sha512-6Zub8b9/fAhq4IP14gj2WExCuoOJYcscbtv3Bgln+yiJ3u43YpnHSD0ZSdsr1pZIizPabrfLqH8oBOfa9wuieA==","signatures":[{"sig":"MEUCIQC0aTHWpNB/5RWGHzDljlMK8RICNJcjLMSxUsTv126BHwIgY0/l+Nt8DluvNhNwRiRcq45cTu+Y7gZMfn7eAQ2yhI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88723},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"fed88a4276dfc43697bd7a0a053111bcaf427add","scripts":{"ci":"tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","prettier":"prettier -w src","test:all":"npm run test && npm run build && npm run lint","prepublishOnly":"npm run build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.1.1_1740648440296_0.9604838303768872","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"fetch-mock-cache","version":"2.1.2","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.1.2","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"d7493fb816f5a80c3fd4ad33ca9b04a00b985a12","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.1.2.tgz","fileCount":43,"integrity":"sha512-zTB22/qI99F7w9z9kJAYwBrxk2WzZKMo05cjBZS7dqE+vZmAMe3DNtC4zrVmWB7BoyXU6VECXUbmsi3z/kHZMg==","signatures":[{"sig":"MEQCIEcFkEXPkC8xOef3sBXXEiHxAUXXnVZ0qbaAGV4Mlj5sAiB8JKgxQGjTmA2dfEQLxrQdtubkDLJ6fxtL6Wk5xkYeZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89490},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"3f954f9d6beed58e5d0a138d50f28de9ef5066a5","scripts":{"ci":"tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","prettier":"prettier -w src","test:all":"npm run test && npm run build && npm run lint","prepublishOnly":"npm run build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.1.2_1740650662463_0.6499972624808381","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"fetch-mock-cache","version":"2.1.3","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.1.3","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"77e85c7b7d20bc7d942b7a13b37c06a55c4793ef","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.1.3.tgz","fileCount":43,"integrity":"sha512-fiQO09fEhN6ZY7GMb71cs9P09B3lBgGQ9CygydJHKQWZQv95bzsyl6dJERHuy34tQyG0gsHZK1pR/6Pkj2b9Qw==","signatures":[{"sig":"MEQCICmvD3UtsacASGLQLHMdorJEWm3/9JQPRFTIOc0K1eVOAiBdouEklzxl2vzk8ZBPDUkx1uVN5nwIZPasA+1xseQhWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89492},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"f8e884d7e76d1459c5b2093ee89dbd94ee12085a","scripts":{"ci":"tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","prettier":"prettier -w src","test:all":"npm run test && npm run build && npm run lint","prepublishOnly":"npm run build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.1.3_1740651361016_0.9565838628409731","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"fetch-mock-cache","version":"2.2.0","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.2.0","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"8ff52e0fb996b616fbb4727ec983ebb3992fb08c","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.2.0.tgz","fileCount":43,"integrity":"sha512-Gnkbnj37mwBuMAsdrV65JkkmcrWuhStk/mTyQh7QD9kz3ilmz30GFTOU61tRNjUzeFi0ehnMEK+TFyJy2eWF7A==","signatures":[{"sig":"MEYCIQCHURQhjAV2P95396gnfB60d8qs8j+WLbeHz6JBOwbT/gIhANjt1qDLXJu9t94Yzq7os0LvvfZWharSGFwWHr84mBFP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92243},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"f5456ad8ef6a1f6118aad5f7bf563a1ee58a457b","scripts":{"ci":"tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh","lint":"eslint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","prettier":"prettier -w src","test:all":"npm run test && npm run build && npm run lint","prepublishOnly":"npm run build"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"prettier":{},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.9.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","eslint":"^9.12.0","expect":"^29.7.0","globals":"^15.10.0","prettier":"^3.0.0","@eslint/js":"^9.12.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","semantic-release":"^24.1.2","typescript-eslint":"^8.8.0","eslint-config-prettier":"^9.1.0","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.2.0_1755353244143_0.7737009221951521","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"fetch-mock-cache","version":"2.3.0","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.3.0","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"7b798becc699d079970bb455fb37b217794da9a0","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.3.0.tgz","fileCount":48,"integrity":"sha512-nhe+t2v8bxgS/nmY181XOTOEzZ/p98RlVHwfvXMlL7FfMGGWsy2OiYRt7VKBWkkDqfaLumlaxdr687aJxlD0HA==","signatures":[{"sig":"MEQCIA+WObYScKXIY7aQCl+GBV2/n5QciK/avQt9uE4vE5e/AiB6ys1oLIT86aELihX6DAC4rJVx+Je45XdQGEOyu40gGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108787},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./cache":"./lib/cache.js","./store":"./lib/store.js","./cache.js":"./lib/cache.js","./cache.ts":"./lib/cache.js","./store.js":"./lib/store.js","./store.ts":"./lib/store.js","./stores/fs":"./lib/stores/fs.js","./runtimes/bun":"./lib/runtimes/bun.js","./stores/fs.js":"./lib/stores/fs.js","./stores/fs.ts":"./lib/stores/fs.js","./runtimes/deno":"./lib/runtimes/deno.js","./runtimes/node":"./lib/runtimes/node.js","./stores/memory":"./lib/stores/memory.js","./runtimes/bun.js":"./lib/runtimes/bun.js","./runtimes/bun.ts":"./lib/runtimes/bun.js","./runtimes/deno.js":"./lib/runtimes/deno.js","./runtimes/deno.ts":"./lib/runtimes/deno.js","./runtimes/node.js":"./lib/runtimes/node.js","./runtimes/node.ts":"./lib/runtimes/node.js","./stores/memory.js":"./lib/stores/memory.js","./stores/memory.ts":"./lib/stores/memory.js"},"gitHead":"650c097bf09c3f1e5cc17dbd8d084cc570c98396","scripts":{"ci":"tsc --noEmit && pnpm biome ci && pnpm run coverage && cd tests/runtimes && ./test.sh","lint":"pnpm biome lint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","format":"pnpm format --write src","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","test:all":"pnpm run test && pnpm run build && pnpm run lint","prepublishOnly":"pnpm run build","coverage:output":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage `glob 'src/**/*.spec.ts'`"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.8.2","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","expect":"^29.7.0","globals":"^15.10.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@biomejs/biome":"^2.2.5","semantic-release":"^24.1.2","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.3.0_1759666642002_0.330248307610288","host":"s3://npm-registry-packages-npm-production"}},"2.3.1":{"name":"fetch-mock-cache","version":"2.3.1","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@2.3.1","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"1018f5fc2f91cf2511abcea8a5e3a3b05e2d02bf","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.3.1.tgz","fileCount":48,"integrity":"sha512-hDk+Nbt0Y8Aq7KTEU6ASQAcpB34UjhkpD3QjzD6yvEKP4xVElAqXrjQ7maL+LYMGafx51Zq6qUfDM57PNu/qMw==","signatures":[{"sig":"MEQCIFhgEQWup6HJA1VshStYZ/t4byJjtdD723l/Jp9aJxghAiAm3F6/dbwEbSObn8uRs6bYC+cYbh/CVM75OSMfNtEQaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111788},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./cache":"./lib/cache.js","./store":"./lib/store.js","./cache.js":"./lib/cache.js","./cache.ts":"./lib/cache.js","./store.js":"./lib/store.js","./store.ts":"./lib/store.js","./stores/fs":"./lib/stores/fs.js","./runtimes/bun":"./lib/runtimes/bun.js","./stores/fs.js":"./lib/stores/fs.js","./stores/fs.ts":"./lib/stores/fs.js","./runtimes/deno":"./lib/runtimes/deno.js","./runtimes/node":"./lib/runtimes/node.js","./stores/memory":"./lib/stores/memory.js","./runtimes/bun.js":"./lib/runtimes/bun.js","./runtimes/bun.ts":"./lib/runtimes/bun.js","./runtimes/deno.js":"./lib/runtimes/deno.js","./runtimes/deno.ts":"./lib/runtimes/deno.js","./runtimes/node.js":"./lib/runtimes/node.js","./runtimes/node.ts":"./lib/runtimes/node.js","./stores/memory.js":"./lib/stores/memory.js","./stores/memory.ts":"./lib/stores/memory.js"},"gitHead":"e7ea92a65253aa2cd07ebb44c8e3d02da2a1d0c5","scripts":{"ci":"tsc --noEmit && pnpm biome ci && pnpm run coverage && cd tests/runtimes && ./test.sh","lint":"pnpm biome lint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","format":"pnpm biome format --write src","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","test:all":"pnpm run test && pnpm run build && pnpm run lint","prepublishOnly":"pnpm run build","coverage:output":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage `glob 'src/**/*.spec.ts'`"},"_npmUser":{"name":"gadicc","email":"dragon@wastelands.net"},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"10.8.2","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"debug":"^4.3.4","filenamify-url":"2.1.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"tsx":"^4.19.1","glob":"^11.0.0","expect":"^29.7.0","globals":"^15.10.0","typescript":"^5.6.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@biomejs/biome":"^2.2.5","semantic-release":"^24.1.2","@sebbo2002/semantic-release-jsr":"^2.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_2.3.1_1760172545086_0.10868800424233349","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"fetch-mock-cache","version":"3.0.3","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@3.0.3","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"82a8a1be55c528e1ded031d2c5a850afa143b4a1","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-3.0.3.tgz","fileCount":28,"integrity":"sha512-vnytSz4D/L7I4XUXat31frE1Ttqzr2k0QrihasdiHU9zrZ9HWFVJ2fp5c7J38rBlsveL8bkl6HF1pJx0bLM3Ew==","signatures":[{"sig":"MEYCIQCWKRlnV4bJ4Erx0+9bOYCVcIa/XrVE6efJLozo0HpHmwIhAO9MUgPMzx+fDwOVQs+bZR7mZfDsVpWpRmEmaQcKZSe9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fetch-mock-cache@3.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76543},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":"./lib/index.js","./cache":"./lib/cache.js","./store":"./lib/store.js","./cache.js":"./lib/cache.js","./cache.ts":"./lib/cache.js","./store.js":"./lib/store.js","./store.ts":"./lib/store.js","./stores/fs":"./lib/stores/fs.js","./runtimes/bun":"./lib/runtimes/bun.js","./stores/fs.js":"./lib/stores/fs.js","./stores/fs.ts":"./lib/stores/fs.js","./runtimes/deno":"./lib/runtimes/deno.js","./runtimes/node":"./lib/runtimes/node.js","./stores/memory":"./lib/stores/memory.js","./runtimes/bun.js":"./lib/runtimes/bun.js","./runtimes/bun.ts":"./lib/runtimes/bun.js","./runtimes/deno.js":"./lib/runtimes/deno.js","./runtimes/deno.ts":"./lib/runtimes/deno.js","./runtimes/node.js":"./lib/runtimes/node.js","./runtimes/node.ts":"./lib/runtimes/node.js","./stores/memory.js":"./lib/stores/memory.js","./stores/memory.ts":"./lib/stores/memory.js"},"gitHead":"61a7d926a630c5fdb9f87e1b82ab00214bf74279","scripts":{"ci":"pnpm run ci:core && pnpm run test:runtimes","lint":"pnpm biome lint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","format":"pnpm biome format --write src","ci:core":"pnpm run build && pnpm biome ci && pnpm run coverage","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","test:all":"pnpm run test && pnpm run build && pnpm run lint","typecheck":"tsc --noEmit","test:runtimes":"cd tests/runtimes && ./test.sh","prepublishOnly":"pnpm run build","coverage:output":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage `glob 'src/**/*.spec.ts'`","test:runtimes:run":"cd tests/runtimes && ./test.sh --skip-install","test:runtimes:install":"cd tests/runtimes && ./install.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cce7e40b-7b99-490b-aacf-377b286ab4a8"}},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"11.18.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"debug":"^4.3.4","filenamify-url":"4.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.34.4","devDependencies":{"tsx":"^4.23.0","expect":"^30.4.1","glob-bin":"^1.1.0","typescript":"^6.0.3","@types/node":"^22.20.0","@types/debug":"^4.1.13","@biomejs/biome":"^2.5.2","semantic-release":"^25.0.5","conventional-changelog-conventionalcommits":"^10.2.1"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_3.0.3_1783522514624_0.2443015332900198","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"fetch-mock-cache","version":"3.0.4","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","_id":"fetch-mock-cache@3.0.4","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"dist":{"shasum":"2f277632c7dcd445002730e63e01f35864dca018","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-3.0.4.tgz","fileCount":28,"integrity":"sha512-wV3ropviumxXOlFSmAfqkRUvohC/0Luw0Zjl/5u9IJjjquqSEq0MAuQhWK01RHLWsmP7ncnuofCCKsC1Tre5yw==","signatures":[{"sig":"MEUCIQDMR5SHVa4F+DCabV9QkMtivivgmm2Xfjiwnm3EleCqDQIgCjtYEqHw68yNGuCOsB9puDg++9zClY8cQuSz6NYKUYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fetch-mock-cache@3.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77810},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":"./lib/index.js","./cache":"./lib/cache.js","./store":"./lib/store.js","./cache.js":"./lib/cache.js","./cache.ts":"./lib/cache.js","./store.js":"./lib/store.js","./store.ts":"./lib/store.js","./stores/fs":"./lib/stores/fs.js","./runtimes/bun":"./lib/runtimes/bun.js","./stores/fs.js":"./lib/stores/fs.js","./stores/fs.ts":"./lib/stores/fs.js","./runtimes/deno":"./lib/runtimes/deno.js","./runtimes/node":"./lib/runtimes/node.js","./stores/memory":"./lib/stores/memory.js","./runtimes/bun.js":"./lib/runtimes/bun.js","./runtimes/bun.ts":"./lib/runtimes/bun.js","./runtimes/deno.js":"./lib/runtimes/deno.js","./runtimes/deno.ts":"./lib/runtimes/deno.js","./runtimes/node.js":"./lib/runtimes/node.js","./runtimes/node.ts":"./lib/runtimes/node.js","./stores/memory.js":"./lib/stores/memory.js","./stores/memory.ts":"./lib/stores/memory.js"},"gitHead":"b17dd5b0d08f6398c00d6d6d60d370e0ba9a1651","scripts":{"ci":"pnpm run ci:core && pnpm run test:runtimes","lint":"pnpm biome lint src","test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","build":"tsc","format":"pnpm biome format --write src","ci:core":"pnpm run build && pnpm biome ci && pnpm run coverage","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","test:all":"pnpm run test && pnpm run build && pnpm run lint","typecheck":"tsc --noEmit","test:runtimes":"cd tests/runtimes && ./test.sh","prepublishOnly":"pnpm run build","coverage:output":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage `glob 'src/**/*.spec.ts'`","test:runtimes:run":"cd tests/runtimes && ./test.sh --skip-install","test:runtimes:install":"cd tests/runtimes && ./install.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cce7e40b-7b99-490b-aacf-377b286ab4a8"}},"repository":{"url":"git+https://github.com/gadicc/fetch-mock-cache.git","type":"git"},"_npmVersion":"11.18.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"debug":"^4.3.4","filenamify-url":"4.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.34.4","devDependencies":{"tsx":"^4.23.0","expect":"^30.4.1","glob-bin":"^1.1.0","typescript":"^6.0.3","@types/node":"^22.20.0","@types/debug":"^4.1.13","@biomejs/biome":"^2.5.2","semantic-release":"^25.0.5","conventional-changelog-conventionalcommits":"^10.2.1"},"_npmOperationalInternal":{"tmp":"tmp/fetch-mock-cache_3.0.4_1783523837494_0.4991510238246486","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"fetch-mock-cache","version":"3.1.0","description":"Caching mock fetch implementation for all runtimes and frameworks.","main":"lib/index.js","type":"module","types":"lib/index.d.ts","scripts":{"test":"node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`","test:all":"pnpm run test && pnpm run build && pnpm run lint","lint":"pnpm biome lint src","format":"pnpm biome format --write src","build":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build","coverage:output":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage `glob 'src/**/*.spec.ts'`","coverage":"node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`","ci:core":"pnpm run build && pnpm biome ci && pnpm run coverage","test:runtimes:install":"cd tests/runtimes && ./install.sh","test:runtimes:run":"cd tests/runtimes && ./test.sh --skip-install","test:runtimes":"cd tests/runtimes && ./test.sh","ci":"pnpm run ci:core && pnpm run test:runtimes"},"repository":{"type":"git","url":"git+https://github.com/gadicc/fetch-mock-cache.git"},"keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","engines":{"node":">=22.0.0"},"bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","exports":{".":"./lib/index.js","./cache":"./lib/cache.js","./cache.ts":"./lib/cache.js","./cache.js":"./lib/cache.js","./runtimes/node":"./lib/runtimes/node.js","./runtimes/node.ts":"./lib/runtimes/node.js","./runtimes/node.js":"./lib/runtimes/node.js","./runtimes/bun":"./lib/runtimes/bun.js","./runtimes/bun.ts":"./lib/runtimes/bun.js","./runtimes/bun.js":"./lib/runtimes/bun.js","./runtimes/deno":"./lib/runtimes/deno.js","./runtimes/deno.ts":"./lib/runtimes/deno.js","./runtimes/deno.js":"./lib/runtimes/deno.js","./store":"./lib/store.js","./store.ts":"./lib/store.js","./store.js":"./lib/store.js","./stores/fs":"./lib/stores/fs.js","./stores/fs.ts":"./lib/stores/fs.js","./stores/fs.js":"./lib/stores/fs.js","./stores/memory":"./lib/stores/memory.js","./stores/memory.ts":"./lib/stores/memory.js","./stores/memory.js":"./lib/stores/memory.js"},"devDependencies":{"@biomejs/biome":"^2.5.2","@types/debug":"^4.1.13","@types/node":"^22.20.0","conventional-changelog-conventionalcommits":"^10.2.1","expect":"^30.4.1","glob-bin":"^1.1.0","semantic-release":"^25.0.5","tsx":"^4.23.0","typescript":"^6.0.3"},"dependencies":{"debug":"^4.3.4","filenamify-url":"4.0.0"},"packageManager":"pnpm@10.34.4","gitHead":"310c7d63e5e02e51571461f0a7ea629e339dc55e","_id":"fetch-mock-cache@3.1.0","_nodeVersion":"22.14.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-VxdIstx7qhqW9+9AOjYAlxEguX9HnBFdSaydlwLiZR+xAldGdZMLmSn8pYLd6hNh3vjcIcqUkgFgcdcPomctFg==","shasum":"889a48422567b1561c39f264eb54213bbeb37edf","tarball":"https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-3.1.0.tgz","fileCount":28,"unpackedSize":84590,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fetch-mock-cache@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAJvOzgC5jQre07efWMOcaouRh/cUmcdxGn1vRHIyd2tAiEAh0SyB8IySzuwprAdRy3ZZzl9RaczRuua1Ohthmxiftw="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cce7e40b-7b99-490b-aacf-377b286ab4a8"}},"directories":{},"maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetch-mock-cache_3.1.0_1783766062644_0.45271912077455556"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-11T10:32:32.853Z","modified":"2026-07-11T10:34:23.029Z","2.0.0":"2024-10-11T10:32:33.020Z","2.0.1":"2024-10-11T11:04:25.596Z","2.0.2":"2024-10-14T07:41:47.715Z","2.0.3":"2024-10-24T09:07:57.937Z","2.1.0":"2024-10-26T10:31:03.280Z","2.1.1":"2025-02-27T09:27:20.495Z","2.1.2":"2025-02-27T10:04:22.686Z","2.1.3":"2025-02-27T10:16:01.261Z","2.2.0":"2025-08-16T14:07:24.326Z","2.3.0":"2025-10-05T12:17:22.196Z","2.3.1":"2025-10-11T08:49:05.276Z","3.0.3":"2026-07-08T14:55:14.773Z","3.0.4":"2026-07-08T15:17:17.644Z","3.1.0":"2026-07-11T10:34:22.784Z"},"bugs":{"url":"https://github.com/gadicc/fetch-mock-cache/issues"},"author":{"name":"Gadi Cohen","email":"dragon@wastelands.net"},"license":"MIT","homepage":"https://github.com/gadicc/fetch-mock-cache#readme","keywords":["fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","deno"],"repository":{"type":"git","url":"git+https://github.com/gadicc/fetch-mock-cache.git"},"description":"Caching mock fetch implementation for all runtimes and frameworks.","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"readme":"# fetch-mock-cache\n\nCaching mock fetch implementation for all runtimes and frameworks.\n\nCopyright (c) 2023 by Gadi Cohen. [MIT Licensed](./LICENSE.txt).\n\n[![NPM Version](https://img.shields.io/npm/v/fetch-mock-cache?logo=npm)](https://www.npmjs.com/package/fetch-mock-cache)\n[![JSR](https://jsr.io/badges/@gadicc/fetch-mock-cache)](https://jsr.io/@gadicc/fetch-mock-cache)\n[![JSR Score](https://jsr.io/badges/@gadicc/fetch-mock-cache/score)](https://jsr.io/@gadicc/fetch-mock-cache)\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/gadicc/jest-fetch-mock-cache/release.yml)\n![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/gadicc/26d0f88b04b6883e1a6bba5b9b344fab/raw/fetch-mock-cache-lcov-coverage.json)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\n\n## 🏁 Introduction\n\n- 💡 **Tired of writing mocks?**  \n  Skip manually crafting `fetch()` mocks — just run a real `fetch()` once and auto cache the result.\n\n- ⚡ **Fast feedback loop**  \n  Cached responses make tests run *much* faster — ideal for TDD (Test Driven Development) against real APIs.\n\n- 👥 **Team & CI friendly**  \n  Commit the cache to your repo so everyone (and your CI) benefits from consistent, speedy tests.\n\n- 🔧 **Proven approach**  \n  Used by [yahoo-finance2](https://www.npmjs.com/package/yahoo-finance2) to test 1400+ API calls in < 1s on every commit.\n\n- 💬 **Open to ideas**  \n  Feature requests and contributions welcome!\n\nNB: upgrading from an earlier major version? See\n[MIGRATING.md](./MIGRATING.md) for v2-to-v3 and v1-to-v2 notes. If you're\nstill using **v1** (formerly `jest-fetch-mock-cache`), the\n[old README](https://github.com/gadicc/fetch-mock-cache/tree/1.x) remains\navailable.\n\n## AI Agent Skill\n\nUsing an AI coding agent? This repo includes a\n[fetch-mock-cache skill](./skills/fetch-mock-cache) with setup guidance:\n\n```bash\nnpx skills add gadicc/fetch-mock-cache\n```\n\n## Quick Start\n\nGenerally your code will look something like this, but, **see further below** for\nthe [**exact code for different runtimes and testing frameworks**](#runtimes).\n\n```ts\n// Default for node runtime, see grid below for bun/deno.\nimport createFetchCache from \"fetch-mock-cache\";\n// See list of possible stores, below.\nimport Store from \"fetch-mock-cache/stores/fs\";\n\nconst fetchCache = createFetchCache({ Store });\n\ndescribe(\"cachingMock\", () => {\n  it(\"works with a JSON response\", async (t) => {\n    const url = \"http://echo.jsontest.com/key/value/one/two\";\n    const expectedResponse = { one: \"two\", key: \"value\" };\n    t.mock.method(globalThis, \"fetch\", fetchCache);\n\n    for (let i = 0; i < 2; i++) {\n      const response = await fetch(url);\n      const data = await response.json();\n      const expectedCacheHeader = i === 0 ? \"MISS\" : \"HIT\";\n      expect(response.headers.get(\"X-FMC-Cache\")).toBe(expectedCacheHeader);\n      expect(data).toEqual(expectedResponse);\n    }\n  });\n});\n```\n\n- The **first** time this runs, a _real_ request will be made to\n  `jsontest.com`, and the result returned. But, it will also be\n  saved to cache.\n\n- **Subsequent requests** will return the cached copy without\n  making an HTTP request.\n\n- **Commit `tests/fixtures/http`** (default) to your repo for\n  super fast tests in the future for all contributors and CI.\n\n<a name=\"runtimes\"></a>\n\n## Supported runtimes and test frameworks\n\nClick on the \"Quick Start / Example\" links to see a working test\nimplementation for your framework of choice.\n\n| Runtime                         | Framework                                                          | Status                                                                                                                                                                                                                                                                                     | Quick Start / Example                                                                                                                           |\n| ------------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |\n| [Node](https://nodejs.org/) 22+ | [`node:test`](https://nodejs.org/api/test.html)                    | ![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgist.githubusercontent.com%2Fgadicc%2Ff66f0ad9395e4019ec5209719377650b%2Fraw%2Fedbb28289e9c452d4d1f482454dd02ff41a8b255%2Fresults.yaml&query=%24.node.native&logo=nodedotjs&label=%20&labelColor=%23ddd) | [direct](./tests/runtimes/node/src/native-direct-mock.spec.ts) or with [fetch-mock](./tests/runtimes/node/src/native-fetch-mock.spec.ts)        |\n|                                 | [`jest`](https://jestjs.io/)                                       | ![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgist.githubusercontent.com%2Fgadicc%2Ff66f0ad9395e4019ec5209719377650b%2Fraw%2Fedbb28289e9c452d4d1f482454dd02ff41a8b255%2Fresults.yaml&query=%24.node.jest&logo=jest&label=%20&labelColor=%23aaa)        | [direct](./tests/runtimes/node/src/jest-direct-mock.spec.ts) or with [jest-fetch-mock](./tests/runtimes/node/src/jest-fetch-mock.spec.ts)       |\n|                                 | [`vitest`](https://vitest.dev/)                                    | ![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgist.githubusercontent.com%2Fgadicc%2Ff66f0ad9395e4019ec5209719377650b%2Fraw%2Fedbb28289e9c452d4d1f482454dd02ff41a8b255%2Fresults.yaml&query=%24.node.vitest&logo=vitest&label=%20&labelColor=%23ddd)    | [direct](./tests/runtimes/node/src/vitest-direct-mock.spec.ts) or with [vitest-fetch-mock](./tests/runtimes/node/src/vitest-fetch-mock.spec.ts) |\n| [Deno](https://deno.com/)       | [`deno test`](https://docs.deno.com/runtime/fundamentals/testing/) | ![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgist.githubusercontent.com%2Fgadicc%2Ff66f0ad9395e4019ec5209719377650b%2Fraw%2Fedbb28289e9c452d4d1f482454dd02ff41a8b255%2Fresults.yaml&query=%24.deno.native&logo=deno&label=%20&labelColor=%23aaa)      | [direct](./tests/runtimes/deno/src/direct-mock.test.ts)                                                                                         |\n| [Bun](https://bun.sh/)          | [`bun:test`](https://bun.sh/docs/cli/test)                         | ![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgist.githubusercontent.com%2Fgadicc%2Ff66f0ad9395e4019ec5209719377650b%2Fraw%2Fedbb28289e9c452d4d1f482454dd02ff41a8b255%2Fresults.yaml&query=%24.bun.native&logo=bun&label=%20&labelColor=%23aaa)        | [direct](./tests/runtimes/bun/src/direct.spec.ts)                                                                                               |\n\n## What's cached\n\nSample output from the Quick Start code above, when used with `NodeFSStore`:\n\n```bash\n$ cat tests/fixtures/http/echo.jsontest.com\\!key\\!value\\!one\\!two\n```\n\n```js\n{\n  \"request\": {\n    \"url\": \"http://echo.jsontest.com/key/value/one/two\"\n  },\n  \"response\": {\n    \"ok\": true,\n    \"status\": 200,\n    \"statusText\": \"OK\",\n    \"headers\": {\n      \"access-control-allow-origin\": \"*\",\n      \"connection\": \"close\",\n      \"content-length\": \"39\",\n      \"content-type\": \"application/json\",\n      \"date\": \"Fri, 21 Jul 2023 16:59:17 GMT\",\n      \"server\": \"Google Frontend\",\n      \"x-cloud-trace-context\": \"344994371e51195ae21f236e5d7650c4\"\n    },\n    \"bodyJson\": {\n      \"one\": \"two\",\n      \"key\": \"value\"\n    }\n  }\n}\n```\n\nJSON bodies are stored as a decoded object in `bodyJSON` for increased\nreadability.  Text bodies are stored as a string in `bodyText`, and\nbinary bodies are stored as a Base64 encoded string in `bodyBase64`.\n\n## Debugging\n\nWe use [debug](https://www.npmjs.com/package/debug) for debugging. E.g.:\n\n```bash\n$ DEBUG=fetch-mock-cache:* yarn test\nyarn run v1.22.19\n$ jest\n  fetch-mock-cache:core Fetching and caching 'http://echo.jsontest.com/key/value/one/two' +0ms\n  fetch-mock-cache:core Using cached copy of 'http://echo.jsontest.com/key/value/one/two' +177ms\n PASS  src/index.spec.ts\n  cachingMock\n    ✓ should work (180 ms)\n```\n\n## Available Stores\n\n- [`stores/fs`](./src/stores/fs.ts) - use your runtime's FileSystem API to\n  store cached requests to the filesystem, for persistance. These can be\n  committed to your projects repository / source control for faster future\n  testing, including for CI.\n\n- [`stores/memory`](./src/stores/memory.ts) - keep the cache in memory.\n  The cache will not persist and will be created again from scratch each\n  time you run your code.\n\n### Create your own Store\n\nSee also the [`store`](./src/store.ts) \"root\" class. Don't instantiate\ndirectly; rather extend this class overriding at least `fetchContent` and\n`storeContent`, and perhaps, `idFromRequest`, the constructor and others\naccording to your needs. Here's an example to combine with a database:\n\n```ts\nimport FMCStore from \"fetch-mock-cache/store\";\nimport type { FMCCacheContent, FMCStoreOptions } from \"fetch-mock-cache/store\";\nimport db from \"./db\"; // your existing db\n\nexport default class MyStore extends FMCStore {\n  async fetchContent(request: FMCCacheContent[\"request\"]) {\n    const _id = await this.idFromRequest(request);\n    return (await db.collection(\"fmc\").findOne({ _id }))?.content;\n  }\n  async storeContent(content: FMCCacheContent) {\n    const _id = await this.idFromRequest(content.request);\n    await db.collection(\"fmc\").insertOne({ _id, content });\n  }\n}\n```\n\n## Overriding the Default Caching Behaviour\n\n### Cache modes\n\nBy default, `fetch-mock-cache` runs in `auto` mode, which preserves the\noriginal behavior: read from cache when possible, otherwise fetch from the\nnetwork and write the response to cache.\n\nYou can set a mode globally when creating the mock, change it later with\n`fetchCache.options`, override it for the next call with `fetchCache.once`, or\nset `FMC_CACHE_MODE` in the environment:\n\n```ts\nconst fetchCache = createFetchCache({\n  Store,\n  mode: \"replay\",\n});\n\nfetchCache.options = { mode: \"record\" };\nfetchCache.once({ mode: \"off\" });\n```\n\n```bash\nFMC_CACHE_MODE=replay pnpm test\n```\n\nPrecedence is: `fetchCache.once(...)`, then `fetchCache.options`, then\n`FMC_CACHE_MODE`, then the built-in `auto` default. `FMC_CACHE_MODE` is\ncase-insensitive after trimming whitespace. Invalid selected values throw a\nconfiguration error before any network request is made.\n\n| Mode | Reads cache | Writes cache | Cache miss behavior |\n| ---- | ----------- | ------------ | ------------------- |\n| `auto` | yes | yes | Fetch from network and cache the response |\n| `replay` | yes | no | Throw before reaching the network |\n| `record` | no | yes | Fetch from network and overwrite the cache |\n| `off` | no | no | Fetch from network without touching the cache |\n\n### Passing options to be used for the next `fetch()` call\n\n```ts\n// These will be used for the next fetch call ONCE only.  However, `once()`\n// may be called multiple times to queue options for multiple future calls.\nfetchCache.once({\n  /* options */\n});\n```\n\n### Manually specifying an ID\n\nGenerally we don't need to think about cache IDs, as we can reliably\ngenerate them from the `Request` object (e.g. based on URL and hashes\nof the headers, body, etc.).\n\nBut sometimes, we may want to specify this manually, e.g.\n\n1. **We'd rather use the _test name_** as the id, vs something URL-based.\n2. **It can't be reliably generated**, e.g. formData with a random boundary.\n\nIn this case, we can:\n\n```ts\nfetchCache.once({ id: \"mytest\" });\nfetch(/* ... */); // or code that uses fetch();\n```\n\nMake sure the `id` is relevant for your store. e.g. if using the fs store,\nmake sure `id` is a valid file name (the fs store will still append `.json`\nat the end).\n\n### Manually controlling cache behaviour\n\nYou can also pass the following to `fetchCache.once`:\n\n```ts\n{\n  id?: string; // as above\n  mode?: \"auto\" | \"replay\" | \"record\" | \"off\";\n  /** True (default): use cached response if available; false: always fetch from network.\n   * You can also provide a promise or function that returns a boolean or promise.\n   */\n  readCache?:\n    | boolean\n    | Promise<boolean>\n    | ((...args: Parameters<FMCStore[\"fetchContent\"]>) => boolean | Promise<boolean>);\n  /** If a fetch was performed, should we write it to the cache?  Can be a boolean, a\n   * promise, or a function that returns a boolean or promise.  In the case of a promise,\n   * the write will open occur when the promise resolves, and AFTER the response is\n   * returned.  This allows for more complex patterns, where e.g. you could rely on the\n   * further processing of the response in other functions before deciding whether to\n   * cache it or not, but does require some extra care.\n   */\n  writeCache?:\n    | boolean\n    | Promise<boolean>\n    | ((...args: Parameters<FMCStore[\"storeContent\"]>) => boolean | Promise<boolean>);\n}\n```\n\nThe same cache behavior options can be assigned to `fetchCache.options` for\nsuite-level defaults. Explicit `readCache` and `writeCache` values override the\ndefaults from the selected mode.\n\n### Sensitive headers and query parameters are redacted by default\n\nTo prevent committing sensitive credentials (like session cookies, auth tokens, or API keys) to source control, the library automatically redacts values for both headers and query parameters in both the stored cache files and the computed cache-key hashes.\n\n#### Redacted Headers\nBy default, the following headers are redacted:\n- `authorization`\n- `proxy-authorization`\n- `cookie`\n- `set-cookie`\n- `x-api-key`\n\n#### Redacted Query Parameters\nBy default, the following query parameters (matched case-insensitively) are redacted:\n- `apikey`\n- `api_key`\n- `api-key`\n- `access_token`\n- `token`\n- `client_secret`\n- `secret`\n- `password`\n- `signature`\n- `sig`\n- `x-amz-signature`\n- `x-amz-security-token`\n- `x-amz-credential`\n\nRedacting these headers and query parameters before hashing ensures key stability (e.g. CI runs without a real token or API key still replay cached fixtures recorded with one).\n\n> [!WARNING]\n> Because redaction alters the cache key, existing cache files for requests that carried any of these sensitive headers or query parameters will get new cache IDs and file names. You will need to delete those old cache files and re-record them.\n\n#### Customizing or disabling redaction\n\nRedaction can be configured when initializing the caching mock via the global\n`redactHeaders` and `redactSearchParams` options. Use\n`redactRequestHeaders` or `redactResponseHeaders` when the two directions need\ndifferent policies. Direction-specific options override `redactHeaders` for\nthat direction:\n\n```ts\nimport createFetchCache from \"fetch-mock-cache/runtimes/node\";\nimport Store from \"fetch-mock-cache/stores/fs\";\n\n// Disable all redactions\nconst fetchCache = createFetchCache({\n  Store,\n  redactHeaders: false,\n  redactSearchParams: false,\n});\n\n// Customize redacted headers and search params\nconst fetchCacheCustom = createFetchCache({\n  Store,\n  redactHeaders: [\"x-custom-secret-header\"],\n  redactSearchParams: [\"custom_api_key\", \"session_token\"],\n});\n\n// Redact request cookies, but retain response Set-Cookie headers when replay\n// behavior depends on rebuilding a cookie jar.\nconst fetchCacheWithReplayCookies = createFetchCache({\n  Store,\n  redactRequestHeaders: [\n    \"authorization\",\n    \"proxy-authorization\",\n    \"cookie\",\n    \"set-cookie\",\n    \"x-api-key\",\n  ],\n  redactResponseHeaders: [\n    \"authorization\",\n    \"proxy-authorization\",\n    \"cookie\",\n    \"x-api-key\",\n  ],\n});\n```\n\n#### Limitations\n\n- **Request/Response Bodies**: Payload bodies (e.g., a JSON request payload containing a `token` or `password`) are NOT redacted.\n- **Path-segment Secrets**: Secrets embedded in URL path segments (e.g., Slack webhook URLs like `/services/T.../B.../xxx` or Telegram `/bot<token>/` paths) cannot be automatically detected by name and are not redacted. Use custom cache IDs via `fetchCache.once({ id: \"my-custom-id\" })` to manually name such fixtures.\n\n## Internal and Experimental Features\n\nInternal and experimental features are generally prefixed by an underscore (\"`_`\").\nYou're welcome to use them, however, they are not part of our API contract - as such,\nthey may change or disappear at any time, _without following semantic versioning_.\n\nOften these are used for new ideas that are still in development, where, we'd like\nyou to have easy access to them (and appreciate your feedback!), but, they're not\n(yet) considered stable.\n\nCurrent experiments:\n\nNone.\n\nPrevious experiments:\n\n*  `_once()` has been promoted to `once()` after a long, successful testing period.\n\n## Tips & Tricks\n\n### Rewrite the cache only for failing tests\n\nUse `FMC_CACHE_MODE=record` to refresh every fixture in a run, and\n`FMC_CACHE_MODE=replay` in CI to guarantee that missing fixtures fail before\nnetwork access.\n\nIf you specifically want to rewrite a fixture only when its test fails, keep\nthat as a test-runner-specific wrapper and combine `record` mode with an async\n`writeCache` decision:\n\n```ts\nfunction conditionalCache(onFinish: Promise<unknown | undefined>) {\n  if (process.env.FMC_RECACHE_ON_FAILURE === \"1\") {\n    fetchCache.once({\n      mode: \"record\",\n      writeCache: onFinish.then((error) => Boolean(error)),\n    });\n  }\n}\n```\n\n`record` makes the request bypass the existing fixture. The `writeCache`\npromise decides whether the fresh network response is committed after the test\nresult is known.\n\n## TODO\n\n- [x] Cache request headers too and hash them in filename / key / id.\n- [ ] Browser-environment support. Please open an issue if you need this, and in what cases. jsdom?\n- [x] Handle and store invalid JSON too?\n","readmeFilename":"README.md"}