@middy/http-router 4.2.2 → 4.2.4

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/index.cjs CHANGED
@@ -62,6 +62,7 @@ const Method = {
62
62
  Patch: 'PATCH',
63
63
  Delete: 'DELETE',
64
64
  Options: 'OPTIONS',
65
+ Head: 'HEAD',
65
66
  Any: 'ANY'
66
67
  };
67
68
  const methods = Object.values(Method).filter((method)=>method !== 'ANY');
@@ -107,5 +108,3 @@ const getVersionRoute = {
107
108
  };
108
109
  const _default = httpRouteHandler;
109
110
 
110
-
111
- //# sourceMappingURL=index.cjs.map
package/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export enum Method {
15
15
  Patch = 'PATCH',
16
16
  Delete = 'DELETE',
17
17
  Options = 'OPTIONS',
18
+ Head = 'HEAD',
18
19
  Any = 'ANY'
19
20
  }
20
21
 
package/index.js CHANGED
@@ -48,6 +48,7 @@ export const Method = {
48
48
  Patch: 'PATCH',
49
49
  Delete: 'DELETE',
50
50
  Options: 'OPTIONS',
51
+ Head: 'HEAD',
51
52
  Any: 'ANY'
52
53
  };
53
54
  const methods = Object.values(Method).filter((method)=>method !== 'ANY');
@@ -93,5 +94,3 @@ const getVersionRoute = {
93
94
  };
94
95
  export default httpRouteHandler;
95
96
 
96
-
97
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/http-router",
3
- "version": "4.2.2",
3
+ "version": "4.2.4",
4
4
  "description": "HTTP event router for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -62,11 +62,11 @@
62
62
  },
63
63
  "homepage": "https://middy.js.org",
64
64
  "dependencies": {
65
- "@middy/util": "4.2.2"
65
+ "@middy/util": "4.2.4"
66
66
  },
67
67
  "devDependencies": {
68
- "@middy/core": "4.2.2",
68
+ "@middy/core": "4.2.4",
69
69
  "@types/aws-lambda": "^8.10.97"
70
70
  },
71
- "gitHead": "768fbb334e9774fcef406e095a5f4e98497266e0"
71
+ "gitHead": "eae83afa502b03cae831c13094d4693885428bd9"
72
72
  }