revojs 0.1.54 → 0.1.56
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/commands/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as version, t as name } from "../package-
|
|
2
|
+
import { n as version, t as name } from "../package-BVDdLlZy.mjs";
|
|
3
3
|
import { resolvePaths } from "../kit/index.mjs";
|
|
4
4
|
import { defineCommand, runMain } from "citty";
|
|
5
5
|
import { copyFileSync, mkdirSync } from "fs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SERVER, A as useBody, B as isFailure, C as sendOk, D as setCookie, E as sendUnauthorized, F as useRouter, G as OPTIONAL_PARAMETER_MATCH, H as parseSchema, I as useServer, J as Router, K as OPTIONAL_WILDCARD_MATCH, L as useSetCookies, M as useHeaders, N as useParameters, O as setState, P as useQuery, Q as CLOSE_HOOK, R as useUrl, S as sendNotFound, T as sendResponse, U as GROUP_MATCH, V as isSuccess, W as HOOK_MATCH, X as App, Y as WILDCARD_MATCH, Z as CLIENT, _ as parseCookiePair, a as cookieSameSites, b as sendForbidden, c as defineRoute, d as httpMethods, et as Hookable, f as invoke, g as mimeTypes, h as mimeType, i as cookiePriorities, it as mergeObjects, j as useCookies, k as statusCodes, l as encodings, m as isServer, n as SERVER_ROUTER_CONTEXT, nt as defineContext, o as createServer, p as isClient, q as PARAMETER_MATCH, r as STATES, rt as defineHook, s as defineMiddleware, t as SERVER_CONTEXT, tt as Scope, u as getState, v as sendBadRequest, w as sendRedirect, x as sendNoContent, y as sendCreated, z as withQuery } from "./server-
|
|
1
|
+
import { $ as SERVER, A as useBody, B as isFailure, C as sendOk, D as setCookie, E as sendUnauthorized, F as useRouter, G as OPTIONAL_PARAMETER_MATCH, H as parseSchema, I as useServer, J as Router, K as OPTIONAL_WILDCARD_MATCH, L as useSetCookies, M as useHeaders, N as useParameters, O as setState, P as useQuery, Q as CLOSE_HOOK, R as useUrl, S as sendNotFound, T as sendResponse, U as GROUP_MATCH, V as isSuccess, W as HOOK_MATCH, X as App, Y as WILDCARD_MATCH, Z as CLIENT, _ as parseCookiePair, a as cookieSameSites, b as sendForbidden, c as defineRoute, d as httpMethods, et as Hookable, f as invoke, g as mimeTypes, h as mimeType, i as cookiePriorities, it as mergeObjects, j as useCookies, k as statusCodes, l as encodings, m as isServer, n as SERVER_ROUTER_CONTEXT, nt as defineContext, o as createServer, p as isClient, q as PARAMETER_MATCH, r as STATES, rt as defineHook, s as defineMiddleware, t as SERVER_CONTEXT, tt as Scope, u as getState, v as sendBadRequest, w as sendRedirect, x as sendNoContent, y as sendCreated, z as withQuery } from "./server-BplNURRd.mjs";
|
|
2
2
|
import assets from "#assets";
|
|
3
3
|
//#region src/client/index.ts
|
|
4
4
|
async function fetch(scope, input, options) {
|
package/dist/vite/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as CLOSE_HOOK, X as App, Z as CLIENT, f as invoke, h as mimeType, it as mergeObjects, t as SERVER_CONTEXT, tt as Scope } from "../server-
|
|
2
|
-
import { n as version, t as name } from "../package-
|
|
1
|
+
import { Q as CLOSE_HOOK, X as App, Z as CLIENT, f as invoke, h as mimeType, it as mergeObjects, t as SERVER_CONTEXT, tt as Scope } from "../server-BplNURRd.mjs";
|
|
2
|
+
import { n as version, t as name } from "../package-BVDdLlZy.mjs";
|
|
3
3
|
import { addTemplate, addTypes, addVirtual, resolvePaths, useKit } from "../kit/index.mjs";
|
|
4
4
|
import { mkdirSync, readFileSync, rmSync, statSync, writeFileSync } from "fs";
|
|
5
5
|
import { basename, dirname, isAbsolute, join, posix, relative, resolve, win32 } from "path";
|
package/package.json
CHANGED
|
@@ -234,10 +234,10 @@ function match(node, index, context) {
|
|
|
234
234
|
if (node.optionalWildcard && assign(node.optionalWildcard, "", index, context)) return true;
|
|
235
235
|
return false;
|
|
236
236
|
}
|
|
237
|
+
for (const group of node.groups.values()) if (visit(group, index, context)) return true;
|
|
237
238
|
const segment = context.segments[index] ?? "";
|
|
238
239
|
const child = node.children.get(segment);
|
|
239
240
|
if (child && visit(child, index + 1, context)) return true;
|
|
240
|
-
for (const group of node.groups.values()) if (visit(group, index, context)) return true;
|
|
241
241
|
if (node.parameter && assign(node.parameter, segment, index + 1, context)) return true;
|
|
242
242
|
if (node.optionalParameter && assign(node.optionalParameter, segment, index + 1, context)) return true;
|
|
243
243
|
if (node.wildcard) {
|