Skip to content

Commit

Permalink
🚨 Commit Build Artifact from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and zuisong committed Feb 6, 2024
1 parent 7aec9d6 commit 65c4cd2
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 100 deletions.
48 changes: 23 additions & 25 deletions dist/main_bun.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/helper/adapter/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/helper/adapter/index.js
var getRuntimeKey = () => {
const global = globalThis;
if (global?.Deno !== void 0) {
Expand All @@ -25,7 +25,7 @@ var getRuntimeKey = () => {
return "other";
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/middleware/cors/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/middleware/cors/index.js
var cors = (options) => {
const defaults = {
origin: "*",
Expand Down Expand Up @@ -93,7 +93,7 @@ var cors = (options) => {
};
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/url.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/url.js
var getPath = (request) => {
const match = request.url.match(/^https?:\/\/[^/]+(\/[^?]*)/);
return match ? match[1] : "";
Expand Down Expand Up @@ -207,7 +207,7 @@ var getQueryParams = (url, key) => {
};
var decodeURIComponent_ = decodeURIComponent;

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/middleware/logger/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/middleware/logger/index.js
var humanize = (times) => {
const [delimiter, separator] = [",", "."];
const orderTimes = times.map((v) => v.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + delimiter));
Expand Down Expand Up @@ -245,7 +245,7 @@ var logger = (fn = console.log) => {
};
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/cookie.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/cookie.js
var validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
var validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
var parse = (cookie, name) => {
Expand Down Expand Up @@ -303,20 +303,18 @@ var serialize = (name, value, opt = {}) => {
return _serialize(name, value, opt);
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/helper/html/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/html.js
var HtmlEscapedCallbackPhase = {
Stringify: 1,
BeforeStream: 2,
Stream: 3
};
var raw = (value, callbacks) => {
const escapedString = new String(value);
escapedString.isEscaped = true;
escapedString.callbacks = callbacks;
return escapedString;
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/html.js
var HtmlEscapedCallbackPhase = {
Stringify: 1,
BeforeStream: 2,
Stream: 3
};
var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
const callbacks = str.callbacks;
if (!callbacks?.length) {
Expand All @@ -339,7 +337,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/stream.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/stream.js
var StreamingApi = class {
constructor(writable, _readable) {
this.abortSubscribers = [];
Expand Down Expand Up @@ -390,7 +388,7 @@ var StreamingApi = class {
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/context.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/context.js
var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
Expand Down Expand Up @@ -667,7 +665,7 @@ _preparedHeaders = /* @__PURE__ */ new WeakMap();
_res = /* @__PURE__ */ new WeakMap();
_isFresh = /* @__PURE__ */ new WeakMap();

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/middleware/timing/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/middleware/timing/index.js
var getTime = () => {
try {
return performance.now();
Expand Down Expand Up @@ -752,7 +750,7 @@ var endTime = (c, name, precision) => {
metrics.timers.delete(name);
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/compose.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/compose.js
var compose = (middleware, onError, onNotFound) => {
return (context, next) => {
let index = -1;
Expand Down Expand Up @@ -800,7 +798,7 @@ var compose = (middleware, onError, onNotFound) => {
};
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/http-exception.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/http-exception.js
var HTTPException = class extends Error {
constructor(status = 500, options) {
super(options?.message);
Expand All @@ -817,7 +815,7 @@ var HTTPException = class extends Error {
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/body.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/body.js
var parseBody = async (request, options = { all: false }) => {
const contentType = request.headers.get("Content-Type");
if (isFormDataContent(contentType)) {
Expand Down Expand Up @@ -869,7 +867,7 @@ var convertToNewArray = (form, key, value) => {
form[key] = [form[key], value];
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/request.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/request.js
var __accessCheck2 = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
Expand Down Expand Up @@ -1031,14 +1029,14 @@ var HonoRequest = class {
_validatedData = /* @__PURE__ */ new WeakMap();
_matchResult = /* @__PURE__ */ new WeakMap();

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/router.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/router.js
var METHOD_NAME_ALL = "ALL";
var METHOD_NAME_ALL_LOWERCASE = "all";
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
var UnsupportedPathError = class extends Error {
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/hono-base.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/hono-base.js
var __accessCheck3 = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
Expand Down Expand Up @@ -1289,7 +1287,7 @@ var _Hono = class extends defineDynamicClass() {
var Hono = _Hono;
_path = /* @__PURE__ */ new WeakMap();

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/router/pattern-router/router.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/router/pattern-router/router.js
var PatternRouter = class {
constructor() {
this.name = "PatternRouter";
Expand Down Expand Up @@ -1335,7 +1333,7 @@ var PatternRouter = class {
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/preset/tiny.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/preset/tiny.js
var Hono2 = class extends Hono {
constructor(options = {}) {
super(options);
Expand Down Expand Up @@ -2052,7 +2050,7 @@ var nonStreamingChatProxyHandler = async (c, req, genAi) => {
return c.json(resp);
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/helper/streaming/sse.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/helper/streaming/sse.js
var SSEStreamingApi = class extends StreamingApi {
constructor(writable, readable) {
super(writable, readable);
Expand Down
48 changes: 23 additions & 25 deletions dist/main_cloudflare-workers.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/helper/adapter/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/helper/adapter/index.js
var getRuntimeKey = () => {
const global = globalThis;
if (global?.Deno !== void 0) {
Expand All @@ -25,7 +25,7 @@ var getRuntimeKey = () => {
return "other";
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/middleware/cors/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/middleware/cors/index.js
var cors = (options) => {
const defaults = {
origin: "*",
Expand Down Expand Up @@ -93,7 +93,7 @@ var cors = (options) => {
};
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/url.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/url.js
var getPath = (request) => {
const match = request.url.match(/^https?:\/\/[^/]+(\/[^?]*)/);
return match ? match[1] : "";
Expand Down Expand Up @@ -207,7 +207,7 @@ var getQueryParams = (url, key) => {
};
var decodeURIComponent_ = decodeURIComponent;

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/middleware/logger/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/middleware/logger/index.js
var humanize = (times) => {
const [delimiter, separator] = [",", "."];
const orderTimes = times.map((v) => v.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + delimiter));
Expand Down Expand Up @@ -245,7 +245,7 @@ var logger = (fn = console.log) => {
};
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/cookie.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/cookie.js
var validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
var validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
var parse = (cookie, name) => {
Expand Down Expand Up @@ -303,20 +303,18 @@ var serialize = (name, value, opt = {}) => {
return _serialize(name, value, opt);
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/helper/html/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/html.js
var HtmlEscapedCallbackPhase = {
Stringify: 1,
BeforeStream: 2,
Stream: 3
};
var raw = (value, callbacks) => {
const escapedString = new String(value);
escapedString.isEscaped = true;
escapedString.callbacks = callbacks;
return escapedString;
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/html.js
var HtmlEscapedCallbackPhase = {
Stringify: 1,
BeforeStream: 2,
Stream: 3
};
var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
const callbacks = str.callbacks;
if (!callbacks?.length) {
Expand All @@ -339,7 +337,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/stream.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/stream.js
var StreamingApi = class {
constructor(writable, _readable) {
this.abortSubscribers = [];
Expand Down Expand Up @@ -390,7 +388,7 @@ var StreamingApi = class {
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/context.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/context.js
var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
Expand Down Expand Up @@ -667,7 +665,7 @@ _preparedHeaders = /* @__PURE__ */ new WeakMap();
_res = /* @__PURE__ */ new WeakMap();
_isFresh = /* @__PURE__ */ new WeakMap();

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/middleware/timing/index.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/middleware/timing/index.js
var getTime = () => {
try {
return performance.now();
Expand Down Expand Up @@ -752,7 +750,7 @@ var endTime = (c, name, precision) => {
metrics.timers.delete(name);
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/compose.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/compose.js
var compose = (middleware, onError, onNotFound) => {
return (context, next) => {
let index = -1;
Expand Down Expand Up @@ -800,7 +798,7 @@ var compose = (middleware, onError, onNotFound) => {
};
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/http-exception.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/http-exception.js
var HTTPException = class extends Error {
constructor(status = 500, options) {
super(options?.message);
Expand All @@ -817,7 +815,7 @@ var HTTPException = class extends Error {
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/utils/body.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/utils/body.js
var parseBody = async (request, options = { all: false }) => {
const contentType = request.headers.get("Content-Type");
if (isFormDataContent(contentType)) {
Expand Down Expand Up @@ -869,7 +867,7 @@ var convertToNewArray = (form, key, value) => {
form[key] = [form[key], value];
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/request.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/request.js
var __accessCheck2 = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
Expand Down Expand Up @@ -1031,14 +1029,14 @@ var HonoRequest = class {
_validatedData = /* @__PURE__ */ new WeakMap();
_matchResult = /* @__PURE__ */ new WeakMap();

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/router.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/router.js
var METHOD_NAME_ALL = "ALL";
var METHOD_NAME_ALL_LOWERCASE = "all";
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
var UnsupportedPathError = class extends Error {
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/hono-base.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/hono-base.js
var __accessCheck3 = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
Expand Down Expand Up @@ -1289,7 +1287,7 @@ var _Hono = class extends defineDynamicClass() {
var Hono = _Hono;
_path = /* @__PURE__ */ new WeakMap();

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/router/pattern-router/router.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/router/pattern-router/router.js
var PatternRouter = class {
constructor() {
this.name = "PatternRouter";
Expand Down Expand Up @@ -1335,7 +1333,7 @@ var PatternRouter = class {
}
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/preset/tiny.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/preset/tiny.js
var Hono2 = class extends Hono {
constructor(options = {}) {
super(options);
Expand Down Expand Up @@ -2052,7 +2050,7 @@ var nonStreamingChatProxyHandler = async (c, req, genAi) => {
return c.json(resp);
};

// node_modules/.deno/hono@3.12.10/node_modules/hono/dist/helper/streaming/sse.js
// node_modules/.deno/hono@3.12.11/node_modules/hono/dist/helper/streaming/sse.js
var SSEStreamingApi = class extends StreamingApi {
constructor(writable, readable) {
super(writable, readable);
Expand Down
Loading

0 comments on commit 65c4cd2

Please sign in to comment.