@stackflow/plugin-history-sync
Advanced tools
Comparing version 1.4.0-canary.0 to 1.4.0-canary.1
@@ -213,3 +213,4 @@ "use strict"; | ||
} | ||
return __spreadValues(__spreadValues({}, searchParams), decode ? decode(pathParams) : pathParams); | ||
const params = __spreadValues(__spreadValues({}, searchParams), pathParams); | ||
return decode ? decode(params) : params; | ||
}, | ||
@@ -216,0 +217,0 @@ variableCount: pattern.names.length |
{ | ||
"name": "@stackflow/plugin-history-sync", | ||
"version": "1.4.0-canary.0", | ||
"version": "1.4.0-canary.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -95,6 +95,8 @@ import UrlPattern from "url-pattern"; | ||
return { | ||
const params = { | ||
...searchParams, | ||
...(decode ? decode(pathParams) : pathParams), | ||
...pathParams, | ||
}; | ||
return decode ? decode(params) : params; | ||
}, | ||
@@ -101,0 +103,0 @@ variableCount: (pattern as any).names.length, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
179828
3358