fix(core): update

This commit is contained in:
Philipp Kunz 2023-07-12 19:21:36 +02:00
parent c4d6402fd9
commit 0caf48a734
7 changed files with 262 additions and 24 deletions

View File

@ -26,12 +26,12 @@
"@gitzone/tsbundle": "^2.0.6",
"@gitzone/tsrun": "^1.2.17",
"@gitzone/tstest": "^1.0.72",
"@pushrocks/tapbundle": "^5.0.4",
"@push.rocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.1"
},
"dependencies": {
"@pushrocks/isounique": "^1.0.4",
"@pushrocks/smartlog-interfaces": "^3.0.0"
"@push.rocks/isounique": "^1.0.4",
"@push.rocks/smartlog-interfaces": "^3.0.0"
},
"files": [
"ts/**/*",

260
pnpm-lock.yaml generated
View File

@ -5,10 +5,10 @@ settings:
excludeLinksFromLockfile: false
dependencies:
'@pushrocks/isounique':
'@push.rocks/isounique':
specifier: ^1.0.4
version: 1.0.5
'@pushrocks/smartlog-interfaces':
'@push.rocks/smartlog-interfaces':
specifier: ^3.0.0
version: 3.0.0
@ -25,9 +25,9 @@ devDependencies:
'@gitzone/tstest':
specifier: ^1.0.72
version: 1.0.73(@types/node@18.11.6)
'@pushrocks/tapbundle':
'@push.rocks/tapbundle':
specifier: ^5.0.4
version: 5.0.4
version: 5.0.8
'@types/node':
specifier: ^18.6.1
version: 18.11.6
@ -263,6 +263,10 @@ packages:
resolution: {integrity: sha512-ukowSvzpZQDUH0Y3znJTsY88HkiGk3Khc0WGpIPhap1xlerieYi27QBg6wx/nTurpWfU6XXXsx9ocxDYCdtw0Q==}
dev: true
/@open-wc/dedupe-mixin@1.4.0:
resolution: {integrity: sha512-Sj7gKl1TLcDbF7B6KUhtvr+1UCxdhMbNY5KxdU5IfMFWqL8oy1ZeAcCANjoB1TL0AJTcPmcCFsCbHf8X2jGDUA==}
dev: true
/@open-wc/scoped-elements@2.1.3:
resolution: {integrity: sha512-WoQD5T8Me9obek+iyjgrAMw9wxZZg4ytIteIN1i9LXW2KohezUp0LTOlWgBajWJo0/bpjUKiODX73cMYL2i3hw==}
dependencies:
@ -270,6 +274,13 @@ packages:
'@open-wc/dedupe-mixin': 1.3.1
dev: true
/@open-wc/scoped-elements@2.2.0:
resolution: {integrity: sha512-Qe+vWsuVHFzUkdChwlmJGuQf9cA3I+QOsSHULV/6qf6wsqLM2/32svNRH+rbBIMwiPEwzZprZlkvkqQRucYnVA==}
dependencies:
'@lit/reactive-element': 1.4.1
'@open-wc/dedupe-mixin': 1.4.0
dev: true
/@open-wc/semantic-dom-diff@0.13.21:
resolution: {integrity: sha512-BONpjHcGX2zFa9mfnwBCLEmlDsOHzT+j6Qt1yfK3MzFXFtAykfzFjAgaxPetu0YbBlCfXuMlfxI4vlRGCGMvFg==}
dev: true
@ -285,6 +296,17 @@ packages:
- utf-8-validate
dev: true
/@open-wc/semantic-dom-diff@0.20.0:
resolution: {integrity: sha512-qGHl3nkXluXsjpLY9bSZka/cnlrybPtJMs6RjmV/OP4ID7Gcz1uNWQks05pAhptDB1R47G6PQjdwxG8dXl1zGA==}
dependencies:
'@types/chai': 4.3.3
'@web/test-runner-commands': 0.7.0
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: true
/@open-wc/testing-helpers@2.1.3:
resolution: {integrity: sha512-hQujGaWncmWLx/974jq5yf2jydBNNTwnkISw2wLGiYgX34+3R6/ns301Oi9S3Il96Kzd8B7avdExp/gDgqcF5w==}
dependencies:
@ -293,6 +315,14 @@ packages:
lit-html: 2.4.0
dev: true
/@open-wc/testing-helpers@2.3.0:
resolution: {integrity: sha512-wkDipkia/OMWq5Z1KkAgvqNLfIOCiPGrrtfoCKuQje8u7F0Bz9Un44EwBtWcCdYtLc40quWP7XFpFsW8poIfUA==}
dependencies:
'@open-wc/scoped-elements': 2.2.0
lit: 2.4.0
lit-html: 2.4.0
dev: true
/@open-wc/testing@3.1.6:
resolution: {integrity: sha512-MIf9cBtac4/UBE5a+R5cXiRhOGfzetsV+ZPFc188AfkPDPbmffHqjrRoCyk4B/qS6fLEulSBMLSaQ+6ze971gQ==}
dependencies:
@ -310,6 +340,49 @@ packages:
- utf-8-validate
dev: true
/@open-wc/testing@3.2.0:
resolution: {integrity: sha512-9geTbFq8InbcfniPtS8KCfb5sbQ9WE6QMo1Tli8XMnfllnkZok7Az4kTRAskGQeMeQN/I2I//jE5xY/60qhrHg==}
dependencies:
'@esm-bundle/chai': 4.3.4-fix.0
'@open-wc/chai-dom-equals': 0.12.36
'@open-wc/semantic-dom-diff': 0.20.0
'@open-wc/testing-helpers': 2.3.0
'@types/chai': 4.3.3
'@types/chai-dom': 1.11.0
'@types/sinon-chai': 3.2.8
chai-a11y-axe: 1.5.0
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: true
/@push.rocks/isounique@1.0.5:
resolution: {integrity: sha512-Z0BVqZZOCif1THTbIKWMgg0wxCzt9CyBtBBqQJiZ+jJ0KlQFrQHNHrPt81/LXe/L4x0cxWsn0bpL6W5DNSvNLw==}
dev: false
/@push.rocks/smartlog-interfaces@3.0.0:
resolution: {integrity: sha512-dfRqiSolGQwaF9gWmkixWOoXZxcWBjK3u6A1CpcfhCbVr2VSUMIrZ5t74/DgdfedsTrhDqoD0NGezsMXF2pFHQ==}
dependencies:
'@apiglobal/typedrequest-interfaces': 2.0.1
dev: false
/@push.rocks/tapbundle@5.0.8:
resolution: {integrity: sha512-pH+9KtiDPBTfU7twfg+9V29lAogdJqfqdIfbB3Dlv2CKfd5hhusuGVqY0KFeR8C7Kuy4uBah9FbvgN0UYZs80A==}
dependencies:
'@open-wc/testing': 3.2.0
'@open-wc/testing-helpers': 2.3.0
'@pushrocks/smartdelay': 3.0.1
'@pushrocks/smartenv': 5.0.3
'@pushrocks/smartexpect': 1.0.15
'@pushrocks/smartpromise': 4.0.2
'@pushrocks/smarttime': 4.0.1
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: true
/@pushrocks/consolecolor@2.0.1:
resolution: {integrity: sha512-iOFCHVeFZ2OywbdwSxVI4/wokkcLrXVdHLgvMmkNhJ220eeLgjNZWx3EJo3vNW3zq5ybCSCUIq0878djBxrWpw==}
dependencies:
@ -332,6 +405,7 @@ packages:
/@pushrocks/isounique@1.0.5:
resolution: {integrity: sha512-XYeoKGkmIdsWX64NlPA1fuA41n/1bQ7LdYXytlU/QqYeW7ojgA0ARRhBSh/2phL6o0Jpw6K/7gJ8jc7ab/Tc+w==}
dev: true
/@pushrocks/lik@4.0.22:
resolution: {integrity: sha512-dg6Du7nr/SLU80yJw7a0zk2xX9Vc8SCLZaQMmSRBlsnL1/Z7qpWDOtpRC9VlL9vTLenbvwGTvPWMpOKyyNbiiA==}
@ -411,6 +485,13 @@ packages:
'@pushrocks/smartpromise': 3.1.7
dev: true
/@pushrocks/smartdelay@3.0.1:
resolution: {integrity: sha512-I+i/QhC6kLsXsWyW19UgD1vH2r1YWVxK19VMxt2CEuvxMyC6tuCd0vqud9vv5JxaxsJwxWlOsrURkgL4tXeILQ==}
deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartdelay
dependencies:
'@pushrocks/smartpromise': 4.0.2
dev: true
/@pushrocks/smartenv@5.0.3:
resolution: {integrity: sha512-/cgEDhOIo9LB5Vd2BVO9+QrjC38w872iy7w88UWuwz7obVILWOHl3MYMHAKFqXexuwKpQ/y/Klu2xQHtOPgi6Q==}
dependencies:
@ -439,6 +520,15 @@ packages:
fast-deep-equal: 3.1.3
dev: true
/@pushrocks/smartexpect@1.0.15:
resolution: {integrity: sha512-ABhsgmTqE1cfL6m0qpicZf6FdfuUip3oJR8CDr9wZwkBODKpahv7lHqeN0EjdvaJuHyqqcd3m1WaHmLPEyZ63A==}
deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartexpect
dependencies:
'@pushrocks/smartdelay': 3.0.1
'@pushrocks/smartpromise': 4.0.2
fast-deep-equal: 3.1.3
dev: true
/@pushrocks/smartexpress@4.0.21:
resolution: {integrity: sha512-QRiubmfM7DNR8aNA47zfkxkAlTAL/OyyZFlCBRz7nxJLiJ/CA6B2ptgskvG9xQTihchL9tFMTfcl5YdzjB/XoA==}
dependencies:
@ -562,12 +652,6 @@ packages:
'@apiglobal/typedrequest-interfaces': 1.0.20
dev: true
/@pushrocks/smartlog-interfaces@3.0.0:
resolution: {integrity: sha512-yjppiLLJHBcrXTJJusDbFTvHq0RTMl3LnhvWAhyyy8U0O4VkJxIls1t5mS6jsEwxogP88+0flQIWknNJeB913A==}
dependencies:
'@apiglobal/typedrequest-interfaces': 2.0.1
dev: false
/@pushrocks/smartlog@3.0.1:
resolution: {integrity: sha512-lE6BCrtZcDDjeXymHq9EK+VlrV3lhXXagFubgHiwrtX8+2xzihS3PpLE54pMARf5X5LE00xg1W0QxSzYJ9oMqg==}
dependencies:
@ -649,6 +733,11 @@ packages:
resolution: {integrity: sha512-2gLQCeviEJwZ+cHHtK2Ks98brZatGC6dPXKIs1tVgJsiNgRFjnp90fESuJ1Pmoe7RrS+7J3mO4NtsFHAJJ/y5w==}
dev: true
/@pushrocks/smartpromise@4.0.2:
resolution: {integrity: sha512-bqorOaGXPOuiOSV81luTKrTghg4O4NBRD0zyv7TIqmrMGf4a0uoozaUMp1X8vQdZW+y0gTzUJP9wkzAE6Cci0g==}
deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartpromise
dev: true
/@pushrocks/smartpuppeteer@2.0.2:
resolution: {integrity: sha512-l3tqnD6Evseofq1avHsMy2FXXEmCd4Z+nm3xmMWS7nWvP9qTbJIn0XguOBaUIAhR8zE53UKPXs5/qBqXVNZDDQ==}
dependencies:
@ -777,6 +866,19 @@ packages:
pretty-ms: 7.0.1
dev: true
/@pushrocks/smarttime@4.0.1:
resolution: {integrity: sha512-5SpUqD3X/2IZCTezCpk48Ss7cDc9QOuQAkeAYnJrRjDL4UCLakA3lBeHXRD/rsIB7S1smtXlayQ/vizfYzdbfw==}
deprecated: This package has been deprecated in favour of the new package at @push.rocks/smarttime
dependencies:
'@pushrocks/lik': 6.0.0
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartpromise': 3.1.7
croner: 5.7.0
dayjs: 1.11.6
is-nan: 1.3.2
pretty-ms: 8.0.0
dev: true
/@pushrocks/smartunique@3.0.3:
resolution: {integrity: sha512-f+c3s2WzzjASoRHyYTLU0kHDVWREg4sZVdi5L42bTA3CTUWNrcGUC62h4wP4U4BiPl3bopTr3LPhClZHJ738oA==}
dependencies:
@ -932,6 +1034,12 @@ packages:
'@types/chai': 4.3.3
dev: true
/@types/chai-dom@1.11.0:
resolution: {integrity: sha512-Aja99Mmnny+Sz+T2hBK3oEsrcy18yabplT0pGX/QwIke9jMJHdvHlV2f4Tmq5SqxTMYwt1Zjbisv/4r83EUIHw==}
dependencies:
'@types/chai': 4.3.3
dev: true
/@types/chai@4.3.3:
resolution: {integrity: sha512-hC7OMnszpxhZPduX+m+nrx+uFoLkWOMiR4oa/AZF3MuSETYTZmFfJAHqZEM8MVlvfG7BEUcgvtwoCTxBp6hm3g==}
dev: true
@ -970,6 +1078,10 @@ packages:
resolution: {integrity: sha512-tHs++ZeXer40kCF2JpE51Hg7t4HPa18B1b1Dzy96S0eCw8QKECNMYMfwa1edK/x8yCN0r4e6ewvLcc5CsVGkdg==}
dev: true
/@types/convert-source-map@2.0.0:
resolution: {integrity: sha512-QUm4YOC/ENo0VjPVl2o8HGyTbHHQGDOw8PCg3rXBucYHKyZN/XjXRbPFAV1tB2FvM0/wyFoDct4cTIctzKrQFg==}
dev: true
/@types/cookie@0.4.1:
resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==}
dev: true
@ -1249,6 +1361,13 @@ packages:
errorstacks: 2.4.0
dev: true
/@web/browser-logs@0.3.3:
resolution: {integrity: sha512-wt8arj0x7ghXbnipgCvLR+xQ90cFg16ae23cFbInCrJvAxvyI22bAtT24W4XOXMPXwWLBVUJwBgBcXo3oKIvDw==}
engines: {node: '>=16.0.0'}
dependencies:
errorstacks: 2.4.0
dev: true
/@web/dev-server-core@0.3.19:
resolution: {integrity: sha512-Q/Xt4RMVebLWvALofz1C0KvP8qHbzU1EmdIA2Y1WMPJwiFJFhPxdr75p9YxK32P2t0hGs6aqqS5zE0HW9wYzYA==}
engines: {node: '>=10.0.0'}
@ -1277,6 +1396,34 @@ packages:
- utf-8-validate
dev: true
/@web/dev-server-core@0.5.2:
resolution: {integrity: sha512-7YjWmwzM+K5fPvBCXldUIMTK4EnEufi1aWQWinQE81oW1CqzEwmyUNCtnWV9fcPA4kJC4qrpcjWNGF4YDWxuSg==}
engines: {node: '>=16.0.0'}
dependencies:
'@types/koa': 2.13.5
'@types/ws': 7.4.7
'@web/parse5-utils': 2.0.0
chokidar: 3.5.3
clone: 2.1.2
es-module-lexer: 1.1.0
get-stream: 6.0.1
is-stream: 2.0.1
isbinaryfile: 5.0.0
koa: 2.13.4
koa-etag: 4.0.0
koa-send: 5.0.1
koa-static: 5.0.0
lru-cache: 8.0.5
mime-types: 2.1.35
parse5: 6.0.1
picomatch: 2.3.1
ws: 7.5.9
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: true
/@web/parse5-utils@1.3.0:
resolution: {integrity: sha512-Pgkx3ECc8EgXSlS5EyrgzSOoUbM6P8OKS471HLAyvOBcP1NCBn0to4RN/OaKASGq8qa3j+lPX9H14uA5AHEnQg==}
engines: {node: '>=10.0.0'}
@ -1285,6 +1432,14 @@ packages:
parse5: 6.0.1
dev: true
/@web/parse5-utils@2.0.0:
resolution: {integrity: sha512-9pxjAg1k0Ie3t4gTQr/nmoTrvq6wmP40MNPwaetaN+jPc328MpO+WzmEApvJOW65v7lamjlvYFDsdvG8Lrd87Q==}
engines: {node: '>=16.0.0'}
dependencies:
'@types/parse5': 6.0.3
parse5: 6.0.1
dev: true
/@web/test-runner-commands@0.6.5:
resolution: {integrity: sha512-W+wLg10jEAJY9N6tNWqG1daKmAzxGmTbO/H9fFfcgOgdxdn+hHiR4r2/x1iylKbFLujHUQlnjNQeu2d6eDPFqg==}
engines: {node: '>=12.0.0'}
@ -1297,6 +1452,18 @@ packages:
- utf-8-validate
dev: true
/@web/test-runner-commands@0.7.0:
resolution: {integrity: sha512-3aXeGrkynOdJ5jgZu5ZslcWmWuPVY9/HNdWDUqPyNePG08PKmLV9Ij342ODDL6OVsxF5dvYn1312PhDqu5AQNw==}
engines: {node: '>=16.0.0'}
dependencies:
'@web/test-runner-core': 0.11.2
mkdirp: 1.0.4
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: true
/@web/test-runner-core@0.10.27:
resolution: {integrity: sha512-ClV/hSxs4wDm/ANFfQOdRRFb/c0sYywC1QfUXG/nS4vTp3nnt7x7mjydtMGGLmvK9f6Zkubkc1aa+7ryfmVwNA==}
engines: {node: '>=12.0.0'}
@ -1333,6 +1500,42 @@ packages:
- utf-8-validate
dev: true
/@web/test-runner-core@0.11.2:
resolution: {integrity: sha512-7padi7pGg2xSW/i6iSApUwxlNaHv2bFBM+MiivkzJ0vet/a/+Fz35bOo8L8Ra7b/1my4VYBsPcWX0PVPowbXRg==}
engines: {node: '>=16.0.0'}
dependencies:
'@babel/code-frame': 7.18.6
'@types/babel__code-frame': 7.0.3
'@types/co-body': 6.1.0
'@types/convert-source-map': 2.0.0
'@types/debounce': 1.2.1
'@types/istanbul-lib-coverage': 2.0.4
'@types/istanbul-reports': 3.0.1
'@web/browser-logs': 0.3.3
'@web/dev-server-core': 0.5.2
chokidar: 3.5.3
cli-cursor: 3.1.0
co-body: 6.1.0
convert-source-map: 2.0.0
debounce: 1.2.1
dependency-graph: 0.11.0
globby: 11.1.0
ip: 1.1.8
istanbul-lib-coverage: 3.2.0
istanbul-lib-report: 3.0.0
istanbul-reports: 3.1.5
log-update: 4.0.0
nanocolors: 0.2.13
nanoid: 3.3.4
open: 8.4.0
picomatch: 2.3.1
source-map: 0.7.4
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: true
/@xmldom/xmldom@0.8.3:
resolution: {integrity: sha512-Lv2vySXypg4nfa51LY1nU8yDAGo/5YwF+EY/rUZgIbfvwVARcd67ttCM8SMsTeJy51YhHYavEq+FS6R0hW9PFQ==}
engines: {node: '>=10.0.0'}
@ -1610,6 +1813,12 @@ packages:
axe-core: 4.5.0
dev: true
/chai-a11y-axe@1.5.0:
resolution: {integrity: sha512-V/Vg/zJDr9aIkaHJ2KQu7lGTQQm5ZOH4u1k5iTMvIXuSVlSuUo0jcSpSqf9wUn9zl6oQXa4e4E0cqH18KOgKlQ==}
dependencies:
axe-core: 4.5.0
dev: true
/chalk@2.4.2:
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
engines: {node: '>=4'}
@ -1735,6 +1944,10 @@ packages:
resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
dev: true
/convert-source-map@2.0.0:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
dev: true
/cookie-signature@1.0.6:
resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=}
dev: true
@ -1777,6 +1990,11 @@ packages:
resolution: {integrity: sha512-aqVeeIPCf5/NZFlz4mN4MLEOs9xf4ODCmHQDs+577JFj8mK3RkKJz77h7+Rn94AijUqKdFNOUHM+v88d8p02UQ==}
dev: true
/croner@5.7.0:
resolution: {integrity: sha512-9pSLe+tDJnmNak2JeMkz6ZmTCXP5p6vCxSd4kvDqrTJkqAP62j2uAEIZjf8cPDZIakStujqVzh5Y5MIWH3yYAw==}
engines: {node: '>=6.0'}
dev: true
/cross-fetch@3.1.5:
resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==}
dependencies:
@ -2842,6 +3060,11 @@ packages:
engines: {node: '>= 8.0.0'}
dev: true
/isbinaryfile@5.0.0:
resolution: {integrity: sha512-UDdnyGvMajJUWCkib7Cei/dvyJrrvo4FIrsvSFWdPpXSUorzXrDJ0S+X5Q4ZlasfPjca4yqCNNsjbCeiy8FFeg==}
engines: {node: '>= 14.0.0'}
dev: true
/isexe@2.0.0:
resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=}
dev: true
@ -3121,6 +3344,11 @@ packages:
engines: {node: '>=12'}
dev: true
/lru-cache@8.0.5:
resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==}
engines: {node: '>=16.14'}
dev: true
/make-dir@3.1.0:
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
engines: {node: '>=8'}
@ -3406,6 +3634,11 @@ packages:
engines: {node: '>=6'}
dev: true
/parse-ms@3.0.0:
resolution: {integrity: sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==}
engines: {node: '>=12'}
dev: true
/parse5@6.0.1:
resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==}
dev: true
@ -3498,6 +3731,13 @@ packages:
parse-ms: 2.1.0
dev: true
/pretty-ms@8.0.0:
resolution: {integrity: sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==}
engines: {node: '>=14.16'}
dependencies:
parse-ms: 3.0.0
dev: true
/process-nextick-args@2.0.1:
resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
dev: true

