valyrian.js 7.2.5 → 7.2.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.
@@ -165,7 +165,7 @@ var Router = class {
165
165
  const parts = constructedPath.split("?", 2);
166
166
  this.url = constructedPath;
167
167
  this.query = parseQuery(parts[1]);
168
- const middlewares = searchMiddlewares(this, parts[0].replace(/(.+)\/$/, "$1"));
168
+ const middlewares = searchMiddlewares(this, parts[0].replace(/(.+)\/$/, "$1").split("#")[0]);
169
169
  let component = await searchComponent(this, middlewares);
170
170
  if (component === false) {
171
171
  return;
@@ -148,7 +148,7 @@ var Router = class {
148
148
  const parts = constructedPath.split("?", 2);
149
149
  this.url = constructedPath;
150
150
  this.query = parseQuery(parts[1]);
151
- const middlewares = searchMiddlewares(this, parts[0].replace(/(.+)\/$/, "$1"));
151
+ const middlewares = searchMiddlewares(this, parts[0].replace(/(.+)\/$/, "$1").split("#")[0]);
152
152
  let component = await searchComponent(this, middlewares);
153
153
  if (component === false) {
154
154
  return;
@@ -270,7 +270,7 @@ export class Router implements RouterInterface {
270
270
  this.url = constructedPath;
271
271
  this.query = parseQuery(parts[1]);
272
272
 
273
- const middlewares = searchMiddlewares(this as RouterInterface, parts[0].replace(/(.+)\/$/, "$1"));
273
+ const middlewares = searchMiddlewares(this as RouterInterface, parts[0].replace(/(.+)\/$/, "$1").split("#")[0]);
274
274
  let component = await searchComponent(this as RouterInterface, middlewares);
275
275
 
276
276
  if (component === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valyrian.js",
3
- "version": "7.2.5",
3
+ "version": "7.2.6",
4
4
  "description": "Lightweight steel to forge PWAs. (Minimal Frontend Framework with server side rendering and other capabilities)",
5
5
  "repository": "git@github.com:Masquerade-Circus/valyrian.js.git",
6
6
  "author": "Masquerade <christian@masquerade-circus.net>",