@qwik.dev/router 2.0.0-alpha.4 → 2.0.0-alpha.6

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.
@@ -1430,7 +1430,7 @@ async function measure(requestEv, name, fn) {
1430
1430
  }
1431
1431
  function isContentType(headers, ...types) {
1432
1432
  var _a;
1433
- const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;,/, 1)[0].trim()) ?? "";
1433
+ const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;/, 1)[0].trim()) ?? "";
1434
1434
  return types.includes(type);
1435
1435
  }
1436
1436
 
@@ -1388,7 +1388,7 @@ async function measure(requestEv, name, fn) {
1388
1388
  }
1389
1389
  function isContentType(headers, ...types) {
1390
1390
  var _a;
1391
- const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;,/, 1)[0].trim()) ?? "";
1391
+ const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;/, 1)[0].trim()) ?? "";
1392
1392
  return types.includes(type);
1393
1393
  }
1394
1394
 
@@ -15562,7 +15562,7 @@ async function measure(requestEv, name, fn) {
15562
15562
  }
15563
15563
  function isContentType(headers, ...types) {
15564
15564
  var _a;
15565
- const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;,/, 1)[0].trim()) ?? "";
15565
+ const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;/, 1)[0].trim()) ?? "";
15566
15566
  return types.includes(type);
15567
15567
  }
15568
15568
 
@@ -15551,7 +15551,7 @@ async function measure(requestEv, name, fn) {
15551
15551
  }
15552
15552
  function isContentType(headers, ...types) {
15553
15553
  var _a;
15554
- const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;,/, 1)[0].trim()) ?? "";
15554
+ const type = ((_a = headers.get("content-type")) == null ? void 0 : _a.split(/;/, 1)[0].trim()) ?? "";
15555
15555
  return types.includes(type);
15556
15556
  }
15557
15557
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qwik.dev/router",
3
3
  "description": "The router for Qwik.",
4
- "version": "2.0.0-alpha.4",
4
+ "version": "2.0.0-alpha.6",
5
5
  "bugs": "https://github.com/QwikDev/qwik/issues",
6
6
  "dependencies": {
7
7
  "@mdx-js/mdx": "^3",
@@ -41,7 +41,7 @@
41
41
  "unist-util-visit": "5.0.0",
42
42
  "uvu": "0.5.6",
43
43
  "yaml": "2.4.5",
44
- "@qwik.dev/core": "2.0.0-alpha.4"
44
+ "@qwik.dev/core": "2.0.0-alpha.6"
45
45
  },
46
46
  "engines": {
47
47
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"