View File

@ -1,4 +1,4 @@
import { expect, tap } from '@pushrocks/tapbundle';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartlog from '../ts/index.js';
let testConsoleLog: smartlog.ConsoleLog;

View File

@ -1,4 +1,4 @@
import { expect, tap } from '@pushrocks/tapbundle';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartlog from '../ts/index.js';
let testConsoleLog: smartlog.ConsoleLog;

View File

@ -2,7 +2,7 @@
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartlog',
version: '3.0.2',
name: '@push.rocks/smartlog',
version: '3.0.3',
description: 'minimalistic distributed and extensible logging tool'
}

View File

@ -1,21 +1,19 @@
import * as plugins from './smartlog.plugins.js';
import { ILogDestination, ILogPackage } from '@pushrocks/smartlog-interfaces';
export class LogRouter {
/**
* all log destinations
*/
private logDestinations: ILogDestination[] = [];
private logDestinations: plugins.smartlogInterfaces.ILogDestination[] = [];
constructor() {}
public addLogDestination(logDestination: ILogDestination) {
public addLogDestination(logDestination: plugins.smartlogInterfaces.ILogDestination) {
this.logDestinations.push(logDestination);
}
// routes the log according to added logDestinations
public async routeLog(logPackageArg: ILogPackage) {
public async routeLog(logPackageArg: plugins.smartlogInterfaces.ILogPackage) {
for (const logDestination of this.logDestinations) {
await logDestination.handleLog(logPackageArg);
}

View File

@ -1,4 +1,4 @@
import * as isounique from '@pushrocks/isounique';
import * as smartlogInterfaces from '@pushrocks/smartlog-interfaces';
import * as isounique from '@push.rocks/isounique';
import * as smartlogInterfaces from '@push.rocks/smartlog-interfaces';
export { isounique, smartlogInterfaces };