fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-27 18:23:47 +00:00
parent 7655fc0348
commit 899775b050
3 changed files with 32 additions and 19 deletions

38
package-lock.json generated
View File

@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@apiglobal/typedrequest": {
"version": "1.0.40",
"resolved": "https://verdaccio.lossless.one/@apiglobal%2ftypedrequest/-/typedrequest-1.0.40.tgz",
"integrity": "sha512-CnYa7h6rZWe3GPf0h8F8M/LNQ1wpGRvtFnx5R6h8ukIT3agXyJIWaCpR4k8yAokSvUov4ZVwadH/FGNS1fHrfw==",
"version": "1.0.41",
"resolved": "https://verdaccio.lossless.one/@apiglobal%2ftypedrequest/-/typedrequest-1.0.41.tgz",
"integrity": "sha512-E7Jyqjto3psd6XaQDkSsWuBPf7QM9oUqrubZ4u3Z7lk5784k4IAFLUZH6TSjiA4PodM1kQGpTciYDMY8RlWHyg==",
"requires": {
"@apiglobal/typedrequest-interfaces": "^1.0.15",
"@pushrocks/isounique": "^1.0.4",
@ -2050,9 +2050,9 @@
}
},
"@pushrocks/smartstate": {
"version": "1.0.16",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartstate/-/smartstate-1.0.16.tgz",
"integrity": "sha512-RUdeKuM2N5S3su9WEX2XoSE0VV12vMyR4vh4h2gV+uS4Syu4H13ntoN2MQfGh63JHkviICELZ0u+XqRtNvAO4g==",
"version": "1.0.17",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartstate/-/smartstate-1.0.17.tgz",
"integrity": "sha512-lzcN6zeGXdDxG67cJPSgC2Of0Up7iQf7hKI0KMAxricYCQp514DJYdfrv82SAEoTqB4eG4bOVqq5M9IYkvEfZw==",
"requires": {
"@pushrocks/lik": "^4.0.12",
"@pushrocks/smartpromise": "^3.0.6",
@ -2061,13 +2061,23 @@
},
"dependencies": {
"@pushrocks/smartrx": {
"version": "2.0.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.15.tgz",
"integrity": "sha512-bvxyO19sUgWj7S/WflVO7QVYggTUXoM4rCYn+Akid844CC5zoSzIRx9Egm2xeMD6y4WbBbFWpHr67L7nEYxGWQ==",
"version": "2.0.18",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.18.tgz",
"integrity": "sha512-DqUmtS7mONO6bvWEZmSLy4M9hlxNWysMYc7XOZLr50BMaa0HUNYWI1myUFCMNcbUUOxuQNig01XqR1smfIN69g==",
"requires": {
"@pushrocks/lik": "^4.0.11",
"@pushrocks/lik": "^4.0.14",
"@pushrocks/smartpromise": "^3.0.6",
"rxjs": "^6.5.5"
"rxjs": "^6.6.0"
},
"dependencies": {
"rxjs": {
"version": "6.6.0",
"resolved": "https://verdaccio.lossless.one/rxjs/-/rxjs-6.6.0.tgz",
"integrity": "sha512-3HMA8z/Oz61DUHe+SdOiQyzIf4tOx5oQHmMir7IZEu6TMqCLHT4LRcmNaUS0NwOz8VLvmmBduMsoaUvMaIiqzg==",
"requires": {
"tslib": "^1.9.0"
}
}
}
}
}
@ -2454,9 +2464,9 @@
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
},
"@types/node": {
"version": "14.0.23",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.0.23.tgz",
"integrity": "sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw==",
"version": "14.0.26",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.0.26.tgz",
"integrity": "sha512-W+fpe5s91FBGE0pEa0lnqGLL4USgpLgs4nokw16SrBBco/gQxuua7KnArSEOd5iaMqbbSHV10vUDkJYJJqpXKA==",
"dev": true
},
"@types/parcel-bundler": {

View File

@ -17,16 +17,16 @@
"@gitzone/tsbundle": "^1.0.72",
"@gitzone/tstest": "^1.0.43",
"@pushrocks/tapbundle": "^3.2.9",
"@types/node": "^14.0.23",
"@types/node": "^14.0.26",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.15.0"
},
"dependencies": {
"@apiglobal/typedrequest": "^1.0.40",
"@apiglobal/typedrequest": "^1.0.41",
"@pushrocks/lik": "^4.0.17",
"@pushrocks/smartpromise": "^3.0.6",
"@pushrocks/smartrouter": "^1.0.4",
"@pushrocks/smartstate": "^1.0.16",
"@pushrocks/smartstate": "^1.0.17",
"@pushrocks/webrequest": "^2.0.10",
"@pushrocks/websetup": "^2.0.18",
"lit-element": "^2.3.1",

View File

@ -38,10 +38,13 @@ export class DomTools {
return domToolsInstance;
}
public static getDomToolsSync() {
/**
* if you can, use the static asysnc .setupDomTools() function instead since it is safer to use.
*/
public static getGlobalDomToolsSync() {
const globalDomTools: DomTools = globalThis.deesDomTools;
if (!globalDomTools) {
throw new Error('You tried to access domtools synchronouly too early');
throw new Error('You tried to access domtools synchronously too early');
}
return globalThis.deesDomTools;
}