@continuous-excellence/ze-great-dashboard-aws 0.27.1 → 0.27.3

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.
Files changed (2) hide show
  1. package/dist/lambda.mjs +9 -8
  2. package/package.json +1 -1
package/dist/lambda.mjs CHANGED
@@ -26039,7 +26039,7 @@ var require_dist_cjs16 = __commonJS({
26039
26039
  Region: { type: "builtInParams", name: "region" },
26040
26040
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
26041
26041
  };
26042
- var version2 = "3.1125.0";
26042
+ var version2 = "3.1126.0";
26043
26043
  var packageInfo = {
26044
26044
  version: version2
26045
26045
  };
@@ -27817,7 +27817,7 @@ var require_dist_cjs17 = __commonJS({
27817
27817
  Region: { type: "builtInParams", name: "region" },
27818
27818
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
27819
27819
  };
27820
- var version2 = "3.1125.0";
27820
+ var version2 = "3.1126.0";
27821
27821
  var packageInfo = {
27822
27822
  version: version2
27823
27823
  };
@@ -71188,13 +71188,14 @@ var Hono = class _Hono {
71188
71188
  const allMethods = [...METHODS, METHOD_NAME_ALL_LOWERCASE];
71189
71189
  allMethods.forEach((method) => {
71190
71190
  this[method] = (args1, ...args) => {
71191
+ const methodName = method.toUpperCase();
71191
71192
  if (typeof args1 === "string") {
71192
71193
  this.#path = args1;
71193
71194
  } else {
71194
- this.#addRoute(method, this.#path, args1);
71195
+ this.#addRoute(methodName, this.#path, args1);
71195
71196
  }
71196
71197
  args.forEach((handler2) => {
71197
- this.#addRoute(method, this.#path, handler2);
71198
+ this.#addRoute(methodName, this.#path, handler2);
71198
71199
  });
71199
71200
  return this;
71200
71201
  };
@@ -71203,9 +71204,10 @@ var Hono = class _Hono {
71203
71204
  for (const p3 of [path].flat()) {
71204
71205
  this.#path = p3;
71205
71206
  for (const m3 of [method].flat()) {
71206
- handlers.map((handler2) => {
71207
- this.#addRoute(m3.toUpperCase(), this.#path, handler2);
71208
- });
71207
+ const methodName = m3.toUpperCase();
71208
+ for (const handler2 of handlers) {
71209
+ this.#addRoute(methodName, this.#path, handler2);
71210
+ }
71209
71211
  }
71210
71212
  }
71211
71213
  return this;
@@ -71406,7 +71408,6 @@ var Hono = class _Hono {
71406
71408
  return this;
71407
71409
  }
71408
71410
  #addRoute(method, path, handler2, baseRoutePath) {
71409
- method = method.toUpperCase();
71410
71411
  path = mergePath(this._basePath, path);
71411
71412
  const r5 = {
71412
71413
  basePath: baseRoutePath !== void 0 ? mergePath(this._basePath, baseRoutePath) : this._basePath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@continuous-excellence/ze-great-dashboard-aws",
3
- "version": "0.27.1",
3
+ "version": "0.27.3",
4
4
  "type": "module",
5
5
  "description": "AWS server runtime and CloudFormation deployment tooling for Ze Great Dashboard.",
6
6
  "keywords": [