@solidjs/router
Advanced tools
Comparing version 0.10.8 to 0.10.9
@@ -258,3 +258,6 @@ import { isServer, getRequestEvent, createComponent as createComponent$1, delegateEvents, spread, mergeProps as mergeProps$1, template } from 'solid-js/web'; | ||
const path = joinPaths(base, originalPath); | ||
const pattern = isLeaf ? path : path.split("/*", 1)[0]; | ||
let pattern = isLeaf ? path : path.split("/*", 1)[0]; | ||
pattern = pattern.split("/").map(s => { | ||
return s.startsWith(':') || s.startsWith('*') ? s : encodeURIComponent(s); | ||
}).join("/"); | ||
acc.push({ | ||
@@ -261,0 +264,0 @@ ...shared, |
@@ -70,3 +70,6 @@ import { createComponent, createContext, createMemo, createRenderEffect, createSignal, on, onCleanup, untrack, useContext, startTransition, resetErrorBoundaries } from "solid-js"; | ||
const path = joinPaths(base, originalPath); | ||
const pattern = isLeaf ? path : path.split("/*", 1)[0]; | ||
let pattern = isLeaf ? path : path.split("/*", 1)[0]; | ||
pattern = pattern.split("/").map((s) => { | ||
return (s.startsWith(':') || s.startsWith('*')) ? s : encodeURIComponent(s); | ||
}).join("/"); | ||
acc.push({ | ||
@@ -73,0 +76,0 @@ ...shared, |
@@ -9,3 +9,3 @@ { | ||
"license": "MIT", | ||
"version": "0.10.8", | ||
"version": "0.10.9", | ||
"homepage": "https://github.com/solidjs/solid-router#readme", | ||
@@ -12,0 +12,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149283
3265