@serwist/routing 9.0.0-preview.15 → 9.0.0-preview.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.js CHANGED
@@ -201,7 +201,7 @@ class Router {
201
201
  const url = new URL(request.url, location.href);
202
202
  if (!url.protocol.startsWith("http")) {
203
203
  if (process.env.NODE_ENV !== "production") {
204
- logger.debug(`Serwist Router only supports URLs that start with 'http'.`);
204
+ logger.debug("The Serwist router only supports URLs that start with 'http'.");
205
205
  }
206
206
  return;
207
207
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/routing",
3
- "version": "9.0.0-preview.15",
3
+ "version": "9.0.0-preview.16",
4
4
  "type": "module",
5
5
  "description": "A service worker helper library to route request URLs to handlers.",
6
6
  "files": [
@@ -30,12 +30,12 @@
30
30
  "./package.json": "./package.json"
31
31
  },
32
32
  "dependencies": {
33
- "@serwist/core": "9.0.0-preview.15"
33
+ "@serwist/core": "9.0.0-preview.16"
34
34
  },
35
35
  "devDependencies": {
36
36
  "rollup": "4.13.0",
37
37
  "typescript": "5.5.0-dev.20240323",
38
- "@serwist/constants": "9.0.0-preview.15"
38
+ "@serwist/constants": "9.0.0-preview.16"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "typescript": ">=5.0.0"
package/src/Router.ts CHANGED
@@ -158,7 +158,7 @@ export class Router {
158
158
  const url = new URL(request.url, location.href);
159
159
  if (!url.protocol.startsWith("http")) {
160
160
  if (process.env.NODE_ENV !== "production") {
161
- logger.debug(`Serwist Router only supports URLs that start with 'http'.`);
161
+ logger.debug("The Serwist router only supports URLs that start with 'http'.");
162
162
  }
163
163
  return;
164
164
  }