From caa1e60cf673e7a99c41dcc4b74da274cb46c377 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 28 May 2024 10:40:38 +0200 Subject: [PATCH] fix(core): update --- package.json | 8 +-- pnpm-lock.yaml | 126 +++++++++++++++++++++++---------------- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 1 + 4 files changed, 81 insertions(+), 56 deletions(-) diff --git a/package.json b/package.json index ab6b512..9171623 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "license": "MIT", "scripts": { "test": "(tstest test/ --web)", - "build": "(tsbuild --web)", + "build": "(tsbuild --web --allowimplicitany)", "buildDocs": "tsdoc" }, "devDependencies": { @@ -19,14 +19,14 @@ "@git.zone/tsrun": "^1.2.39", "@git.zone/tstest": "^1.0.73", "@push.rocks/tapbundle": "^5.0.4", - "@types/node": "^18.7.23", + "@types/node": "^20.12.12", "why-is-node-running": "^2.2.2" }, "dependencies": { "@design.estate/dees-element": "^2.0.20", - "@happy-dom/global-registrator": "^8.9.0", + "@happy-dom/global-registrator": "^14.11.1", "@push.rocks/smartpromise": "^4.0.3", - "fake-indexeddb": "^4.0.1" + "fake-indexeddb": "^6.0.0" }, "browserslist": [ "last 1 chrome versions" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a792c20..264bab3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,14 +12,14 @@ importers: specifier: ^2.0.20 version: 2.0.34 '@happy-dom/global-registrator': - specifier: ^8.9.0 - version: 8.9.0 + specifier: ^14.11.1 + version: 14.11.1 '@push.rocks/smartpromise': specifier: ^4.0.3 version: 4.0.3 fake-indexeddb: - specifier: ^4.0.1 - version: 4.0.2 + specifier: ^6.0.0 + version: 6.0.0 devDependencies: '@git.zone/tsbuild': specifier: ^2.1.65 @@ -29,16 +29,16 @@ importers: version: 2.0.15 '@git.zone/tsrun': specifier: ^1.2.39 - version: 1.2.46(@types/node@18.19.33) + version: 1.2.46(@types/node@20.12.12) '@git.zone/tstest': specifier: ^1.0.73 - version: 1.0.90(@types/node@18.19.33) + version: 1.0.90(@types/node@20.12.12) '@push.rocks/tapbundle': specifier: ^5.0.4 version: 5.0.23 '@types/node': - specifier: ^18.7.23 - version: 18.19.33 + specifier: ^20.12.12 + version: 20.12.12 why-is-node-running: specifier: ^2.2.2 version: 2.2.2 @@ -256,6 +256,10 @@ packages: resolution: {integrity: sha512-McytXK46GiReEps7wHWW6zOHYCFF4sywjj6auHjhGqzOogA2Wju1YtZRL+o+OAUb61kQxNFRras6Xg/4Zth0Bw==} hasBin: true + '@happy-dom/global-registrator@14.11.1': + resolution: {integrity: sha512-02MP3Dh/QYDI6IBt0MSQEHOg3sPJ3c2FxRdSSaI3JFnXW+uFyS/vHvNhH5WeXjPvw3zfuDbbjFxP7/dB79i73Q==} + engines: {node: '>=16.0.0'} + '@happy-dom/global-registrator@8.9.0': resolution: {integrity: sha512-Kw/YMNv1kmH862kQUzXM6K0Y4AW5b0I/+2EIopVc7edurBwY8LHSKd5gJzEEQvdgapSeDJowhOCgL0tkhJWi4A==} @@ -382,8 +386,8 @@ packages: '@push.rocks/smarthash@3.0.4': resolution: {integrity: sha512-HJ/fSx41jm0CvSaqMLa6b2nuNK5rHAqAeAq3dAB7Sq9BCPm2M0J5ZVDTzEAH8pS91XYniUiwuE0jwPERNn9hmw==} - '@push.rocks/smartjson@5.0.19': - resolution: {integrity: sha512-nhVvsY43VQjflAdOILoIWuLUq3dT+FQzALy/+QY06L5haBMAwhkB5iF+sjlVdFZbys6AftmwC+5IdarrXVNDsA==} + '@push.rocks/smartjson@5.0.20': + resolution: {integrity: sha512-ogGBLyOTluphZVwBYNyjhm5sziPGuiAwWihW07OSRxD4HQUyqj9Ek6r1pqH07JUG5EbtRYivM1Yt1cCwnu3JVQ==} '@push.rocks/smartlog-destination-devtools@1.0.10': resolution: {integrity: sha512-E6xRx5vhR7gh9peXjUyBwNj0H0MeaBjh+PY++PbOhUF4NDMaEuswRLRs+UN9bfbLXZQl2i4hYD1MNCesHGTVgA==} @@ -759,8 +763,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@18.19.33': - resolution: {integrity: sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==} + '@types/node@20.12.12': + resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} '@types/parse5@6.0.3': resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} @@ -1386,6 +1390,10 @@ packages: resolution: {integrity: sha512-cB507r5T3D55DfclY01GLkninZLfU7HXV/mhVRTnTRm5k2u+fY7Fof2dBkr80p5t7G7dlA/G5dI87QiMdPpMCQ==} engines: {node: '>=18'} + fake-indexeddb@6.0.0: + resolution: {integrity: sha512-YEboHE5VfopUclOck7LncgIqskAqnv4q0EWbYCaxKKjAvO93c+TJIaBuGy8CBFdbg9nKdpN3AuPRwVBJ4k7NrQ==} + engines: {node: '>=18'} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -1524,6 +1532,10 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + happy-dom@14.11.1: + resolution: {integrity: sha512-JuaGMxD3QlQei6LdAM9mMY9am/cHa978uFbkOpjN5x83DG+QQp/NLyVV4Ru7KOjs70XYZ4KbI0TNiO81nM7uQQ==} + engines: {node: '>=16.0.0'} + happy-dom@8.9.0: resolution: {integrity: sha512-JZwJuGdR7ko8L61136YzmrLv7LgTh5b8XaEM3P709mLjyQuXJ3zHTDXvUtBBahRjGlcYW0zGjIiEWizoTUGKfA==} @@ -3032,7 +3044,7 @@ snapshots: '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartfeed': 1.0.11 '@push.rocks/smartfile': 11.0.15 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartlog': 3.0.6 '@push.rocks/smartlog-destination-devtools': 1.0.10 '@push.rocks/smartlog-interfaces': 3.0.0 @@ -3069,7 +3081,7 @@ snapshots: '@api.global/typedrequest': 3.0.25 '@api.global/typedrequest-interfaces': 3.0.19 '@push.rocks/isohash': 2.0.1 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartrx': 3.0.7 '@push.rocks/smartsocket': 2.0.27 '@push.rocks/smartstring': 4.0.15 @@ -3121,7 +3133,7 @@ snapshots: '@design.estate/dees-comms': 1.0.27 '@push.rocks/lik': 6.0.15 '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartmarkdown': 3.0.3 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartrouter': 1.0.16 @@ -3257,22 +3269,22 @@ snapshots: transitivePeerDependencies: - supports-color - '@git.zone/tsrun@1.2.46(@types/node@18.19.33)': + '@git.zone/tsrun@1.2.46(@types/node@20.12.12)': dependencies: '@push.rocks/smartfile': 10.0.41 '@push.rocks/smartshell': 3.0.5 - ts-node: 10.9.2(@types/node@18.19.33)(typescript@5.1.6) + ts-node: 10.9.2(@types/node@20.12.12)(typescript@5.1.6) typescript: 5.1.6 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - '@types/node' - '@git.zone/tstest@1.0.90(@types/node@18.19.33)': + '@git.zone/tstest@1.0.90(@types/node@20.12.12)': dependencies: '@api.global/typedserver': 3.0.50 '@git.zone/tsbundle': 2.0.15 - '@git.zone/tsrun': 1.2.46(@types/node@18.19.33) + '@git.zone/tsrun': 1.2.46(@types/node@20.12.12) '@push.rocks/consolecolor': 2.0.2 '@push.rocks/smartbrowser': 2.0.6 '@push.rocks/smartdelay': 3.0.5 @@ -3293,6 +3305,10 @@ snapshots: - supports-color - utf-8-validate + '@happy-dom/global-registrator@14.11.1': + dependencies: + happy-dom: 14.11.1 + '@happy-dom/global-registrator@8.9.0': dependencies: happy-dom: 8.9.0 @@ -3491,7 +3507,7 @@ snapshots: '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartfile-interfaces': 1.0.7 '@push.rocks/smarthash': 3.0.4 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartmime': 1.0.6 '@push.rocks/smartpath': 5.0.18 '@push.rocks/smartpromise': 4.0.3 @@ -3510,7 +3526,7 @@ snapshots: '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartfile-interfaces': 1.0.7 '@push.rocks/smarthash': 3.0.4 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartmime': 1.0.6 '@push.rocks/smartpath': 5.0.18 '@push.rocks/smartpromise': 4.0.3 @@ -3525,12 +3541,12 @@ snapshots: '@push.rocks/smarthash@3.0.4': dependencies: - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartpromise': 4.0.3 '@types/through2': 2.0.41 through2: 4.0.2 - '@push.rocks/smartjson@5.0.19': + '@push.rocks/smartjson@5.0.20': dependencies: '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartstring': 4.0.15 @@ -3698,7 +3714,7 @@ snapshots: '@push.rocks/lik': 6.0.15 '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartenv': 5.0.12 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartlog': 3.0.6 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartrx': 3.0.7 @@ -3725,7 +3741,7 @@ snapshots: dependencies: '@push.rocks/isohash': 2.0.1 '@push.rocks/lik': 6.0.15 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartrx': 3.0.7 '@push.rocks/webstore': 2.0.19 @@ -3791,7 +3807,7 @@ snapshots: '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartexpect': 1.0.21 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smarttime': 4.0.6 transitivePeerDependencies: @@ -3813,7 +3829,7 @@ snapshots: dependencies: '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartenv': 5.0.12 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/webstore': 2.0.19 @@ -3828,7 +3844,7 @@ snapshots: '@api.global/typedrequest-interfaces': 3.0.19 '@push.rocks/lik': 6.0.15 '@push.rocks/smartenv': 5.0.12 - '@push.rocks/smartjson': 5.0.19 + '@push.rocks/smartjson': 5.0.20 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartrx': 3.0.7 '@tempfix/idb': 8.0.3 @@ -4015,14 +4031,14 @@ snapshots: '@types/accepts@1.3.7': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/babel__code-frame@7.0.6': {} '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/buffer-json@2.0.3': {} @@ -4034,17 +4050,17 @@ snapshots: '@types/clean-css@4.2.11': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 source-map: 0.6.1 '@types/co-body@6.1.3': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/qs': 6.9.15 '@types/connect@3.4.38': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/content-disposition@0.5.8': {} @@ -4057,11 +4073,11 @@ snapshots: '@types/connect': 3.4.38 '@types/express': 4.17.21 '@types/keygrip': 1.0.6 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/cors@2.8.17': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/debounce@1.2.4': {} @@ -4073,7 +4089,7 @@ snapshots: '@types/express-serve-static-core@4.19.1': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/qs': 6.9.15 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -4087,17 +4103,17 @@ snapshots: '@types/from2@2.3.5': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/glob@8.1.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/hast@3.0.4': dependencies: @@ -4131,7 +4147,7 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/keygrip@1.0.6': {} @@ -4148,7 +4164,7 @@ snapshots: '@types/http-errors': 2.0.4 '@types/keygrip': 1.0.6 '@types/koa-compose': 3.2.8 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/mdast@4.0.4': dependencies: @@ -4164,7 +4180,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@18.19.33': + '@types/node@20.12.12': dependencies: undici-types: 5.26.5 @@ -4183,12 +4199,12 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/send': 0.17.4 '@types/sinon-chai@3.2.12': @@ -4206,7 +4222,7 @@ snapshots: '@types/through2@2.0.41': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/trusted-types@2.0.7': {} @@ -4226,15 +4242,15 @@ snapshots: '@types/ws@7.4.7': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/ws@8.5.10': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 '@types/yauzl@2.10.3': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.12 optional: true '@ungap/structured-clone@1.2.0': {} @@ -4737,7 +4753,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 18.19.33 + '@types/node': 20.12.12 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -4864,6 +4880,8 @@ snapshots: fake-indexeddb@5.0.2: {} + fake-indexeddb@6.0.0: {} + fast-deep-equal@3.1.3: {} fast-glob@3.3.2: @@ -5044,6 +5062,12 @@ snapshots: graceful-fs@4.2.11: {} + happy-dom@14.11.1: + dependencies: + entities: 4.5.0 + webidl-conversions: 7.0.0 + whatwg-mimetype: 3.0.0 + happy-dom@8.9.0: dependencies: css.escape: 1.5.1 @@ -6507,14 +6531,14 @@ snapshots: trough@2.2.0: {} - ts-node@10.9.2(@types/node@18.19.33)(typescript@5.1.6): + ts-node@10.9.2(@types/node@20.12.12)(typescript@5.1.6): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 18.19.33 + '@types/node': 20.12.12 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a3842a1..dbc708f 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartntml', - version: '2.0.6', + version: '2.0.7', description: 'Provides lit-html rendering capabilities for backend applications.' } diff --git a/ts/index.ts b/ts/index.ts index 9949326..c9fd675 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,4 +1,5 @@ import './instrument/happydom.js'; + import * as plugins from './smartntml.plugins.js'; import * as deesElement from '@design.estate/dees-element';