@skspwork/config-doc 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/packages/web/.next/standalone/.next/build-manifest.json +4 -4
- package/packages/web/.next/standalone/.next/prerender-manifest.json +3 -3
- package/packages/web/.next/standalone/.next/required-server-files.json +197 -40
- package/packages/web/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/packages/web/.next/standalone/.next/server/app/_global-error/page.js +2 -2
- package/packages/web/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/packages/web/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/packages/web/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/packages/web/.next/standalone/.next/server/app/_global-error.rsc +7 -7
- package/packages/web/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/packages/web/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/packages/web/.next/standalone/.next/server/app/_not-found/page.js +2 -2
- package/packages/web/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/packages/web/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/packages/web/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/packages/web/.next/standalone/.next/server/app/_not-found.rsc +7 -7
- package/packages/web/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +7 -7
- package/packages/web/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/packages/web/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/packages/web/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/index.html +1 -1
- package/packages/web/.next/standalone/.next/server/app/index.rsc +7 -7
- package/packages/web/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +7 -7
- package/packages/web/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +3 -3
- package/packages/web/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/packages/web/.next/standalone/.next/server/app/page/build-manifest.json +4 -4
- package/packages/web/.next/standalone/.next/server/app/page.js +2 -2
- package/packages/web/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/packages/web/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__159cda08._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__40e87302._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__444da89e._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__7243756e._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__93da9fce._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__c9655ac8._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__d3d080e2._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__e19366f6._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__e5fda42c._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/[root-of-the-server]__f408c708._.js +6 -6
- package/packages/web/.next/standalone/.next/server/chunks/[turbopack]_runtime.js +70 -70
- package/packages/web/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_d09de205.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1690ee0d._.js +3 -3
- package/packages/web/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1fc1847a._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a5e1fc06._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__ca05f4a0._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/ssr/[turbopack]_runtime.js +70 -70
- package/packages/web/.next/standalone/.next/server/chunks/ssr/_83f196ec._.js +2 -2
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_d3586d0c._.js +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js +2 -2
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_65e60196._.js +3 -0
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_c0d4d2bf.js +2 -2
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_f9713a08._.js +3 -0
- package/packages/web/.next/standalone/.next/server/middleware-build-manifest.js +4 -4
- package/packages/web/.next/standalone/.next/server/pages/404.html +1 -1
- package/packages/web/.next/standalone/.next/server/pages/500.html +2 -2
- package/packages/web/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/packages/web/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/packages/web/.next/standalone/.next/static/chunks/2f236954d6a65e12.js +1 -0
- package/packages/web/.next/standalone/.next/static/chunks/4b9eae0c8dc7e975.js +1 -0
- package/packages/web/.next/standalone/.next/static/chunks/a90b6d11afe742e2.js +5 -0
- package/packages/web/.next/standalone/.next/static/chunks/f2f58a7e93290fbb.js +1 -0
- package/packages/web/.next/standalone/.next/static/chunks/turbopack-1e9ff4ec3e6618de.js +4 -0
- package/packages/web/.next/standalone/node_modules/@next/env/package.json +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/build/index.js +10 -4
- package/packages/web/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/build/templates/app-page.js +3 -1
- package/packages/web/.next/standalone/node_modules/next/dist/build/templates/edge-ssr-app.js +3 -1
- package/packages/web/.next/standalone/node_modules/next/dist/build/webpack-config.js +3 -3
- package/packages/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/lru.js +2 -0
- package/packages/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +12 -12
- package/packages/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +12 -12
- package/packages/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +2 -2
- package/packages/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
- package/packages/web/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/app-render/postponed-state.js +2 -2
- package/packages/web/.next/standalone/node_modules/next/dist/server/base-server.js +21 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/config-schema.js +2 -0
- package/packages/web/.next/standalone/node_modules/next/dist/server/config-shared.js +15 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/config.js +9 -3
- package/packages/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/image-optimizer.js +26 -3
- package/packages/web/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/lib/lru-cache.js +7 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/next-server.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/server/response-cache/index.js +117 -17
- package/packages/web/.next/standalone/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +21 -2
- package/packages/web/.next/standalone/node_modules/next/dist/server/route-modules/route-module.js +3 -0
- package/packages/web/.next/standalone/node_modules/next/dist/server/web/adapter.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/shared/lib/image-config.js +1 -0
- package/packages/web/.next/standalone/node_modules/next/dist/shared/lib/size-limit.js +35 -0
- package/packages/web/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/packages/web/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/packages/web/.next/standalone/node_modules/next/package.json +15 -15
- package/packages/web/.next/standalone/package.json +1 -1
- package/packages/web/.next/standalone/playwright-report/index.html +1 -1
- package/packages/web/.next/standalone/server.js +1 -1
- package/packages/web/.next/static/chunks/2f236954d6a65e12.js +1 -0
- package/packages/web/.next/static/chunks/4b9eae0c8dc7e975.js +1 -0
- package/packages/web/.next/static/chunks/a90b6d11afe742e2.js +5 -0
- package/packages/web/.next/static/chunks/f2f58a7e93290fbb.js +1 -0
- package/packages/web/.next/static/chunks/turbopack-1e9ff4ec3e6618de.js +4 -0
- package/packages/web/package.json +1 -1
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_77ec7569._.js +0 -3
- package/packages/web/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_9266b807._.js +0 -3
- package/packages/web/.next/standalone/.next/static/chunks/30420d12e4f82b67.js +0 -5
- package/packages/web/.next/standalone/.next/static/chunks/4fd93823156e59e8.js +0 -1
- package/packages/web/.next/standalone/.next/static/chunks/5f8f53e7772f4262.js +0 -1
- package/packages/web/.next/standalone/.next/static/chunks/cc759f7c2413b7ff.js +0 -1
- package/packages/web/.next/standalone/.next/static/chunks/turbopack-5b6cb51ab4268fba.js +0 -4
- package/packages/web/.next/static/chunks/30420d12e4f82b67.js +0 -5
- package/packages/web/.next/static/chunks/4fd93823156e59e8.js +0 -1
- package/packages/web/.next/static/chunks/5f8f53e7772f4262.js +0 -1
- package/packages/web/.next/static/chunks/cc759f7c2413b7ff.js +0 -1
- package/packages/web/.next/static/chunks/turbopack-5b6cb51ab4268fba.js +0 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
const RUNTIME_PUBLIC_PATH = "server/chunks/[turbopack]_runtime.js";
|
|
2
2
|
const RELATIVE_ROOT_PATH = "..";
|
|
3
3
|
const ASSET_PREFIX = "/";
|
|
4
|
-
/**
|
|
5
|
-
* This file contains runtime types and functions that are shared between all
|
|
6
|
-
* TurboPack ECMAScript runtimes.
|
|
7
|
-
*
|
|
8
|
-
* It will be prepended to the runtime code of each runtime.
|
|
4
|
+
/**
|
|
5
|
+
* This file contains runtime types and functions that are shared between all
|
|
6
|
+
* TurboPack ECMAScript runtimes.
|
|
7
|
+
*
|
|
8
|
+
* It will be prepended to the runtime code of each runtime.
|
|
9
9
|
*/ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-types.d.ts" />
|
|
10
10
|
const REEXPORTED_OBJECTS = new WeakMap();
|
|
11
|
-
/**
|
|
12
|
-
* Constructs the `__turbopack_context__` object for a module.
|
|
11
|
+
/**
|
|
12
|
+
* Constructs the `__turbopack_context__` object for a module.
|
|
13
13
|
*/ function Context(module, exports) {
|
|
14
14
|
this.m = module;
|
|
15
15
|
// We need to store this here instead of accessing it from the module object to:
|
|
@@ -37,8 +37,8 @@ function getOverwrittenModule(moduleCache, id) {
|
|
|
37
37
|
}
|
|
38
38
|
return module;
|
|
39
39
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Creates the module object. Only done here to ensure all module objects have the same shape.
|
|
40
|
+
/**
|
|
41
|
+
* Creates the module object. Only done here to ensure all module objects have the same shape.
|
|
42
42
|
*/ function createModuleObject(id) {
|
|
43
43
|
return {
|
|
44
44
|
exports: {},
|
|
@@ -48,8 +48,8 @@ function getOverwrittenModule(moduleCache, id) {
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
const BindingTag_Value = 0;
|
|
51
|
-
/**
|
|
52
|
-
* Adds the getters to the exports object.
|
|
51
|
+
/**
|
|
52
|
+
* Adds the getters to the exports object.
|
|
53
53
|
*/ function esm(exports, bindings) {
|
|
54
54
|
defineProp(exports, '__esModule', {
|
|
55
55
|
value: true
|
|
@@ -90,8 +90,8 @@ const BindingTag_Value = 0;
|
|
|
90
90
|
}
|
|
91
91
|
Object.seal(exports);
|
|
92
92
|
}
|
|
93
|
-
/**
|
|
94
|
-
* Makes the module an ESM with exports
|
|
93
|
+
/**
|
|
94
|
+
* Makes the module an ESM with exports
|
|
95
95
|
*/ function esmExport(bindings, id) {
|
|
96
96
|
let module;
|
|
97
97
|
let exports;
|
|
@@ -134,8 +134,8 @@ function ensureDynamicExports(module, exports) {
|
|
|
134
134
|
}
|
|
135
135
|
return reexportedObjects;
|
|
136
136
|
}
|
|
137
|
-
/**
|
|
138
|
-
* Dynamically exports properties from an object
|
|
137
|
+
/**
|
|
138
|
+
* Dynamically exports properties from an object
|
|
139
139
|
*/ function dynamicExport(object, id) {
|
|
140
140
|
let module;
|
|
141
141
|
let exports;
|
|
@@ -175,8 +175,8 @@ contextPrototype.n = exportNamespace;
|
|
|
175
175
|
function createGetter(obj, key) {
|
|
176
176
|
return ()=>obj[key];
|
|
177
177
|
}
|
|
178
|
-
/**
|
|
179
|
-
* @returns prototype of the object
|
|
178
|
+
/**
|
|
179
|
+
* @returns prototype of the object
|
|
180
180
|
*/ const getProto = Object.getPrototypeOf ? (obj)=>Object.getPrototypeOf(obj) : (obj)=>obj.__proto__;
|
|
181
181
|
/** Prototypes that are not expanded for exports */ const LEAF_PROTOTYPES = [
|
|
182
182
|
null,
|
|
@@ -184,12 +184,12 @@ function createGetter(obj, key) {
|
|
|
184
184
|
getProto([]),
|
|
185
185
|
getProto(getProto)
|
|
186
186
|
];
|
|
187
|
-
/**
|
|
188
|
-
* @param raw
|
|
189
|
-
* @param ns
|
|
190
|
-
* @param allowExportDefault
|
|
191
|
-
* * `false`: will have the raw module as default export
|
|
192
|
-
* * `true`: will have the default property as default export
|
|
187
|
+
/**
|
|
188
|
+
* @param raw
|
|
189
|
+
* @param ns
|
|
190
|
+
* @param allowExportDefault
|
|
191
|
+
* * `false`: will have the raw module as default export
|
|
192
|
+
* * `true`: will have the default property as default export
|
|
193
193
|
*/ function interopEsm(raw, ns, allowExportDefault) {
|
|
194
194
|
const bindings = [];
|
|
195
195
|
let defaultLocation = -1;
|
|
@@ -249,12 +249,12 @@ function commonJsRequire(id) {
|
|
|
249
249
|
return getOrInstantiateModuleFromParent(id, this.m).exports;
|
|
250
250
|
}
|
|
251
251
|
contextPrototype.r = commonJsRequire;
|
|
252
|
-
/**
|
|
253
|
-
* Remove fragments and query parameters since they are never part of the context map keys
|
|
254
|
-
*
|
|
255
|
-
* This matches how we parse patterns at resolving time. Arguably we should only do this for
|
|
256
|
-
* strings passed to `import` but the resolve does it for `import` and `require` and so we do
|
|
257
|
-
* here as well.
|
|
252
|
+
/**
|
|
253
|
+
* Remove fragments and query parameters since they are never part of the context map keys
|
|
254
|
+
*
|
|
255
|
+
* This matches how we parse patterns at resolving time. Arguably we should only do this for
|
|
256
|
+
* strings passed to `import` but the resolve does it for `import` and `require` and so we do
|
|
257
|
+
* here as well.
|
|
258
258
|
*/ function parseRequest(request) {
|
|
259
259
|
// Per the URI spec fragments can contain `?` characters, so we should trim it off first
|
|
260
260
|
// https://datatracker.ietf.org/doc/html/rfc3986#section-3.5
|
|
@@ -268,8 +268,8 @@ contextPrototype.r = commonJsRequire;
|
|
|
268
268
|
}
|
|
269
269
|
return request;
|
|
270
270
|
}
|
|
271
|
-
/**
|
|
272
|
-
* `require.context` and require/import expression runtime.
|
|
271
|
+
/**
|
|
272
|
+
* `require.context` and require/import expression runtime.
|
|
273
273
|
*/ function moduleContext(map) {
|
|
274
274
|
function moduleContext(id) {
|
|
275
275
|
id = parseRequest(id);
|
|
@@ -298,8 +298,8 @@ contextPrototype.r = commonJsRequire;
|
|
|
298
298
|
return moduleContext;
|
|
299
299
|
}
|
|
300
300
|
contextPrototype.f = moduleContext;
|
|
301
|
-
/**
|
|
302
|
-
* Returns the path of a chunk defined by its data.
|
|
301
|
+
/**
|
|
302
|
+
* Returns the path of a chunk defined by its data.
|
|
303
303
|
*/ function getChunkPath(chunkData) {
|
|
304
304
|
return typeof chunkData === 'string' ? chunkData : chunkData.path;
|
|
305
305
|
}
|
|
@@ -458,15 +458,15 @@ function asyncModule(body, hasAwait) {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
contextPrototype.a = asyncModule;
|
|
461
|
-
/**
|
|
462
|
-
* A pseudo "fake" URL object to resolve to its relative path.
|
|
463
|
-
*
|
|
464
|
-
* When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this
|
|
465
|
-
* runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid
|
|
466
|
-
* hydration mismatch.
|
|
467
|
-
*
|
|
468
|
-
* This is based on webpack's existing implementation:
|
|
469
|
-
* https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js
|
|
461
|
+
/**
|
|
462
|
+
* A pseudo "fake" URL object to resolve to its relative path.
|
|
463
|
+
*
|
|
464
|
+
* When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this
|
|
465
|
+
* runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid
|
|
466
|
+
* hydration mismatch.
|
|
467
|
+
*
|
|
468
|
+
* This is based on webpack's existing implementation:
|
|
469
|
+
* https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js
|
|
470
470
|
*/ const relativeURL = function relativeURL(inputUrl) {
|
|
471
471
|
const realUrl = new URL(inputUrl, 'x:/');
|
|
472
472
|
const values = {};
|
|
@@ -483,13 +483,13 @@ contextPrototype.a = asyncModule;
|
|
|
483
483
|
};
|
|
484
484
|
relativeURL.prototype = URL.prototype;
|
|
485
485
|
contextPrototype.U = relativeURL;
|
|
486
|
-
/**
|
|
487
|
-
* Utility function to ensure all variants of an enum are handled.
|
|
486
|
+
/**
|
|
487
|
+
* Utility function to ensure all variants of an enum are handled.
|
|
488
488
|
*/ function invariant(never, computeMessage) {
|
|
489
489
|
throw new Error(`Invariant: ${computeMessage(never)}`);
|
|
490
490
|
}
|
|
491
|
-
/**
|
|
492
|
-
* A stub function to make `require` available but non-functional in ESM.
|
|
491
|
+
/**
|
|
492
|
+
* A stub function to make `require` available but non-functional in ESM.
|
|
493
493
|
*/ function requireStub(_moduleId) {
|
|
494
494
|
throw new Error('dynamic usage of require is not supported');
|
|
495
495
|
}
|
|
@@ -550,13 +550,13 @@ const relativePathToDistRoot = path.join(relativePathToRuntimeRoot, RELATIVE_ROO
|
|
|
550
550
|
const RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);
|
|
551
551
|
// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.
|
|
552
552
|
const ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);
|
|
553
|
-
/**
|
|
554
|
-
* Returns an absolute path to the given module path.
|
|
555
|
-
* Module path should be relative, either path to a file or a directory.
|
|
556
|
-
*
|
|
557
|
-
* This fn allows to calculate an absolute path for some global static values, such as
|
|
558
|
-
* `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.
|
|
559
|
-
* See ImportMetaBinding::code_generation for the usage.
|
|
553
|
+
/**
|
|
554
|
+
* Returns an absolute path to the given module path.
|
|
555
|
+
* Module path should be relative, either path to a file or a directory.
|
|
556
|
+
*
|
|
557
|
+
* This fn allows to calculate an absolute path for some global static values, such as
|
|
558
|
+
* `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.
|
|
559
|
+
* See ImportMetaBinding::code_generation for the usage.
|
|
560
560
|
*/ function resolveAbsolutePath(modulePath) {
|
|
561
561
|
if (modulePath) {
|
|
562
562
|
return path.join(ABSOLUTE_ROOT, modulePath);
|
|
@@ -590,14 +590,14 @@ async function instantiateWebAssemblyFromPath(path, importsObj) {
|
|
|
590
590
|
/// <reference path="../shared-node/node-externals-utils.ts" />
|
|
591
591
|
/// <reference path="../shared-node/node-wasm-utils.ts" />
|
|
592
592
|
var SourceType = /*#__PURE__*/ function(SourceType) {
|
|
593
|
-
/**
|
|
594
|
-
* The module was instantiated because it was included in an evaluated chunk's
|
|
595
|
-
* runtime.
|
|
596
|
-
* SourceData is a ChunkPath.
|
|
593
|
+
/**
|
|
594
|
+
* The module was instantiated because it was included in an evaluated chunk's
|
|
595
|
+
* runtime.
|
|
596
|
+
* SourceData is a ChunkPath.
|
|
597
597
|
*/ SourceType[SourceType["Runtime"] = 0] = "Runtime";
|
|
598
|
-
/**
|
|
599
|
-
* The module was instantiated because a parent module imported it.
|
|
600
|
-
* SourceData is a ModuleId.
|
|
598
|
+
/**
|
|
599
|
+
* The module was instantiated because a parent module imported it.
|
|
600
|
+
* SourceData is a ModuleId.
|
|
601
601
|
*/ SourceType[SourceType["Parent"] = 1] = "Parent";
|
|
602
602
|
return SourceType;
|
|
603
603
|
}(SourceType || {});
|
|
@@ -608,8 +608,8 @@ const moduleFactories = new Map();
|
|
|
608
608
|
nodeContextPrototype.M = moduleFactories;
|
|
609
609
|
const moduleCache = Object.create(null);
|
|
610
610
|
nodeContextPrototype.c = moduleCache;
|
|
611
|
-
/**
|
|
612
|
-
* Returns an absolute path to the given module's id.
|
|
611
|
+
/**
|
|
612
|
+
* Returns an absolute path to the given module's id.
|
|
613
613
|
*/ function resolvePathFromModule(moduleId) {
|
|
614
614
|
const exported = this.r(moduleId);
|
|
615
615
|
const exportedPath = exported?.default ?? exported;
|
|
@@ -749,8 +749,8 @@ function instantiateModule(id, sourceType, sourceData) {
|
|
|
749
749
|
}
|
|
750
750
|
return module1;
|
|
751
751
|
}
|
|
752
|
-
/**
|
|
753
|
-
* Retrieves a module from the cache, or instantiate it if it is not cached.
|
|
752
|
+
/**
|
|
753
|
+
* Retrieves a module from the cache, or instantiate it if it is not cached.
|
|
754
754
|
*/ // @ts-ignore
|
|
755
755
|
function getOrInstantiateModuleFromParent(id, sourceModule) {
|
|
756
756
|
const module1 = moduleCache[id];
|
|
@@ -762,13 +762,13 @@ function getOrInstantiateModuleFromParent(id, sourceModule) {
|
|
|
762
762
|
}
|
|
763
763
|
return instantiateModule(id, 1, sourceModule.id);
|
|
764
764
|
}
|
|
765
|
-
/**
|
|
766
|
-
* Instantiates a runtime module.
|
|
765
|
+
/**
|
|
766
|
+
* Instantiates a runtime module.
|
|
767
767
|
*/ function instantiateRuntimeModule(chunkPath, moduleId) {
|
|
768
768
|
return instantiateModule(moduleId, 0, chunkPath);
|
|
769
769
|
}
|
|
770
|
-
/**
|
|
771
|
-
* Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.
|
|
770
|
+
/**
|
|
771
|
+
* Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.
|
|
772
772
|
*/ // @ts-ignore TypeScript doesn't separate this module space from the browser runtime
|
|
773
773
|
function getOrInstantiateRuntimeModule(chunkPath, moduleId) {
|
|
774
774
|
const module1 = moduleCache[moduleId];
|
|
@@ -781,8 +781,8 @@ function getOrInstantiateRuntimeModule(chunkPath, moduleId) {
|
|
|
781
781
|
return instantiateRuntimeModule(chunkPath, moduleId);
|
|
782
782
|
}
|
|
783
783
|
const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/;
|
|
784
|
-
/**
|
|
785
|
-
* Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.
|
|
784
|
+
/**
|
|
785
|
+
* Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.
|
|
786
786
|
*/ function isJs(chunkUrlOrPath) {
|
|
787
787
|
return regexJsUrl.test(chunkUrlOrPath);
|
|
788
788
|
}
|
|
@@ -1133,6 +1133,6 @@ ${w(a)}
|
|
|
1133
1133
|
|
|
1134
1134
|
`;let c=A.getAllPropertyPaths(l);if(0===c.length){i+="*プロパティがありません。*\n\n";continue}i+="| プロパティ名 | タグ | 値 |",r.forEach(e=>{i+=` ${e} |`}),i+="\n|-------------|------|-----|",r.forEach(()=>{i+="------|"}),i+="\n";let d=s.associativeArrays||[];for(let e of c){let t=(0,$.findAndMergeDocumentation)(e,s.properties,d,l),a=v(e),o=t&&t.tags&&t.tags.length>0?C(t.tags,n):[],c=o.length>0?v(o.map(e=>`\`${e}\``).join(", ")):"-",p=v(this.getPropertyValue(l,e));i+=`| ${a} | ${c} | ${p} |`,r.forEach(e=>{let a=t&&t.fields&&t.fields[e]||"-";i+=` ${v(a)} |`}),i+="\n"}i+="\n"}return i+=`
|
|
1135
1135
|
*このドキュメントは ConfigDoc により自動生成されました。*
|
|
1136
|
-
`}getPropertyValue(e,t){var a=j(e,t);if(null==a)return"-";let r=typeof a,n=Array.isArray(a);return n?a.length>0&&a.every(e=>"object"!=typeof e||null===e)?JSON.stringify(a):"-":"object"!==r||n?String(a):"-"}}var O=e.i(10720),T=e.i(14747),N=e.i(24868);async function
|
|
1136
|
+
`}getPropertyValue(e,t){var a=j(e,t);if(null==a)return"-";let r=typeof a,n=Array.isArray(a);return n?a.length>0&&a.every(e=>"object"!=typeof e||null===e)?JSON.stringify(a):"-":"object"!==r||n?String(a):"-"}}var O=e.i(10720),T=e.i(14747),N=e.i(24868);function F(e,t,a){let r=e.split(/[/\\]/).pop()||"config.json",n=t.filter(e=>e.split(/[/\\]/).pop()===r);if(n.length<=1)return r.replace(/\.json$/i,a);let i=e.split(/[/\\]/);for(let t=1;t<i.length;t++){let r=i.slice(-t-1),o=r.join("/");if(0===n.filter(a=>o===a.split(/[/\\]/).slice(-t-1).join("/")&&a!==e).length)return r.join("_").replace(/\.json$/i,a)}return e.replace(/[/\\]/g,"_").replace(/\.json$/i,a)}async function I(e){try{let t,a=(0,O.getRootPath)();try{t=await e.json()}catch{t={}}let{format:r="html"}=t,n=t.fileName?.trim()||"config-doc",i=t.outputDir?.trim()||"",o=new P.FileSystemService(a);await o.ensureConfigDocDir();let s=i?T.default.join(a,i):a;if(await N.default.mkdir(s,{recursive:!0}),"markdown"===r){let e=await o.loadProjectSettings();if(!e||0===e.configFiles.length)return b.NextResponse.json({success:!1,error:"ドキュメント化された設定ファイルがありません"},{status:400});let t=new S(a),r=[];for(let a of e.configFiles){let n=F(a,e.configFiles,".md"),i=T.default.join(s,n),o=await t.generateMarkdownForFile(a);await N.default.writeFile(i,o,"utf-8"),r.push(i)}return b.NextResponse.json({success:!0,message:`Markdownファイルを${r.length}件生成しました`,outputPaths:r})}if("markdown-table"===r){let e=await o.loadProjectSettings();if(!e||0===e.configFiles.length)return b.NextResponse.json({success:!1,error:"ドキュメント化された設定ファイルがありません"},{status:400});let t=new E(a),r=[];for(let a of e.configFiles){let n=F(a,e.configFiles,".md"),i=T.default.join(s,n),o=await t.generateMarkdownTableForFile(a);await N.default.writeFile(i,o,"utf-8"),r.push(i)}return b.NextResponse.json({success:!0,message:`Markdownテーブルファイルを${r.length}件生成しました`,outputPaths:r})}let l=new k(a),c=await l.generateHtml(),d=`${n}.html`,p=T.default.join(s,d);return await N.default.writeFile(p,c,"utf-8"),b.NextResponse.json({success:!0,message:"HTMLファイルを生成しました",outputPath:p})}catch(e){return console.error("API Error:",e),b.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Unknown error"},{status:500})}}e.s(["POST",()=>I],49588);var R=e.i(49588);let M=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/export/route",pathname:"/api/export",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/export/route.ts",nextConfigOutput:"standalone",userland:R}),{workAsyncStorage:H,workUnitAsyncStorage:z,serverHooks:L}=M;function B(){return(0,r.patchFetch)({workAsyncStorage:H,workUnitAsyncStorage:z})}async function U(e,t,r){M.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let b="/api/export/route";b=b.replace(/\/index$/,"")||"/";let P=await M.prepare(e,t,{srcPage:b,multiZoneDraftMode:!1});if(!P)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:x,params:v,nextConfig:w,parsedUrl:D,isDraftMode:j,prerenderManifest:k,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:$,resolvedPathname:S,clientReferenceManifest:E,serverActionsManifest:O}=P,T=(0,s.normalizeAppPath)(b),N=!!(k.dynamicRoutes[T]||k.routes[S]),F=async()=>((null==A?void 0:A.render404)?await A.render404(e,t,D,!1):t.end("This page could not be found"),null);if(N&&!j){let e=!!k.routes[S],t=k.dynamicRoutes[T];if(t&&!1===t.fallback&&!e){if(w.experimental.adapterPath)return await F();throw new m.NoFallbackError}}let I=null;!N||M.isDev||j||(I="/index"===(I=S)?"/":I);let R=!0===M.isDev||!N,H=N&&!R;O&&E&&(0,o.setManifestsSingleton)({page:b,clientReferenceManifest:E,serverActionsManifest:O});let z=e.method||"GET",L=(0,i.getTracer)(),B=L.getActiveScopeSpan(),U={params:v,prerenderManifest:k,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:R,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>M.onRequestError(e,t,r,n,A)},sharedContext:{buildId:x}},q=new l.NodeNextRequest(e),K=new l.NodeNextResponse(t),_=c.NextRequestAdapter.fromNodeNextRequest(q,(0,c.signalFromNodeResponse)(t));try{let o=async e=>M.handle(_,U).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=L.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route");if(r){let t=`${z} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t)}else e.updateName(`${z} ${b}`)}),s=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var i,l;let c=async({previousCacheEntry:a})=>{try{if(!s&&C&&$&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await o(n);e.fetchMetrics=U.renderOpts.fetchMetrics;let l=U.renderOpts.pendingWaitUntil;l&&r.waitUntil&&(r.waitUntil(l),l=void 0);let c=U.renderOpts.collectedTags;if(!N)return await (0,f.sendResponse)(q,K,i,U.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(i.headers);c&&(t[g.NEXT_CACHE_TAGS_HEADER]=c),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,r=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=g.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:y.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await M.onRequestError(e,t,{routerKind:"App Router",routePath:b,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:C})},!1,A),t}},d=await M.handleResponse({req:e,nextConfig:w,cacheKey:I,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:k,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:$,responseGenerator:c,waitUntil:r.waitUntil,isMinimalMode:s});if(!N)return null;if((null==d||null==(i=d.value)?void 0:i.kind)!==y.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(l=d.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});s||t.setHeader("x-nextjs-cache",C?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),j&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,h.fromNodeOutgoingHttpHeaders)(d.value.headers);return s&&N||m.delete(g.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,u.getCacheControlHeader)(d.cacheControl)),await (0,f.sendResponse)(q,K,new Response(d.value.body,{headers:m,status:d.value.status||200})),null};B?await l(B):await L.withPropagatedContext(e.headers,()=>L.trace(d.BaseServerSpan.handleRequest,{spanName:`${z} ${b}`,kind:i.SpanKind.SERVER,attributes:{"http.method":z,"http.target":e.url}},l))}catch(t){if(t instanceof m.NoFallbackError||await M.onRequestError(e,t,{routerKind:"App Router",routePath:T,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:C})},!1,A),N)throw t;return await (0,f.sendResponse)(q,K,new Response(null,{status:500})),null}}e.s(["handler",()=>U,"patchFetch",()=>B,"routeModule",()=>M,"serverHooks",()=>L,"workAsyncStorage",()=>H,"workUnitAsyncStorage",()=>z],47482)}];
|
|
1137
1137
|
|
|
1138
1138
|
//# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-route_d09de205.js.map
|