From e5fe74d2d245b073f849d12c51f4179489c25735 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 25 Feb 2022 20:36:44 +0100 Subject: [PATCH] fix(core): update --- package-lock.json | 371 ++++++++++++++++++----------- package.json | 2 + test/{test.ts => test.nonci.ts} | 15 +- ts/bobcat.classes.bobcat.ts | 38 ++- ts/bobcat.classes.bobcatmanager.ts | 8 +- ts/bobcat.plugins.ts | 2 + 6 files changed, 294 insertions(+), 142 deletions(-) rename test/{test.ts => test.nonci.ts} (51%) diff --git a/package-lock.json b/package-lock.json index d0e828d..f98942f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,12 +9,14 @@ "version": "1.0.5", "license": "MIT", "dependencies": { + "@pushrocks/smartnetwork": "^2.0.14", "@pushrocks/smartrequest": "^1.1.56" }, "devDependencies": { "@gitzone/tsbuild": "^2.1.25", "@gitzone/tsbundle": "^1.0.78", "@gitzone/tstest": "^1.0.44", + "@pushrocks/qenv": "^4.0.10", "@pushrocks/tapbundle": "^4.0.7", "@types/node": "^17.0.21", "tslint": "^6.1.3", @@ -2113,7 +2115,6 @@ "version": "2.0.3", "resolved": "https://verdaccio.lossless.one/@leichtgewicht%2fip-codec/-/ip-codec-2.0.3.tgz", "integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==", - "dev": true, "license": "MIT" }, "node_modules/@lit/reactive-element": { @@ -2301,6 +2302,118 @@ "symbol-tree": "^3.2.4" } }, + "node_modules/@pushrocks/qenv": { + "version": "4.0.10", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fqenv/-/qenv-4.0.10.tgz", + "integrity": "sha512-bQknJrGa9zXDTmohi2W0fi/gZ5H36J1138WsRgdR2u/9D/0gwjBasL0kqBokH9sddcLSYe/H9itGFxbT7i7MCg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pushrocks/smartfile": "^7.0.12", + "@pushrocks/smartlog": "^2.0.26" + } + }, + "node_modules/@pushrocks/qenv/node_modules/@pushrocks/smartfile": { + "version": "7.0.12", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartfile/-/smartfile-7.0.12.tgz", + "integrity": "sha512-/4T4K07WqOXGvQQ/VFyRMUd8kN1RdqQgmrqHjZE/vMDLz7RYsqU9FlEN6OGX1G1E6pR9IdHnT4ClXPlvzClHYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pushrocks/smarthash": "^2.1.6", + "@pushrocks/smartmime": "^1.0.3", + "@pushrocks/smartpath": "^4.0.1", + "@pushrocks/smartpromise": "^3.0.6", + "@pushrocks/smartrequest": "^1.1.47", + "@types/fs-extra": "^8.1.0", + "fs-extra": "^8.1.0", + "glob": "^7.1.6", + "js-yaml": "^3.13.1" + } + }, + "node_modules/@pushrocks/qenv/node_modules/@types/fs-extra": { + "version": "8.1.2", + "resolved": "https://verdaccio.lossless.one/@types%2ffs-extra/-/fs-extra-8.1.2.tgz", + "integrity": "sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@pushrocks/qenv/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://verdaccio.lossless.one/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@pushrocks/qenv/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://verdaccio.lossless.one/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@pushrocks/qenv/node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://verdaccio.lossless.one/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/@pushrocks/qenv/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://verdaccio.lossless.one/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@pushrocks/qenv/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://verdaccio.lossless.one/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@pushrocks/qenv/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://verdaccio.lossless.one/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/@pushrocks/smartbrowser": { "version": "1.0.22", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartbrowser/-/smartbrowser-1.0.22.tgz", @@ -2358,7 +2471,6 @@ "version": "4.0.16", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartenv/-/smartenv-4.0.16.tgz", "integrity": "sha512-NwYMONDc/NjY6BGvzZzLMteF83kPQTF9BCGfqWbktUUruEtdqL+nGw6ecoLFi2b5u7XPb8jK1TKIcSvpNJ7SyA==", - "dev": true, "license": "MIT", "dependencies": { "@pushrocks/smartpromise": "^3.0.6", @@ -2369,7 +2481,6 @@ "version": "14.18.12", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.12.tgz", "integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==", - "dev": true, "license": "MIT" }, "node_modules/@pushrocks/smarterror": { @@ -2587,7 +2698,6 @@ "version": "2.0.14", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartnetwork/-/smartnetwork-2.0.14.tgz", "integrity": "sha512-p6Yc0T/rfpJeyn+KiDYtwgI2Ky6baOVRzf/965DcRBvbkJeQ7Bt37XKL+1aMT1i2vl+SNhBGtmYUAc4zdoY3IA==", - "dev": true, "license": "MIT", "dependencies": { "@pushrocks/smartpromise": "^3.1.6", @@ -2826,7 +2936,6 @@ "version": "3.0.24", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartstring/-/smartstring-3.0.24.tgz", "integrity": "sha512-3ceUOBcwuU8uzjInkoxKjgWSRMv4YRd+v9zRSEC3T21fMi8dTcIKMtgxm7nAmajRZvyVoCw60Q9+0AHedQlJmQ==", - "dev": true, "license": "MIT", "dependencies": { "@pushrocks/smartenv": "^4.0.16", @@ -3097,7 +3206,6 @@ "version": "0.14.0", "resolved": "https://verdaccio.lossless.one/@sindresorhus%2fis/-/is-0.14.0.tgz", "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -3124,7 +3232,6 @@ "version": "1.1.2", "resolved": "https://verdaccio.lossless.one/@szmarczak%2fhttp-timer/-/http-timer-1.1.2.tgz", "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, "license": "MIT", "dependencies": { "defer-to-connect": "^1.0.1" @@ -3255,7 +3362,6 @@ "version": "3.0.1", "resolved": "https://verdaccio.lossless.one/@types%2fdefault-gateway/-/default-gateway-3.0.1.tgz", "integrity": "sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ==", - "dev": true, "license": "MIT" }, "node_modules/@types/estree": { @@ -4603,7 +4709,6 @@ "version": "6.1.0", "resolved": "https://verdaccio.lossless.one/cacheable-request/-/cacheable-request-6.1.0.tgz", "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, "license": "MIT", "dependencies": { "clone-response": "^1.0.2", @@ -4622,7 +4727,6 @@ "version": "5.2.0", "resolved": "https://verdaccio.lossless.one/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, "license": "MIT", "dependencies": { "pump": "^3.0.0" @@ -4638,7 +4742,6 @@ "version": "2.0.0", "resolved": "https://verdaccio.lossless.one/lowercase-keys/-/lowercase-keys-2.0.0.tgz", "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -4648,7 +4751,6 @@ "version": "4.5.1", "resolved": "https://verdaccio.lossless.one/normalize-url/-/normalize-url-4.5.1.tgz", "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5005,7 +5107,6 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/clone-response/-/clone-response-1.0.2.tgz", "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dev": true, "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" @@ -5553,7 +5654,6 @@ "version": "3.3.1", "resolved": "https://verdaccio.lossless.one/crypto-random-string/-/crypto-random-string-3.3.1.tgz", "integrity": "sha512-5j88ECEn6h17UePrLi6pn1JcLtAiANa3KExyr9y9Z5vo2mv56Gh3I4Aja/B9P9uyMwyxNHAHWv+nE72f30T5Dg==", - "dev": true, "license": "MIT", "dependencies": { "type-fest": "^0.8.1" @@ -5566,7 +5666,6 @@ "version": "0.8.1", "resolved": "https://verdaccio.lossless.one/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" @@ -6062,7 +6161,6 @@ "version": "3.3.0", "resolved": "https://verdaccio.lossless.one/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dev": true, "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" @@ -6112,7 +6210,6 @@ "version": "1.1.3", "resolved": "https://verdaccio.lossless.one/defer-to-connect/-/defer-to-connect-1.1.3.tgz", "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true, "license": "MIT" }, "node_modules/define-properties": { @@ -6218,7 +6315,6 @@ "version": "5.3.1", "resolved": "https://verdaccio.lossless.one/dns-packet/-/dns-packet-5.3.1.tgz", "integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==", - "dev": true, "license": "MIT", "dependencies": { "@leichtgewicht/ip-codec": "^2.0.1" @@ -6231,7 +6327,6 @@ "version": "4.2.2", "resolved": "https://verdaccio.lossless.one/dns-socket/-/dns-socket-4.2.2.tgz", "integrity": "sha512-BDeBd8najI4/lS00HSKpdFia+OvUMytaVjfzR9n5Lq8MlZRSvtbI+uLtx1+XmQFls5wFU9dssccTmQQ6nfpjdg==", - "dev": true, "license": "MIT", "dependencies": { "dns-packet": "^5.2.4" @@ -6357,7 +6452,6 @@ "version": "0.1.4", "resolved": "https://verdaccio.lossless.one/duplexer3/-/duplexer3-0.1.4.tgz", "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true, "license": "BSD-3-Clause" }, "node_modules/ecc-jsbn": { @@ -6455,7 +6549,6 @@ "version": "1.4.4", "resolved": "https://verdaccio.lossless.one/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, "license": "MIT", "dependencies": { "once": "^1.4.0" @@ -7499,7 +7592,6 @@ "version": "4.1.0", "resolved": "https://verdaccio.lossless.one/get-stream/-/get-stream-4.1.0.tgz", "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, "license": "MIT", "dependencies": { "pump": "^3.0.0" @@ -7611,7 +7703,6 @@ "version": "9.6.0", "resolved": "https://verdaccio.lossless.one/got/-/got-9.6.0.tgz", "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, "license": "MIT", "dependencies": { "@sindresorhus/is": "^0.14.0", @@ -8171,7 +8262,6 @@ "version": "4.1.0", "resolved": "https://verdaccio.lossless.one/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", - "dev": true, "license": "BSD-2-Clause" }, "node_modules/http-errors": { @@ -8241,7 +8331,6 @@ "version": "2.0.1", "resolved": "https://verdaccio.lossless.one/icmp/-/icmp-2.0.1.tgz", "integrity": "sha512-M7r2J6pjZOwZFSjsFNvYlWvtpVbCckwCd2EQSHc4Mzscwp9X7DUpnPcQiVceKI9YQ42INb53cMmgIzaRs87Jmg==", - "dev": true, "license": "MIT", "dependencies": { "raw-socket": "^1.7.0" @@ -8363,7 +8452,6 @@ "version": "4.3.0", "resolved": "https://verdaccio.lossless.one/ip-regex/-/ip-regex-4.3.0.tgz", "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -8644,7 +8732,6 @@ "version": "3.1.0", "resolved": "https://verdaccio.lossless.one/is-ip/-/is-ip-3.1.0.tgz", "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", - "dev": true, "license": "MIT", "dependencies": { "ip-regex": "^4.0.0" @@ -8913,7 +9000,6 @@ "version": "1.3.0", "resolved": "https://verdaccio.lossless.one/isopen/-/isopen-1.3.0.tgz", "integrity": "sha512-AN6Q9J0UlqHFl1fN/2xJCHCBLCBCFDjZhpGBO1gh3wzgRPsFSFBUL36I2Lbfd9qkuoj58axmE7j83iejTQsk8Q==", - "dev": true, "license": "MIT" }, "node_modules/isstream": { @@ -8965,7 +9051,6 @@ "version": "2.6.4", "resolved": "https://verdaccio.lossless.one/js-base64/-/js-base64-2.6.4.tgz", "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", - "dev": true, "license": "BSD-3-Clause" }, "node_modules/js-beautify": { @@ -9184,7 +9269,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/json-buffer/-/json-buffer-3.0.0.tgz", "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", - "dev": true, "license": "MIT" }, "node_modules/json-parse-better-errors": { @@ -9264,7 +9348,6 @@ "version": "3.1.0", "resolved": "https://verdaccio.lossless.one/keyv/-/keyv-3.1.0.tgz", "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, "license": "MIT", "dependencies": { "json-buffer": "3.0.0" @@ -9525,7 +9608,6 @@ "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/lowercase-keys/-/lowercase-keys-1.0.1.tgz", "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -9622,7 +9704,6 @@ "version": "1.0.4", "resolved": "https://verdaccio.lossless.one/math-random/-/math-random-1.0.4.tgz", "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==", - "dev": true, "license": "MIT" }, "node_modules/md5.js": { @@ -9839,7 +9920,6 @@ "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/mimic-response/-/mimic-response-1.0.1.tgz", "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -9849,7 +9929,6 @@ "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/min-indent/-/min-indent-1.0.1.tgz", "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -10141,7 +10220,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/normalize-newline/-/normalize-newline-3.0.0.tgz", "integrity": "sha1-HL6oBKukNgAfg5OKsh7AOdaa6dM=", - "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -10408,7 +10486,6 @@ "version": "1.4.0", "resolved": "https://verdaccio.lossless.one/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "license": "ISC", "dependencies": { "wrappy": "1" @@ -10514,7 +10591,6 @@ "version": "1.1.0", "resolved": "https://verdaccio.lossless.one/p-cancelable/-/p-cancelable-1.1.0.tgz", "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -11951,7 +12027,6 @@ "version": "2.0.0", "resolved": "https://verdaccio.lossless.one/prepend-http/-/prepend-http-2.0.0.tgz", "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -12068,7 +12143,6 @@ "version": "4.0.4", "resolved": "https://verdaccio.lossless.one/public-ip/-/public-ip-4.0.4.tgz", "integrity": "sha512-EJ0VMV2vF6Cu7BIPo3IMW1Maq6ME+fbR0NcPmqDfpfNGIRPue1X8QrGjrg/rfjDkOsIkKHIf2S5FlEa48hFMTA==", - "dev": true, "license": "MIT", "dependencies": { "dns-socket": "^4.2.2", @@ -12086,7 +12160,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", @@ -12291,7 +12364,6 @@ "resolved": "https://verdaccio.lossless.one/querystring/-/querystring-0.2.0.tgz", "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", "deprecated": "The", - "dev": true, "engines": { "node": ">=0.4.x" } @@ -12335,7 +12407,6 @@ "version": "3.1.1", "resolved": "https://verdaccio.lossless.one/randomatic/-/randomatic-3.1.1.tgz", "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", - "dev": true, "license": "MIT", "dependencies": { "is-number": "^4.0.0", @@ -12350,7 +12421,6 @@ "version": "4.0.0", "resolved": "https://verdaccio.lossless.one/is-number/-/is-number-4.0.0.tgz", "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -12360,7 +12430,6 @@ "version": "6.0.3", "resolved": "https://verdaccio.lossless.one/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -12417,7 +12486,6 @@ "version": "1.7.0", "resolved": "https://verdaccio.lossless.one/raw-socket/-/raw-socket-1.7.0.tgz", "integrity": "sha512-mXqWihgwaFNmV5le0dWk5o+03M3A2zBIkC9BNaE6R0CJN9eYot++j2FIqgNSDq6/Vmu32PPI155SiiWNV2yyFQ==", - "dev": true, "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -12428,7 +12496,6 @@ "version": "2.14.2", "resolved": "https://verdaccio.lossless.one/nan/-/nan-2.14.2.tgz", "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", - "dev": true, "license": "MIT" }, "node_modules/readable-stream": { @@ -12788,7 +12855,6 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/responselike/-/responselike-1.0.2.tgz", "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dev": true, "license": "MIT", "dependencies": { "lowercase-keys": "^1.0.0" @@ -14079,7 +14145,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/strip-indent/-/strip-indent-3.0.0.tgz", "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, "license": "MIT", "dependencies": { "min-indent": "^1.0.0" @@ -14238,7 +14303,6 @@ "version": "5.11.4", "resolved": "https://verdaccio.lossless.one/systeminformation/-/systeminformation-5.11.4.tgz", "integrity": "sha512-rh7bjpjP5whUaTknim5CiGdAiKZcgWhmbmxjzBRXDWqUc/k67bz2OP+03DdcX6/SN/CDSAi/NeUwM5o2gjHJoA==", - "dev": true, "license": "MIT", "os": [ "darwin", @@ -14465,7 +14529,6 @@ "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/to-readable-stream/-/to-readable-stream-1.0.0.tgz", "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -15215,7 +15278,6 @@ "version": "0.11.0", "resolved": "https://verdaccio.lossless.one/url/-/url-0.11.0.tgz", "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, "license": "MIT", "dependencies": { "punycode": "1.3.2", @@ -15226,7 +15288,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/url-parse-lax/-/url-parse-lax-3.0.0.tgz", "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dev": true, "license": "MIT", "dependencies": { "prepend-http": "^2.0.0" @@ -15239,7 +15300,6 @@ "version": "1.3.2", "resolved": "https://verdaccio.lossless.one/punycode/-/punycode-1.3.2.tgz", "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true, "license": "MIT" }, "node_modules/use": { @@ -15581,7 +15641,6 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true, "license": "ISC" }, "node_modules/ws": { @@ -17179,8 +17238,7 @@ "@leichtgewicht/ip-codec": { "version": "2.0.3", "resolved": "https://verdaccio.lossless.one/@leichtgewicht%2fip-codec/-/ip-codec-2.0.3.tgz", - "integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==", - "dev": true + "integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==" }, "@lit/reactive-element": { "version": "1.3.0", @@ -17333,6 +17391,95 @@ "symbol-tree": "^3.2.4" } }, + "@pushrocks/qenv": { + "version": "4.0.10", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fqenv/-/qenv-4.0.10.tgz", + "integrity": "sha512-bQknJrGa9zXDTmohi2W0fi/gZ5H36J1138WsRgdR2u/9D/0gwjBasL0kqBokH9sddcLSYe/H9itGFxbT7i7MCg==", + "dev": true, + "requires": { + "@pushrocks/smartfile": "^7.0.12", + "@pushrocks/smartlog": "^2.0.26" + }, + "dependencies": { + "@pushrocks/smartfile": { + "version": "7.0.12", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartfile/-/smartfile-7.0.12.tgz", + "integrity": "sha512-/4T4K07WqOXGvQQ/VFyRMUd8kN1RdqQgmrqHjZE/vMDLz7RYsqU9FlEN6OGX1G1E6pR9IdHnT4ClXPlvzClHYg==", + "dev": true, + "requires": { + "@pushrocks/smarthash": "^2.1.6", + "@pushrocks/smartmime": "^1.0.3", + "@pushrocks/smartpath": "^4.0.1", + "@pushrocks/smartpromise": "^3.0.6", + "@pushrocks/smartrequest": "^1.1.47", + "@types/fs-extra": "^8.1.0", + "fs-extra": "^8.1.0", + "glob": "^7.1.6", + "js-yaml": "^3.13.1" + } + }, + "@types/fs-extra": { + "version": "8.1.2", + "resolved": "https://verdaccio.lossless.one/@types%2ffs-extra/-/fs-extra-8.1.2.tgz", + "integrity": "sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://verdaccio.lossless.one/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://verdaccio.lossless.one/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://verdaccio.lossless.one/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://verdaccio.lossless.one/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://verdaccio.lossless.one/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://verdaccio.lossless.one/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + } + } + }, "@pushrocks/smartbrowser": { "version": "1.0.22", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartbrowser/-/smartbrowser-1.0.22.tgz", @@ -17386,7 +17533,6 @@ "version": "4.0.16", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartenv/-/smartenv-4.0.16.tgz", "integrity": "sha512-NwYMONDc/NjY6BGvzZzLMteF83kPQTF9BCGfqWbktUUruEtdqL+nGw6ecoLFi2b5u7XPb8jK1TKIcSvpNJ7SyA==", - "dev": true, "requires": { "@pushrocks/smartpromise": "^3.0.6", "@types/node": "^14.11.2" @@ -17395,8 +17541,7 @@ "@types/node": { "version": "14.18.12", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.12.tgz", - "integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==", - "dev": true + "integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==" } } }, @@ -17601,7 +17746,6 @@ "version": "2.0.14", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartnetwork/-/smartnetwork-2.0.14.tgz", "integrity": "sha512-p6Yc0T/rfpJeyn+KiDYtwgI2Ky6baOVRzf/965DcRBvbkJeQ7Bt37XKL+1aMT1i2vl+SNhBGtmYUAc4zdoY3IA==", - "dev": true, "requires": { "@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartstring": "^3.0.24", @@ -17829,7 +17973,6 @@ "version": "3.0.24", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartstring/-/smartstring-3.0.24.tgz", "integrity": "sha512-3ceUOBcwuU8uzjInkoxKjgWSRMv4YRd+v9zRSEC3T21fMi8dTcIKMtgxm7nAmajRZvyVoCw60Q9+0AHedQlJmQ==", - "dev": true, "requires": { "@pushrocks/smartenv": "^4.0.16", "crypto-random-string": "^3.3.0", @@ -18046,8 +18189,7 @@ "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://verdaccio.lossless.one/@sindresorhus%2fis/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" }, "@socket.io/base64-arraybuffer": { "version": "1.0.2", @@ -18065,7 +18207,6 @@ "version": "1.1.2", "resolved": "https://verdaccio.lossless.one/@szmarczak%2fhttp-timer/-/http-timer-1.1.2.tgz", "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, "requires": { "defer-to-connect": "^1.0.1" } @@ -18176,8 +18317,7 @@ "@types/default-gateway": { "version": "3.0.1", "resolved": "https://verdaccio.lossless.one/@types%2fdefault-gateway/-/default-gateway-3.0.1.tgz", - "integrity": "sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ==", - "dev": true + "integrity": "sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ==" }, "@types/estree": { "version": "0.0.39", @@ -19232,7 +19372,6 @@ "version": "6.1.0", "resolved": "https://verdaccio.lossless.one/cacheable-request/-/cacheable-request-6.1.0.tgz", "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, "requires": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", @@ -19247,7 +19386,6 @@ "version": "5.2.0", "resolved": "https://verdaccio.lossless.one/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, "requires": { "pump": "^3.0.0" } @@ -19255,14 +19393,12 @@ "lowercase-keys": { "version": "2.0.0", "resolved": "https://verdaccio.lossless.one/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" }, "normalize-url": { "version": "4.5.1", "resolved": "https://verdaccio.lossless.one/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "dev": true + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" } } }, @@ -19529,7 +19665,6 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/clone-response/-/clone-response-1.0.2.tgz", "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dev": true, "requires": { "mimic-response": "^1.0.0" } @@ -19954,7 +20089,6 @@ "version": "3.3.1", "resolved": "https://verdaccio.lossless.one/crypto-random-string/-/crypto-random-string-3.3.1.tgz", "integrity": "sha512-5j88ECEn6h17UePrLi6pn1JcLtAiANa3KExyr9y9Z5vo2mv56Gh3I4Aja/B9P9uyMwyxNHAHWv+nE72f30T5Dg==", - "dev": true, "requires": { "type-fest": "^0.8.1" }, @@ -19962,8 +20096,7 @@ "type-fest": { "version": "0.8.1", "resolved": "https://verdaccio.lossless.one/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" } } }, @@ -20332,7 +20465,6 @@ "version": "3.3.0", "resolved": "https://verdaccio.lossless.one/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dev": true, "requires": { "mimic-response": "^1.0.0" } @@ -20369,8 +20501,7 @@ "defer-to-connect": { "version": "1.1.3", "resolved": "https://verdaccio.lossless.one/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" }, "define-properties": { "version": "1.1.3", @@ -20452,7 +20583,6 @@ "version": "5.3.1", "resolved": "https://verdaccio.lossless.one/dns-packet/-/dns-packet-5.3.1.tgz", "integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==", - "dev": true, "requires": { "@leichtgewicht/ip-codec": "^2.0.1" } @@ -20461,7 +20591,6 @@ "version": "4.2.2", "resolved": "https://verdaccio.lossless.one/dns-socket/-/dns-socket-4.2.2.tgz", "integrity": "sha512-BDeBd8najI4/lS00HSKpdFia+OvUMytaVjfzR9n5Lq8MlZRSvtbI+uLtx1+XmQFls5wFU9dssccTmQQ6nfpjdg==", - "dev": true, "requires": { "dns-packet": "^5.2.4" } @@ -20557,8 +20686,7 @@ "duplexer3": { "version": "0.1.4", "resolved": "https://verdaccio.lossless.one/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" }, "ecc-jsbn": { "version": "0.1.2", @@ -20641,7 +20769,6 @@ "version": "1.4.4", "resolved": "https://verdaccio.lossless.one/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, "requires": { "once": "^1.4.0" } @@ -21395,7 +21522,6 @@ "version": "4.1.0", "resolved": "https://verdaccio.lossless.one/get-stream/-/get-stream-4.1.0.tgz", "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, "requires": { "pump": "^3.0.0" } @@ -21476,7 +21602,6 @@ "version": "9.6.0", "resolved": "https://verdaccio.lossless.one/got/-/got-9.6.0.tgz", "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, "requires": { "@sindresorhus/is": "^0.14.0", "@szmarczak/http-timer": "^1.1.2", @@ -21872,8 +21997,7 @@ "http-cache-semantics": { "version": "4.1.0", "resolved": "https://verdaccio.lossless.one/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", - "dev": true + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" }, "http-errors": { "version": "1.8.1", @@ -21927,7 +22051,6 @@ "version": "2.0.1", "resolved": "https://verdaccio.lossless.one/icmp/-/icmp-2.0.1.tgz", "integrity": "sha512-M7r2J6pjZOwZFSjsFNvYlWvtpVbCckwCd2EQSHc4Mzscwp9X7DUpnPcQiVceKI9YQ42INb53cMmgIzaRs87Jmg==", - "dev": true, "requires": { "raw-socket": "^1.7.0" } @@ -22014,8 +22137,7 @@ "ip-regex": { "version": "4.3.0", "resolved": "https://verdaccio.lossless.one/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", - "dev": true + "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==" }, "ipaddr.js": { "version": "1.9.1", @@ -22206,7 +22328,6 @@ "version": "3.1.0", "resolved": "https://verdaccio.lossless.one/is-ip/-/is-ip-3.1.0.tgz", "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", - "dev": true, "requires": { "ip-regex": "^4.0.0" } @@ -22384,8 +22505,7 @@ "isopen": { "version": "1.3.0", "resolved": "https://verdaccio.lossless.one/isopen/-/isopen-1.3.0.tgz", - "integrity": "sha512-AN6Q9J0UlqHFl1fN/2xJCHCBLCBCFDjZhpGBO1gh3wzgRPsFSFBUL36I2Lbfd9qkuoj58axmE7j83iejTQsk8Q==", - "dev": true + "integrity": "sha512-AN6Q9J0UlqHFl1fN/2xJCHCBLCBCFDjZhpGBO1gh3wzgRPsFSFBUL36I2Lbfd9qkuoj58axmE7j83iejTQsk8Q==" }, "isstream": { "version": "0.1.2", @@ -22424,8 +22544,7 @@ "js-base64": { "version": "2.6.4", "resolved": "https://verdaccio.lossless.one/js-base64/-/js-base64-2.6.4.tgz", - "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", - "dev": true + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==" }, "js-beautify": { "version": "1.14.0", @@ -22578,8 +22697,7 @@ "json-buffer": { "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", - "dev": true + "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" }, "json-parse-better-errors": { "version": "1.0.2", @@ -22640,7 +22758,6 @@ "version": "3.1.0", "resolved": "https://verdaccio.lossless.one/keyv/-/keyv-3.1.0.tgz", "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, "requires": { "json-buffer": "3.0.0" } @@ -22857,8 +22974,7 @@ "lowercase-keys": { "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" }, "lru-cache": { "version": "4.1.5", @@ -22929,8 +23045,7 @@ "math-random": { "version": "1.0.4", "resolved": "https://verdaccio.lossless.one/math-random/-/math-random-1.0.4.tgz", - "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==", - "dev": true + "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==" }, "md5.js": { "version": "1.3.5", @@ -23090,14 +23205,12 @@ "mimic-response": { "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" }, "min-indent": { "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" }, "minimalistic-assert": { "version": "1.0.1", @@ -23317,8 +23430,7 @@ "normalize-newline": { "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/normalize-newline/-/normalize-newline-3.0.0.tgz", - "integrity": "sha1-HL6oBKukNgAfg5OKsh7AOdaa6dM=", - "dev": true + "integrity": "sha1-HL6oBKukNgAfg5OKsh7AOdaa6dM=" }, "normalize-path": { "version": "3.0.0", @@ -23501,7 +23613,6 @@ "version": "1.4.0", "resolved": "https://verdaccio.lossless.one/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { "wrappy": "1" } @@ -23577,8 +23688,7 @@ "p-cancelable": { "version": "1.1.0", "resolved": "https://verdaccio.lossless.one/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" }, "p-limit": { "version": "2.3.0", @@ -24675,8 +24785,7 @@ "prepend-http": { "version": "2.0.0", "resolved": "https://verdaccio.lossless.one/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "dev": true + "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" }, "pretty-ms": { "version": "7.0.1", @@ -24765,7 +24874,6 @@ "version": "4.0.4", "resolved": "https://verdaccio.lossless.one/public-ip/-/public-ip-4.0.4.tgz", "integrity": "sha512-EJ0VMV2vF6Cu7BIPo3IMW1Maq6ME+fbR0NcPmqDfpfNGIRPue1X8QrGjrg/rfjDkOsIkKHIf2S5FlEa48hFMTA==", - "dev": true, "requires": { "dns-socket": "^4.2.2", "got": "^9.6.0", @@ -24776,7 +24884,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, "requires": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -24905,8 +25012,7 @@ "querystring": { "version": "0.2.0", "resolved": "https://verdaccio.lossless.one/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "dev": true + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" }, "querystring-es3": { "version": "0.2.1", @@ -24941,7 +25047,6 @@ "version": "3.1.1", "resolved": "https://verdaccio.lossless.one/randomatic/-/randomatic-3.1.1.tgz", "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", - "dev": true, "requires": { "is-number": "^4.0.0", "kind-of": "^6.0.0", @@ -24951,14 +25056,12 @@ "is-number": { "version": "4.0.0", "resolved": "https://verdaccio.lossless.one/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", - "dev": true + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" }, "kind-of": { "version": "6.0.3", "resolved": "https://verdaccio.lossless.one/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" } } }, @@ -25003,7 +25106,6 @@ "version": "1.7.0", "resolved": "https://verdaccio.lossless.one/raw-socket/-/raw-socket-1.7.0.tgz", "integrity": "sha512-mXqWihgwaFNmV5le0dWk5o+03M3A2zBIkC9BNaE6R0CJN9eYot++j2FIqgNSDq6/Vmu32PPI155SiiWNV2yyFQ==", - "dev": true, "requires": { "nan": "2.14.*" }, @@ -25011,8 +25113,7 @@ "nan": { "version": "2.14.2", "resolved": "https://verdaccio.lossless.one/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", - "dev": true + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" } } }, @@ -25281,7 +25382,6 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/responselike/-/responselike-1.0.2.tgz", "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dev": true, "requires": { "lowercase-keys": "^1.0.0" } @@ -26266,7 +26366,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/strip-indent/-/strip-indent-3.0.0.tgz", "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, "requires": { "min-indent": "^1.0.0" } @@ -26379,8 +26478,7 @@ "systeminformation": { "version": "5.11.4", "resolved": "https://verdaccio.lossless.one/systeminformation/-/systeminformation-5.11.4.tgz", - "integrity": "sha512-rh7bjpjP5whUaTknim5CiGdAiKZcgWhmbmxjzBRXDWqUc/k67bz2OP+03DdcX6/SN/CDSAi/NeUwM5o2gjHJoA==", - "dev": true + "integrity": "sha512-rh7bjpjP5whUaTknim5CiGdAiKZcgWhmbmxjzBRXDWqUc/k67bz2OP+03DdcX6/SN/CDSAi/NeUwM5o2gjHJoA==" }, "tar-fs": { "version": "2.1.1", @@ -26544,8 +26642,7 @@ "to-readable-stream": { "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" }, "to-regex": { "version": "3.0.2", @@ -27063,7 +27160,6 @@ "version": "0.11.0", "resolved": "https://verdaccio.lossless.one/url/-/url-0.11.0.tgz", "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, "requires": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -27072,8 +27168,7 @@ "punycode": { "version": "1.3.2", "resolved": "https://verdaccio.lossless.one/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" } } }, @@ -27081,7 +27176,6 @@ "version": "3.0.0", "resolved": "https://verdaccio.lossless.one/url-parse-lax/-/url-parse-lax-3.0.0.tgz", "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dev": true, "requires": { "prepend-http": "^2.0.0" } @@ -27345,8 +27439,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "ws": { "version": "5.2.3", diff --git a/package.json b/package.json index b42aa93..2861cb2 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@gitzone/tsbuild": "^2.1.25", "@gitzone/tsbundle": "^1.0.78", "@gitzone/tstest": "^1.0.44", + "@pushrocks/qenv": "^4.0.10", "@pushrocks/tapbundle": "^4.0.7", "@types/node": "^17.0.21", "tslint": "^6.1.3", @@ -36,6 +37,7 @@ "readme.md" ], "dependencies": { + "@pushrocks/smartnetwork": "^2.0.14", "@pushrocks/smartrequest": "^1.1.56" } } diff --git a/test/test.ts b/test/test.nonci.ts similarity index 51% rename from test/test.ts rename to test/test.nonci.ts index 8338908..40ea14b 100644 --- a/test/test.ts +++ b/test/test.nonci.ts @@ -1,4 +1,8 @@ import { expect, expectAsync, tap } from '@pushrocks/tapbundle'; +import { Qenv } from '@pushrocks/qenv'; + +const testQenv = new Qenv('./', './.nogit'); + import * as bobcat from '../ts/index'; let testBobcatManager: bobcat.BobcatManager; @@ -9,8 +13,17 @@ tap.test('first test', async () => { expect(testBobcatManager).toBeInstanceOf(bobcat.BobcatManager); }); +tap.test('should add a Bobcat miner', async () => { + const bobcatAddresses = testQenv.getEnvVarOnDemand('BOBCATS').split(','); + console.log(bobcatAddresses); + + for (const bobcatAddress of bobcatAddresses) { + await testBobcatManager.addBobcat(bobcatAddress); + } +}); + tap.test('', async () => { - testBobcat = new bobcat.Bobcat(); + testBobcat = new bobcat.Bobcat('bobcat.bleu.de'); expect(testBobcat).toBeInstanceOf(bobcat.Bobcat); }) diff --git a/ts/bobcat.classes.bobcat.ts b/ts/bobcat.classes.bobcat.ts index fb7f3d9..eae7073 100644 --- a/ts/bobcat.classes.bobcat.ts +++ b/ts/bobcat.classes.bobcat.ts @@ -4,5 +4,41 @@ import * as plugins from './bobcat.plugins'; * maps to an individual bobcat miner */ export class Bobcat { - + // STATIC + public static async createFromNetworkAddress(networkAddressArg: string) { + const newBobcat = new Bobcat(networkAddressArg); + await newBobcat.gatherMinerDetails(); + return newBobcat; + } + + // INSTANCE + public networkAddress: string; + constructor(networkAddress: string) { + + } + + /** + * checks the status of the miner + */ + public async checkMinerStatus() { + const response = await plugins.smartrequest.getJson(`http://${this.networkAddress}/status.json`); + const body: { + "status": string, + "gap": string, + "miner_height": string, + "blockchain_height": string, + "epoch": "rpc" + } = response.body; + return response; + } + + /** + * gathers the miner details + */ + public async gatherMinerDetails() { + const response: { + + } = plugins.smartrequest.getJson(`http://${this.networkAddress}/miner.json`); + + } } \ No newline at end of file diff --git a/ts/bobcat.classes.bobcatmanager.ts b/ts/bobcat.classes.bobcatmanager.ts index 7991aa2..40156a9 100644 --- a/ts/bobcat.classes.bobcatmanager.ts +++ b/ts/bobcat.classes.bobcatmanager.ts @@ -1,8 +1,14 @@ import * as plugins from './bobcat.plugins'; +import { Bobcat } from './bobcat.classes.bobcat'; /** * */ export class BobcatManager { - + public bobcats: Bobcat[] = []; + + public async addBobcat(networkAddressArg: string) { + const newBobcat = await Bobcat.createFromNetworkAddress(networkAddressArg); + this.bobcats.push(newBobcat); + } } \ No newline at end of file diff --git a/ts/bobcat.plugins.ts b/ts/bobcat.plugins.ts index 67eedad..a29a06f 100644 --- a/ts/bobcat.plugins.ts +++ b/ts/bobcat.plugins.ts @@ -1,5 +1,7 @@ +import * as smartnetwork from '@pushrocks/smartnetwork'; import * as smartrequest from '@pushrocks/smartrequest'; export { + smartnetwork, smartrequest }