@mastra/deployer 0.0.1-alpha.25 → 0.0.1-alpha.26
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/CHANGELOG.md +7 -0
- package/dist/server/index.js +28 -28
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@hono+node-server@1.13.7_hono@4.6.
|
|
1
|
+
// ../../node_modules/.pnpm/@hono+node-server@1.13.7_hono@4.6.19/node_modules/@hono/node-server/dist/index.mjs
|
|
2
2
|
import { createServer as createServerHTTP } from "http";
|
|
3
3
|
import { Http2ServerRequest } from "http2";
|
|
4
4
|
import { Readable } from "stream";
|
|
@@ -443,7 +443,7 @@ var serve = (options, listeningListener) => {
|
|
|
443
443
|
return server;
|
|
444
444
|
};
|
|
445
445
|
|
|
446
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
446
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/filepath.js
|
|
447
447
|
var getFilePath = (options) => {
|
|
448
448
|
let filename = options.filename;
|
|
449
449
|
const defaultDocument = options.defaultDocument || "index.html";
|
|
@@ -475,7 +475,7 @@ var getFilePathWithoutDefaultDocument = (options) => {
|
|
|
475
475
|
return path;
|
|
476
476
|
};
|
|
477
477
|
|
|
478
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
478
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/mime.js
|
|
479
479
|
var getMimeType = (filename, mimes = baseMimes) => {
|
|
480
480
|
const regexp = /\.([a-zA-Z0-9]+?)$/;
|
|
481
481
|
const match = filename.match(regexp);
|
|
@@ -547,7 +547,7 @@ var _baseMimes = {
|
|
|
547
547
|
};
|
|
548
548
|
var baseMimes = _baseMimes;
|
|
549
549
|
|
|
550
|
-
// ../../node_modules/.pnpm/@hono+node-server@1.13.7_hono@4.6.
|
|
550
|
+
// ../../node_modules/.pnpm/@hono+node-server@1.13.7_hono@4.6.19/node_modules/@hono/node-server/dist/serve-static.mjs
|
|
551
551
|
import { createReadStream, lstatSync } from "fs";
|
|
552
552
|
var 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;
|
|
553
553
|
var ENCODINGS = {
|
|
@@ -670,7 +670,7 @@ var serveStatic = (options = { root: "" }) => {
|
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
672
|
|
|
673
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
673
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/html.js
|
|
674
674
|
var HtmlEscapedCallbackPhase = {
|
|
675
675
|
Stringify: 1,
|
|
676
676
|
BeforeStream: 2,
|
|
@@ -786,7 +786,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
|
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
789
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/helper/html/index.js
|
|
790
790
|
var html = (strings, ...values) => {
|
|
791
791
|
const buffer = [""];
|
|
792
792
|
for (let i2 = 0, len = strings.length - 1; i2 < len; i2++) {
|
|
@@ -823,7 +823,7 @@ var html = (strings, ...values) => {
|
|
|
823
823
|
return buffer.length === 1 ? "callbacks" in buffer ? raw(resolveCallbackSync(raw(buffer[0], buffer.callbacks))) : raw(buffer[0]) : stringBufferToString(buffer, buffer.callbacks);
|
|
824
824
|
};
|
|
825
825
|
|
|
826
|
-
// ../../node_modules/.pnpm/@hono+swagger-ui@0.5.0_hono@4.6.
|
|
826
|
+
// ../../node_modules/.pnpm/@hono+swagger-ui@0.5.0_hono@4.6.19/node_modules/@hono/swagger-ui/dist/index.js
|
|
827
827
|
var RENDER_TYPE = {
|
|
828
828
|
STRING_ARRAY: "string_array",
|
|
829
829
|
STRING: "string",
|
|
@@ -940,7 +940,7 @@ var middleware = (options) => async (c2) => {
|
|
|
940
940
|
);
|
|
941
941
|
};
|
|
942
942
|
|
|
943
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
943
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/body.js
|
|
944
944
|
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
|
|
945
945
|
const { all = false, dot = false } = options;
|
|
946
946
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
|
@@ -1005,7 +1005,7 @@ var handleParsingNestedValues = (form, key, value) => {
|
|
|
1005
1005
|
});
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1008
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/url.js
|
|
1009
1009
|
var splitPath = (path) => {
|
|
1010
1010
|
const paths = path.split("/");
|
|
1011
1011
|
if (paths[0] === "") {
|
|
@@ -1219,7 +1219,7 @@ var getQueryParams = (url, key) => {
|
|
|
1219
1219
|
};
|
|
1220
1220
|
var decodeURIComponent_ = decodeURIComponent;
|
|
1221
1221
|
|
|
1222
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1222
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/request.js
|
|
1223
1223
|
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
|
|
1224
1224
|
var HonoRequest = class {
|
|
1225
1225
|
raw;
|
|
@@ -1327,7 +1327,7 @@ var HonoRequest = class {
|
|
|
1327
1327
|
}
|
|
1328
1328
|
};
|
|
1329
1329
|
|
|
1330
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1330
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/context.js
|
|
1331
1331
|
var TEXT_PLAIN = "text/plain; charset=UTF-8";
|
|
1332
1332
|
var setHeaders = (headers, map = {}) => {
|
|
1333
1333
|
for (const key of Object.keys(map)) {
|
|
@@ -1576,7 +1576,7 @@ var Context = class {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
};
|
|
1578
1578
|
|
|
1579
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1579
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/compose.js
|
|
1580
1580
|
var compose = (middleware2, onError, onNotFound) => {
|
|
1581
1581
|
return (context, next) => {
|
|
1582
1582
|
let index = -1;
|
|
@@ -1625,7 +1625,7 @@ var compose = (middleware2, onError, onNotFound) => {
|
|
|
1625
1625
|
};
|
|
1626
1626
|
};
|
|
1627
1627
|
|
|
1628
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1628
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router.js
|
|
1629
1629
|
var METHOD_NAME_ALL = "ALL";
|
|
1630
1630
|
var METHOD_NAME_ALL_LOWERCASE = "all";
|
|
1631
1631
|
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
|
@@ -1633,10 +1633,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
|
|
|
1633
1633
|
var UnsupportedPathError = class extends Error {
|
|
1634
1634
|
};
|
|
1635
1635
|
|
|
1636
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1636
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/constants.js
|
|
1637
1637
|
var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
|
|
1638
1638
|
|
|
1639
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1639
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/hono-base.js
|
|
1640
1640
|
var notFoundHandler = (c2) => {
|
|
1641
1641
|
return c2.text("404 Not Found", 404);
|
|
1642
1642
|
};
|
|
@@ -1861,7 +1861,7 @@ var Hono = class {
|
|
|
1861
1861
|
};
|
|
1862
1862
|
};
|
|
1863
1863
|
|
|
1864
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1864
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
1865
1865
|
var LABEL_REG_EXP_STR = "[^/]+";
|
|
1866
1866
|
var ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
1867
1867
|
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
@@ -1966,7 +1966,7 @@ var Node = class {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
};
|
|
1968
1968
|
|
|
1969
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
1969
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
1970
1970
|
var Trie = class {
|
|
1971
1971
|
#context = { varIndex: 0 };
|
|
1972
1972
|
#root = new Node();
|
|
@@ -2022,7 +2022,7 @@ var Trie = class {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
};
|
|
2024
2024
|
|
|
2025
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2025
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router/reg-exp-router/router.js
|
|
2026
2026
|
var emptyParam = [];
|
|
2027
2027
|
var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)];
|
|
2028
2028
|
var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
|
|
@@ -2218,7 +2218,7 @@ var RegExpRouter = class {
|
|
|
2218
2218
|
}
|
|
2219
2219
|
};
|
|
2220
2220
|
|
|
2221
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2221
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router/smart-router/router.js
|
|
2222
2222
|
var SmartRouter = class {
|
|
2223
2223
|
name = "SmartRouter";
|
|
2224
2224
|
#routers = [];
|
|
@@ -2273,7 +2273,7 @@ var SmartRouter = class {
|
|
|
2273
2273
|
}
|
|
2274
2274
|
};
|
|
2275
2275
|
|
|
2276
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2276
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router/trie-router/node.js
|
|
2277
2277
|
var emptyParams = /* @__PURE__ */ Object.create(null);
|
|
2278
2278
|
var Node2 = class {
|
|
2279
2279
|
#methods;
|
|
@@ -2420,7 +2420,7 @@ var Node2 = class {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
};
|
|
2422
2422
|
|
|
2423
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2423
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/router/trie-router/router.js
|
|
2424
2424
|
var TrieRouter = class {
|
|
2425
2425
|
name = "TrieRouter";
|
|
2426
2426
|
#node;
|
|
@@ -2442,7 +2442,7 @@ var TrieRouter = class {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
2444
|
|
|
2445
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2445
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/hono.js
|
|
2446
2446
|
var Hono2 = class extends Hono {
|
|
2447
2447
|
constructor(options = {}) {
|
|
2448
2448
|
super(options);
|
|
@@ -2452,7 +2452,7 @@ var Hono2 = class extends Hono {
|
|
|
2452
2452
|
}
|
|
2453
2453
|
};
|
|
2454
2454
|
|
|
2455
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2455
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/http-exception.js
|
|
2456
2456
|
var HTTPException = class extends Error {
|
|
2457
2457
|
res;
|
|
2458
2458
|
status;
|
|
@@ -2475,10 +2475,10 @@ var HTTPException = class extends Error {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
};
|
|
2477
2477
|
|
|
2478
|
-
// ../../node_modules/.pnpm/hono-openapi@0.4.3_hono@4.6.
|
|
2478
|
+
// ../../node_modules/.pnpm/hono-openapi@0.4.3_hono@4.6.19_openapi-types@12.1.3_zod@3.24.1/node_modules/hono-openapi/utils.js
|
|
2479
2479
|
var e = Symbol("openapi");
|
|
2480
2480
|
|
|
2481
|
-
// ../../node_modules/.pnpm/hono-openapi@0.4.3_hono@4.6.
|
|
2481
|
+
// ../../node_modules/.pnpm/hono-openapi@0.4.3_hono@4.6.19_openapi-types@12.1.3_zod@3.24.1/node_modules/hono-openapi/index.js
|
|
2482
2482
|
function n(n2) {
|
|
2483
2483
|
const { validateResponse: s2, ...o2 } = n2;
|
|
2484
2484
|
return Object.assign(async (t, o3) => {
|
|
@@ -2577,7 +2577,7 @@ import { join } from "path";
|
|
|
2577
2577
|
import { pathToFileURL } from "url";
|
|
2578
2578
|
import { readFile as readFile2 } from "fs/promises";
|
|
2579
2579
|
|
|
2580
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2580
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/middleware/cors/index.js
|
|
2581
2581
|
var cors = (options) => {
|
|
2582
2582
|
const defaults = {
|
|
2583
2583
|
origin: "*",
|
|
@@ -2654,14 +2654,14 @@ var cors = (options) => {
|
|
|
2654
2654
|
};
|
|
2655
2655
|
};
|
|
2656
2656
|
|
|
2657
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2657
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/utils/color.js
|
|
2658
2658
|
function getColorEnabled() {
|
|
2659
2659
|
const { process: process2, Deno } = globalThis;
|
|
2660
2660
|
const isNoColor = typeof Deno?.noColor === "boolean" ? Deno.noColor : process2 !== void 0 ? "NO_COLOR" in process2?.env : false;
|
|
2661
2661
|
return !isNoColor;
|
|
2662
2662
|
}
|
|
2663
2663
|
|
|
2664
|
-
// ../../node_modules/.pnpm/hono@4.6.
|
|
2664
|
+
// ../../node_modules/.pnpm/hono@4.6.19/node_modules/hono/dist/middleware/logger/index.js
|
|
2665
2665
|
var humanize = (times) => {
|
|
2666
2666
|
const [delimiter, separator] = [",", "."];
|
|
2667
2667
|
const orderTimes = times.map((v) => v.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + delimiter));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"esbuild": "^0.24.2",
|
|
26
26
|
"fs-extra": "^11.2.0",
|
|
27
27
|
"zod": "^3.24.1",
|
|
28
|
-
"@mastra/core": "0.1.27-alpha.
|
|
28
|
+
"@mastra/core": "0.1.27-alpha.81"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@hono/node-server": "^1.13.7",
|