Comparing version 9.1.12 to 9.1.13
{ | ||
"name": "hybrids", | ||
"version": "9.1.12", | ||
"version": "9.1.13", | ||
"description": "A JavaScript framework for creating fully-featured web applications, components libraries, and single web components with unique declarative and functional architecture", | ||
@@ -56,10 +56,10 @@ "type": "module", | ||
"eslint-plugin-prettier": "^5.1.2", | ||
"jasmine-core": "^5.0.0", | ||
"karma": "^5.2.3", | ||
"jasmine-core": "^5.6.0", | ||
"karma": "^6.4.4", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-coverage": "^2.1.0", | ||
"karma-firefox-launcher": "^2.1.2", | ||
"karma-jasmine": "^4.0.2", | ||
"karma-jasmine": "^5.1.0", | ||
"karma-webkit-launcher": "^2.1.0", | ||
"playwright": "^1.41.2", | ||
"playwright": "^1.50.1", | ||
"prettier": "^3.1.1", | ||
@@ -66,0 +66,0 @@ "standard-version": "^9.3.2", |
@@ -370,9 +370,18 @@ import * as cache from "./cache.js"; | ||
const params = {}; | ||
for (const key of stateParams) { | ||
const value = mapUrlParam(host[key]).toString(); | ||
params[key] = | ||
value !== undefined && host[key] !== hybrids[key] | ||
? String(value) | ||
: undefined; | ||
let value = host[key]; | ||
if ( | ||
value === undefined || | ||
value === hybrids[key] || | ||
(typeof value === "object" && | ||
value.toString === Object.prototype.toString) | ||
) { | ||
params[key] = undefined; | ||
} else { | ||
params[key] = mapUrlParam(value).toString(); | ||
} | ||
} | ||
return params; | ||
@@ -379,0 +388,0 @@ }, |
211728
6743