fix(core): update

This commit is contained in:
Philipp Kunz 2023-05-01 13:03:32 +02:00
parent 0dd10351ad
commit 9d6238618f
4 changed files with 10 additions and 2 deletions

View File

@ -24,7 +24,8 @@
"dependencies": { "dependencies": {
"@designestate/dees-element": "^2.0.20", "@designestate/dees-element": "^2.0.20",
"@happy-dom/global-registrator": "^8.9.0", "@happy-dom/global-registrator": "^8.9.0",
"@pushrocks/smartpromise": "^3.1.7" "@pushrocks/smartpromise": "^3.1.7",
"fake-indexeddb": "^4.0.1"
}, },
"browserslist": [ "browserslist": [
"last 1 chrome versions" "last 1 chrome versions"

3
pnpm-lock.yaml generated
View File

@ -10,6 +10,9 @@ dependencies:
'@pushrocks/smartpromise': '@pushrocks/smartpromise':
specifier: ^3.1.7 specifier: ^3.1.7
version: 3.1.7 version: 3.1.7
fake-indexeddb:
specifier: ^4.0.1
version: 4.0.1
devDependencies: devDependencies:
'@gitzone/tsbuild': '@gitzone/tsbuild':

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartntml', name: '@pushrocks/smartntml',
version: '2.0.1', version: '2.0.2',
description: 'lit-html for the backend' description: 'lit-html for the backend'
} }

View File

@ -1,4 +1,8 @@
// happy-dom setup // happy-dom setup
// first lets setup indexeddb
import 'fake-indexeddb/auto';
import { GlobalRegistrator } from '@happy-dom/global-registrator'; import { GlobalRegistrator } from '@happy-dom/global-registrator';
GlobalRegistrator.register(); GlobalRegistrator.register();
window.location.href = 'http://localhost'; window.location.href = 'http://localhost';