/opt/canhelp/node_modules/next/dist/server/web/spec-extension
NameSizeModeActions
adapters/-0755rm
cookies.d.ts1100644editdlrm
cookies.js7140644editdlrm
cookies.js.map4100644editdlrm
fetch-event.d.ts14780644editdlrm
fetch-event.js32770644editdlrm
fetch-event.js.map48770644editdlrm
image-response.d.ts2950644editdlrm
image-response.js7950644editdlrm
image-response.js.map7340644editdlrm
request.d.ts12670644editdlrm
request.js31680644editdlrm
request.js.map55810644editdlrm
response.d.ts16100644editdlrm
response.js49770644editdlrm
response.js.map87040644editdlrm
revalidate.d.ts14500644editdlrm
revalidate.js83440644editdlrm
revalidate.js.map114760644editdlrm
unstable-cache.d.ts5460644editdlrm
unstable-cache.js169200644editdlrm
unstable-cache.js.map237470644editdlrm
unstable-no-store.d.ts7480644editdlrm
unstable-no-store.js19160644editdlrm
unstable-no-store.js.map29990644editdlrm
url-pattern.d.ts800644editdlrm
url-pattern.js4000644editdlrm
url-pattern.js.map4620644editdlrm
user-agent.d.ts6680644editdlrm
user-agent.js14870644editdlrm
user-agent.js.map17930644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js.map (2999B)
{"version":3,"sources":["../../../../src/server/web/spec-extension/unstable-no-store.ts"],"sourcesContent":["import { workAsyncStorage } from '../../app-render/work-async-storage.external'\nimport { workUnitAsyncStorage } from '../../app-render/work-unit-async-storage.external'\nimport { markCurrentScopeAsDynamic } from '../../app-render/dynamic-rendering'\n\n/**\n * This function can be used to declaratively opt out of static rendering and indicate a particular component should not be cached.\n *\n * It marks the current scope as dynamic.\n *\n * - In [non-PPR](https://nextjs.org/docs/app/api-reference/next-config-js/partial-prerendering) cases this will make a static render\n * halt and mark the page as dynamic.\n * - In PPR cases this will postpone the render at this location.\n *\n * If we are inside a cache scope then this function does nothing.\n *\n * @note It expects to be called within App Router and will error otherwise.\n *\n * Read more: [Next.js Docs: `unstable_noStore`](https://nextjs.org/docs/app/api-reference/functions/unstable_noStore)\n */\nexport function unstable_noStore() {\n const callingExpression = 'unstable_noStore()'\n const store = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (!store) {\n // This generally implies we are being called in Pages router. We should probably not support\n // unstable_noStore in contexts outside of `react-server` condition but since we historically\n // have not errored here previously, we maintain that behavior for now.\n return\n } else if (store.forceStatic) {\n return\n } else {\n store.isUnstableNoStore = true\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n // unstable_noStore() is a noop in Dynamic I/O.\n return\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n markCurrentScopeAsDynamic(store, workUnitStore, callingExpression)\n }\n}\n"],"names":["unstable_noStore","callingExpression","store","workAsyncStorage","getStore","workUnitStore","workUnitAsyncStorage","forceStatic","isUnstableNoStore","type","markCurrentScopeAsDynamic"],"mappings":";;;;+BAmBgBA;;;eAAAA;;;0CAnBiB;8CACI;kCACK;AAiBnC,SAASA;IACd,MAAMC,oBAAoB;IAC1B,MAAMC,QAAQC,0CAAgB,CAACC,QAAQ;IACvC,MAAMC,gBAAgBC,kDAAoB,CAACF,QAAQ;IACnD,IAAI,CAACF,OAAO;QACV,6FAA6F;QAC7F,6FAA6F;QAC7F,uEAAuE;QACvE;IACF,OAAO,IAAIA,MAAMK,WAAW,EAAE;QAC5B;IACF,OAAO;QACLL,MAAMM,iBAAiB,GAAG;QAC1B,IAAIH,eAAe;YACjB,OAAQA,cAAcI,IAAI;gBACxB,KAAK;gBACL,KAAK;gBACL,KAAK;oBACH,+CAA+C;oBAC/C;gBACF,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;oBACH;gBACF;oBACEJ;YACJ;QACF;QACAK,IAAAA,2CAAyB,EAACR,OAAOG,eAAeJ;IAClD;AACF","ignoreList":[0]}