fix(core): update

This commit is contained in:
Philipp Kunz 2020-06-03 10:34:09 +00:00
parent aa91dad272
commit d3fa33f0cc
4 changed files with 17 additions and 3 deletions

13
package-lock.json generated
View File

@ -1337,6 +1337,14 @@
"form-data": "^2.5.1"
}
},
"@pushrocks/smartrouter": {
"version": "1.0.2",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrouter/-/smartrouter-1.0.2.tgz",
"integrity": "sha512-G7/Mb03TLOyarpDngfTOeWZqQv3GxMoG2JtoPH4mQ0y7SosQdaminnx++oopmP/CTzyj5mtAPCnWv/qcDBkv7Q==",
"requires": {
"path-to-regexp": "^6.1.0"
}
},
"@pushrocks/smartrx": {
"version": "2.0.5",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.5.tgz",
@ -2771,6 +2779,11 @@
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
"dev": true
},
"path-to-regexp": {
"version": "6.1.0",
"resolved": "https://verdaccio.lossless.one/path-to-regexp/-/path-to-regexp-6.1.0.tgz",
"integrity": "sha512-h9DqehX3zZZDCEm+xbfU0ZmwCGFCAAraPJWMXJ4+v32NjZJilVg3k1TcKsRgIb8IQ/izZSaydDc1OhJCZvs2Dw=="
},
"pathval": {
"version": "1.1.0",
"resolved": "https://verdaccio.lossless.one/pathval/-/pathval-1.1.0.tgz",

View File

@ -24,6 +24,7 @@
"dependencies": {
"@pushrocks/lik": "^4.0.13",
"@pushrocks/smartpromise": "^3.0.6",
"@pushrocks/smartrouter": "^1.0.2",
"@pushrocks/smartstate": "^1.0.16",
"lit-element": "^2.3.1",
"sweet-scroll": "^4.0.0"

View File

@ -2,7 +2,6 @@ import * as plugins from './domtools.plugins';
import { Stringmap } from '@pushrocks/lik/dist_ts/lik.stringmap';
import { FastMap } from '@pushrocks/lik/dist_ts/lik.fastmap';
import { TViewport } from './domtools.breakpoints';
import { DomToolsRouter } from './domtools.classes.router';
export interface IDomToolsState {
virtualViewport: TViewport;
@ -45,7 +44,7 @@ export class DomTools {
virtualViewport: 'native',
});
public router = new DomToolsRouter({
public router = new plugins.smartrouter.SmartRouter({
debug: false
});

View File

@ -1,5 +1,6 @@
// pushrocks scope
import * as smartpromise from '@pushrocks/smartpromise';
import * as smartrouter from '@pushrocks/smartrouter';
import * as smartstate from '@pushrocks/smartstate';
export { smartpromise, smartstate };
export { smartpromise, smartrouter, smartstate };