@edgeone/nuxt-pages 1.0.10 → 1.0.12
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/dist/build/routes.js +1 -1
- package/dist/esm-chunks/{chunk-4QWR6FKP.js → chunk-K2Z75NVP.js} +0 -23
- package/dist/index.js +1 -1
- package/dist/run/handlers/cache.cjs +1 -1
- package/dist/run/handlers/tags-handler.cjs +1 -1
- package/dist/run/handlers/use-cache-handler.js +1 -1
- package/package.json +1 -1
package/dist/build/routes.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
convertNuxtRoutePattern,
|
|
9
9
|
createNuxtApiRoutesMeta,
|
|
10
10
|
createNuxtPagesRouteMeta
|
|
11
|
-
} from "../esm-chunks/chunk-
|
|
11
|
+
} from "../esm-chunks/chunk-K2Z75NVP.js";
|
|
12
12
|
import "../esm-chunks/chunk-5VJRCUAW.js";
|
|
13
13
|
import "../esm-chunks/chunk-6BT4RYQJ.js";
|
|
14
14
|
export {
|
|
@@ -197,29 +197,6 @@ var createNuxtApiRoutesMeta = async (ctx) => {
|
|
|
197
197
|
return route;
|
|
198
198
|
});
|
|
199
199
|
let staticAllIndex = -1;
|
|
200
|
-
processedRoutes = processedRoutes.map((route, index) => {
|
|
201
|
-
if (route.path.startsWith("/:") && route.path.endsWith("*")) {
|
|
202
|
-
staticAllIndex = index;
|
|
203
|
-
if (route.hasOwnProperty("isStatic")) {
|
|
204
|
-
route.isStatic = true;
|
|
205
|
-
} else {
|
|
206
|
-
Reflect.defineProperty(route, "isStatic", {
|
|
207
|
-
value: true,
|
|
208
|
-
enumerable: true
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
return route;
|
|
212
|
-
}
|
|
213
|
-
return route;
|
|
214
|
-
});
|
|
215
|
-
if (staticAllIndex !== -1) {
|
|
216
|
-
[processedRoutes[staticAllIndex], processedRoutes[processedRoutes.length - 1]] = [processedRoutes[processedRoutes.length - 1], processedRoutes[staticAllIndex]];
|
|
217
|
-
} else {
|
|
218
|
-
processedRoutes.push({
|
|
219
|
-
path: "/:all*",
|
|
220
|
-
isStatic: true
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
200
|
const finalMetaData = {
|
|
224
201
|
frameworkRoutes: processedRoutes,
|
|
225
202
|
conf: {
|
package/dist/index.js
CHANGED
|
@@ -199,7 +199,7 @@ var getMemoizedKeyValueStoreBackedByRegionalBlobStore = (...args) => {
|
|
|
199
199
|
|
|
200
200
|
// package.json
|
|
201
201
|
var name = "@edgeone/nuxt-pages";
|
|
202
|
-
var version = "1.0.
|
|
202
|
+
var version = "1.0.11";
|
|
203
203
|
|
|
204
204
|
// src/run/handlers/tags-handler.cts
|
|
205
205
|
var purgeCacheUserAgent = `${name}@${version}`;
|
|
@@ -28,7 +28,7 @@ module.exports = __toCommonJS(tags_handler_exports);
|
|
|
28
28
|
|
|
29
29
|
// package.json
|
|
30
30
|
var name = "@edgeone/nuxt-pages";
|
|
31
|
-
var version = "1.0.
|
|
31
|
+
var version = "1.0.11";
|
|
32
32
|
|
|
33
33
|
// src/run/handlers/request-context.cts
|
|
34
34
|
var import_node_async_hooks = require("node:async_hooks");
|