@mastra/deployer 1.83.0 → 1.84.0-alpha.1
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/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-deployment-web-framework.md +1 -1
- package/dist/server/index.cjs +6 -6
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +6 -6
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
- /package/dist/_types/{@hono_node-server@2.1.6 → @hono_node-server@2.1.7}/dist/index.d.mts +0 -0
- /package/dist/_types/{@hono_node-server@2.1.6 → @hono_node-server@2.1.7}/package.json +0 -0
- /package/dist/_types/{@mastra_hono@1.7.25 → @mastra_hono@1.7.26-alpha.1}/dist/auth-middleware.d.ts +0 -0
- /package/dist/_types/{@mastra_hono@1.7.25 → @mastra_hono@1.7.26-alpha.1}/dist/browser-stream/index.d.ts +0 -0
- /package/dist/_types/{@mastra_hono@1.7.25 → @mastra_hono@1.7.26-alpha.1}/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_hono@1.7.25 → @mastra_hono@1.7.26-alpha.1}/package.json +0 -0
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mastra } from '@mastra/core/mastra';
|
|
2
|
-
import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono@1.7.
|
|
2
|
+
import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono@1.7.26-alpha.1/dist/index.js';
|
|
3
3
|
import { Hono } from 'hono';
|
|
4
4
|
import type { ServerBundleOptions } from './types.js';
|
|
5
5
|
type Bindings = HonoBindings;
|
|
@@ -13,6 +13,6 @@ export declare function createHonoServer(mastra: Mastra, options?: ServerBundleO
|
|
|
13
13
|
Bindings: Bindings;
|
|
14
14
|
Variables: Variables;
|
|
15
15
|
}, import("hono/types").BlankSchema, "/">>;
|
|
16
|
-
export declare function createNodeServer(mastra: Mastra, options?: ServerBundleOptions): Promise<import("../_types/@hono_node-server@2.1.
|
|
16
|
+
export declare function createNodeServer(mastra: Mastra, options?: ServerBundleOptions): Promise<import("../_types/@hono_node-server@2.1.7/dist/index.mjs").ServerType>;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/server/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import "hono/utils/handler";
|
|
|
31
31
|
import "hono/utils/url";
|
|
32
32
|
import "hono/validator";
|
|
33
33
|
import { HTTPException } from "hono/http-exception";
|
|
34
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.1.
|
|
34
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.1.7/d37d8e9854efcb85ff6794b845814f31e34d2e58bc3f5c9fc3aeb2b22a17d7d8/node_modules/@hono/node-server/dist/index.mjs
|
|
35
35
|
var RequestError = class extends Error {
|
|
36
36
|
constructor(message, options) {
|
|
37
37
|
super(message, options);
|
|
@@ -1357,7 +1357,7 @@ const serve = (options, listeningListener) => {
|
|
|
1357
1357
|
});
|
|
1358
1358
|
return server;
|
|
1359
1359
|
};
|
|
1360
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.1.
|
|
1360
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.1.7/d37d8e9854efcb85ff6794b845814f31e34d2e58bc3f5c9fc3aeb2b22a17d7d8/node_modules/@hono/node-server/dist/utils/stream.mjs
|
|
1361
1361
|
const pr54206Applied = () => {
|
|
1362
1362
|
const [major, minor] = versions.node.split(".").map((component) => parseInt(component));
|
|
1363
1363
|
return major >= 23 || major === 22 && minor >= 7 || major === 20 && minor >= 18;
|
|
@@ -1415,7 +1415,7 @@ const createStreamBody = (stream, useNativeReadableToWeb = useReadableToWeb) =>
|
|
|
1415
1415
|
}
|
|
1416
1416
|
});
|
|
1417
1417
|
};
|
|
1418
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.1.
|
|
1418
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.1.7/d37d8e9854efcb85ff6794b845814f31e34d2e58bc3f5c9fc3aeb2b22a17d7d8/node_modules/@hono/node-server/dist/serve-static.mjs
|
|
1419
1419
|
const COMPRESSIBLE_CONTENT_TYPE_REGEX = /^\s*(?:text\/[^;\s]+|application\/(?:javascript|json|xml|xml-dtd|ecmascript|dart|postscript|rtf|tar|toml|vnd\.dart|vnd\.ms-fontobject|vnd\.ms-opentype|wasm|x-httpd-php|x-javascript|x-ns-proxy-autoconfig|x-sh|x-tar|x-virtualbox-hdd|x-virtualbox-ova|x-virtualbox-ovf|x-virtualbox-vbox|x-virtualbox-vdi|x-virtualbox-vhd|x-virtualbox-vmdk|x-www-form-urlencoded)|font\/(?:otf|ttf)|image\/(?:bmp|vnd\.adobe\.photoshop|vnd\.microsoft\.icon|vnd\.ms-dds|x-icon|x-ms-bmp)|message\/rfc822|model\/gltf-binary|x-shader\/x-fragment|x-shader\/x-vertex|[^;\s]+?\+(?:json|text|xml|yaml))(?:[;\s]|$)/i;
|
|
1420
1420
|
const ENCODINGS = {
|
|
1421
1421
|
br: ".br",
|
|
@@ -1489,8 +1489,8 @@ const serveStatic = (options = { root: "" }) => {
|
|
|
1489
1489
|
let filename;
|
|
1490
1490
|
if (optionPath) filename = optionPath;
|
|
1491
1491
|
else try {
|
|
1492
|
-
if (!options.allowPercentInPath && c.req.path.includes("%")) throw new Error();
|
|
1493
1492
|
filename = tryDecodeURI(c.req.path);
|
|
1493
|
+
if (c.req.path.includes("%") && (!options.allowPercentInPath || filename !== c.req.path.replace(/%25/g, "%"))) throw new Error();
|
|
1494
1494
|
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}|\\/.test(filename)) throw new Error();
|
|
1495
1495
|
} catch {
|
|
1496
1496
|
await options.onNotFound?.(c.req.path, c);
|
|
@@ -1559,7 +1559,7 @@ const serveStatic = (options = { root: "" }) => {
|
|
|
1559
1559
|
return result;
|
|
1560
1560
|
};
|
|
1561
1561
|
};
|
|
1562
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/swagger-ui/0.5.3/
|
|
1562
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/swagger-ui/0.5.3/6b2f93a98b68e035f9c65ac036a7e9a1e168da026400bf3800b3492ae5194a4b/node_modules/@hono/swagger-ui/dist/index.js
|
|
1563
1563
|
const RENDER_TYPE = {
|
|
1564
1564
|
STRING_ARRAY: "string_array",
|
|
1565
1565
|
STRING: "string",
|
|
@@ -4147,7 +4147,7 @@ var MastraServer$2 = class extends MastraServer {
|
|
|
4147
4147
|
});
|
|
4148
4148
|
}
|
|
4149
4149
|
};
|
|
4150
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/hono-openapi/1.5.0/
|
|
4150
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/hono-openapi/1.5.0/94b1b2009d93c0da7774cf58002b69bcd48659897de9b7413e5e1cfe9bef6108/node_modules/hono-openapi/dist/index.js
|
|
4151
4151
|
const uniqueSymbol = Symbol.for("hono-openapi");
|
|
4152
4152
|
function describeRoute(spec) {
|
|
4153
4153
|
const middleware = async (_c, next) => {
|