h3 0.7.15 → 0.7.16

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/index.cjs CHANGED
@@ -541,7 +541,7 @@ function normalizeLayer(input) {
541
541
  };
542
542
  }
543
543
 
544
- const RouterMethods = ["connect", "delete", "get", "head", "options", "post", "put", "trace"];
544
+ const RouterMethods = ["connect", "delete", "get", "head", "options", "post", "put", "trace", "patch"];
545
545
  function createRouter() {
546
546
  const _router = radix3.createRouter({});
547
547
  const routes = {};
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ declare function isEvent(input: any): input is H3Event;
34
34
 
35
35
  interface CompatibilityRequestProps {
36
36
  event: H3Event;
37
- context: Record<string, any>;
37
+ context: H3EventContext;
38
38
  /** Only available with connect and press */
39
39
  originalUrl?: string;
40
40
  }
package/dist/index.mjs CHANGED
@@ -533,7 +533,7 @@ function normalizeLayer(input) {
533
533
  };
534
534
  }
535
535
 
536
- const RouterMethods = ["connect", "delete", "get", "head", "options", "post", "put", "trace"];
536
+ const RouterMethods = ["connect", "delete", "get", "head", "options", "post", "put", "trace", "patch"];
537
537
  function createRouter() {
538
538
  const _router = createRouter$1({});
539
539
  const routes = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "h3",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
4
4
  "description": "Tiny JavaScript Server",
5
5
  "repository": "unjs/h3",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "unbuild": "latest",
46
46
  "vitest": "latest"
47
47
  },
48
- "packageManager": "pnpm@7.9.0",
48
+ "packageManager": "pnpm@7.9.4",
49
49
  "scripts": {
50
50
  "build": "unbuild",
51
51
  "dev": "vitest",