/opt/canhelp/node_modules/next/dist/server/request
NameSizeModeActions
connection.d.ts2540644editdlrm
connection.js71300644editdlrm
connection.js.map84140644editdlrm
cookies.d.ts17770644editdlrm
cookies.js206190644editdlrm
cookies.js.map314000644editdlrm
draft-mode.d.ts19250644editdlrm
draft-mode.js138650644editdlrm
draft-mode.js.map209660644editdlrm
fallback-params.d.ts1790644editdlrm
fallback-params.js13400644editdlrm
fallback-params.js.map21290644editdlrm
headers.d.ts23470644editdlrm
headers.js177520644editdlrm
headers.js.map267750644editdlrm
params.d.ts23130644editdlrm
params.js272210644editdlrm
params.js.map393300644editdlrm
pathname.d.ts2000644editdlrm
pathname.js43830644editdlrm
pathname.js.map61790644editdlrm
root-params.d.ts1880644editdlrm
root-params.js143720644editdlrm
root-params.js.map184820644editdlrm
search-params.d.ts24740644editdlrm
search-params.js330320644editdlrm
search-params.js.map474590644editdlrm
utils.d.ts4870644editdlrm
utils.js31660644editdlrm
utils.js.map31690644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/request/utils.js (3166B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 0 && (module.exports = { isRequestAPICallableInsideAfter: null, throwForSearchParamsAccessInUseCache: null, throwWithStaticGenerationBailoutError: null, throwWithStaticGenerationBailoutErrorWithDynamicError: null }); function _export(target, all) { for(var name in all)Object.defineProperty(target, name, { enumerable: true, get: all[name] }); } _export(exports, { isRequestAPICallableInsideAfter: function() { return isRequestAPICallableInsideAfter; }, throwForSearchParamsAccessInUseCache: function() { return throwForSearchParamsAccessInUseCache; }, throwWithStaticGenerationBailoutError: function() { return throwWithStaticGenerationBailoutError; }, throwWithStaticGenerationBailoutErrorWithDynamicError: function() { return throwWithStaticGenerationBailoutErrorWithDynamicError; } }); const _staticgenerationbailout = require("../../client/components/static-generation-bailout"); const _aftertaskasyncstorageexternal = require("../app-render/after-task-async-storage.external"); function throwWithStaticGenerationBailoutError(route, expression) { throw Object.defineProperty(new _staticgenerationbailout.StaticGenBailoutError(`Route ${route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", { value: "E576", enumerable: false, configurable: true }); } function throwWithStaticGenerationBailoutErrorWithDynamicError(route, expression) { throw Object.defineProperty(new _staticgenerationbailout.StaticGenBailoutError(`Route ${route} with \`dynamic = "error"\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", { value: "E543", enumerable: false, configurable: true }); } function throwForSearchParamsAccessInUseCache(workStore, constructorOpt) { const error = Object.defineProperty(new Error(`Route ${workStore.route} used "searchParams" inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await "searchParams" outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", { value: "E779", enumerable: false, configurable: true }); Error.captureStackTrace(error, constructorOpt); workStore.invalidDynamicUsageError ??= error; throw error; } function isRequestAPICallableInsideAfter() { const afterTaskStore = _aftertaskasyncstorageexternal.afterTaskAsyncStorage.getStore(); return (afterTaskStore == null ? void 0 : afterTaskStore.rootTaskSpawnPhase) === 'action'; } //# sourceMappingURL=utils.js.map