大活
This commit is contained in:
11
art-agent/frontend/node_modules/next/dist/export/helpers/create-incremental-cache.d.ts
generated
vendored
Normal file
11
art-agent/frontend/node_modules/next/dist/export/helpers/create-incremental-cache.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { IncrementalCache } from '../../server/lib/incremental-cache';
|
||||
export declare function createIncrementalCache({ cacheHandler, cacheMaxMemorySize, fetchCacheKeyPrefix, distDir, dir, flushToDisk, cacheHandlers, requestHeaders, }: {
|
||||
cacheHandler?: string;
|
||||
cacheMaxMemorySize?: number;
|
||||
fetchCacheKeyPrefix?: string;
|
||||
distDir: string;
|
||||
dir: string;
|
||||
flushToDisk?: boolean;
|
||||
requestHeaders?: Record<string, string | string[] | undefined>;
|
||||
cacheHandlers?: Record<string, string | undefined>;
|
||||
}): Promise<IncrementalCache>;
|
||||
61
art-agent/frontend/node_modules/next/dist/export/helpers/create-incremental-cache.js
generated
vendored
Normal file
61
art-agent/frontend/node_modules/next/dist/export/helpers/create-incremental-cache.js
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "createIncrementalCache", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return createIncrementalCache;
|
||||
}
|
||||
});
|
||||
const _path = /*#__PURE__*/ _interop_require_default(require("path"));
|
||||
const _incrementalcache = require("../../server/lib/incremental-cache");
|
||||
const _ciinfo = require("../../server/ci-info");
|
||||
const _nodefsmethods = require("../../server/lib/node-fs-methods");
|
||||
const _interopdefault = require("../../lib/interop-default");
|
||||
const _formatdynamicimportpath = require("../../lib/format-dynamic-import-path");
|
||||
const _handlers = require("../../server/use-cache/handlers");
|
||||
function _interop_require_default(obj) {
|
||||
return obj && obj.__esModule ? obj : {
|
||||
default: obj
|
||||
};
|
||||
}
|
||||
async function createIncrementalCache({ cacheHandler, cacheMaxMemorySize, fetchCacheKeyPrefix, distDir, dir, flushToDisk, cacheHandlers, requestHeaders }) {
|
||||
// Custom cache handler overrides.
|
||||
let CacheHandler;
|
||||
if (cacheHandler) {
|
||||
CacheHandler = (0, _interopdefault.interopDefault)(await import((0, _formatdynamicimportpath.formatDynamicImportPath)(dir, cacheHandler)).then((mod)=>mod.default || mod));
|
||||
}
|
||||
if (cacheHandlers && (0, _handlers.initializeCacheHandlers)()) {
|
||||
for (const [kind, handler] of Object.entries(cacheHandlers)){
|
||||
if (!handler) continue;
|
||||
(0, _handlers.setCacheHandler)(kind, (0, _interopdefault.interopDefault)(await import((0, _formatdynamicimportpath.formatDynamicImportPath)(dir, handler)).then((mod)=>mod.default || mod)));
|
||||
}
|
||||
}
|
||||
const incrementalCache = new _incrementalcache.IncrementalCache({
|
||||
dev: false,
|
||||
requestHeaders: requestHeaders || {},
|
||||
flushToDisk,
|
||||
maxMemoryCacheSize: cacheMaxMemorySize,
|
||||
fetchCacheKeyPrefix,
|
||||
getPrerenderManifest: ()=>({
|
||||
version: 4,
|
||||
routes: {},
|
||||
dynamicRoutes: {},
|
||||
preview: {
|
||||
previewModeEncryptionKey: '',
|
||||
previewModeId: '',
|
||||
previewModeSigningKey: ''
|
||||
},
|
||||
notFoundRoutes: []
|
||||
}),
|
||||
fs: _nodefsmethods.nodeFs,
|
||||
serverDistDir: _path.default.join(distDir, 'server'),
|
||||
CurCacheHandler: CacheHandler,
|
||||
minimalMode: _ciinfo.hasNextSupport
|
||||
});
|
||||
globalThis.__incrementalCache = incrementalCache;
|
||||
return incrementalCache;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=create-incremental-cache.js.map
|
||||
1
art-agent/frontend/node_modules/next/dist/export/helpers/create-incremental-cache.js.map
generated
vendored
Normal file
1
art-agent/frontend/node_modules/next/dist/export/helpers/create-incremental-cache.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/export/helpers/create-incremental-cache.ts"],"sourcesContent":["import path from 'path'\nimport { IncrementalCache } from '../../server/lib/incremental-cache'\nimport { hasNextSupport } from '../../server/ci-info'\nimport { nodeFs } from '../../server/lib/node-fs-methods'\nimport { interopDefault } from '../../lib/interop-default'\nimport { formatDynamicImportPath } from '../../lib/format-dynamic-import-path'\nimport {\n initializeCacheHandlers,\n setCacheHandler,\n} from '../../server/use-cache/handlers'\n\nexport async function createIncrementalCache({\n cacheHandler,\n cacheMaxMemorySize,\n fetchCacheKeyPrefix,\n distDir,\n dir,\n flushToDisk,\n cacheHandlers,\n requestHeaders,\n}: {\n cacheHandler?: string\n cacheMaxMemorySize?: number\n fetchCacheKeyPrefix?: string\n distDir: string\n dir: string\n flushToDisk?: boolean\n requestHeaders?: Record<string, string | string[] | undefined>\n cacheHandlers?: Record<string, string | undefined>\n}) {\n // Custom cache handler overrides.\n let CacheHandler: any\n if (cacheHandler) {\n CacheHandler = interopDefault(\n await import(formatDynamicImportPath(dir, cacheHandler)).then(\n (mod) => mod.default || mod\n )\n )\n }\n\n if (cacheHandlers && initializeCacheHandlers()) {\n for (const [kind, handler] of Object.entries(cacheHandlers)) {\n if (!handler) continue\n\n setCacheHandler(\n kind,\n interopDefault(\n await import(formatDynamicImportPath(dir, handler)).then(\n (mod) => mod.default || mod\n )\n )\n )\n }\n }\n\n const incrementalCache = new IncrementalCache({\n dev: false,\n requestHeaders: requestHeaders || {},\n flushToDisk,\n maxMemoryCacheSize: cacheMaxMemorySize,\n fetchCacheKeyPrefix,\n getPrerenderManifest: () => ({\n version: 4,\n routes: {},\n dynamicRoutes: {},\n preview: {\n previewModeEncryptionKey: '',\n previewModeId: '',\n previewModeSigningKey: '',\n },\n notFoundRoutes: [],\n }),\n fs: nodeFs,\n serverDistDir: path.join(distDir, 'server'),\n CurCacheHandler: CacheHandler,\n minimalMode: hasNextSupport,\n })\n\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n return incrementalCache\n}\n"],"names":["createIncrementalCache","cacheHandler","cacheMaxMemorySize","fetchCacheKeyPrefix","distDir","dir","flushToDisk","cacheHandlers","requestHeaders","CacheHandler","interopDefault","formatDynamicImportPath","then","mod","default","initializeCacheHandlers","kind","handler","Object","entries","setCacheHandler","incrementalCache","IncrementalCache","dev","maxMemoryCacheSize","getPrerenderManifest","version","routes","dynamicRoutes","preview","previewModeEncryptionKey","previewModeId","previewModeSigningKey","notFoundRoutes","fs","nodeFs","serverDistDir","path","join","CurCacheHandler","minimalMode","hasNextSupport","globalThis","__incrementalCache"],"mappings":";;;;+BAWsBA;;;eAAAA;;;6DAXL;kCACgB;wBACF;+BACR;gCACQ;yCACS;0BAIjC;;;;;;AAEA,eAAeA,uBAAuB,EAC3CC,YAAY,EACZC,kBAAkB,EAClBC,mBAAmB,EACnBC,OAAO,EACPC,GAAG,EACHC,WAAW,EACXC,aAAa,EACbC,cAAc,EAUf;IACC,kCAAkC;IAClC,IAAIC;IACJ,IAAIR,cAAc;QAChBQ,eAAeC,IAAAA,8BAAc,EAC3B,MAAM,MAAM,CAACC,IAAAA,gDAAuB,EAACN,KAAKJ,eAAeW,IAAI,CAC3D,CAACC,MAAQA,IAAIC,OAAO,IAAID;IAG9B;IAEA,IAAIN,iBAAiBQ,IAAAA,iCAAuB,KAAI;QAC9C,KAAK,MAAM,CAACC,MAAMC,QAAQ,IAAIC,OAAOC,OAAO,CAACZ,eAAgB;YAC3D,IAAI,CAACU,SAAS;YAEdG,IAAAA,yBAAe,EACbJ,MACAN,IAAAA,8BAAc,EACZ,MAAM,MAAM,CAACC,IAAAA,gDAAuB,EAACN,KAAKY,UAAUL,IAAI,CACtD,CAACC,MAAQA,IAAIC,OAAO,IAAID;QAIhC;IACF;IAEA,MAAMQ,mBAAmB,IAAIC,kCAAgB,CAAC;QAC5CC,KAAK;QACLf,gBAAgBA,kBAAkB,CAAC;QACnCF;QACAkB,oBAAoBtB;QACpBC;QACAsB,sBAAsB,IAAO,CAAA;gBAC3BC,SAAS;gBACTC,QAAQ,CAAC;gBACTC,eAAe,CAAC;gBAChBC,SAAS;oBACPC,0BAA0B;oBAC1BC,eAAe;oBACfC,uBAAuB;gBACzB;gBACAC,gBAAgB,EAAE;YACpB,CAAA;QACAC,IAAIC,qBAAM;QACVC,eAAeC,aAAI,CAACC,IAAI,CAAClC,SAAS;QAClCmC,iBAAiB9B;QACjB+B,aAAaC,sBAAc;IAC7B;IAEEC,WAAmBC,kBAAkB,GAAGtB;IAE1C,OAAOA;AACT","ignoreList":[0]}
|
||||
20
art-agent/frontend/node_modules/next/dist/export/helpers/get-amp-html-validator.d.ts
generated
vendored
Normal file
20
art-agent/frontend/node_modules/next/dist/export/helpers/get-amp-html-validator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { type Validator } from 'next/dist/compiled/amphtml-validator';
|
||||
/**
|
||||
* `AmpHtmlValidator.getInstance` is buggy when multiple calls to getInstance occur in parallel.
|
||||
* This wrapper is a workaround for that.
|
||||
*
|
||||
* `AmpHtmlValidator.getInstance(validatorPath)` attempts to re-use the instances across multiple calls
|
||||
* by stashing existing instances in `instanceByValidatorJs`.
|
||||
* However, when creating a fresh instance, it is added to `instanceByValidatorJs` before `instance.init()` is finished:
|
||||
* https://github.com/ampproject/amphtml/blob/0c8eaba73ca8f5c462a642fa91901a29e6304f6e/validator/js/nodejs/index.js#L309-L313
|
||||
*
|
||||
* which means that, if a concurrent call to `AmpHtmlValidator.getInstance(validatorPath)` happens before the original `init()` is done,
|
||||
* then we'll get back an uninitialized or partially initialized instance:
|
||||
* https://github.com/ampproject/amphtml/blob/0c8eaba73ca8f5c462a642fa91901a29e6304f6e/validator/js/nodejs/index.js#L292-L294
|
||||
*
|
||||
* And, since `instance.init()` is the part that handles loading the webassembly code, this race results in
|
||||
* the dreaded "AssertionError: Assertion failed: WebAssembly is uninitialized" error.
|
||||
* As a workaround, we properly dedupe instance creation on our own.
|
||||
* */
|
||||
export declare function getAmpValidatorInstance(validatorPath: string | undefined): Promise<Validator>;
|
||||
export declare function getBundledAmpValidatorFilepath(): string;
|
||||
43
art-agent/frontend/node_modules/next/dist/export/helpers/get-amp-html-validator.js
generated
vendored
Normal file
43
art-agent/frontend/node_modules/next/dist/export/helpers/get-amp-html-validator.js
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
0 && (module.exports = {
|
||||
getAmpValidatorInstance: null,
|
||||
getBundledAmpValidatorFilepath: null
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
getAmpValidatorInstance: function() {
|
||||
return getAmpValidatorInstance;
|
||||
},
|
||||
getBundledAmpValidatorFilepath: function() {
|
||||
return getBundledAmpValidatorFilepath;
|
||||
}
|
||||
});
|
||||
const _amphtmlvalidator = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/amphtml-validator"));
|
||||
function _interop_require_default(obj) {
|
||||
return obj && obj.__esModule ? obj : {
|
||||
default: obj
|
||||
};
|
||||
}
|
||||
const instancePromises = new Map();
|
||||
function getAmpValidatorInstance(validatorPath) {
|
||||
let promise = instancePromises.get(validatorPath);
|
||||
if (!promise) {
|
||||
// NOTE: if `validatorPath` is undefined, `AmpHtmlValidator` will load the code from its default URL
|
||||
promise = _amphtmlvalidator.default.getInstance(validatorPath);
|
||||
instancePromises.set(validatorPath, promise);
|
||||
}
|
||||
return promise;
|
||||
}
|
||||
function getBundledAmpValidatorFilepath() {
|
||||
return require.resolve('next/dist/compiled/amphtml-validator/validator_wasm.js');
|
||||
}
|
||||
|
||||
//# sourceMappingURL=get-amp-html-validator.js.map
|
||||
1
art-agent/frontend/node_modules/next/dist/export/helpers/get-amp-html-validator.js.map
generated
vendored
Normal file
1
art-agent/frontend/node_modules/next/dist/export/helpers/get-amp-html-validator.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/export/helpers/get-amp-html-validator.ts"],"sourcesContent":["import AmpHtmlValidator, {\n type Validator,\n} from 'next/dist/compiled/amphtml-validator'\n\nconst instancePromises = new Map<string | undefined, Promise<Validator>>()\n\n/**\n * `AmpHtmlValidator.getInstance` is buggy when multiple calls to getInstance occur in parallel.\n * This wrapper is a workaround for that.\n *\n * `AmpHtmlValidator.getInstance(validatorPath)` attempts to re-use the instances across multiple calls\n * by stashing existing instances in `instanceByValidatorJs`.\n * However, when creating a fresh instance, it is added to `instanceByValidatorJs` before `instance.init()` is finished:\n * https://github.com/ampproject/amphtml/blob/0c8eaba73ca8f5c462a642fa91901a29e6304f6e/validator/js/nodejs/index.js#L309-L313\n *\n * which means that, if a concurrent call to `AmpHtmlValidator.getInstance(validatorPath)` happens before the original `init()` is done,\n * then we'll get back an uninitialized or partially initialized instance:\n * https://github.com/ampproject/amphtml/blob/0c8eaba73ca8f5c462a642fa91901a29e6304f6e/validator/js/nodejs/index.js#L292-L294\n *\n * And, since `instance.init()` is the part that handles loading the webassembly code, this race results in\n * the dreaded \"AssertionError: Assertion failed: WebAssembly is uninitialized\" error.\n * As a workaround, we properly dedupe instance creation on our own.\n * */\nexport function getAmpValidatorInstance(\n validatorPath: string | undefined\n): Promise<Validator> {\n let promise = instancePromises.get(validatorPath)\n if (!promise) {\n // NOTE: if `validatorPath` is undefined, `AmpHtmlValidator` will load the code from its default URL\n promise = AmpHtmlValidator.getInstance(validatorPath)\n instancePromises.set(validatorPath, promise)\n }\n return promise\n}\n\nexport function getBundledAmpValidatorFilepath() {\n return require.resolve(\n 'next/dist/compiled/amphtml-validator/validator_wasm.js'\n )\n}\n"],"names":["getAmpValidatorInstance","getBundledAmpValidatorFilepath","instancePromises","Map","validatorPath","promise","get","AmpHtmlValidator","getInstance","set","require","resolve"],"mappings":";;;;;;;;;;;;;;;IAuBgBA,uBAAuB;eAAvBA;;IAYAC,8BAA8B;eAA9BA;;;yEAjCT;;;;;;AAEP,MAAMC,mBAAmB,IAAIC;AAmBtB,SAASH,wBACdI,aAAiC;IAEjC,IAAIC,UAAUH,iBAAiBI,GAAG,CAACF;IACnC,IAAI,CAACC,SAAS;QACZ,oGAAoG;QACpGA,UAAUE,yBAAgB,CAACC,WAAW,CAACJ;QACvCF,iBAAiBO,GAAG,CAACL,eAAeC;IACtC;IACA,OAAOA;AACT;AAEO,SAASJ;IACd,OAAOS,QAAQC,OAAO,CACpB;AAEJ","ignoreList":[0]}
|
||||
7
art-agent/frontend/node_modules/next/dist/export/helpers/get-params.d.ts
generated
vendored
Normal file
7
art-agent/frontend/node_modules/next/dist/export/helpers/get-params.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Gets the params for the provided page.
|
||||
* @param page the page that contains dynamic path parameters
|
||||
* @param pathname the pathname to match
|
||||
* @returns the matches that were found, throws otherwise
|
||||
*/
|
||||
export declare function getParams(page: string, pathname: string): import("../../server/request/params").Params;
|
||||
36
art-agent/frontend/node_modules/next/dist/export/helpers/get-params.js
generated
vendored
Normal file
36
art-agent/frontend/node_modules/next/dist/export/helpers/get-params.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "getParams", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return getParams;
|
||||
}
|
||||
});
|
||||
const _routematcher = require("../../shared/lib/router/utils/route-matcher");
|
||||
const _routeregex = require("../../shared/lib/router/utils/route-regex");
|
||||
// The last page and matcher that this function handled.
|
||||
let last = null;
|
||||
function getParams(page, pathname) {
|
||||
// Because this is often called on the output of `getStaticPaths` or similar
|
||||
// where the `page` here doesn't change, this will "remember" the last page
|
||||
// it created the RegExp for. If it matches, it'll just re-use it.
|
||||
let matcher;
|
||||
if ((last == null ? void 0 : last.page) === page) {
|
||||
matcher = last.matcher;
|
||||
} else {
|
||||
matcher = (0, _routematcher.getRouteMatcher)((0, _routeregex.getRouteRegex)(page));
|
||||
}
|
||||
const params = matcher(pathname);
|
||||
if (!params) {
|
||||
throw Object.defineProperty(new Error(`The provided export path '${pathname}' doesn't match the '${page}' page.\nRead more: https://nextjs.org/docs/messages/export-path-mismatch`), "__NEXT_ERROR_CODE", {
|
||||
value: "E20",
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
return params;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=get-params.js.map
|
||||
1
art-agent/frontend/node_modules/next/dist/export/helpers/get-params.js.map
generated
vendored
Normal file
1
art-agent/frontend/node_modules/next/dist/export/helpers/get-params.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/export/helpers/get-params.ts"],"sourcesContent":["import {\n type RouteMatchFn,\n getRouteMatcher,\n} from '../../shared/lib/router/utils/route-matcher'\nimport { getRouteRegex } from '../../shared/lib/router/utils/route-regex'\n\n// The last page and matcher that this function handled.\nlet last: {\n page: string\n matcher: RouteMatchFn\n} | null = null\n\n/**\n * Gets the params for the provided page.\n * @param page the page that contains dynamic path parameters\n * @param pathname the pathname to match\n * @returns the matches that were found, throws otherwise\n */\nexport function getParams(page: string, pathname: string) {\n // Because this is often called on the output of `getStaticPaths` or similar\n // where the `page` here doesn't change, this will \"remember\" the last page\n // it created the RegExp for. If it matches, it'll just re-use it.\n let matcher: RouteMatchFn\n if (last?.page === page) {\n matcher = last.matcher\n } else {\n matcher = getRouteMatcher(getRouteRegex(page))\n }\n\n const params = matcher(pathname)\n if (!params) {\n throw new Error(\n `The provided export path '${pathname}' doesn't match the '${page}' page.\\nRead more: https://nextjs.org/docs/messages/export-path-mismatch`\n )\n }\n\n return params\n}\n"],"names":["getParams","last","page","pathname","matcher","getRouteMatcher","getRouteRegex","params","Error"],"mappings":";;;;+BAkBgBA;;;eAAAA;;;8BAfT;4BACuB;AAE9B,wDAAwD;AACxD,IAAIC,OAGO;AAQJ,SAASD,UAAUE,IAAY,EAAEC,QAAgB;IACtD,4EAA4E;IAC5E,2EAA2E;IAC3E,kEAAkE;IAClE,IAAIC;IACJ,IAAIH,CAAAA,wBAAAA,KAAMC,IAAI,MAAKA,MAAM;QACvBE,UAAUH,KAAKG,OAAO;IACxB,OAAO;QACLA,UAAUC,IAAAA,6BAAe,EAACC,IAAAA,yBAAa,EAACJ;IAC1C;IAEA,MAAMK,SAASH,QAAQD;IACvB,IAAI,CAACI,QAAQ;QACX,MAAM,qBAEL,CAFK,IAAIC,MACR,CAAC,0BAA0B,EAAEL,SAAS,qBAAqB,EAAED,KAAK,yEAAyE,CAAC,GADxI,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,OAAOK;AACT","ignoreList":[0]}
|
||||
1
art-agent/frontend/node_modules/next/dist/export/helpers/is-dynamic-usage-error.d.ts
generated
vendored
Normal file
1
art-agent/frontend/node_modules/next/dist/export/helpers/is-dynamic-usage-error.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const isDynamicUsageError: (err: unknown) => boolean;
|
||||
17
art-agent/frontend/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js
generated
vendored
Normal file
17
art-agent/frontend/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "isDynamicUsageError", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return isDynamicUsageError;
|
||||
}
|
||||
});
|
||||
const _hooksservercontext = require("../../client/components/hooks-server-context");
|
||||
const _bailouttocsr = require("../../shared/lib/lazy-dynamic/bailout-to-csr");
|
||||
const _isnextroutererror = require("../../client/components/is-next-router-error");
|
||||
const _dynamicrendering = require("../../server/app-render/dynamic-rendering");
|
||||
const isDynamicUsageError = (err)=>(0, _hooksservercontext.isDynamicServerError)(err) || (0, _bailouttocsr.isBailoutToCSRError)(err) || (0, _isnextroutererror.isNextRouterError)(err) || (0, _dynamicrendering.isDynamicPostpone)(err);
|
||||
|
||||
//# sourceMappingURL=is-dynamic-usage-error.js.map
|
||||
1
art-agent/frontend/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js.map
generated
vendored
Normal file
1
art-agent/frontend/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/export/helpers/is-dynamic-usage-error.ts"],"sourcesContent":["import { isDynamicServerError } from '../../client/components/hooks-server-context'\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { isNextRouterError } from '../../client/components/is-next-router-error'\nimport { isDynamicPostpone } from '../../server/app-render/dynamic-rendering'\n\nexport const isDynamicUsageError = (err: unknown) =>\n isDynamicServerError(err) ||\n isBailoutToCSRError(err) ||\n isNextRouterError(err) ||\n isDynamicPostpone(err)\n"],"names":["isDynamicUsageError","err","isDynamicServerError","isBailoutToCSRError","isNextRouterError","isDynamicPostpone"],"mappings":";;;;+BAKaA;;;eAAAA;;;oCALwB;8BACD;mCACF;kCACA;AAE3B,MAAMA,sBAAsB,CAACC,MAClCC,IAAAA,wCAAoB,EAACD,QACrBE,IAAAA,iCAAmB,EAACF,QACpBG,IAAAA,oCAAiB,EAACH,QAClBI,IAAAA,mCAAiB,EAACJ","ignoreList":[0]}
|
||||
Reference in New Issue
Block a user