{"_id":"next-ssg-cache","_rev":"32-4ea20422d6ccab3a9360cb6217364c00","name":"next-ssg-cache","dist-tags":{"latest":"1.3.7","next":"1.2.0-concurrent-cache.2"},"versions":{"1.0.0":{"name":"next-ssg-cache","version":"1.0.0","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"9ab568fb3277310a4fb37437ccd8e81f542e551a","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-5JasTRPybwNWN4OTARiBI3GQx2FbggumAwPIXoply8D1xV/P3qbn9CVJ3O2xhlEWceGZYahPFnLvGGgMdvLTRA==","shasum":"48d3ddff53139bbc496ae0ed3c89e8225714ac23","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.0.0.tgz","fileCount":4,"unpackedSize":19186,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIvSoq9CzvEA7gB6H8PuZ15JP14h3yCwq7s8G19xo91wIgHf6LOsHm5B3rPSac7ZojTc/MzFL+LEaU2XFS+1YZ+Fc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2H1/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQ1Q//Q+VT9fHUkwwiNsit0jiuuFdAv9Bc55BI+4C5eRBstNnnPq/8\r\n/TROVzfls5GtdprmDkABILG3VTgZz7NQ7Um3pgzXRtGg931qK2fATbIT3hVh\r\nMon6B+992wcPasZbXgQN31qR6fveKMjBrmk/vvu2wSnzin/4w3nAvoWtYBtF\r\nKvD6jJxcg5kCodkbJIJsyByM9EoFauh9w7jlW0HUq7BvROqxOOO5zi3u2/gW\r\nthkxXZQ2ljHJrH1xj+kZdickDVh9OazYQvFnDPShitZ+nSShPERs/HYvKDKY\r\nVEQB9zYM+BAYEFCkgM/I/z5nat3iZQY36A9m0KqMvvGLi3WawAU9/UMPSz5K\r\n1YDqp+eyatem7rqy4N0EN2WsfB2StNG9dioQ5AMVd1JYv9r9dw8m25ysa5hU\r\nXN80sui2EKY5k61T6qvHdKtk/TneW7BWv9hyhNIXLwHWvKNUGegm/t8D18FA\r\nk87eBFZ3uj+d29ln3f40kBsxeZsvUFiBJAcpdSlzHKueZ+244unSr9NsKTAG\r\nJFR79eHb+IYCeE10uF51Y4yNpfVaAn9IwTl8FbkhBsIoC3tIwSSI4CpjHLjw\r\n7XBBpuFzVTC/reDbHT1DHm44DYYujNizKAYK9gaUuURu3qHmueea5/0JKuZZ\r\nymssg3EOPoUYXARqYIv2spCGQzCnODtFaz8=\r\n=UI9W\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.0.0_1658355071290_0.22199988747423793"},"_hasShrinkwrap":false},"1.0.1":{"name":"next-ssg-cache","version":"1.0.1","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"de8a6353d0a96977ab85a99e8412931c81b67085","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-8KIk06EQfr4Z7Nj6obIPgMLMtwFGwnKzqGQP4rg5rkPv5LTD0FAlTz5nk+8wdpGyrE42O9eO6H4eZmfuVZz3vg==","shasum":"4be7f7a610d957a665a400c87a4706fd21684940","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.0.1.tgz","fileCount":5,"unpackedSize":19888,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQGPw3yd9/jKYqnSIP2oBHLiidfdmSiVrbexicqndg6AiEAql2dKfH7uVWIzrqj3MPoqNDaNFOvvQ9pqxcRTx1LMOQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2KbfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEIA//S3eDVJDhJHCAIqeb+I9YqLlLv1FOt7OAXZPX6hTzyfszBuXt\r\n2RD4deaKnRaq0VsRQ52APYdfuWTQThxYjeEKmrwOTbuMuIMbPGFoXSQNJuXS\r\n7UsgRPJVvlmq8WwiwOpVAIZh+TLeWbjxIoHofmTNanEjmGnXQ55zmXJrbdAt\r\nYYjmqMN54ux2DvHcA2UxOFxp9RNMdjqgYT47nVdSHxeFLvy0tnPLpA72vr7F\r\npdhZyGYBewcQ7IMWGptmH8iv6/0myalu3BAJaIwjG9HIrmOYZzg7k3mijbOP\r\nqqWvCyS4ZCVk2HAYiwJBft2MmdDo34yCb76PbOb9rZ2o0Zz1rRbLKPSZEImn\r\ndEijsRFpkqH2BLd2zV35ARS1xH8fZMe75T2ykgnXe9IveAfq4gfXujOIQ/LE\r\nEJvlZ50PsJbuKC7dT8126l9mIiavENSWMoQxBSL79lm+nK6DcOTudDsBkDe5\r\n5mwf1IM0NGyEznsz59XTZpzUgGgHu4unbmla0nDSRV7spZ5gImlDJ26uBs0C\r\nGWHdgQdeCxEPgqS7XOAHCMH2co5DabovkVGqj5+Muow9BMIObTzb4qTutWCi\r\nUaBeG4Ss0W2J7Q0CDNEJI4SCXLWOvDqIqVvbped9rKAT9e10rMmXZBFVLVIX\r\n05exIoelW66r6na9XYt+LadyCXujKwGSTAg=\r\n=GYlN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.0.1_1658365662841_0.4418639719062625"},"_hasShrinkwrap":false},"1.1.0":{"name":"next-ssg-cache","version":"1.1.0","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"ee35e3a2485e4ec170784ce82991723a8a3d04d6","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Du7+VLucTvb/GcrPQmNuDzTkiPcjlsgXMmC+4MuObouEdFuAYYNqzHNyDF3XIO39iOwta0ZHOi1gx7TNeL4Q2w==","shasum":"56da696f08a0747164ce19ce449bcf4f800fcb4b","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.0.tgz","fileCount":5,"unpackedSize":21515,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC51WqS7nqkj0Ds9Jm9l18TdipIr22OWqfQypwd93RiRAiA1FZAHiIuAGbpglfHP9bwSJi5Rk2x/QJbtw5SmDN/Bww=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3/qwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpomBAAl01Aqdb0JnC2zLTx9CqCj+Kdr0EguGZj/C3zGdIjLsfgDya/\r\niuhf2WF/yyupnTTkJgTctq1oudZIl2rJ2KtFXuvGdDPAxE6scLtWGzaj0xK1\r\nhli+WOUIShx4tvq/pUVEENp5MCeBNU5A+Rtu6ytcB9VgFhxUntP0v6H4/6al\r\nNOp8XL+S6Vc3Zp20PDfZkXrz9Cgf6Zmf/oxmI5AxO0+ZPOng68qE10ICRaBs\r\n+FZ5ec3mUv4h8H0Vg0ywT6hocBCBD5qhMgxEW3saszCa0jh8xdbaUYkgIfYv\r\ngbnIy2Pcr+dPRrK7scLrc1t28X2gVC41v8/0EVdF318dJX6eZ4ahDgB5lWlj\r\nnQeMB7+OKP/hvLgO/wEdBWgZ1KRKsAy5xdBDBS9TMcj5zn9EwfnKeARYwH6O\r\nZAlz3fVSMqdQiHu2Eaxv2/e7o1aAopvLHtWWjCz2HMM1MzrsY1LNi0iM5Djp\r\nDss/6Af3GvC+F5I0E7zmyMiHHry+0tXt3DemCjhIy5P4deqTTSqLyafJnkVn\r\nFBVxsWHJuNw4kTM9Ovf8NCo3Ey6iQY61A0jN0yeVqwID119VtTAWCU/BeUlt\r\n+1AiToDGnsQ3SCUZHgAs/7L85jZ5NAuYZe6lNegFDP/Ud2YWE62aNExf+kYV\r\nQGD0WvhqxuIJaLWwTbabBKA+ChUPNChe57M=\r\n=7tpQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.0_1658845872218_0.8876450132159717"},"_hasShrinkwrap":false},"1.1.1":{"name":"next-ssg-cache","version":"1.1.1","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"ee35e3a2485e4ec170784ce82991723a8a3d04d6","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-UkIS8qhM+fp5Hvll1H/NdHdYGUx1gh4Lck/pUZ78cS+T/puP7IQqFpRKr3qbm0iQWCCb1dT8zUUv1PGjq2opyw==","shasum":"d20aab8940f2958b5d704d02dec978e64c93b321","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.1.tgz","fileCount":5,"unpackedSize":21825,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFqLfUul6voOikvpD0LMmaw5EdjYy0KWWuBgvmMdKOxAiEAkcEUz5OgfyHTdrrrX54rbtv8xHUshd3H3+VqQ3jnB74="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3/uAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+7A/7BUO09inSAN22SWERyPb0m4P4wx7hOFbh7EAjky23Zfnw40/r\r\n84YNkead+UUKZFEL4+nScdZf1OkLpIgJOyxEUjEayBhqfsbOB5VW0n+EETbo\r\n3s4mXiZs+h04o4i0vTxOBAJW2dHsRfLIKrY7sXsdKs+VBcse818KlgD4WWJK\r\nlzexJIErBmI3/swexpBKoTU3n9PycGP6dBw6X2W3dEprZeXvWLvKW61N6qIX\r\ny4YJJKLnX45IqKkp4iNG0Vgnb+KkuTUTdhjQo5sAwdbL4VVXk/MtD6652GEY\r\nyjOAb2+zX7qithL3nSkwTLzADZdzaUBLEow2i+KNxz3p4YqAvwNKkWirwjaQ\r\nYo5/Y2UnYEI7h4O5N3T2XE93oZanjaT2gFJ637Nwo3uOn3YMzsXmBCMjk+JN\r\n9E+w+8DZFPE0pD9F6Pnh4SFoaq5q/f3Xj12iZpgzWpAqfPNiUsQVXvWD15Yv\r\nvdBIrYMPto1eUpYsxdYZpWHNOcoB+c0eNeEf02tRpn5m7LODZFu2n2Dk6oGs\r\nSG8N1qLyQCByXSRKKnftYw7zV82z9MvBkz7KFcJWL/TAYfrtr5L/lnrOTGG7\r\nNX3uW+Py/f6CxdYGdJvpRdo64a+Ehuq5M+9MwkIWsbHZE2+iWOtH432LI/9k\r\nnIPQsF9TJLOz8qmcPJ25RQC6G9Il3TrB0po=\r\n=TUuT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.1_1658846080598_0.7153135462098257"},"_hasShrinkwrap":false},"1.1.2-next":{"name":"next-ssg-cache","version":"1.1.2-next","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-H1vmMB7LZD0j4unXFLgM616ogthSY7rEti6uu3L1sdzXEP8gpGUVGx3CCko9PcNpLeLRZe1JoJ+aY9l4VJiSHA==","shasum":"9cacf8fef39583f8c8a7a454f6ed8de4886bb239","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.tgz","fileCount":5,"unpackedSize":34007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvtBZy1DCvKKURM9bRo0br+qCnx6Dyc51AjkVj9ztfLwIhAP9PRvDKWvdpYOT6aIqJ31+fTqEPkYD0ce7+nsrjldy0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+bNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeQxAAizBt50puUWIGXdOW3LYqIqZzdqRhgo+QFxQZ4/Q6Tsw9VYg8\r\ncA4DZX10rYHUeymXt9gVmwp4larq8v1F+Gqh8oLZnHmI1XqVI0KG3L6Opg9s\r\nuWN8T7/9tmaZDWQkY/JDmVx4ikuAXzbeN3+gs0G1L/Z6pEE46TgFQvIOf9e4\r\n53l76y214EqiUzHBjpimuhu7XAbxQxzipAaXW9PG4gLvUUss8+8WT5nd2qPw\r\nYvFdaJWwclQB/H8Uxge3VdgZG0IfzRGlnao4mEz71ABiF+AKma6miLIWgjpe\r\n3DcE/Y9ak+eqy6Xrvzs3npVWLLePkKiz8++zkeS7xzNqjhi/7rEYYQGVUcsD\r\ntzsypgBOEZV8UvpfdYXrQSuq9v6jpp+Tdl1zERhKBPEQOmBhFXYGol95G4iy\r\nGqTqBhSTETmW/KkQxdm/BMRxZ8muVM6ihjFhpZTyYaF3nzPZWCPhnVdrcRC2\r\nsVnMvvf4wzrrpCf6lpNPuhXeNnR25LI/kIqyuFonxfAxgKYxsDg3RlrEKTVq\r\n8mWJbq2MHHw2m75jQH0kJdO4cMrmSib26VtwVVLkC27+lRCzWswBqinuU/Fp\r\n2S6GamTCqSkQHpb+ZOMQOAFUFGrixa0gehEuuG9XwSW1Acq6Hb5CFfFQcpfa\r\nZ0T7qzESBZ5HuQ6EodE9JKmItMvBdDgVILs=\r\n=2r4Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next_1659365068755_0.23958096539087848"},"_hasShrinkwrap":false},"1.1.2-next.0":{"name":"next-ssg-cache","version":"1.1.2-next.0","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-IcdwmQV5OikA/TvTWFSJ1rB24twkqxmgB16+w7rCagXxAWYQ9eWDUfUuMHvEwdFInEafow2L/WxSvnLsmhJxxQ==","shasum":"b2a42b1a6f2a6c4f278379e67cdcf3f32c40ca9e","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.0.tgz","fileCount":5,"unpackedSize":33037,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoUTdibZOQzcS9nExMsfWpN5GhZy/2tkh//oxFeVgwdAiEApXYj+LYp/JuZd//9UQxQV9A2mVuYcvMrsa0KypP9UrE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+sMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZIg//XDOhDTEtJ+dVopWqC4SZOmtbNXYsAgFOhDkZhzkakGCyE4qx\r\nDDs/PhwBwc+xBb5UWyAcgdWloRRx2ug6E7V8l/KHZVV3PwzZAORd4foSbV8p\r\nVVKWgXw35+jdBL9QWPCz4JJGLqUZvKx+bOvBGq8jWMaRMIatjGui7pKn9iGm\r\nWYlqO7UHtHMu/4/fCfNO0XQYqwDje57fR3c9frtqyrIh+31hCmkPxDenBcxh\r\n2d2Up1JCnPmHIMRXD1QyKJZEFLNfL692CBxuXnDOP8fHK2uqxJzR+SA5QbXL\r\nzMbbfl7PvDjGGmCHW6ov5j+oYLSOjnr8cXoH+LxN5kHfzN6rBLEV3JhDm7QC\r\nDIztjUib75Gb+pzEtCQdZzvySbgsmYmSg5Ms0yxBYAan2awECwCGXwZi+tYJ\r\ne34zAD04usKiFqMUPrKF6nhAQC3MXSd6neNO4ki861E84/mzskCRNIWw9IUd\r\nDrPXUJe4X75WegzyQENg0sZGFRZ+Ry8GkXJFEOq55+oGagEZaDy3hWRBbewc\r\nsWOpRyc7NaMzOp7sVehWEBp8BeW7rlFuIs3nMJ6x3SiHEGqFT+4CUdhHSj5v\r\nZecoJaI+KSlXabpJq4p+dBZu6Jtt2mHbUEfApTmhkVkGyKw1TWYf6+aqk94U\r\nrQ1q9DwU+FCHoIuYDHB80+zCsAP+VWrP6bM=\r\n=vSrH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.0_1659366156042_0.8026703703703151"},"_hasShrinkwrap":false},"1.1.2-next.1":{"name":"next-ssg-cache","version":"1.1.2-next.1","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-yqMlTEcUOWeFvpQuvY8sBTGAElzGfyzMFSJeKHnSgAsvMCBtbqLJCn3J1dAgvRD20ISjXWF5MCD5LPM/fe66Wg==","shasum":"46b1352d7bf37e4123afc47b76bd12d5a3c30eef","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.1.tgz","fileCount":5,"unpackedSize":33507,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHP2UUew2OOOENxQOG4VrzQW0CbjGsLgEldJcoeOpG+kAiEAr3pCik604YJaoaauaG58O/mvyr2zMDjgf85bsVtlTLA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+1JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRpQ/8DczqXprTdAiR8TGyMWM0iV6q1lHY243ZwsqcjCNxdMPM96by\r\nweQBn1TmtRR9x+iaQiKyHvIlVCdLE8506uE3jgwSiat9pAA6GRVeRUk5vKR4\r\njf8OKRh+fQaHDSv4ONXhoq++FjK0C4zQl7RKNEm9EOIqMov/Dpg9W+O95STe\r\nxz0GLWzdcVAfpLYm7azfbQRIA3q1MZiLXhuRNqKea8WXH8whbOgdONZJyKPO\r\nFEuRmPcGWZWbDdF5QlapPRF6+F0+Hrwhv0jfk6ylfj/Owo0TQBP+81o8Sbap\r\n/s+ubXQwdJyBwy/GxGZR6yjtwLqaZ5zyqqovCgC7BflifItIgzucHbPh8mBT\r\ntfglxH3QSVtNbftQUC3QYfDQue7Guoi/paV+92BGAuO0hrxHEJ179bWUF3G8\r\nvtrSAZH+l+DC2meEoEbVwF4CgkSZJOt/uokeYGFqYKS74iqeGeWtZYEWrY/m\r\nLtxwl1EYoqIRDGl+9/OuFdVusVBDNquH2qSJbLAsN4Fd2GOnDiv19NcZ469m\r\nklXppI9MyS3/sUILWwwJCg6k3/vKiKV/cVhSQg5LJnRoFWy10qUbeDCY8Wnw\r\nbddVLK81tSXoLS4azVwUv3kNgABvroesPkaiUFx5uCyOT93Udw5x7mzHKoEH\r\nlzZQa2oeJfZLv2wy6Oa62C7/DwRrEj4X8/4=\r\n=A/+F\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.1_1659366729456_0.7963155540968749"},"_hasShrinkwrap":false},"1.1.2-next.2":{"name":"next-ssg-cache","version":"1.1.2-next.2","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-0nrAc0US8OjebKiw9zkW+/CSzS24sYfHeQ46Ogj/26o8oLGjaq+XfxqI4PiVxdd7qazGsHOcBY9BT5QbBpK1Rw==","shasum":"2cccad034de78ee480a5f95fc4be1764b0c9aca7","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.2.tgz","fileCount":5,"unpackedSize":33689,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGaM3N0EQ0nPCCz6nuEKfHBt9Loq5KfZUJKidxsNXrQAiEAtLrrGAseJMK8vqftg+i53tpNehQ2P5TNftbtSj8aJ2E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+3gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaYQ//UgcQjSMIQQ/Oh2KHNq8KOulyWthS9uyjJ+lNA9AfU2MGobP4\r\n4G7t/llywLOZwqJHBMoluk8ZVqeePxwkleRPlPlR8ezCFBfPaUbNsTdHNVUE\r\nxEsKjvXX6+7pHgowCx1ZxV8N+Tm5hUeidfMpcdoVxnCAw8fsARxhBXGH4piI\r\nshoGKc9UMTnOxExkbpP5d1gID4OnvKzCX/jZk+fvfDzSVyP3+jgTR2+WwT8C\r\n0zunD4NVCaATRiz65x8N/Su1aL2G5fKx/FmGspijj1/0xeiIdqN4LPGAJYdP\r\nD2v08BW83o7i1yP++Oge961i5aiysYoC2H9zCm78rO5mivJxFnKE5t1y8Ap7\r\n1tEX5Rf8444UPiBhI2hsKBCGDY/LYptwT5tdDd/SF6fI+BG515+f7SfGYk8F\r\nB5gz4XKkfNfqy4iZ3QlxFGikwbZnkOMWdYrvQKOwLuaUYXyFx769ZWEA/3AV\r\njEHGtYCSmIOAR6g/Sn6ziQ+X70AMUavUbXBilEtPc4UHUTqTFrF869lSWG1Z\r\nCfLTB5JwwlAp8gbElFu0osMO61r5enY8Qhcj0RdQViupHIKZPB6m/Px26gm3\r\ngrsKiYuAoqjLJ/hKLxk6UUOCXVN1V/KE3S3hSnC16ltFdFdvQMxbX7FUGj0/\r\ne1ovA72H6iwSHC0QKMx2kYlJ1FXLvDQ614k=\r\n=++T2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.2_1659366879934_0.6386239922961721"},"_hasShrinkwrap":false},"1.1.2-next.3":{"name":"next-ssg-cache","version":"1.1.2-next.3","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-u+y7w+jvCzvE1SIMuD3eiCutSspf+MLXyGEYjofTozylQMacdygGTBiTT+pmknXmEivbpcQ1mgmewpmNSWHNEQ==","shasum":"2639a03e18b02c7507ddb0634d6a8575c7a91d55","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.3.tgz","fileCount":5,"unpackedSize":33683,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICk5jlvWvZTzRmxenCDn39BPdVBwCNfM/GpNK8xPcC7ZAiBhjYkUt2WvvXr7t6grT5SaTyAeN64zQEAwXTPP5/hP1Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+4zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0HxAAnFas1hxhe9dHNcZNc1xgJv12HuBhmD3t47uzvdVeoUwsq8NP\r\nkORVmBvpT2OudOjga0va0xlihYhQXjdCYwSERdVtxvim8TIDLUSsMiU2n+4A\r\n+kvc28ZwEy7r7cw+yJI0A6w2r5IfCHWQlnkUHSTxJ31DrrUoh3ue3Tgg6xj8\r\nAugbloQOqF7morfS2+0TTWrCKDeNv4kMimLNfS7hMwVfczR2Dn3h/WQCObhp\r\nOj1lp8iaa32hI7Oan9WDLErPIw9hzEJvQnMH3F/GN77Sx3ZzbFFf3wEOcJe0\r\nwuG839D7F+nhWg+1GSrgN/4ThkRb+uFBje8knQDNi//jUEIK8X5hZA99HBTX\r\n0QvJJ4eGjF227KuQFObj7Lg7jtfVmRFskjK1w7sl8z/J8kdhPLBqdeUQU3Hm\r\nIqCduAEzHthc6Bf/L3ezoSF3uKDyxxx32V40ap8jq5l62Fbj86B84qLGI1oK\r\nkCBrzrrvGHYJf6WdBYbJmD2t9VaQs/Y2DhKN5k1ABj6HMqz1rMQKFkojqaZk\r\nMLyGe3HHm7FKGXg9n63YE8e4yLoArvcbm7xruqAkhOKQ/bpSAip6Pa+/HCBa\r\nQOCYDVLU7gqEzHo2zB9v++bAxmTUyvNjMK5sPf5A1uM/Q71jF95HIhfVJgYr\r\n545ZpyBq5SDhzLujNvivVv2SC/fEhfj1chM=\r\n=pFjU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.3_1659366963193_0.45377770664119743"},"_hasShrinkwrap":false},"1.1.2-next.4":{"name":"next-ssg-cache","version":"1.1.2-next.4","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-J2ThYra1W1JAvXVfGrFm5cTCMtji0/isvqNaozuYOo6kJvrsmIHYpz3obfzOJ2tyd3TO5RTknDd+RzWYjGnmaw==","shasum":"6ae8529ba66c7b7ec7eec089f6594f93a4e886ca","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.4.tgz","fileCount":5,"unpackedSize":34823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ7TLAkNMvKA3HjTsUlIrzxIiBm0LmB7JBLM8/V0XQYwIgJxq4Gt90cMmkp/1NbLVG2e4GafL3sY7ZHYoJVMXh7eE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+/1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUzw/+IJ7hK80Zmtp3HYEcs+FTfM2bfOS5UTR4YcJhkkU/ySAYUsJe\r\nmsdc+4Xw8DD1JLiSoAkPe7WQLyH+mbDPPDdZHIUcwTtHP/eNYZhdK/gEKHBy\r\neakOE9sBC+s00gBOoFi/c/M9UmeePhWHSkfymDmC4KxtAaw+CECZhreG0a81\r\n8SdTrSfx4LQozmeJ3jnXbQxd6mse1YfbU/MquVkzANhAF+s5Nvl6UaS67hih\r\nyQnaYNc7KXilUKNq4o6qfsvjqskxSWz+jRjp05IRgdDMX0e6WrupBcY9iEG1\r\nT0KznZV3jvlVMy05I0xlzJD2ABkvtNxP7VVUjQXXF8WXMKapN92gUg0bP73e\r\nll4XeqVps4IHKzxtJjCMqmZiFLuZBGXlwSQiLak0pH9eMOipeLTKcyyYLqEf\r\n8CG/uaH9ZjtlkrGQBRJ1L18YTd5YlvFUp3Jk3gepXM7xBTdcRa86DTfLJpzi\r\nVYNMUzrI+soefltmU31QSVc0ezCXyFDC+acjh9M5NTtGpAagAlTXJZnnmchk\r\nGxNfzyzirZcq1dYUL6dKCzWvZG7u3OQs+I0OaMNdvtn5mjN1yL9qxLYJaHye\r\nfVKC9P9c/XSslJZ4thZvowx7NMAzg2O/pz3wCanTQJlKs8EJkfxRd3L+DtlL\r\nNi5gI1733nO0HrYvgicTfi5A/dekgcrrxOg=\r\n=YXhH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.4_1659367412886_0.7441639335708861"},"_hasShrinkwrap":false},"1.1.2-next.5":{"name":"next-ssg-cache","version":"1.1.2-next.5","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.5","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-QXN6eX7FfX8pX3jW4EU9B0ZKLLUZR3w4/JN3DSjgWt7h9Gn3LO2gucoeV2NPPqaneGO4BVMGwO7cz1bEVrueAw==","shasum":"35829a98f8158d2e3b821e71b59006a31d2bdb5a","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.5.tgz","fileCount":5,"unpackedSize":33919,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAVgVaz0KkemetaKebdtWRAn4lTqSPO2iqLsxFi2X4nAiANrb69Irm5RLlU9Yl9AS24GAfUhNIcZdydFEwjpdNsIQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/CTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7Hg/+LFDNUBB+yLqhdQz3Vvdr6cGWcj7q6jMPrvjatEI9jVXbqpJP\r\nAaiN2xA6bCbvnBHy4s5tlmRRfNCFn8bcK7EOqNoLE7SO29Sra8YwPQ7FCtSg\r\nh36z1oJUEu3ayOrmLXlDZ6rTHzR22r9uz8yCYng+mTluwkky0BOANifxYrpK\r\nLFf8V+FaT+f6lNjWi13TRaiY9I7sFeJ4TPWqAT+p4TuXdJBXvhRp6drKM2sm\r\nHg4swIJYZOxbF8VRQkHY+dnsD2/rXd1e2WTHVp4mKSmZg1I388cdHeBx4Tz6\r\nK3H2LvcOeAtVfntkEQ4xsKD1IGNMgf9bya8HCaSXAk4tP6s0SNOoBmBFNK95\r\nNsN7/ykNLGlY/z51XPSaJ+4h+PZegxfz0YU9SAlxhSJ6K/5OMzykn+90UeXs\r\nWNSGlUwlr9Uq6o5kdu9ZdLLD3MkGz6NRZKnna5V6nZcHUaGhJPHjFvKXKteM\r\nfb32BnRutswtIoOaUlvFhPZVVIdBE+749F5pr1Ogy9Hl6fG12nKDMVENUdOl\r\nKQNKcmCjddxf4pxOjE6oOh5HhnnVTUppTLPDWQYjSk66MTRMtp6Kc/Q0i75K\r\npI5c+LtL0wzTCrja+MtgDdJm23gdnfSUqQZUe/E5eqMYnhOrk4HF5kJclTR+\r\nsJpY61KOcaDkrr6MebA2a0+WYwfncrwNHsA=\r\n=EpQc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.5_1659367571584_0.6093320937024624"},"_hasShrinkwrap":false},"1.1.2-next.6":{"name":"next-ssg-cache","version":"1.1.2-next.6","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.6","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-6w6Zi5Lebp0CmfZEcggEKVWyqqClBW3Es1qvduFX1cfikBpurNruvsGz8DJpHbxr8YG7ZngMVmoyZ1K7sWof5w==","shasum":"cdb6c1c2182f9ed02a08df14c7ee4abdb9c9b83f","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.6.tgz","fileCount":5,"unpackedSize":35659,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC01D9Zt+HtO2FMR7+kGU0J0bsY4aodUUBkRde5U5S6wQIgPQIXA4d65sDjlMqyzEbUa9OTH7qcBJAPB0mRB4aIC4g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/FNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfRRAAjLXJm9gOf3GIiclU+Lu9p/8npcwyZtA0H9wMzha5ImDbNkrt\r\nuu6KZTBnWjZcs43s49TZWXgQ8iSfJo4+IqU4SQPJk5jrzy/T4gvKshc0QePR\r\n9I9EZd/odYjb7VpnqE/SC3j9mmqerNHfYcYyIGKzcektHSdVGxRHOUHlyqc2\r\nMRzBpM7IOfC60XLaceRkMJVNqOBn+l6vRNyLdzvRftW9n2rWbgduYNvgJSf7\r\nCRVrQw/v+K8j0EaY581L6RMZqYGCAW2Kb4x5d8Vi3ibaiKKfEaEI6i+jVrmH\r\nT/Z9/jhmigydHni4haH1yTjNGl8bKxOTA1Jjn14G8Wd0+LHco7D7Ye+p9r0b\r\n83KWAfQF4ZUVpKyYStOhMc5ZoiT91rLbTLCXm1KXfGRTibxNUc89Lt3FJ7VY\r\nkA4qzu0fI1NrXeF8xl73OUqjDWqmCiQbD1eMjmX8wk2x8IOcrb+s2NP2b4D7\r\nV85XU7TirGLDsPR2haOoPsx2nWjZmfLa4GMilOv5nyE+KlxAu+pf3MT49bCj\r\neY0DMzF99xfXVack5mZlSDbDNoqKD/yTjZh1RWM8vFS0eLybnWyJUHEd9XP+\r\naXhlw4AYS2xLcl8FB9DatsCX3alWpKH8HTlha4vxtKASFk65cUPYj/R9fBow\r\nnmOtTyhHHX9yqTa5d/dx80qyeiP9x0rLEFo=\r\n=Lvf5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.6_1659367756774_0.7117824454687665"},"_hasShrinkwrap":false},"1.1.2-next.7":{"name":"next-ssg-cache","version":"1.1.2-next.7","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.7","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-bz0zGadDqJyRJnmXVBuzdHtT2aw1sNXg4ADWIIPasP7Ugst5cuvMGQ3YQ5TAYDgwXvVcUFKKHQJUw0lpEjPV7g==","shasum":"bd5927c775803e33b4e3a4af5c4d0cd6d1c51521","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.7.tgz","fileCount":5,"unpackedSize":35927,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb/9xGclv4gx9ioLo3NapeKfSni9NV9Cg50OGlc5aC6wIhAPldL1RBdqNQ+cEyWg+CqYcNlUFEM7WSAMen0HMHxRdA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/H4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRfRAAlB/Ir155q9y5iehTWgmUo3qP1nmivMqhz3cVZPkT39OBYVXR\r\nHc9ZJ815Z0jjBhIOuGAhR7BjyZ2W4SFJ2wNWB8qzfQZczKAXOceuzZi0GtLA\r\nCYIA1SCWIgp5Tw9RnvqiyemlvRNeCcji57EoB/1WtL3wlvbRdCFUAIvowt+E\r\n9IlEYP89q35w62Ao1Erh9or69kUu2S/m3czZuRQijpfPgauydH+zpj+nJPnd\r\nMcgBoibKYzsHY9/ntKx82ZkdnTSkZ1glQI8FlCoqMpKoWLXN9zcebE0fOYcU\r\nW1vMCWD7xNYUFITLxf1S5NCywFqBWUSul6IXphQt7giyrxPxe4kJk1qS4Hsg\r\nTUtarf81cWYDxmA+Rtvu6+x1crYcVCcSRcGzYyXqt/SMKQwPbM403sPTVFum\r\nZ/w77xlhM+C0sU8taMx7deOgniURXpCob8goeafuf/8hQjnXC63y/gjW7lfl\r\n6DZEAUC1QzC5y37llXAR6utRg95G1TfKFv8PJsusLQAGA+g7AqnIPt1VuSlR\r\naQhjQu4DtcYSTAFb5bXP6HZ+q/t99F5gehSMVLyRb74PkFdEfz1mm+oa3nNP\r\n+prt97QtIV34EdFeIdUrM0CNOL6wE+2K4UMBfZuMlC6dDhEME2KMiMwisQh/\r\n94tUB8OXST6u0jqymgnmzN1F3ciMXO33zRM=\r\n=i7zh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.7_1659367928185_0.5231873863028897"},"_hasShrinkwrap":false},"1.1.2-next.8":{"name":"next-ssg-cache","version":"1.1.2-next.8","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","lockfile":"^1.0.4","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/lockfile":"^1.0.2","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.8","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-CPzvsB0wu0icRqhZc9G1HWu5UWOIvwPI+2U3nUmwdMYrUzSVdf6Gm+I8AhBkWq66LEDz+Qq0ATwyKuH51w+ztA==","shasum":"776c670a9b2237be3d706c35bcded88d2a18a075","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.8.tgz","fileCount":5,"unpackedSize":34711,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCncZnEZNPqG21g4Rh6Y++l2nj9ywhZD6oFuEdY8py9gIhAJUG0OeFasMRRj2gxeODC1dDFjfjsCjGrQ4HDL2aCPQV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/O1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQEg//UY0ZmODZ7XMqNTSQnxsffhSK9xFApkzggRITo8IVQBzWvSc/\r\nDRY726rRdHFsVNNmWQpm0AHhqSZYnnt5PoI9qb7M140AmMotNTdG71odv8Ao\r\ndPDC5mGBO+65j4GzSiGoAGMZ5OARNmwkr93PULQVepWGbk7/j4rhCTsMRjuQ\r\nJfUn2uPGSouxeML9TPhYNA8A6YY5VrlS/yXC4nZ2glyeHc0gzUfO8nGBHRkg\r\ndmICiS8bAYl+C/aRY+3ATZRXifLZDxAC4nSudvX3sXjfAt7YW2vPEvNvXKXQ\r\n4iK+w9Oxft8Zx5CXhyRevjYVVHzDq2xArH5Q41D/1EaTbgQ8zBn5vAWWY4JO\r\nuJOEewN4S2A3aCmM6budx6Grvs5SnW113HYBfuzQKs8Sejl5VcooWiO8eL+V\r\nrzTauEmyNCPeaR4plLwO6+jf7fs53Rk2SCOkSrqLoVvJ/yaZbwUGmvj8//oC\r\nudSUm04Fpo1O3UVRPFzvqCNvk0lkH8qQFr2VKFZut++JQp+0FOmDVYizBjSE\r\n/hL5Iz9jMcBQCiHOB4CokXUczHg1AXMXPGeJpx+IZqgmFjNA1weAZqHrzmlN\r\n7FB7z0SExeNZBLcZCZwtgXhG+fRNdYbeVIn9dMwPsmU2Jz4uzEr+N95XTp6C\r\ncXuoWSRsorpadEiOEpa2FeXEyYeBU9DKcTg=\r\n=eX1Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.8_1659368373618_0.5048692353144446"},"_hasShrinkwrap":false},"1.1.2-next.9":{"name":"next-ssg-cache","version":"1.1.2-next.9","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"8f660347a0032472106bf3d312f4a9dbd17fe86d","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2-next.9","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-LP3XNWzFhSRErTAHgOfSuIm7fZtdqgmXk6kX0OKbT31CW7/D9hY95tv4wrig7V1PC2f6dWtlRwzP6Nv+RDmmWw==","shasum":"2b75ebfc3612e8575ba90b1af1946f13ae7158b1","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2-next.9.tgz","fileCount":5,"unpackedSize":25314,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeR7X9MWkwWQRBinfVyAa+2itGRsqQVR2R0zkamfFhKQIhAPtABhAjHH8VC5ny8JHXK5YV9cp/jfxOLCnv+9HmaFq3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/UmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosfhAAn9+E2g+Sif/Y9jRPBfQ+a3ycTTW9lnL5zB0L+TuXwQgvhQdg\r\nyeDMvzkCiNpADHOZa2+QfDRXgM0vXh/f4zFyC67sAYWUWNMJmJuuZoUvzhQ5\r\nQ+XT99X+t6w9vdGJem+F+kGxI2bYvGiO60tckLutjMWMzAuR1L69AqZWayTV\r\nJxU6V1oC7MgH1/0AtbVjcMQGZxzBss3NvQ7/jorLqSxikLJiG7iGd5TwJkRu\r\nPwE6DlA1kEzp3ODAuJslj65/N8SsdIGZogENyc+0eLEQU8VyQVHrfZpTznWG\r\nYg51EvTL+rvSo0ZNe+INbra0vAy/5HuvdG5Ig4xXCSq5Hod42V6s9Envf9k+\r\nIon+GB5JO95l2vyHy59y39SSy33FjPxaz7RnqnQ4LRYk8yLZF5LFx2BfpTil\r\nusYMcs+DKGSJ1IO4M83M/a95e3Ty8vRSzg8tL1EoMBEJVBYXtPmpSdB67Euo\r\ne2rvSZhy+iLvlUKMCjDwOuaVftFLTvKZ7TAu5SKRZb/UAyHid30MjB/PiTlO\r\nVdMbfPW+1oun3Q0EtNljQ+XAODJ6gpOiPjhoKUNtKRtjrpG6l5AAOg7I1XF8\r\n1sXu52HZwyv8+p7BVzsykSjUnbgLkKVMjx+Lyk7CZ6mIemGitFzKmBL56Q5e\r\nLH3CD2VeezFkl5JZAcfjczkg06bdDhiKJvA=\r\n=eV9E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2-next.9_1659368742765_0.052548135784711514"},"_hasShrinkwrap":false},"1.1.2":{"name":"next-ssg-cache","version":"1.1.2","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","file-system-cache":"^2.0.0","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"5db73303c6a0b08ccec59ac3bffafc79700b712f","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.1.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-yDvORBrEj7HSRFYcW9ZIYdxh4dItm689fbQAWZ7F4igKec64KepbT3mcR0NsWAE7nWQ46E2OBVkN0h4nlUYUUQ==","shasum":"efeb59e152131c55219e84e2fcf3a992cb4108b8","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.1.2.tgz","fileCount":5,"unpackedSize":25307,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFzqXgm6i6cHZodNxr1MF1qClAGHlTIaW8rWlopo0UjgIgUklDVhh2NquEF07u/Yl3A6p6MSbd/aK8lygrL8fbM0c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/WeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJqw/5AfT3E7qIAOyXvZWzfulkIyt+ntWkgWmfvt1601ds0aQYubMr\r\nkFhsmH176zJNuUwFYmQ3NTYR89UdpvjHQq559ylvFpcxQwHqTyxki+Xd+VTT\r\nE0mLb6fPOZZe6kS6LIpUWsuABXYb76/8mQq5E1Lrh6SEaqyCy9aWiYI64czL\r\na/t4wDg+YuVT1qSMK/mArdcqPC/yFQxx66OGhj0fInGj/1GqbYLGEkYvRJIV\r\nVQnsyTEnPA6C92gKdE6Q5Fo7vxiVDNsWLLhSo+YQhGOYs1/5buKRMIW8yr1r\r\ni/lHgyPzdl6XNZtqP1MTru1GhE3WZJk2sRLi40xlgoQO2m5qK2uUS2FPUmly\r\nOHlUJgFDPCamrL/orK6D/hW1/afYee4apCzUWK6lFoVGaJ0Wx9Hnd1l6RGqa\r\n+xA787cdGz9vnP8/avqvllKgxGrOY3bxbbJtFKzYAg9VpWm9uWI8TfrhPAHY\r\ngzuQVjK+XlrBsYYroHAbaoi9hPYVLQEnAYk/TWlCSIp3DJ/p2kc84l0eGuKK\r\nQT8CoYwAdkLCNPZKiyGtmwUHXAl3M32HpCs+CUzX6EO/mpDSbhIM8WsS/Ywk\r\nNRWAY3gHEcor8hEAYE0oUgx1wKK2UdpR03qDg94GC1wxWA3b+Qf1qeUkidev\r\n/1Qcs73u/OhhMdjbpKX+FE3D8AahucqRkNE=\r\n=pgui\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.1.2_1659368862006_0.5828191097632411"},"_hasShrinkwrap":false},"1.2.0-concurrent-cache":{"name":"next-ssg-cache","version":"1.2.0-concurrent-cache","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"5db73303c6a0b08ccec59ac3bffafc79700b712f","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.0-concurrent-cache","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-zGSXx30dQDFTp1DtYme1MEIS+rbob8HlN+T4BS4dPNvZ5KoaxiFqfMi41e1ot9+aKCuYQwOm6zGjY/bGTDgUYQ==","shasum":"7002d138ec4e9ec25881942c526668d814aa8a2a","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.0-concurrent-cache.tgz","fileCount":8,"unpackedSize":43848,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQYdLASzBLqtoAW3wYYYwiTkrmD0OdCa0JvnNBKCOBLAiAS4P6XOsqno3Uc9tATPqhnUWZTCGcE6vp3rfr4LQHGmg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6UpuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0WhAAmQvxRguEjrANs7/7+0n7meuqragImOiGnZtIPaZQ97EkII/+\r\nhT4FKLH/I6wm+fb4mOliJRl0MJyxFjJhoWgXoIOtGQDuw2mAJIJsXYEqHnoT\r\nJ2Y07Cb7BgWzrw6ZT/OCJm9qZ2cYiLw7hHrrgc2B2vV/rOiAvK06XkfLZ6gJ\r\n5MFH6iLcZxridDuwqxn6rrzHL/QZ5OHWrH4hnAM+Rd6KzoMX21umNVigHZMP\r\nroAIAyPCCZ2ivczJ77oX45YgKGtUqWHD3RvXSSHoBb0P/LOPyrVpHp6fGnHI\r\nPBYE1gU0IEv4JKSE4DcOklyOI3h0vUAPfwAcwlrqtjKbJsJPBlPva6jOodFY\r\nc5Dg1L/x5NtXCKiyQLjGgtH5vaH+txFptNX1iYYLC6VYrPeM3ewkOKGu2GRO\r\nN+EULQ9xgj69Dbw0dSmR9AscsAJRjcHhnZFhsM5ae9S048OpvDzweA+G/8M2\r\nHGTYZs1hZ7gEFoSzI09+PqhxLheea6pBZ5i6ghmid3Hr7dbkl4Cq40OuAUwE\r\n5hFV2H47TGduYTES9vIlB9KB+Hodr/YxTipYw/iilFAa3Od7OXr5mhDh9dAu\r\nW1zu09KulMhSCPVFXlTADq3fCQAJXjbFXCCxhrKXrH2K+L6ntltf8JigZrnW\r\n7wZwyVH2vhWb+fh4N1FH7Vk+uLdpX83+C00=\r\n=KmJ7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.0-concurrent-cache_1659456109597_0.5888938294100683"},"_hasShrinkwrap":false},"1.2.0-concurrent-cache.0":{"name":"next-ssg-cache","version":"1.2.0-concurrent-cache.0","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"5db73303c6a0b08ccec59ac3bffafc79700b712f","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.0-concurrent-cache.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-yhe5xwtKFX1HT97WKwWfN52i893eADv/Yu5Q5b6ceuqZxW1dzHvzGWdpN4TvSyNzGa6BeUvQEDKMfH5EqBbilQ==","shasum":"c455957320d98193cc305b25e2d74222f505c897","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.0-concurrent-cache.0.tgz","fileCount":8,"unpackedSize":43195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1Nu6FbwawU6CoO2pouHB8pl3nUxwJW+konT1UbCIjbAiEA4PUrCVAVa54Mr5CaJzUFkojLGXeXPCYpuD4r8gtnAWg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6Uu7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoROw/9HDB6LiRkS1ZEWzkWNkrFtpSuzPyin4aH8Ct7pYg0Ztd0z/eZ\r\nipY6WGVYX1FjIXOhHxDxPaWWayTNR27B48Gt636UYmGobqvSNTcllTeHZuAP\r\nhmCUIuB74Tk7nK6IIMuPyPqDgTtfriOTUTjLhQiUCMMrWXvzclXgLoUT/Ovx\r\nN2QeKmrV95ZsIpp5+nCNMBCAWFzMC91VxgGEW4GovFLtnz6wVsqsFQUN8h83\r\nluRJ4DSAQV0biLiWWOxq4J56dyct3SmXjDAwvju5SBYf5tF/Mol+G7beIpHx\r\nAn6NQx4BoGc8fJjVGT3ZOKHNI7w5AyLWri9Ahlln9R1a9Ww+lMFHfa/o6bqr\r\nAzM0Z0nZXQJXp4J+MEmiEpPE+u6QUm0esPznNPUxXitrEiIoZiihhFM3vzSO\r\nAf1K8O1mx4DdtFNFiZ1gNkuZSrMf8skC21A+z5EQm5wA+CJ0s7xzS2q3pzBk\r\nVmtD+WeDS8brUOhLZ+RSpZjq6JvATohv3vggaMp6OrZRKhhUbf67SrVwWHkf\r\nrtvz9WCIHxQPwQtQvhhwJwK0fyY5IO0goUE0MUqNvskBb5AmKAEtnD7EpnrN\r\nvhUxOd6WbCoz6e0hMnAttu90SyC8y+c8K6HwSum+16ZFLN9Mz8gnmye7XKb8\r\nU6LYPu1iMIo01dZ92VkXOD+usEhq+Bkwc6k=\r\n=jxSr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.0-concurrent-cache.0_1659456442769_0.2799603954895884"},"_hasShrinkwrap":false},"1.2.0-concurrent-cache.1":{"name":"next-ssg-cache","version":"1.2.0-concurrent-cache.1","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"5db73303c6a0b08ccec59ac3bffafc79700b712f","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.0-concurrent-cache.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-iKz8EfUO3WUN0lEpite6+L212AiiyiTab23JNGeO106GjmLikvpoO+nMuFrIoR30hBGpW7Uzz/YW/2PQ+Tp63w==","shasum":"31eba293aeec1ffad5077ee6aecab0c8b9adf1af","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.0-concurrent-cache.1.tgz","fileCount":8,"unpackedSize":43235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXjtyBYi/rfgEy4nI2IRt2bczGOYAStBiPUGgOKKHuZgIhAOX6Nh6yqudyHJ9/AgGKw3yoW4fu9yXGLua63k38MR5T"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6UxAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIsQ/8DWkswYDa6D6MYCFTi/bfrOAmwA+D7DADywwMuq+KJfTap30P\r\nYNzFmg6SdgBzz8h7ZTahJhS3pIqBkTd5HQqFdm50hnNn8AQN5Ga4Uf0LCeQQ\r\n3OGSdgiabT7lPH5tijur1GWhSj24YgmIpFEhLyW/0HrCl75cAcX83reX14Wj\r\n7iQVchQ1GtTbemZuo1/MM63dY9PdserTdmhrVTM+MxJDNiCLmUv2bjmYT/Ue\r\nhsWPI63Eou81bHr/hnKAI3KuYm3LZu9Ypiounz3TLioTGpiJB1afT6csisn6\r\n7MLrwf3KKPuq1BmlO/FEvP/lWiKVbKXyDISsS4GtmW/0FqcZuEZn8eK7OyT9\r\neB3APzqDwdHveO1eWidzfEp30F8e3T9gHMhlaoV0PgbIBOThlzu/Yf66nf0P\r\njFVu89l1vNb+dfw2X2xBP6vuVLYp3QtXznEvtcNoomS+PZfKTzpOK0MFuZfD\r\n0zYYGXNpCDXy878Pbrjxfck2LVpSIUG1HSaLrV310c1k8obyKlBBL4x55hnu\r\nSMNX1I4VoAgdm/NdFKACZjcgVCXLzJgX7SsSwNvOcW9pwUNWCd/HKvOg0qz9\r\nU6xU01RHkjFCBQGC2LMmesTT+H9UAimiIIJuArAjf4jbX/1kejnyj+QU6/wi\r\nxaL1xcrRmAHDIeRpnVvCULInNb458srVgQ8=\r\n=NmYi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.0-concurrent-cache.1_1659456576381_0.6201586950462805"},"_hasShrinkwrap":false},"1.2.0-concurrent-cache.2":{"name":"next-ssg-cache","version":"1.2.0-concurrent-cache.2","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md","gitHead":"5db73303c6a0b08ccec59ac3bffafc79700b712f","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.0-concurrent-cache.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-YYJwqJbHLrY9wMU9O6dg1of8KnVBLdSwZRp7O1SNWUX8/C6jmeNs840AOHU5+NhJ6eVBjHzGScZ9cFKJn8xL0A==","shasum":"e6ffe92fa3a58c1bc596672e64bf45d54c49860a","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.0-concurrent-cache.2.tgz","fileCount":8,"unpackedSize":43385,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq4Fa7F7pZyf4rltSEcIUSb685VY4v7sF710FVeMdLJAIgQ4Q5s/Sl/LfPtfHQSCMMLFGvoMdYc20hf/OR/WK/xDk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6U0kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQlg/8DJi7ML8dnSvmCSEVhOYBB+Ydifi+EAP3vL+iBjWA1ort3gXe\r\nJ3VhJXZVoTqZAM4hr6yGjQepkHqFnehg4PZBu2niVv6diP8rFz2QbBYPLr/d\r\nhEF5CUgCqVtChVwaOYAeoP51Nd7mFKTbVxcaISioRW5YbmtBx/wsS5UNYGMG\r\nWY9v8i5aFULYKfEa1UOpTabkq07MkbmqR73girDBvhHpEkFCv50W1usd80Sm\r\nYbl0IQCWpNyDqlVsK5y+YPn29i7iFoaDuTJXSuaIvYv+WdUSIPWY4PKr/xNu\r\nFQiMZkO3FAI5mbbrLwWEZUhYT7uSa2YW83V+pzEqANLXAkHzpFfhl0yzsR8h\r\nQ0QXkZPSrnyEksOTq0Ao/zZdvFIDCTe+7h/IUZy02NThKYcgxS6n9XcM8LRf\r\nxiU/2f3IYsS9zbRFzU/gjOvzKVnmQKJVBVP/pnqNqvaK+HHb5QcGo5aEdFP+\r\nFqjU9kOFk3SStEBmyFmbUW1kdPedJxZpkTPBQqo1NYqSzP6jWXmvhofXzCV7\r\nMZVUZsQMtJnODsd9fZr8rHwzpWl4JFEORQk+dMeyRGZr6RsG9HjuNH6CqtBb\r\nAxiIph9/eqRB1S2Vy4BeBmbn0+J3xDY1CDR1imu7L4Q3I0+ejEAV+GJXuSvV\r\nzRKtJQuLaLWTTXgtgkiQbJ0NmJG9jLUt+UY=\r\n=Wk6Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.0-concurrent-cache.2_1659456803859_0.024003169696735327"},"_hasShrinkwrap":false},"1.2.0":{"name":"next-ssg-cache","version":"1.2.0","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"5db73303c6a0b08ccec59ac3bffafc79700b712f","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ybd2j2E347f8xu3GXTLhQz2sIO1vQJSG3sTEk6TKSIgJwqTogo0Hc8TozeMvW3wt3JaiGftmZj45HEM7vsls0A==","shasum":"a21ef669267eed58267acdacff72d68e232a2f10","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.0.tgz","fileCount":8,"unpackedSize":43366,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZnYWmmOoVgEnN3xp/eehaLX+PJIHg92Hi/MNxWvwF3AiBdovVlqKOl/w2w9AlFOmk4UV29Mchf92JhDk7l9mwexQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6U3VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWsRAAgw4JY6+FKPVt6Jryo1CU20c+/CSeXZLStFFLIl4NCMFn0pE6\r\nmTsyKUpyeug+1BlgKle2DDodi3Lo05dQNTXe/UgdB3KmxvKxfVTPBdkUmLib\r\njlF/zQ1QTOutb64mnFLhc4n6aD+z9dzmgso8s7MJJTqKRA1Dma2pWevlhUDU\r\nDbsJO9VlhSRdJupIODSEjvJUL+GsCt3jIkqdIR8jfAN3r9D6LFwKZy2HBc9D\r\nJOLoWsiBmX4EczHuE7XW+YHgMhjL5YPuUi38ehyVgD6/E805Zb7JxumxaiS5\r\ngkmsVeBzraBTd7Dvg0WtAEVnLPQqLzZMzpGTlME24tCkDD4Y4+2Na5nnAagx\r\nyJiW1GrFQZUsdyeQpE59Z1V9ZMNKSJGYN4WMwmIVn0Pyl4B/Pfovn5H4U2RY\r\niiEchCg+ZKFYmF50e/PotD5ZXUJKyDi/Ni8HnlY3Uo9/NOUJskBi7SkTf3Nt\r\n2cigrFJ7JP7ZOhr8HXUlGKHJ5trJdaePF3mv/FKtcbuYW+Py9qWbDGPZOy5m\r\niyEHlFYaCILLWFxSiBwC+tW7jCzBQ2sGwG7KKUYhXGT1teiUPQSlHlm1nRbn\r\nhobMqP0/hgonyLyAiUOOq7EevGz7mPwe3ZsJsGMNOkhkYPBwub2/nkhUeT0h\r\nTUeJimN9h4AZNb/WQR6iMdT6tstjnbD0Nog=\r\n=juX8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.0_1659456981158_0.06469383005970175"},"_hasShrinkwrap":false},"1.2.1":{"name":"next-ssg-cache","version":"1.2.1","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"ba39fd36a442bfe4877219f909c1bc701c183cc6","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-vMkOJdNr11QONSN4l7xqi1++GeIZToV0N4IuRDq5AlN6rjHaNDc991Fqo0DGZKCk/Kp4rQHFBiPechAuBcklnQ==","shasum":"5aa3a6c81c09f85f0b46b7781a7d91032fd7da95","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.1.tgz","fileCount":8,"unpackedSize":43859,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbf+CUVucN1EEGKSrmJHHPvHF3Jd+93gNgx0P2LWQIxgIhALO1dShyOGIvp8DAH7JYGVNdZJQ5Kq4hJTp8RAJyhE/f"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6WcOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpV4Q/+PK2irnLs6P/nkvm7d1w2FUPftkuWWPXuC7ZGV5Sgbo9qKJSz\r\nH3d7q4TJ8AAvxNHlHjkA3udoDHwfd1Vhog9QmAXYkUmbXcddADCLW1Eyjjru\r\nBCKZxe5RZuG8bdnP3JJpSrbrqGW79eyZecrwJy1GGUMyIZ7MPPha/XmRKfrw\r\nHP6yJmf+imsJr29m2eVp23snWkChKSzhH9QzTmMusmvsAACTg2SR0n+hbrWr\r\nOkbpKYFcnD3tItUWg4y5SIVrl8lV/w5DUsR8sIi8D4olyJhkwNlgXqwh7gzB\r\nYfkMbiDHzXd9LNaO41gi/ReHrcGSUDi8umvVhZ5ARQuJtiqX7IqxHwjv/rA8\r\n+G3uBVQzVwFnXLeCcIRjoa1H6yLlkWbPnN5WxN1m8DZ1c90yb+spta9sPqLU\r\nnQaCV+zFgTzrQt+iZ32fegSCGqP9aBpZFVyp2dwm6V+4rDCEEBJk9cRnV4d5\r\njD/P5D/Kd2LfmrKyIwzriGoJAyDC2jzj+Sh2FBz7+FD0wjxq4wxUymmKNuDv\r\nrBn5MqVDWIlTCIZ/kEKlqnrJRodnGThW2aPtxrft/vl2pFvK56tbDFYNsJwV\r\n5ZNdDw0Szr4D437wwH6Um49+INXFsHOsMy4JcFSu1CU6G7oz5k8WFrhjW0XM\r\nMMOiDXxCj/rPyYYoUHosW1BPzNtpnrfwppE=\r\n=zzui\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.1_1659463438542_0.9721827134338694"},"_hasShrinkwrap":false},"1.2.2":{"name":"next-ssg-cache","version":"1.2.2","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"ba39fd36a442bfe4877219f909c1bc701c183cc6","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-wcvLi3CjaJW3JOytPmLXdA9Yaf7KHlQYhBxIXMWVEgV5+k5TirDTjtNJT3F1W14UVOvIs4CB+bxaQuI5Wnwogw==","shasum":"801f7e3e45e4293188ed1c86d9bc8ca6875759de","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.2.tgz","fileCount":8,"unpackedSize":43543,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICY7Zh93noOwLfGzImq3XPPYWJGCjPxeipe3p4CmJaEyAiEA/0wmTD2Pg3CtNfqaOOMDveOG4Nxt9QZuoSiQJBRU3Ws="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6oFlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnbA//UxXJiLEjhhl2pr5U9N3JFV/VVcU4JsLmtpjqisDtifqHfmX+\r\nFa1v61YuGR6gS7clckn1wiHEe/YAPfy3UunfNmuYn5xc2cs+cXNYYi3u8kei\r\nbqM4yT0bM9B9MibaPrZUP4ilBxfyKZmqKk7gGTYOnrXyJbI9L2ZSJoQsUVDc\r\nozRrcQWdoMVLL6ITx65WFz3bBKlNk3rhLBvVsQoPknXe67gPajHAyjiDWYCB\r\n6G79IwO6ASx8Di9bEy1h1SXDBDX83oFWH17XkZ04zgs/HhHb5EEQZlAOoO6Y\r\nsPv3qL5c1injpO8nfpHgh1yixJzeX8C7ZDHXcpfHq85fqZLFZ4edU0rQM7Uu\r\nRvFjRvKr5PWIxYVzy8mFo3fMvCXAcpwCEFbgLczx5RDuaYIFBYX4oFTZECxd\r\nQS0gd7roYIwocSEjUGI5CEmQvwH/n+kCeoFagAw4Nyxkawx6bV9QFz1xaN3r\r\nBMcZmM0XaZPTRnAoSou9TKWx4V2Vu3ZiE3JdGWYgsqEDopLVkOO1GGf00oQX\r\ntSQwP7Sqx7oJRxNH1r0gt5Gs4qN93bYWA4aY0beaKDZIwWXwuETk6zhIt3qm\r\nHKV9svP548AquRQviy2MJTcfi49uvhD0jMVz/Yg+JLbeO89QuRQ5VY/8l3Ps\r\nAWg4doGYywRHY4xCpYvuICkFcp40uBquMAs=\r\n=kdDB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.2_1659535717325_0.9191324380500494"},"_hasShrinkwrap":false},"1.2.3":{"name":"next-ssg-cache","version":"1.2.3","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"f4e2087149600a1947ff1d80d83dc3e46b5e01fe","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-CeNFSwWlYPbFGsk3KMWhGk6jxyR5/F6lDlEqugXN0hd2DhbKSd5npblB/2mY42WKL0WW66EP4vnwY28LfkqFNw==","shasum":"7236333e7082b847ca4be1e864abe29e725cb316","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.3.tgz","fileCount":8,"unpackedSize":43721,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJGK6mfHM5qLM5BUwOPZl1v7/HR/pIWALXrRKAfPMt6wIhALbERGfnrbcsiMdlAQ9TmD9wVK4ujhWW3GPVrK3mdtxC"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6oRaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFpw/8CWBGCltcPsdjmdiA6H/1+LAEi5VfqJls1jPPOt0TN9wOzSKy\r\niJdITII4g/HtNWLvCEhfGirMGVTq1egcBFcjOwFY8LB8MgiCeKC3YarhhY/8\r\nrSeEjo7Y1O/vWh1Xh8wRt882KGlUcjj0FNFkcnpggzi3n3RNxDZoIIatNIhI\r\n1IVyE7bNXXHRlGZGd8q0OGyVOiTFqcoxpbSHjF0qnRggLCcr9mG7o9ZeUCOI\r\nf3l632H/w0gpfpOPR8cr2wKrRCVWSzLhjVmiim2FcIMo5BRg6LMWrwIDDaJ9\r\noXhXto4X3W5i9V1X6q2/m44td1O94cc0bIAoRyunVYHWdI7wMqpRf0Zo3xSM\r\nMmfl/e5eXDZYKkir7iG6StB2uyPebM/EpjdNQST1V3EGuOSSfj/vjqlOxPnw\r\nKouMqvc9Q38rNSkHAMpAS8R+XGeZAX+WQRH+4p62RnFlhpfnL7YzFhOfClm1\r\nmzP8KuV72MG3sMgpR5wUf+yCMG0jWzYUGDH9G079y7CHmrJa6+w51qw2FiEY\r\nCjOVfU58yJv0snG5QLQBOURD/qKqCJdgqfPV4ppC/1xXUIVQYPEYP3tpbtG0\r\nP4UAry3dRA9xSUSqd1lg5bscYk9hArrRR92jghA7Lg0OiqIxkzEyv0FE115Z\r\n1ncjGjzYN6BbSKrlY4B58ccYUgJ8XifdxGo=\r\n=W8YU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.3_1659536474224_0.6622357777469923"},"_hasShrinkwrap":false},"1.2.4":{"name":"next-ssg-cache","version":"1.2.4","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"8e89b01e23daca3ffe37770365ae3a46319e50cf","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.2.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-9y1u9hG1p81dnq+8H8dLUOyPdBRmjxJYHsD6j421rrD6HzHhtVSkeDrJOIfJe1mO3M7Bqf5P7e/zdU/lK6c6+Q==","shasum":"8f4324e4364fcb2c151e1c478c1450e3519a2959","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.2.4.tgz","fileCount":8,"unpackedSize":43977,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5sAtk75J5rWUavghuUs5T7T75kAbMY/oje53QSg8hyAiAjfkABvYN/2XWIVbIe2CYMCl4Ji8OUalzt6B0LcBeWNw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6oh2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWnw//SI0vuhgSTmJMKOL1C/RmaW6+9mmD9i1BOd9NaqoaxHzwLTGy\r\nWbq95g/53+mqpqKCVqPP3vBugKjaykUWpUK5QnIzF6ipqlQ5pR9TVH+Vkcq2\r\n5174+SFuErNUISBRaGwd7GBzOEZ9ou7b2SSVLX8W2++LLj1fe0yeie5vvPc3\r\nrp+K3kLPkO6KunzACNlKpkt9myRdweDpjEZmHh1vIwD3m89jhhShxxyTQBKt\r\nEX/KW7JOdM/y4kM5Jg6uW6OwNkv6jpU9IbHiPhPfg5Gh2JY3xffb6gG7Z+w8\r\n0/MKs8/VQSJR/djVKW54p8OIRHNdgHP+hs/N303WgOoktSZIv8T3ZMCXvKJy\r\nZQueGuGBsYw/tkIe6dlrwktZonn5gH+F9Z9gV8CYVjpINbdyzITUfIU+0NTO\r\no7w5NlWxaMEbhireXL669r2tqni9J0PsRK4aIpZnNG7Gj/BBU+VfolxtqAxk\r\n02oqXCVbN0uui+DldTv0J3Sj4MVK8hUgBWccpmnibsFrmFlfs3/Fr6Uvj1HS\r\nkfnvZDvQuPEGDTPBr3ztTjPWAwFaH1PBr8CcnGD5jdKYwHH8uE9nUYrk31mj\r\n58iLmxAbsK/e1gguFWUc7sXHFE5bC4tMawHoiCm9uB2SvpnF2cUajWW5Q3Mq\r\nbuNQW2VWkT5QltdTJ6dsIgPSSNlBPtOzChg=\r\n=DLYt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.2.4_1659537526178_0.17400164032433407"},"_hasShrinkwrap":false},"1.3.0":{"name":"next-ssg-cache","version":"1.3.0","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"d0175f5eefbbc6a8a67e24d56c5fbc61d3a81c8a","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-DBH9ZocjbwwU5dcH1mtKjFfacfeizgITSeqpj7Hcn75/gw03xOTosirOQUAmy/L1Bhj3BEKoeEIarEQDas6BEw==","shasum":"11e9a912be0dcee69b5ea18b5d1fec351dbef513","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.0.tgz","fileCount":8,"unpackedSize":46333,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4iy05wi24geqNNbpo0bIm8XiUrm9Lp+InC97CrXUKLAIgQGyax2Rt1tL0kbJPHBtzAnpwSaxPv4Cr//Vv1re4uVk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6o/MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPGw/8Cc9s5h1y7YvQJHTmtnXlsdrX+Ac2A8Im1/sykSWSZOIokfxc\r\n6ahloLPK7mPKVTnU/oFRjUjpDlg0C6P+C05j4Z9WF7RBhspxh6SN1F96DGp2\r\n7iKtv0Po0KfkWPAbMEOlzOcZlOZDkYEkeaAgh/IdZGWmLUqTFvk6LXtplKPY\r\nzoiPtU1RmI+PCwI7QY6yBQUvproECp9uAvfuFfyabThzq3cB3wCafL5NF6fC\r\niOFfGgj34FT+zOsTMNeJu8ZLmuM3RQuhT0ymPlOifyyIc9tBrvmRJ8FUcLal\r\n5NsT+tx+mdHbnnND/Nq8m4f5S4coW0mR8egjAzi1p9ll1j5gX11VISNXmiaF\r\ndieX9QY2i+opf+vhWWHQYwp68sXS/Edv2Us2IDF/n5gA1AqZBQQOk0BOtQru\r\n00FZ49Iiio1molpT1RLPmEjcnqMqI5mgjSJVAPSD/YeO6x963xaD6WWL0Qby\r\nrAED6OTBUlmQBiHlPYYbw8r8IUubmYQNwm8MC74lmhLuIIAfcXfmBSoAu1De\r\nhA9PETukR/8XGZYwp6ao11LBWv7a5mjLFmUAUUwwTnFgv+e//Nl7w3EAAYZ5\r\n/kfskrKM3hBz7A+iE0c2I3GQJqXkm2noN3yZak6fghFrFs6NRwMvV84kQQDc\r\n0NS6LQpitfPXzNfS4X+r4prHMt7PddgQhLg=\r\n=rwiy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.0_1659539404591_0.8401050703272028"},"_hasShrinkwrap":false},"1.3.1":{"name":"next-ssg-cache","version":"1.3.1","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"d72f446e3a768ea334804a195011f9c59fd16af6","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ahIgSp5fKFbqiP7oLekd2/OWOgbxxrL6spk4edB28QtgFok3lmPavPeNj0vzzbmzYGAA3SZHMKut90VigsbTCA==","shasum":"2dabc480a464a48db8c8b617379ecd9fbac9321a","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.1.tgz","fileCount":8,"unpackedSize":46795,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4aJC3VGGlmHQvIWVO45XXdBbsBSmoU84tX+jz72BMmwIgNFkIudkevDCDTAy0cAmzzJ9Lii4AYlvyFymVZlF9Sgc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6pYZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/BRAAoywT1B0juWAnKfhsjgziya/zMrbbrkBlQdd1MOqNAyH3kIzz\r\nrhZOa2HNK1v+m4CpJpRcnwea9eLXKawsx0iCMiDXuFib2BKewo8XpbN2QP1N\r\ne+gOGIorw958kO6ZO6zapN76JsHRM+N3dFT7oqHLhYqiS7191w1JilhR0Z1G\r\nPWNeLIqMT1GiVcU35VUMijW5QcME9AgQ/YoLCHMhCoRuBxgyK1aghuqr7KY4\r\n6xNiGc6MQzI7hIYAI1irYILpbP0gn7vdcw9CdznjfNKjOn/pQ5THL5TDgGW8\r\nycynUFUAE595xIeF6qLXe7Yo0eK8lzB7kD3Upj5bW+bts8MjOLcBZLdAvTGW\r\nC73vfn5VDiAXThG+GK4xp2iJHEzE2SynKEEgU2yQuzdu0L5JH7Wz1qtHgIYv\r\n20T/2XB+Q9FpNOp8elne54S5v0Ukc2h0MRJY/0f2BRCb8pebOdP9aZMUMoKW\r\nWXZ5i4hte95c6bGFzXyapL2BmLRhiro1OmmqHXfd03URN3aSAk86MzXcOKMq\r\nHbRU2GDMOsw41+K/7fAMUi/6VOOItVKdvk86OUXrm3KrzkrDH6I6RoZhp/6l\r\n7h8NmngIhFQ8VRglh8PQA21/PAGO9aLJUwscCTcLv9OLwnLe8k8l2u68T/Lz\r\nWxIjIyEmaSdxVT2KLEkyaBUMkW/UpSV16YE=\r\n=sqbX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.1_1659541017709_0.6968708554485588"},"_hasShrinkwrap":false},"1.3.2":{"name":"next-ssg-cache","version":"1.3.2","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"1435c51b3d2ffa53d0ee5a6c2f7b683140f293a0","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-tIstvKDrNkLHReRzPgaq7PbGfniE9lYkT5x3/7SQhEXA6/wUwkqUzERUBowEeK0jZojb/VcwhxhDyV55YCTupw==","shasum":"02c93657130057cfa1ac1c21c49002cfb7798774","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.2.tgz","fileCount":8,"unpackedSize":47255,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWQeDqdN8/7PxVsC/mPuQBtC8fEv1jsuHEQmphLHba5gIhAP5y8NO3CzYZAwGQ3ZepVSqqKycdFCgBc1ySxDBdbwNk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6pq2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAtBAAkgHdRLo7mbik03auuS5QMLLksltjMVTiSc/IqAr106fjpU6/\r\njS8F0ZtZxFB1XobUN5VE/9/y2mvcNrADInUVQur2EUXhRFbKYe74oLBQJhNi\r\n1QDhLPQTvngAB8oKlsK5V6eEl9ZxsaXkvqZ1yCYX9KMa6//94MrhSXlK1A2o\r\n3C8RX+sA6RU0r9oINVzpqYnIPB3ax1TfHSUeLFTNXRaoqbRFrAoMt9egzyDM\r\nLBOyisJ3Vr7+wSHxyZ8yEZk1k4dnvvLjqAWFtKlcOXCR7vSq6WcJ2YQMPEh/\r\nA4URur3TtiB8uGyPL7vogWIB2eyLaRtRVxsjNWqIfo1sUt0E1uwkeBrjENDB\r\n+Qpqx67ijrpd4EKic1P2hQeCrmrUCkNpTMi95nxUtnUyTzVWJzx7Neb+2eei\r\n7l38ZrkvA/waWYIZBriTA3bNKIPgjZqdzlN1Xs8gQQTlilFsBuUxe6PNd14Y\r\nbQsRW1n5kZsdR8UGG1rfNhl0SNF0B4ukS986t+nARR8t1Yi78EcQCB4CbRWL\r\nR9Edw5m8s3p3OD1nxa8NdaGlT+1k9ErMwkBLkEpyPaWF+Zu4rwkiLjtNoigP\r\nJ2Ykdq51EeVMlctFZLHhFudHMsvaBWBrUCU2TBov/YiZMSzr0OiKq3yjPd4G\r\n48Ns/CR3i6lKCnghn/TrJAHuDp+qA47wm3E=\r\n=Nhtm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.2_1659542198435_0.10349446980991606"},"_hasShrinkwrap":false},"1.3.3":{"name":"next-ssg-cache","version":"1.3.3","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"513f15ba9e590b99b6c1d48c8d00bfe302150730","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-MLpKpz+Y+lHJxAqT5ss1Rx+uoRPaFqm3AbFFxcetig6f5+jwqF+pfNiN7ss1x61BafkhU60NTmGnzE2HnXg71A==","shasum":"5cc8f15b0305a712d68c0d76b0d07b09d0b8bd65","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.3.tgz","fileCount":8,"unpackedSize":47417,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhhxlYbLadqUlZ+g6agHC34m2T4bMRYiAeg8qmBMmtoAIgeD0xeNashDZtwNGOBmNKBi3YtS/vPRVUV1xjLvoUe+Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6qGRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppwA/+Li6z7N1W8W34WfOYoHDqxvqFU6GKeaE8/gDV0AOQNF8iE+vo\r\nArpllSAX5LJhoM+yDQUEoQfIzIS37iQMbNhMiiS7qFH+LFi6nTjAaLq3/EOy\r\n5iPg9M0DFPviuuBu1ILIkvklhu76j0Rb2vEv4qjduHWtf9Sk47AokV4K7CKQ\r\ns2LmEFF+KWUMp8TVY0wf40iNr82C+Byqc4YcaYOOuJWzyZQmEDbeAAd6QLyg\r\nv0C+TXbzEjGYe0Wo0Ya+F895s7ltwyVu1zbIDxJZApYNJ2V63gxZ35HnrS3Q\r\nKkgk+p280ZuZkUEShG7I6n5AzwKrvRk7BnLZkDxN/tvUxBAncmHR7run95GI\r\n7LJ4xr0QHBfiXzC++Vs7vg+i9khZ4qn+zdGairhzMpwBf/r9sFUPabyBi+TR\r\nnYJWO3F2mNNYK9Btx5gp2V603lh1WOoSx6OXKhVPHQY+ROtNjkmdpwQB6dQ2\r\nVduS6MY/FQeLTDlLByc9vCFTUICan15qiTFuE4zdpSdYwAlyGSiKqXYBnc/j\r\ntxR7k9FcJBWvGtA9E8IIZ/te0dqcYUEGvnba6oeJkdeNaCXoosy5Nb0yVNfW\r\nYcnpDWPTYx8AsG47r5bkarbwZwZ7YJhToJrIOe0dvjpw6cnv3dhC9KMqGCIr\r\nym5YSK+BtP+GTu5G03G4a+W6RaBxvHQPaiI=\r\n=L1Kk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.3_1659543953195_0.11508703648411811"},"_hasShrinkwrap":false},"1.3.4":{"name":"next-ssg-cache","version":"1.3.4","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"99e86138c099b33e5cd0b0c093003db90565f826","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-UExWEg47s/45P/K3AE+nk3/g5VyfnLrxtojq9tv8otQ5zsErXSOtmpWEckY7TepWbCeG2YSEtlQigsGoJfBVew==","shasum":"11c7f70598775ea411394be52c3d9ce52da6f2ed","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.4.tgz","fileCount":8,"unpackedSize":47433,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYQU9JZjiW9y/W8cwOUvBaHcZRW7Fr8ye7fGbfZo1A1AiBTINWq5Vjct/PlNuNZQh51H01ZNYpdeaGGJP0ccSSMcA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9nGYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+RxAAk1675+tB5KXcY/M/w4HY4V3YdyUR3A7muEqs2JmyLd/zchf+\r\noyihCZ8gO50qVGgLBv2PV/o/+ECsZKgDdjbeIVFIpZMMGktRjZ1THXQuGAnp\r\nAmJ2IZU2xJc0RRlrY5cc12naFVCQ4SMndcDSkMXb67//3krJHHGvWXpXrpJC\r\nwkv5YG2xMpOf7XpfVtLpPmymZKDK4jMmOek1F+4lNpM6hcs87la1XFHlKyHl\r\nsDledD7/U8s2+ZxOaWOjvbKGWbyTAXORTjbVmjW1ctzLALFxBWLk8O3fQhx7\r\nE3xLZF6oOh05etHI40+CGRlbzkro5dgc0uKIEui7IeeJJpG9uQU/UxH4z6FW\r\nqZdZvNJ1knghIP/wtBPcO+xf0q3Lhad5Do/3kqwSLAAu2A5Ry4QcxYUOeyK5\r\ntVxhieRjyiMxkOXYa1ptqsyeIgXrYr2rWBkiiPdDo12LXJAqKGk1YjZ1IJZy\r\nPsGpLYSKjW6sLE4HWVKVxiOFyKieQpOFImngOS6mRJXdIGT56inU/wlv1tcL\r\nxg4nkcyRarceWOPvE39R+Gdw4OE6ERYb+Jp4hjdJQY0a3NjWzPawo/gvfHsK\r\ns9nFbxHRIKyQXt6p2nIY2t8O2xE0K/08PGFT28VmhACakfnpiq1c1om8q723\r\nYhz9o32Iz3pjRGT3WHXmIDQGWMqlWTsIPJY=\r\n=fO64\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.4_1660318103813_0.3281192849846386"},"_hasShrinkwrap":false},"1.3.5":{"name":"next-ssg-cache","version":"1.3.5","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"24462f78b8c670e4a4557782b6bb6f01304ab8fd","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.5","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-79tYrC97GHVlKUOWZu3oih9mEzTzYwZMj5U12XJqAVlSAyJWZX09pRldnlMvodPZIC0uwoT7OedxyrI5XpcEQw==","shasum":"04ff0f742798714bdb97e276ac78bd412d394078","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.5.tgz","fileCount":8,"unpackedSize":47601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdN2LE9Ccp8nlLcXmJttJV4hg5XMJk8bYuj/UnfJnOHwIgOf1t3nBC0lHghCs0b60KtNlF/kKc6zHOXmtpo2W3u6M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIIyhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKeA//euqY+6IVymsqrUEzon/ww7fH5IgaGgh6+6OambLXwaO6+Etx\r\nxtbC5UJLyCcSxZr/7LCyhnUpUdOVimJNETqDuey9+f2cgk1Hi5NHKKr/fqck\r\nA4zXKXo5Uphy/w1lzZRertKDAijnWY+dr2VakxQN3QhI6W3oKWbF6yNaXBHN\r\nQ0WYqz3iPHemifVu4LG56dNl6kuzT6GxWQk8gK1a8/Cz4cbZtBheEAYP0k6S\r\n5WKa18pRykeYOAXquoXxcg2DaGHFn9KeQJ3QZuzxMcKDBJNu5CqX01kzF0Zg\r\nKBi9+HO8Uo+iBQ1pCdbf/eGlihCXDOieVuxygNfpV6cpwygsHWQjN96pp/cM\r\nSCfuaRnv2MeBk9Sj+R17sJpKlnISaolCunUDyDUsH6lCpvP2jQB//eWrJ5n/\r\nhzqIM7utRPAzTCRTqZhuDGexGksSgWKCEAgy3/V9fBH+zTbPHfs1EORz4X66\r\nUmGlNMUaX4yc8e4POZQInJKJw44Yv0XzwgYil25XBh/BOSeIVpEWkTO1bsUU\r\nbAz055UAFDKGIpTTlRCzAcCeJcE9x4k8FWooNpa1GQ5fbxVz6Q6dNtIdItk1\r\nYQ1kWQbJCWnkLbLNhaS7C2Tyh4haVl0J1lkryEBdzQp86S8kHk4xBLSSeKRP\r\nKU387Llt4uJ9bF+49UmMkCmecdoZaKuyUmE=\r\n=DwLj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.5_1663077536894_0.2673369899969802"},"_hasShrinkwrap":false},"1.3.6":{"name":"next-ssg-cache","version":"1.3.6","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"c208f7c7e07cc68ed2ed2d8fabd4ed15ab74bfa3","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.6","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-eExxnhcOMUSyPMXU8/DTr+FxP85UXQuH3BRIit6Orn8BUhLm+/dCmArIJrMDpxMfUvpyXMSEYyGagnoMb5y9wQ==","shasum":"475af1eaf90cbd76557958f63e76a1b5e99ee93b","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.6.tgz","fileCount":8,"unpackedSize":48149,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVKx6SKQUhn1irOff8sFhI4b0rQWRFYTe5C/nSeBZ7qAiBq6rcwv6lerNfE/zpSZawmwIyg2VKTo39O/poGYb0J2w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIJZvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA3A/+PUtUQKlCsZ/kLcPV5oK28p6R44cR2CpJGQuUogYZbAqQcDR8\r\nnIz9Wwd7jN8Vwin3M9Wv6ZB0XohQS+aKL4aDj+6Rkabb7cJyydfP6gGNl0SI\r\nRKs9zX5VtR2jz0D+iOK7KdENezJ5OTOrW9wZjp4hF42x+hH0d5F5Bq3l2Dkx\r\nK+idCm3KZFoFW3XeuI8gN/xepl6LWEgjxzMFzCcNFHpX7fQ09rHrlHmU25h7\r\nP9UwWTQE6GUBdzmMLpnrtla72eSvHEh43pLNLsU0VN+k2p0aYnVx8sbRfp6a\r\n1X+N6Payy0jdHa6UDoIQyUoGnNtLeigBQOrt8RgK62fngFxe1C5vmVjxUipu\r\n0VfAWh4RtcQFQFpn1fWapFoMWTD3SrUb5GDjBXgfoep48LY8IbSPIdShN9Xg\r\n5ldcNhWVNTtcrMZJsAbsj/fe/7uKO6TYTWLbgEW2580Gyr2RFBVeLC1KCWkD\r\nM27/IZ95J9gLia87seM1ZcYtVwt0TJcoPT5IzlE8WsILApBO4cmjdwBYoZ1s\r\nChUAXRNL/so65jF1ScQDhwCwfejubKla0hBVHrKxTZFsoe3fFvkeoz26R8ok\r\nvjmoL9l15AlOB37MKql2pO+wgvZbxXrUJ1diXwX1E251R+U+3Q1Hf2wuJlor\r\n/MnjQ+RGgnLQGLEFWjVGl11x5xNbhzKubjQ=\r\n=jWJR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.6_1663080047474_0.6837868379786376"},"_hasShrinkwrap":false},"1.3.7":{"name":"next-ssg-cache","version":"1.3.7","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","types":"./types","license":"MIT","author":{"name":"Liam Martens","email":"hi@liammartens.com"},"homepage":"https://github.com/LiamMartens/next-ssg-cache","scripts":{"build":"yarn tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig.cjs.json"},"peerDependencies":{"next":">=12.1"},"dependencies":{"debug":"^4.3.4","fs-extra":"^10.1.0","uniqid":"^5.4.0"},"devDependencies":{"@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/uniqid":"^5.3.2","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"gitHead":"13f5e58236e3e99bc1a152f9343b0d6d17bf129c","description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"_id":"next-ssg-cache@1.3.7","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-QJhxFou/j/YSOXM+pu5FKbkWxWbGVXGDqEjMw/dT9RaAGI5vREOX6z0DMN0q9aCDUFhV5yI+doGj56bfzQcf/Q==","shasum":"3e097c936c9f39afc6c9dadefeecbede5c1dda38","tarball":"https://registry.npmjs.org/next-ssg-cache/-/next-ssg-cache-1.3.7.tgz","fileCount":8,"unpackedSize":48451,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC08kVk0md0bAgpvBE+xeqgMlGGBb5lun+eUYvEPQ/lEAIhAIgE5GKm+yXLX7f0MkzORI623QRgODc6SFVhPLntKIsE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIJpmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrK4g/8DjAHwKZ1Sy0I/yGu8NE1b9pGyyktNe90hp3KYYv1rDvkSyAq\r\nj0DPYx5cZMy4r30HkXDmJFis69GNMEmoB6G9Lqi0JSsLjuSfWDdH+0lf+Kd9\r\nH5fiEyRDA9OuLeYGSgmFiTRTuM/w9e/ZUBKXsHjhH309YL17Rgz0Ve//y+WG\r\nT/RBesBIAAj0YAtcAIZVDz9UoA6O4t6vAvZX1+xbnu9a2zGmbQErnldl54tl\r\n1OIXgkQdkkkMyvXMYXX82TdMQlwXIzF72gb/0gnZeWQ2q3ZzMbr+xZocxAoT\r\nQ/AgrVLIwzbPmS2z1dsUQcsKWjwd7+VSXU7hVPwwfaIXyLxA+XdiCFFEJ1dd\r\n9WnMnYkSOXy9fipgOszcDMF9NGMbSXfHujzWjfSWMhISYqs5taGEVy2HykHv\r\nwz8jCHf+VaeZYOBTTRjL8/4e/3mRKFZM4ntARKUJClMMzBC4DEefrahkrMoD\r\nUSs6D6MDQKgjMjSWuTeDzp5100ZwFz4+9vhabSezSi3D7G7mw516yG135G6i\r\nbH0/UYqBlzm8FOgvL9WEoxI3D41h6+X4AyD2Q7I5AZ1BsZHkjkNfBG8ARajv\r\n1ESHEPGpPs2LzmnYkX9w8IkB1ousSap3jFCMvLqa5xh/l3hbiU2MOtUBbcTP\r\nJSoG1Xy1BE8DW39nUwCQxeJKANMYNYlWfxQ=\r\n=uCDj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-ssg-cache_1.3.7_1663081061823_0.6008595991911274"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-20T22:11:11.290Z","1.0.0":"2022-07-20T22:11:11.761Z","modified":"2022-09-13T14:57:42.120Z","1.0.1":"2022-07-21T01:07:43.065Z","1.1.0":"2022-07-26T14:31:12.450Z","1.1.1":"2022-07-26T14:34:40.757Z","1.1.2-next":"2022-08-01T14:44:29.055Z","1.1.2-next.0":"2022-08-01T15:02:36.224Z","1.1.2-next.1":"2022-08-01T15:12:09.723Z","1.1.2-next.2":"2022-08-01T15:14:40.107Z","1.1.2-next.3":"2022-08-01T15:16:03.418Z","1.1.2-next.4":"2022-08-01T15:23:33.056Z","1.1.2-next.5":"2022-08-01T15:26:11.754Z","1.1.2-next.6":"2022-08-01T15:29:17.136Z","1.1.2-next.7":"2022-08-01T15:32:08.340Z","1.1.2-next.8":"2022-08-01T15:39:33.951Z","1.1.2-next.9":"2022-08-01T15:45:42.903Z","1.1.2":"2022-08-01T15:47:42.187Z","1.2.0-concurrent-cache":"2022-08-02T16:01:50.232Z","1.2.0-concurrent-cache.0":"2022-08-02T16:07:23.017Z","1.2.0-concurrent-cache.1":"2022-08-02T16:09:36.579Z","1.2.0-concurrent-cache.2":"2022-08-02T16:13:24.073Z","1.2.0":"2022-08-02T16:16:21.311Z","1.2.1":"2022-08-02T18:03:58.710Z","1.2.2":"2022-08-03T14:08:37.467Z","1.2.3":"2022-08-03T14:21:14.361Z","1.2.4":"2022-08-03T14:38:46.418Z","1.3.0":"2022-08-03T15:10:04.816Z","1.3.1":"2022-08-03T15:36:57.889Z","1.3.2":"2022-08-03T15:56:38.536Z","1.3.3":"2022-08-03T16:25:53.376Z","1.3.4":"2022-08-12T15:28:23.975Z","1.3.5":"2022-09-13T13:58:57.020Z","1.3.6":"2022-09-13T14:40:47.664Z","1.3.7":"2022-09-13T14:57:41.982Z"},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"description":"**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**","homepage":"https://github.com/LiamMartens/next-ssg-cache","repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/next-ssg-cache.git"},"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"bugs":{"url":"https://github.com/LiamMartens/next-ssg-cache/issues"},"license":"MIT","readme":"# next-ssg-cache\n**Note: this module is only compatible because of the required `async` method injected into `next.config.js`. It is possible to use this with pre-12 versions of Next.js but you will need to call the cache init method just before the build kicks off**\n\nThis module provides a build-time cache to speed up your SSG builds.\n\nIn real world applications, it often happens you need to fetch data which is shared between all pages of a Next application.\nWe often resort to simply fetching it for each page on build time resulting in a lot of redundant network calls and a much longer build time.\nWith `next-ssg-cache` you will be able to utilize a build time cache to minimize the amount of API calls.\n\n## Usage (with Typescript)\n### Step 1: Initialize the cache\nThe easiest way to do this is by adding the `SsgCache.init` call inside the `next.config.js` file.\nThis method will assign a unique cache ID to your build.\n\n```js\nimport { SsgCache } from 'next-ssg-cache';\n\n/* @README async configuration is only supported in Next.js >=12.1 */\nexport default async () => {\n  await SsgCache.init()\n\n  /** @type {import('next').NextConfig} */\n  return {\n    reactStrictMode: true,\n  };\n}\n```\n\n### Step 2: Type your cache\nFor type-safety, it is important to type the cached data you are expecting. You can do this using module augmentation.\nJust create a file called `next-ssg-cache-store.d.ts` (this file can have any name) and add the following code:\n\n```ts\nimport 'next-ssg-cache';\n\ndeclare module 'next-ssg-cache' {\n  interface SsgCacheStore {\n    /* @README here you will type each cache entry you will be expecting. */\n    pages: any[]\n  }\n}\n```\n\n### Step 3: Use the cache in your getStaticProps or getStaticPaths methods\nUsing the cache is very simple, you just need to create a cache instance (which will automatically use the current cache ID) and request the data. For example:\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get('pages', async () => (\n    fetchAllPages()\n  ));\n}\n```\n\nIt is also possible to add parameters to the cache keys. For example, if you need to fetch data per locale (you don't want these to get mixed up)\n\n```ts\nimport { SsgCache } from 'next-ssg-cache';\n\nexport const getStaticProps: GetStaticProps<PageProps> = async (ctx) => {\n  const cacheInstance = new SsgCache();\n  const data = return cacheInstance.get(['pages', 'en-us'], async () => (\n    fetchAllPages('en-us')\n  ));\n}\n```\n\n## FAQ\n### Where is the cache stored?\nA file based cache is used and stored in `node_modules/.cache/next-ssg-cache`\n\n### What kind of gains can I expect?\nOn a real world project I was able to reduce my build time from 1m down to 15s.","readmeFilename":"README.md"}