@kodaris/krubble-app-components 1.0.139 → 1.0.140
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/krubble-app.bundled.js +0 -3
- package/dist/krubble-app.bundled.js.map +1 -1
- package/dist/krubble-app.bundled.min.js.map +1 -1
- package/dist/krubble-app.umd.js +0 -3
- package/dist/krubble-app.umd.js.map +1 -1
- package/dist/krubble-app.umd.min.js.map +1 -1
- package/dist/router.d.ts +0 -12
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +0 -3
- package/dist/router.js.map +1 -1
- package/package.json +1 -1
|
@@ -12248,9 +12248,6 @@ class KRRouter {
|
|
|
12248
12248
|
const constructor = customElements.get(match.route.component);
|
|
12249
12249
|
if (constructor && typeof constructor.resolve === 'function') {
|
|
12250
12250
|
return Promise.resolve(constructor.resolve(KRRouter.getParams())).then(data => {
|
|
12251
|
-
// Frozen so a component can't quietly swap params/data at runtime either — the readonly
|
|
12252
|
-
// modifiers on KRRouteSnapshot only hold at compile time. Shallow: `data`'s own contents are
|
|
12253
|
-
// still mutable, since components legitimately read structures out of it.
|
|
12254
12251
|
const routeSnapshot = Object.freeze({
|
|
12255
12252
|
params: match.params,
|
|
12256
12253
|
data,
|