From a2f6bccac25c46e998c6318e82d58608785bba76 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 7 Jan 2023 19:05:29 +0100 Subject: [PATCH] fix(core): update --- package.json | 5 +- pnpm-lock.yaml | 403 +++++++++--------- ts/00_commitinfo_data.ts | 2 +- ...skbuffer.classes.distributedcoordinator.ts | 12 +- ts/taskbuffer.classes.taskmanager.ts | 15 +- ts/taskbuffer.plugins.ts | 5 +- 6 files changed, 239 insertions(+), 203 deletions(-) diff --git a/package.json b/package.json index fd3974a..5a8b1c8 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,13 @@ }, "homepage": "https://gitlab.com/pushrocks/taskbuffer#readme", "dependencies": { + "@pushrocks/isounique": "^1.0.5", "@pushrocks/lik": "^6.0.0", "@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartlog": "^3.0.1", "@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartrx": "^3.0.0", - "@pushrocks/smarttime": "^3.0.45" + "@pushrocks/smarttime": "^4.0.1" }, "devDependencies": { "@gitzone/tsbuild": "^2.1.63", @@ -41,7 +42,7 @@ "@gitzone/tsrun": "^1.2.39", "@gitzone/tstest": "^1.0.72", "@pushrocks/tapbundle": "^5.0.4", - "@types/node": "^18.6.3" + "@types/node": "^18.11.18" }, "files": [ "ts/**/*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6dd7881..ea27b4c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,30 +5,32 @@ specifiers: '@gitzone/tsbundle': ^2.0.6 '@gitzone/tsrun': ^1.2.39 '@gitzone/tstest': ^1.0.72 + '@pushrocks/isounique': ^1.0.5 '@pushrocks/lik': ^6.0.0 '@pushrocks/smartdelay': ^2.0.13 '@pushrocks/smartlog': ^3.0.1 '@pushrocks/smartpromise': ^3.1.7 '@pushrocks/smartrx': ^3.0.0 - '@pushrocks/smarttime': ^3.0.45 + '@pushrocks/smarttime': ^4.0.1 '@pushrocks/tapbundle': ^5.0.4 - '@types/node': ^18.6.3 + '@types/node': ^18.11.18 dependencies: + '@pushrocks/isounique': 1.0.5 '@pushrocks/lik': 6.0.0 '@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartlog': 3.0.2 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 3.0.0 - '@pushrocks/smarttime': 3.0.45 + '@pushrocks/smarttime': 4.0.1 devDependencies: '@gitzone/tsbuild': 2.1.65 '@gitzone/tsbundle': 2.0.7 - '@gitzone/tsrun': 1.2.39_@types+node@18.11.9 - '@gitzone/tstest': 1.0.74_@types+node@18.11.9 + '@gitzone/tsrun': 1.2.39_@types+node@18.11.18 + '@gitzone/tstest': 1.0.74_@types+node@18.11.18 '@pushrocks/tapbundle': 5.0.4 - '@types/node': 18.11.9 + '@types/node': 18.11.18 packages: @@ -63,14 +65,14 @@ packages: - supports-color dev: true - /@apiglobal/typedsocket/2.0.12: - resolution: {integrity: sha512-z/inZRsUT2xWpYwjrpwNhEo1c1cZ1sZtOMZouj88bkuHhUO9Rm6L3U0sNK2S/FA0WosBOxXxM4MXE90dQWb3bA==} + /@apiglobal/typedsocket/2.0.18: + resolution: {integrity: sha512-r9Y8SSa5t2v3Ow9ZUqZXizqmMxoIx3kvOY71+lAOp4fUMKh102n+0nqZ+2sVKYMYspkZKE7obtKLOm4HjZ5FhQ==} dependencies: '@apiglobal/typedrequest': 2.0.12 '@apiglobal/typedrequest-interfaces': 2.0.1 '@pushrocks/isohash': 2.0.0 '@pushrocks/smartjson': 5.0.5 - '@pushrocks/smartsocket': 2.0.7 + '@pushrocks/smartsocket': 2.0.14 '@pushrocks/smartstring': 4.0.5 transitivePeerDependencies: - bufferutil @@ -132,7 +134,7 @@ packages: '@pushrocks/smartlog': 3.0.2 '@pushrocks/smartpath': 5.0.5 '@pushrocks/smartpromise': 3.1.7 - typescript: 4.8.4 + typescript: 4.9.4 transitivePeerDependencies: - supports-color dev: true @@ -150,22 +152,22 @@ packages: '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartspawn': 3.0.2 '@types/html-minifier': 4.0.2 - '@types/node': 18.11.9 + '@types/node': 18.11.18 esbuild: 0.14.54 html-minifier: 4.0.0 - typescript: 4.8.4 + typescript: 4.9.4 transitivePeerDependencies: - supports-color dev: true - /@gitzone/tsrun/1.2.39_@types+node@18.11.9: + /@gitzone/tsrun/1.2.39_@types+node@18.11.18: resolution: {integrity: sha512-gLqKOic3T1GIdqsp+T5g1OewfboMJKKMr7/SJgBuMx4BUEBfW7TYhqk6psgfewhHs/zKII5rWbbPauykkKlYIg==} hasBin: true dependencies: '@pushrocks/smartfile': 10.0.5 '@pushrocks/smartshell': 2.0.30 - ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54 - typescript: 4.8.4 + ts-node: 10.9.1_awa2wsr5thmg3i7jqycphctjfq + typescript: 4.9.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -173,16 +175,16 @@ packages: - supports-color dev: true - /@gitzone/tstest/1.0.74_@types+node@18.11.9: + /@gitzone/tstest/1.0.74_@types+node@18.11.18: resolution: {integrity: sha512-6V8bsfvpnODWqrkdooVqcOS1z5GA8dMDnLCOHnr/SUTeie3ox8KGpckwiZ+gTfz9WvzX6+KLVTZNYKGOaNbmMQ==} hasBin: true dependencies: '@gitzone/tsbundle': 2.0.7 - '@gitzone/tsrun': 1.2.39_@types+node@18.11.9 + '@gitzone/tsrun': 1.2.39_@types+node@18.11.18 '@pushrocks/consolecolor': 2.0.1 '@pushrocks/smartbrowser': 2.0.5 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartexpress': 4.0.21 + '@pushrocks/smartexpress': 4.0.23 '@pushrocks/smartfile': 10.0.5 '@pushrocks/smartlog': 3.0.2 '@pushrocks/smartpromise': 3.1.7 @@ -219,8 +221,8 @@ packages: resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==} dev: true - /@lit/reactive-element/1.4.2: - resolution: {integrity: sha512-VMOxsWh/QDwrxPsgkSQnuZ+8mfNy1OTjzzUdLBvvZtpahwPTHTeVZ51RZRqO4xfKVrR+btIPA8D01IL3xeG66w==} + /@lit/reactive-element/1.5.0: + resolution: {integrity: sha512-fQh9FDK0LPTwDk+0HhSZEtb8K0LTN1wXerwpGrWA+a8tWulYRDLI4vQDWp4GOIsewn0572KYV/oZ3+492D7osA==} dev: true /@nodelib/fs.scandir/2.1.5: @@ -241,7 +243,7 @@ packages: engines: {node: '>= 8'} dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.13.0 + fastq: 1.15.0 dev: true /@open-wc/chai-dom-equals/0.12.36: @@ -258,7 +260,7 @@ packages: /@open-wc/scoped-elements/2.1.3: resolution: {integrity: sha512-WoQD5T8Me9obek+iyjgrAMw9wxZZg4ytIteIN1i9LXW2KohezUp0LTOlWgBajWJo0/bpjUKiODX73cMYL2i3hw==} dependencies: - '@lit/reactive-element': 1.4.2 + '@lit/reactive-element': 1.5.0 '@open-wc/dedupe-mixin': 1.3.1 dev: true @@ -277,21 +279,21 @@ packages: - utf-8-validate dev: true - /@open-wc/testing-helpers/2.1.3: - resolution: {integrity: sha512-hQujGaWncmWLx/974jq5yf2jydBNNTwnkISw2wLGiYgX34+3R6/ns301Oi9S3Il96Kzd8B7avdExp/gDgqcF5w==} + /@open-wc/testing-helpers/2.1.4: + resolution: {integrity: sha512-iZJxxKI9jRgnPczm8p2jpuvBZ3DHYSLrBmhDfzs7ol8vXMNt+HluzM1j1TSU95MFVGnfaspvvt9fMbXKA7cNcA==} dependencies: '@open-wc/scoped-elements': 2.1.3 - lit: 2.4.1 - lit-html: 2.4.0 + lit: 2.5.0 + lit-html: 2.5.0 dev: true - /@open-wc/testing/3.1.6: - resolution: {integrity: sha512-MIf9cBtac4/UBE5a+R5cXiRhOGfzetsV+ZPFc188AfkPDPbmffHqjrRoCyk4B/qS6fLEulSBMLSaQ+6ze971gQ==} + /@open-wc/testing/3.1.7: + resolution: {integrity: sha512-HCS2LuY6hXtEwjqmad+eanId5H7E+3mUi9Z3rjAhH+1DCJ53lUnjzWF1lbCYbREqrdCpmzZvW1t5R3e9gJZSCA==} dependencies: '@esm-bundle/chai': 4.3.4-fix.0 '@open-wc/chai-dom-equals': 0.12.36 '@open-wc/semantic-dom-diff': 0.19.7 - '@open-wc/testing-helpers': 2.1.3 + '@open-wc/testing-helpers': 2.1.4 '@types/chai': 4.3.4 '@types/chai-dom': 0.0.12 '@types/sinon-chai': 3.2.9 @@ -318,7 +320,7 @@ packages: /@pushrocks/isohash/2.0.0: resolution: {integrity: sha512-a6Vktczk0Q39hBYTuAFqa12QNhy5GcFYhnJ5pqzpE5r3rj3FSS8HLqsoBUwB3b9YHGKYnbky9C3YNhMmFvoLPg==} dependencies: - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.5 '@pushrocks/smarthash': 2.1.10 dev: true @@ -332,7 +334,7 @@ packages: '@pushrocks/smartmatch': 1.0.7 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 - '@pushrocks/smarttime': 3.0.45 + '@pushrocks/smarttime': 3.0.50 '@types/minimatch': 3.0.5 symbol-tree: 3.2.4 dev: true @@ -344,7 +346,7 @@ packages: '@pushrocks/smartmatch': 1.0.7 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 - '@pushrocks/smarttime': 3.0.45 + '@pushrocks/smarttime': 3.0.50 '@types/minimatch': 3.0.5 symbol-tree: 3.2.4 @@ -355,7 +357,7 @@ packages: '@pushrocks/smartmatch': 1.0.7 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 - '@pushrocks/smarttime': 3.0.45 + '@pushrocks/smarttime': 3.0.50 '@types/minimatch': 3.0.5 '@types/symbol-tree': 3.2.2 symbol-tree: 3.2.4 @@ -381,7 +383,7 @@ packages: '@pushrocks/smarterror': 2.0.1 '@pushrocks/smarthash': 3.0.1 '@pushrocks/smartpromise': 3.1.7 - '@pushrocks/smarttime': 3.0.45 + '@pushrocks/smarttime': 3.0.50 dev: true /@pushrocks/smartcli/4.0.6: @@ -400,8 +402,8 @@ packages: dependencies: '@pushrocks/smartpromise': 3.1.7 - /@pushrocks/smartenv/5.0.3: - resolution: {integrity: sha512-/cgEDhOIo9LB5Vd2BVO9+QrjC38w872iy7w88UWuwz7obVILWOHl3MYMHAKFqXexuwKpQ/y/Klu2xQHtOPgi6Q==} + /@pushrocks/smartenv/5.0.5: + resolution: {integrity: sha512-VWON1OJ4qV2/9hzJbgRquRekaO9am3b8W82tgCwgO6LBg23ea2tanfd+gESVMbRFduxHVoFLvlhSBcDGM5zsLA==} dependencies: '@pushrocks/smartpromise': 3.1.7 dev: true @@ -428,14 +430,14 @@ packages: fast-deep-equal: 3.1.3 dev: true - /@pushrocks/smartexpress/4.0.21: - resolution: {integrity: sha512-QRiubmfM7DNR8aNA47zfkxkAlTAL/OyyZFlCBRz7nxJLiJ/CA6B2ptgskvG9xQTihchL9tFMTfcl5YdzjB/XoA==} + /@pushrocks/smartexpress/4.0.23: + resolution: {integrity: sha512-4FFmANjJs84byn554FslB43igZ9LXGvwevGxh8LcsEOLHzvhpWiIsiRuKPXAC0KnWUshD5KBKNVa/p7QrHu4wA==} dependencies: '@apiglobal/typedrequest': 2.0.12 - '@apiglobal/typedsocket': 2.0.12 + '@apiglobal/typedsocket': 2.0.18 '@pushrocks/lik': 6.0.0 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.5 '@pushrocks/smartfeed': 1.0.11 '@pushrocks/smartfile': 10.0.5 '@pushrocks/smartmanifest': 1.0.8 @@ -444,11 +446,11 @@ packages: '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrequest': 2.0.11 '@pushrocks/smartsitemap': 2.0.1 - '@pushrocks/smarttime': 3.0.45 - '@tsclass/tsclass': 4.0.27 + '@pushrocks/smarttime': 3.0.50 + '@tsclass/tsclass': 4.0.28 '@types/compression': 1.7.2 - '@types/cors': 2.8.12 - '@types/express': 4.17.14 + '@types/cors': 2.8.13 + '@types/express': 4.17.15 '@types/finalhandler': 1.2.0 body-parser: 1.20.1 cors: 2.8.5 @@ -502,7 +504,7 @@ packages: dependencies: '@pushrocks/smartjson': 4.0.6 '@pushrocks/smartpromise': 3.1.7 - '@types/through2': 2.0.37 + '@types/through2': 2.0.38 through2: 4.0.2 dev: true @@ -511,7 +513,7 @@ packages: dependencies: '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartpromise': 3.1.7 - '@types/through2': 2.0.37 + '@types/through2': 2.0.38 through2: 4.0.2 dev: true @@ -586,7 +588,7 @@ packages: '@types/default-gateway': 3.0.1 isopen: 1.3.0 public-ip: 6.0.1 - systeminformation: 5.12.13 + systeminformation: 5.17.1 dev: true /@pushrocks/smartparam/1.1.6: @@ -611,8 +613,8 @@ packages: '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpuppeteer': 2.0.2 '@pushrocks/smartunique': 3.0.3 - '@tsclass/tsclass': 4.0.27 - '@types/express': 4.17.14 + '@tsclass/tsclass': 4.0.28 + '@types/express': 4.17.15 express: 4.18.2 pdf-merger-js: 3.4.0 pdf2json: 2.1.0 @@ -662,14 +664,13 @@ packages: resolution: {integrity: sha512-aFRpGxDZgHH1mpmkRBTFwuIVqFiDxk22n2vX2gW4hntV0nJGlt9M9dixMFFXGUjabwX9hHW7y60QPJm2rKaypA==} dependencies: '@pushrocks/smartpromise': 3.1.7 - rxjs: 7.5.7 + rxjs: 7.8.0 /@pushrocks/smartrx/3.0.0: resolution: {integrity: sha512-PwWmgEC3nKLoZYvOOfQhCQeesFOLNtbutxvkr/H06BfK3UgBFgnjMrVycjeaQlEWh+fgcwV3ZxZSgzMBsba8qg==} dependencies: '@pushrocks/smartpromise': 3.1.7 - rxjs: 7.5.7 - dev: false + rxjs: 7.8.0 /@pushrocks/smartshell/2.0.30: resolution: {integrity: sha512-HPgdTFzfzhk2TQau/jVdYNSANlxyBZdqq2vyZ+bZahegVHfH/27Zur5Fk+2vE16VJjJMqP7zcvDITUe2+ipgJg==} @@ -695,23 +696,23 @@ packages: - supports-color dev: true - /@pushrocks/smartsocket/2.0.7: - resolution: {integrity: sha512-xoBdecjxQH5cYlMyzmZ6qoBUlC136HVc4nIjlEqohaI3itNyJI6hmU0FDBFLrgCEKKNJx6PB1NUJJMhHY6lwyw==} + /@pushrocks/smartsocket/2.0.14: + resolution: {integrity: sha512-2vzQvZT1KeUzKtVT8YC4OFdNE/RhLYORr2t4elPy3PggPIXlmpGtR0zurbSFfYX9s7K/ctFr4nX/oQITAGBT+A==} dependencies: - '@apiglobal/typedrequest-interfaces': 1.0.20 + '@apiglobal/typedrequest-interfaces': 2.0.1 '@pushrocks/isohash': 2.0.0 '@pushrocks/isounique': 1.0.5 '@pushrocks/lik': 6.0.0 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 - '@pushrocks/smartexpress': 4.0.21 + '@pushrocks/smartenv': 5.0.5 + '@pushrocks/smartexpress': 4.0.23 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartlog': 3.0.2 '@pushrocks/smartpromise': 3.1.7 - '@pushrocks/smartrx': 2.0.27 - '@pushrocks/smarttime': 3.0.45 - socket.io: 4.5.3 - socket.io-client: 4.5.3 + '@pushrocks/smartrx': 3.0.0 + '@pushrocks/smarttime': 4.0.1 + socket.io: 4.5.4 + socket.io-client: 4.5.4 transitivePeerDependencies: - bufferutil - supports-color @@ -734,8 +735,8 @@ packages: dependencies: '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 - '@types/from2': 2.3.1 - '@types/through2': 2.0.37 + '@types/from2': 2.3.2 + '@types/through2': 2.0.38 from2: 2.3.0 through2: 4.0.2 dev: true @@ -744,28 +745,39 @@ packages: resolution: {integrity: sha512-g9a/Mfj+eJAUrTDQoH3oaYegjI98WlVoSLAI8lpExQ/STlEJGO5ZdWDqgZ0HvHe+5UeWvxzCFpHifqRhMUJ+dQ==} dependencies: '@pushrocks/isounique': 1.0.5 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.5 '@types/randomatic': 3.1.3 buffer: 6.0.3 crypto-random-string: 4.0.0 - js-base64: 3.7.2 + js-base64: 3.7.3 normalize-newline: 4.1.0 randomatic: 3.1.1 strip-indent: 4.0.0 url: 0.11.0 dev: true - /@pushrocks/smarttime/3.0.45: - resolution: {integrity: sha512-3E/92Qmq7h2SpaA1TcVmWD02forTNQqEPE7xpk2dv/ussr/qb3WiM/c/D7Oe4lLuPxit0aJrcZlbtQs0H79uRg==} + /@pushrocks/smarttime/3.0.50: + resolution: {integrity: sha512-44NgDuNukCQIlPJFNORcDugp36Yj6HT6eZEWtn4M4HKlTFCQ8De+ztwGg+gRceucJ202zqLRKrXoh8dVdS3BaQ==} dependencies: '@pushrocks/lik': 5.0.7 '@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartpromise': 3.1.7 croner: 4.4.1 - dayjs: 1.11.6 + dayjs: 1.11.7 is-nan: 1.3.2 pretty-ms: 7.0.1 + /@pushrocks/smarttime/4.0.1: + resolution: {integrity: sha512-5SpUqD3X/2IZCTezCpk48Ss7cDc9QOuQAkeAYnJrRjDL4UCLakA3lBeHXRD/rsIB7S1smtXlayQ/vizfYzdbfw==} + dependencies: + '@pushrocks/lik': 6.0.0 + '@pushrocks/smartdelay': 2.0.13 + '@pushrocks/smartpromise': 3.1.7 + croner: 5.3.5 + dayjs: 1.11.7 + is-nan: 1.3.2 + pretty-ms: 8.0.0 + /@pushrocks/smartunique/3.0.3: resolution: {integrity: sha512-f+c3s2WzzjASoRHyYTLU0kHDVWREg4sZVdi5L42bTA3CTUWNrcGUC62h4wP4U4BiPl3bopTr3LPhClZHJ738oA==} dependencies: @@ -797,8 +809,8 @@ packages: dependencies: '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 - '@types/from2': 2.3.1 - '@types/through2': 2.0.37 + '@types/from2': 2.3.2 + '@types/through2': 2.0.38 from2: 2.3.0 through2: 4.0.2 dev: true @@ -806,12 +818,12 @@ packages: /@pushrocks/tapbundle/5.0.4: resolution: {integrity: sha512-sEUepgMsH+abdtBGN0FSTHhJzG/IpZ1XVDm8YF6ma21A6Z8DUXTbEbpGWC/Goi2HCSkgHNxmgMSshT1zAO/xXA==} dependencies: - '@open-wc/testing': 3.1.6 + '@open-wc/testing': 3.1.7 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.5 '@pushrocks/smartexpect': 1.0.14 '@pushrocks/smartpromise': 3.1.7 - '@pushrocks/smarttime': 3.0.45 + '@pushrocks/smarttime': 3.0.50 transitivePeerDependencies: - bufferutil - supports-color @@ -823,7 +835,7 @@ packages: dependencies: '@adobe/helix-fetch': 3.1.2 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.5 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/webstore': 2.0.5 @@ -836,11 +848,11 @@ packages: dependencies: '@apiglobal/typedrequest-interfaces': 1.0.20 '@pushrocks/lik': 6.0.0 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.5 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 - fake-indexeddb: 4.0.0 + fake-indexeddb: 4.0.1 idb: 7.1.1 dev: true @@ -872,10 +884,10 @@ packages: type-fest: 2.19.0 dev: true - /@tsclass/tsclass/4.0.27: - resolution: {integrity: sha512-bljXAsgl1dHha2O9jSd1q8nCkYTswXdTUFqqcIKu25QsWb9g7uJyOXCG5YH9i82BhHRJurDaMfXPz/fXCktKMw==} + /@tsclass/tsclass/4.0.28: + resolution: {integrity: sha512-69OUcb9hR1PYTCHwxsyJhlE7jUJKYZMl4tQWagN7Kmv8gIWRvjfPecNQTUSmSYx6N99z4l+0E/WJ6h18EiDJWg==} dependencies: - type-fest: 3.2.0 + type-fest: 3.5.1 dev: true /@tsconfig/node10/1.0.9: @@ -897,7 +909,7 @@ packages: /@types/accepts/1.3.5: resolution: {integrity: sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/babel__code-frame/7.0.3: @@ -908,7 +920,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/buffer-json/2.0.1: @@ -928,27 +940,27 @@ packages: /@types/clean-css/4.2.6: resolution: {integrity: sha512-Ze1tf+LnGPmG6hBFMi0B4TEB0mhF7EiMM5oyjLDNPE9hxrPU0W+5+bHvO+eFPA+bt0iC1zkQMoU/iGdRVjcRbw==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 source-map: 0.6.1 dev: true /@types/co-body/6.1.0: resolution: {integrity: sha512-3e0q2jyDAnx/DSZi0z2H0yoZ2wt5yRDZ+P7ymcMObvq0ufWRT4tsajyO+Q1VwVWiv9PRR4W3YEjEzBjeZlhF+w==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 '@types/qs': 6.9.7 dev: true /@types/compression/1.7.2: resolution: {integrity: sha512-lwEL4M/uAGWngWFLSG87ZDr2kLrbuR8p7X+QZB1OQlT+qkHsCPDVFnHPyXf4Vyl4yDDorNY+mAhosxkCvppatg==} dependencies: - '@types/express': 4.17.14 + '@types/express': 4.17.15 dev: true /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/content-disposition/0.5.5: @@ -967,13 +979,15 @@ packages: resolution: {integrity: sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==} dependencies: '@types/connect': 3.4.35 - '@types/express': 4.17.14 + '@types/express': 4.17.15 '@types/keygrip': 1.0.2 - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true - /@types/cors/2.8.12: - resolution: {integrity: sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==} + /@types/cors/2.8.13: + resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==} + dependencies: + '@types/node': 18.11.18 dev: true /@types/debounce/1.2.1: @@ -984,19 +998,19 @@ packages: resolution: {integrity: sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ==} dev: true - /@types/express-serve-static-core/4.17.31: - resolution: {integrity: sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==} + /@types/express-serve-static-core/4.17.32: + resolution: {integrity: sha512-aI5h/VOkxOF2Z1saPy0Zsxs5avets/iaiAJYznQFm5By/pamU31xWKL//epiF4OfUA2qTOc9PV6tCUjhO8wlZA==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: true - /@types/express/4.17.14: - resolution: {integrity: sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg==} + /@types/express/4.17.15: + resolution: {integrity: sha512-Yv0k4bXGOH+8a+7bELd2PqHQsuiANB+A8a4gnQrkRWzrkKlb6KHaVvyXhqs04sVW/OWlbPyYxRgYlIXLfrufMQ==} dependencies: '@types/body-parser': 1.19.2 - '@types/express-serve-static-core': 4.17.31 + '@types/express-serve-static-core': 4.17.32 '@types/qs': 6.9.7 '@types/serve-static': 1.15.0 dev: true @@ -1011,26 +1025,26 @@ packages: /@types/finalhandler/1.2.0: resolution: {integrity: sha512-NgEZKOhxUSXkwNnWNaMXZaopQ5aFGPAYiEpEWIkQ6Dzc4iS0M1oQsvWne2t+ex9QZUAdTz/ZT4tOXJhWtP6mCw==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true - /@types/from2/2.3.1: - resolution: {integrity: sha512-l7kKtohAc5h0CKh6vFMv5WcWvQx40KE6dQneUg22i8c1mwxhVPbN781bYts/mYXxSBrQMhNxkhwg18QY0MfeOg==} + /@types/from2/2.3.2: + resolution: {integrity: sha512-s1pdctxW2+CA4FOxxTBRxC3RKQL9Br1a2s2LngP4jh1BI84JBL3mDXj87EwcckN9z/IXp8o3ySmvZveGEAAwqw==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/glob/8.0.0: resolution: {integrity: sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/html-minifier/4.0.2: @@ -1097,17 +1111,17 @@ packages: '@types/http-errors': 2.0.1 '@types/keygrip': 1.0.2 '@types/koa-compose': 3.2.5 - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/lodash.clonedeep/4.5.7: resolution: {integrity: sha512-ccNqkPptFIXrpVqUECi60/DFxjNKsfoQxSQsgcBJCX/fuX1wgyQieojkcWH/KpE3xzLoWN/2k+ZeGqIN3paSvw==} dependencies: - '@types/lodash': 4.14.188 + '@types/lodash': 4.14.191 dev: true - /@types/lodash/4.14.188: - resolution: {integrity: sha512-zmEmF5OIM3rb7SbLCFYoQhO4dGt2FRM9AMkxvA3LaADOF1n8in/zGJlWji9fmafLoNyz+FoL6FE0SLtGIArD7w==} + /@types/lodash/4.14.191: + resolution: {integrity: sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==} dev: true /@types/mime-types/2.1.1: @@ -1125,8 +1139,8 @@ packages: resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} dev: true - /@types/node/18.11.9: - resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==} + /@types/node/18.11.18: + resolution: {integrity: sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==} dev: true /@types/parse5/6.0.3: @@ -1157,7 +1171,7 @@ packages: resolution: {integrity: sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==} dependencies: '@types/mime': 3.0.1 - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/shortid/0.0.29: @@ -1184,10 +1198,10 @@ packages: /@types/symbol-tree/3.2.2: resolution: {integrity: sha512-+NcSHyA9K2EDHv3ny4wpbRSA+f+Tj0O7hIj7+w4tVw9yxqMavXwtFwuZEo3vyigTgOhGkrAUl3gj4oxAcyLfRQ==} - /@types/through2/2.0.37: - resolution: {integrity: sha512-D2dIj6UIPbHvGR3wAH3Wqa3d49ifVdXt4utRkz/Od5HV3j5AwGfwdIODHRr0cFMGPtHV8lD+5pL7B5GOfQnxag==} + /@types/through2/2.0.38: + resolution: {integrity: sha512-YFu+nHmjxMurkH1BSzA0Z1WrKDAY8jUKPZctNQn7mc+/KKtp2XxnclHFXxdB1m7Iqnzb5aywgP8TMK283LezGQ==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/trusted-types/2.0.2: @@ -1211,14 +1225,14 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true /@types/yauzl/2.10.0: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 18.11.9 + '@types/node': 18.11.18 dev: true optional: true @@ -1242,7 +1256,7 @@ packages: get-stream: 6.0.1 is-stream: 2.0.1 isbinaryfile: 4.0.10 - koa: 2.13.4 + koa: 2.14.1 koa-etag: 4.0.0 koa-send: 5.0.1 koa-static: 5.0.0 @@ -1313,11 +1327,6 @@ packages: - utf-8-validate dev: true - /@xmldom/xmldom/0.8.6: - resolution: {integrity: sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg==} - engines: {node: '>=10.0.0'} - dev: true - /accepts/1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} @@ -1396,8 +1405,8 @@ packages: color-convert: 2.0.1 dev: true - /anymatch/3.1.2: - resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==} + /anymatch/3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} dependencies: normalize-path: 3.0.0 @@ -1436,8 +1445,8 @@ packages: resolution: {integrity: sha1-x57Zf380y48robyXkLzDZkdLS3k=} dev: true - /axe-core/4.5.1: - resolution: {integrity: sha512-1exVbW0X1O/HSr/WMwnaweyqcWOgZgLiVxdLG34pvSQk4NlYQr9OUy0JLwuhFfuVNQzzqgH57eYzkFBCb3bIsQ==} + /axe-core/4.6.2: + resolution: {integrity: sha512-b1WlTV8+XKLj9gZy2DZXgQiyDp9xkkoe2a6U6UbYccScq2wgH/YwCeI2/Jq2mgo0HzQxqJOjWZBLeA/mqsk5Mg==} engines: {node: '>=4'} dev: true @@ -1552,8 +1561,8 @@ packages: engines: {node: '>=14.16'} dev: true - /cacheable-request/10.2.2: - resolution: {integrity: sha512-KxjQZM3UIo7/J6W4sLpwFvu1GB3Whv8NtZ8ZrUL284eiQjiXeeqWTdhixNrp/NLZ/JNuFBo6BD4ZaO8ZJ5BN8Q==} + /cacheable-request/10.2.5: + resolution: {integrity: sha512-5RwYYCfzjNPsyJxb/QpaM0bfzx+kw5/YpDhZPm9oMIDntHFQ9YXeyV47ZvzlTE0XrrrbyO2UITJH4GF9eRLdXQ==} engines: {node: '>=14.16'} dependencies: '@types/http-cache-semantics': 4.0.1 @@ -1561,7 +1570,7 @@ packages: http-cache-semantics: 4.1.0 keyv: 4.5.2 mimic-response: 4.0.0 - normalize-url: 7.2.0 + normalize-url: 8.0.0 responselike: 3.0.0 dev: true @@ -1586,7 +1595,7 @@ packages: /chai-a11y-axe/1.4.0: resolution: {integrity: sha512-m7J6DVAl1ePL2ifPKHmwQyHXdCZ+Qfv+qduh6ScqcDfBnJEzpV1K49TblujM45j1XciZOFeFNqMb2sShXMg/mw==} dependencies: - axe-core: 4.5.1 + axe-core: 4.6.2 dev: true /chalk/2.4.2: @@ -1602,7 +1611,7 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} dependencies: - anymatch: 3.1.2 + anymatch: 3.1.3 braces: 3.0.2 glob-parent: 5.1.2 is-binary-path: 2.1.0 @@ -1755,6 +1764,10 @@ packages: /croner/4.4.1: resolution: {integrity: sha512-aqVeeIPCf5/NZFlz4mN4MLEOs9xf4ODCmHQDs+577JFj8mK3RkKJz77h7+Rn94AijUqKdFNOUHM+v88d8p02UQ==} + /croner/5.3.5: + resolution: {integrity: sha512-VqaplJOVtaGuAxhsw2HM9GG0DLpVi3W9IsV7bKMAC12O7wMIOcZpCYHBw+xkFABzT3xp5MvUqTfbTewCgxgN+A==} + engines: {node: '>=6.0'} + /cross-fetch/3.1.5: resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==} dependencies: @@ -1779,8 +1792,8 @@ packages: type-fest: 1.4.0 dev: true - /dayjs/1.11.6: - resolution: {integrity: sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ==} + /dayjs/1.11.7: + resolution: {integrity: sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==} /debounce/1.2.1: resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} @@ -1937,7 +1950,7 @@ packages: dependencies: '@socket.io/component-emitter': 3.1.0 debug: 4.3.4 - engine.io-parser: 5.0.4 + engine.io-parser: 5.0.5 ws: 8.2.3 xmlhttprequest-ssl: 2.0.0 transitivePeerDependencies: @@ -1946,24 +1959,24 @@ packages: - utf-8-validate dev: true - /engine.io-parser/5.0.4: - resolution: {integrity: sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==} + /engine.io-parser/5.0.5: + resolution: {integrity: sha512-mjEyaa4zhuuRhaSLOdjEb57X0XPP9JEsnXI4E+ivhwT0GgzUogARx4MqoY1jQyB+4Bkz3BUOmzL7t9RMKmlG3g==} engines: {node: '>=10.0.0'} dev: true - /engine.io/6.2.0: - resolution: {integrity: sha512-4KzwW3F3bk+KlzSOY57fj/Jx6LyRQ1nbcyIadehl+AnXjKT7gDO0ORdRi/84ixvMKTym6ZKuxvbzN62HDDU1Lg==} + /engine.io/6.2.1: + resolution: {integrity: sha512-ECceEFcAaNRybd3lsGQKas3ZlMVjN3cyWwMP25D2i0zWfyiytVbTpRPa34qrr+FHddtpBVOmq4H/DCv1O0lZRA==} engines: {node: '>=10.0.0'} dependencies: '@types/cookie': 0.4.1 - '@types/cors': 2.8.12 - '@types/node': 18.11.9 + '@types/cors': 2.8.13 + '@types/node': 18.11.18 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 debug: 4.3.4 - engine.io-parser: 5.0.4 + engine.io-parser: 5.0.5 ws: 8.2.3 transitivePeerDependencies: - bufferutil @@ -2286,8 +2299,8 @@ packages: - supports-color dev: true - /fake-indexeddb/4.0.0: - resolution: {integrity: sha512-oCfWSJ/qvQn1XPZ8SHX6kY3zr1t+bN7faZ/lltGY0SBGhFOPXnWf0+pbO/MOAgfMx6khC2gK3S/bvAgQpuQHDQ==} + /fake-indexeddb/4.0.1: + resolution: {integrity: sha512-hFRyPmvEZILYgdcLBxVdHLik4Tj3gDTu/g7s9ZDOiU3sTNiGx+vEu1ri/AMsFJUZ/1sdRbAVrEcKndh3sViBcA==} dependencies: realistic-structured-clone: 3.0.0 dev: true @@ -2318,8 +2331,8 @@ packages: strnum: 1.0.5 dev: true - /fastq/1.13.0: - resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} + /fastq/1.15.0: + resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} dependencies: reusify: 1.0.4 dev: true @@ -2383,8 +2396,8 @@ packages: signal-exit: 3.0.7 dev: true - /form-data-encoder/2.1.3: - resolution: {integrity: sha512-KqU0nnPMgIJcCOFTNJFEA8epcseEaoox4XZffTgy8jlI6pL/5EFyR54NRG7CnCJN0biY7q52DO3MH6/sJ/TKlQ==} + /form-data-encoder/2.1.4: + resolution: {integrity: sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==} engines: {node: '>= 14.17'} dev: true @@ -2486,7 +2499,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 5.1.0 + minimatch: 5.1.2 once: 1.4.0 dev: true @@ -2497,23 +2510,23 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.2.12 - ignore: 5.2.0 + ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 dev: true - /got/12.5.2: - resolution: {integrity: sha512-guHGMSEcsA5m1oPRweXUJnug0vuvlkX9wx5hzOka+ZBrBUOJHU0Z1JcNu3QE5IPGnA5aXUsQHdWOD4eJg9/v3A==} + /got/12.5.3: + resolution: {integrity: sha512-8wKnb9MGU8IPGRIo+/ukTy9XLJBwDiCpIf5TVzQ9Cpol50eMTpBq2GAuDsuDIz7hTYmZgMgC1e9ydr6kSDWs3w==} engines: {node: '>=14.16'} dependencies: '@sindresorhus/is': 5.3.0 '@szmarczak/http-timer': 5.0.1 cacheable-lookup: 7.0.0 - cacheable-request: 10.2.2 + cacheable-request: 10.2.5 decompress-response: 6.0.0 - form-data-encoder: 2.1.3 + form-data-encoder: 2.1.4 get-stream: 6.0.1 - http2-wrapper: 2.1.11 + http2-wrapper: 2.2.0 lowercase-keys: 3.0.0 p-cancelable: 3.0.0 responselike: 3.0.0 @@ -2627,8 +2640,8 @@ packages: toidentifier: 1.0.1 dev: true - /http2-wrapper/2.1.11: - resolution: {integrity: sha512-aNAk5JzLturWEUiuhAN73Jcbq96R7rTitAoXV54FYMatvihnpD2+6PUgU4ce3D/m5VDbw+F5CsyKSF176ptitQ==} + /http2-wrapper/2.2.0: + resolution: {integrity: sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ==} engines: {node: '>=10.19.0'} dependencies: quick-lru: 5.1.1 @@ -2666,8 +2679,8 @@ packages: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true - /ignore/5.2.0: - resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} + /ignore/5.2.4: + resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} dev: true @@ -2841,8 +2854,8 @@ packages: istanbul-lib-report: 3.0.0 dev: true - /js-base64/3.7.2: - resolution: {integrity: sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ==} + /js-base64/3.7.3: + resolution: {integrity: sha512-PAr6Xg2jvd7MCR6Ld9Jg3BmTcjYsHEBx1VlwEwULb/qowPf5VD9kEMagj23Gm7JRnSvE/Da/57nChZjnvL8v6A==} dev: true /js-tokens/4.0.0: @@ -2933,8 +2946,8 @@ packages: - supports-color dev: true - /koa/2.13.4: - resolution: {integrity: sha512-43zkIKubNbnrULWlHdN5h1g3SEKXOEzoAlRsHOTFpnlDu8JlAOZSMJBLULusuXRequboiwJcj5vtYXKB3k7+2g==} + /koa/2.14.1: + resolution: {integrity: sha512-USJFyZgi2l0wDgqkfD27gL4YGno7TfUkcmOe6UOLFOVuN+J7FwnNu4Dydl4CUQzraM1lBAiGed0M9OVJoT0Kqw==} engines: {node: ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4} dependencies: accepts: 1.3.8 @@ -2967,22 +2980,22 @@ packages: /lit-element/3.2.2: resolution: {integrity: sha512-6ZgxBR9KNroqKb6+htkyBwD90XGRiqKDHVrW/Eh0EZ+l+iC+u+v+w3/BA5NGi4nizAVHGYvQBHUDuSmLjPp7NQ==} dependencies: - '@lit/reactive-element': 1.4.2 - lit-html: 2.4.0 + '@lit/reactive-element': 1.5.0 + lit-html: 2.5.0 dev: true - /lit-html/2.4.0: - resolution: {integrity: sha512-G6qXu4JNUpY6aaF2VMfaszhO9hlWw0hOTRFDmuMheg/nDYGB+2RztUSOyrzALAbr8Nh0Y7qjhYkReh3rPnplVg==} + /lit-html/2.5.0: + resolution: {integrity: sha512-bLHosg1XL3JRUcKdSVI0sLCs0y1wWrj2sqqAN3cZ7bDDPNgmDHH29RV48x6Wz3ZmkxIupaE+z7uXSZ/pXWAO1g==} dependencies: '@types/trusted-types': 2.0.2 dev: true - /lit/2.4.1: - resolution: {integrity: sha512-qohSgLiyN1cFnJG26dIiY03S4F49857A0AHQfnS0zYtnUVnD2MFvx+UT52rtXsIuNFQrnUupX+zyGSATlk1f/A==} + /lit/2.5.0: + resolution: {integrity: sha512-DtnUP6vR3l4Q8nRPPNBD+UxbAhwJPeky+OVbi3pdgMqm0g57xFSl1Sj64D1rIB+nVNdiVVg8YxB0hqKjvdadZA==} dependencies: - '@lit/reactive-element': 1.4.2 + '@lit/reactive-element': 1.5.0 lit-element: 3.2.2 - lit-html: 2.4.0 + lit-html: 2.5.0 dev: true /locate-path/5.0.0: @@ -3188,8 +3201,8 @@ packages: brace-expansion: 1.1.11 dev: true - /minimatch/5.1.0: - resolution: {integrity: sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==} + /minimatch/5.1.2: + resolution: {integrity: sha512-bNH9mmM9qsJ2X4r2Nat1B//1dJVcn3+iBLa3IgqJ7EbGaDNepL9QSHOxN4ng33s52VMMhhIfgCYDk3C4ZmlDAg==} engines: {node: '>=10'} dependencies: brace-expansion: 2.0.1 @@ -3266,9 +3279,9 @@ packages: engines: {node: '>=0.10.0'} dev: true - /normalize-url/7.2.0: - resolution: {integrity: sha512-uhXOdZry0L6M2UIo9BTt7FdpBDiAGN/7oItedQwPKh8jh31ZlvC8U9Xl/EJ3aijDHaywXTW3QbZ6LuCocur1YA==} - engines: {node: '>=12.20'} + /normalize-url/8.0.0: + resolution: {integrity: sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==} + engines: {node: '>=14.16'} dev: true /object-assign/4.1.1: @@ -3372,6 +3385,10 @@ packages: resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} engines: {node: '>=6'} + /parse-ms/3.0.0: + resolution: {integrity: sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==} + engines: {node: '>=12'} + /parse5/6.0.1: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} dev: true @@ -3415,8 +3432,6 @@ packages: resolution: {integrity: sha512-mXF9AIgnvq1DP/ZM2R28tAfxP2wKZHYa2DjV0R1KCwcqSzm5Iqh1XQq9rdfAt6dp2DuPP0VHZIaCALc2v1cL5A==} engines: {node: '>=14.18.0', npm: '>=6.14.15'} hasBin: true - dependencies: - '@xmldom/xmldom': 0.8.6 dev: true bundledDependencies: - '@xmldom/xmldom' @@ -3463,6 +3478,12 @@ packages: dependencies: parse-ms: 2.1.0 + /pretty-ms/8.0.0: + resolution: {integrity: sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==} + engines: {node: '>=14.16'} + dependencies: + parse-ms: 3.0.0 + /process-nextick-args/2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} dev: true @@ -3490,7 +3511,7 @@ packages: dependencies: aggregate-error: 4.0.1 dns-socket: 4.2.2 - got: 12.5.2 + got: 12.5.3 is-ip: 4.0.0 dev: true @@ -3683,8 +3704,8 @@ packages: queue-microtask: 1.2.3 dev: true - /rxjs/7.5.7: - resolution: {integrity: sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==} + /rxjs/7.8.0: + resolution: {integrity: sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==} dependencies: tslib: 2.4.1 @@ -3798,8 +3819,8 @@ packages: resolution: {integrity: sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==} dev: true - /socket.io-client/4.5.3: - resolution: {integrity: sha512-I/hqDYpQ6JKwtJOf5ikM+Qz+YujZPMEl6qBLhxiP0nX+TfXKhW4KZZG8lamrD6Y5ngjmYHreESVasVCgi5Kl3A==} + /socket.io-client/4.5.4: + resolution: {integrity: sha512-ZpKteoA06RzkD32IbqILZ+Cnst4xewU7ZYK12aS1mzHftFFjpoMz69IuhP/nL25pJfao/amoPI527KnuhFm01g==} engines: {node: '>=10.0.0'} dependencies: '@socket.io/component-emitter': 3.1.0 @@ -3822,14 +3843,14 @@ packages: - supports-color dev: true - /socket.io/4.5.3: - resolution: {integrity: sha512-zdpnnKU+H6mOp7nYRXH4GNv1ux6HL6+lHL8g7Ds7Lj8CkdK1jJK/dlwsKDculbyOHifcJ0Pr/yeXnZQ5GeFrcg==} + /socket.io/4.5.4: + resolution: {integrity: sha512-m3GC94iK9MfIEeIBfbhJs5BqFibMtkRk8ZpKwG2QwxV0m/eEhPIV4ara6XCF1LWNAus7z58RodiZlAH71U3EhQ==} engines: {node: '>=10.0.0'} dependencies: accepts: 1.3.8 base64id: 2.0.0 debug: 4.3.4 - engine.io: 6.2.0 + engine.io: 6.2.1 socket.io-adapter: 2.4.0 socket.io-parser: 4.2.1 transitivePeerDependencies: @@ -3934,8 +3955,8 @@ packages: /symbol-tree/3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - /systeminformation/5.12.13: - resolution: {integrity: sha512-2z1Ul+PDkO50yGmEGKWOPk3+TeAtTkbn6PmxqzH9D3BAN53QXgbYy6+PPJmBrszXy+X7g8uwZd1WdThKZtICcg==} + /systeminformation/5.17.1: + resolution: {integrity: sha512-NX/EjbKznOTgt2pfCzZb5bPj5YJOO9mCUrRXquGMtmlfs+BowVaMsJSUUCvqOm9wexx4/F+ng4JQp6I4sG+SyA==} engines: {node: '>=8.0.0'} os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android] hasBin: true @@ -4022,7 +4043,7 @@ packages: hasBin: true dev: true - /ts-node/10.9.1_cbe7ovvae6zqfnmtgctpgpys54: + /ts-node/10.9.1_awa2wsr5thmg3i7jqycphctjfq: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -4041,14 +4062,14 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.11.9 + '@types/node': 18.11.18 acorn: 8.8.1 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.8.4 + typescript: 4.9.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -4076,8 +4097,8 @@ packages: engines: {node: '>=12.20'} dev: true - /type-fest/3.2.0: - resolution: {integrity: sha512-Il3wdLRzWvbAEtocgxGQA9YOoRVeVUGOMBtel5LdEpNeEAol6GJTLw8GbX6Z8EIMfvfhoOXs2bwOijtAZdK5og==} + /type-fest/3.5.1: + resolution: {integrity: sha512-70T99cpILFk2fzwuljwWxmazSphFrdOe3gRHbp6bqs71pxFBbJwFqnmkLO2lQL6aLHxHmYAnP/sL+AJWpT70jA==} engines: {node: '>=14.16'} dev: true @@ -4089,8 +4110,8 @@ packages: mime-types: 2.1.35 dev: true - /typescript/4.8.4: - resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} + /typescript/4.9.4: + resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==} engines: {node: '>=4.2.0'} hasBin: true dev: true diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index e0e08f8..ee517bf 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/taskbuffer', - version: '3.0.4', + version: '3.0.5', description: 'flexible task management. TypeScript ready!' } diff --git a/ts/taskbuffer.classes.distributedcoordinator.ts b/ts/taskbuffer.classes.distributedcoordinator.ts index 69ed85c..a648cdc 100644 --- a/ts/taskbuffer.classes.distributedcoordinator.ts +++ b/ts/taskbuffer.classes.distributedcoordinator.ts @@ -5,6 +5,7 @@ import * as plugins from './taskbuffer.plugins.js'; * constains all data for the final coordinator to actually make an informed decision */ export interface IDistributedDecisionInfoBasis { + submitterRandomId: string; taskName: string; taskVersion: string; taskExecutionTime: number; @@ -21,8 +22,11 @@ export interface ITaskConsultationResult { } export interface IDistributedCoordinatorConstructorOptions { - announceDistributedDecisionInfoBasis: (infoBasisArg: IDistributedDecisionInfoBasis) => Promise - updateDistributedDecisionInfoBasis: (infoBasisArg: IDistributedDecisionInfoBasis) => Promise + /** + * each execution should be announced + */ + announceDistributedDecisionInfoBasis: (distributedCoordinatorArg: DistributedCoordinator, infoBasisArg: IDistributedDecisionInfoBasis) => Promise + updateDistributedDecisionInfoBasis: (distributedCoordinatorArg: DistributedCoordinator, infoBasisArg: IDistributedDecisionInfoBasis) => Promise } export class DistributedCoordinator { @@ -33,10 +37,10 @@ export class DistributedCoordinator { } public async announceDistributedDecisionInfoBasis(infoBasisArg: IDistributedDecisionInfoBasis): Promise { - return this.options.announceDistributedDecisionInfoBasis(infoBasisArg); + return this.options.announceDistributedDecisionInfoBasis(this, infoBasisArg); } public async updateDistributedDevisionInfoBasis(infoBasisArg: IDistributedDecisionInfoBasis): Promise { - return this.options.updateDistributedDecisionInfoBasis(infoBasisArg) + return this.options.updateDistributedDecisionInfoBasis(this, infoBasisArg) } } \ No newline at end of file diff --git a/ts/taskbuffer.classes.taskmanager.ts b/ts/taskbuffer.classes.taskmanager.ts index e7167c3..072172a 100644 --- a/ts/taskbuffer.classes.taskmanager.ts +++ b/ts/taskbuffer.classes.taskmanager.ts @@ -13,6 +13,7 @@ export interface ITaskManagerConstructorOptions { } export class TaskManager { + public randomId = plugins.isounique.uni(); public taskMap = new plugins.lik.ObjectMap(); private cronJobManager = new plugins.smarttime.CronManager(); @@ -20,7 +21,7 @@ export class TaskManager { distributedCoordinator: null }; - constructor(optionosArg: ITaskManagerConstructorOptions) { + constructor(optionosArg: ITaskManagerConstructorOptions = {}) { this.options = Object.assign(this.options, optionosArg); } @@ -88,14 +89,22 @@ export class TaskManager { ); if (this.options.distributedCoordinator) { console.log(`Found a distrubuted coordinator, performing distributed consultation.`); - const announcementResult = this.options.distributedCoordinator.announceDistributedDecisionInfoBasis({ + const announcementResult = await this.options.distributedCoordinator.announceDistributedDecisionInfoBasis({ + submitterRandomId: this.randomId, status: 'requesting', taskExecutionParallel: 1, taskExecutionTime: triggerTimeArg, taskExecutionTimeout: taskToSchedule.timeout, taskName: taskToSchedule.name, taskVersion: taskToSchedule.version, - }) + }); + + if (!announcementResult.shouldTrigger) { + console.log('distributed coordinator result: NOT EXECUTING') + return; + } else { + console.log('distributed coordinator result: CHOSEN AND EXECUTING') + } } await taskToSchedule.trigger(); }); diff --git a/ts/taskbuffer.plugins.ts b/ts/taskbuffer.plugins.ts index 4e819ab..22981e7 100644 --- a/ts/taskbuffer.plugins.ts +++ b/ts/taskbuffer.plugins.ts @@ -1,8 +1,9 @@ -import * as smartlog from '@pushrocks/smartlog'; +import * as isounique from '@pushrocks/isounique'; import * as lik from '@pushrocks/lik'; +import * as smartlog from '@pushrocks/smartlog'; import * as smartpromise from '@pushrocks/smartpromise'; import * as smartdelay from '@pushrocks/smartdelay'; import * as smartrx from '@pushrocks/smartrx'; import * as smarttime from '@pushrocks/smarttime'; -export { smartlog, lik, smartpromise, smartdelay, smartrx, smarttime }; +export { isounique, lik, smartlog, smartpromise, smartdelay, smartrx, smarttime };