From ab4ed2602fbccd96a5f2849becced01335ad4f28 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 2 Mar 2022 16:35:20 +0100 Subject: [PATCH] fix(core): update --- package-lock.json | 571 +++++++++--------- package.json | 2 +- test/test.ts | 41 +- ts/index.ts | 28 +- ts/smartclickhouse.classes.smartclickhouse.ts | 49 ++ ts/smartclickhouse.classes.timedatatable.ts | 20 + ts/smartclickhouse.plugins.ts | 2 +- 7 files changed, 371 insertions(+), 342 deletions(-) create mode 100644 ts/smartclickhouse.classes.smartclickhouse.ts create mode 100644 ts/smartclickhouse.classes.timedatatable.ts diff --git a/package-lock.json b/package-lock.json index 640887f..5fd66b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.3", "license": "MIT", "dependencies": { - "clickhouse": "^2.4.4" + "@depyronick/clickhouse-client": "^1.0.12" }, "devDependencies": { "@gitzone/tsbuild": "^2.1.25", @@ -1897,6 +1897,48 @@ "node": ">=12" } }, + "node_modules/@depyronick/clickhouse-client": { + "version": "1.0.12", + "resolved": "https://verdaccio.lossless.one/@depyronick%2fclickhouse-client/-/clickhouse-client-1.0.12.tgz", + "integrity": "sha512-gPW0ViZ9bdMw9bmp1Pyizkff3NReISyGdGPAcoMWGKUuEZ02y9f//AS6LaQaaoerh10jxNPr+mkCcvPVkIGRPA==", + "license": "MIT", + "dependencies": { + "axios": "^0.26.0", + "reflect-metadata": "^0.1.13", + "rimraf": "^3.0.2", + "rxjs": "^7.5.1", + "stream-json": "^1.7.3" + }, + "peerDependencies": { + "axios": "^0.26.0", + "reflect-metadata": "^0.1.13", + "rxjs": "^7.5.1" + } + }, + "node_modules/@depyronick/clickhouse-client/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://verdaccio.lossless.one/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@depyronick/clickhouse-client/node_modules/rxjs": { + "version": "7.5.4", + "resolved": "https://verdaccio.lossless.one/rxjs/-/rxjs-7.5.4.tgz", + "integrity": "sha512-h5M3Hk78r6wAheJF0a5YahB1yRQKCsZ4MsGdZ5O9ETbVtjPcScGfrMmoOq7EBsCRzd4BDkvDJ7ogP8Sz5tTFiQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, "node_modules/@gitzone/tsbuild": { "version": "2.1.29", "resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.29.tgz", @@ -3658,6 +3700,7 @@ "version": "6.12.6", "resolved": "https://verdaccio.lossless.one/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", @@ -3822,6 +3865,7 @@ "version": "0.2.6", "resolved": "https://verdaccio.lossless.one/asn1/-/asn1-0.2.6.tgz", "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, "license": "MIT", "dependencies": { "safer-buffer": "~2.1.0" @@ -3862,6 +3906,7 @@ "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, "license": "MIT", "engines": { "node": ">=0.8" @@ -3912,6 +3957,7 @@ "version": "0.4.0", "resolved": "https://verdaccio.lossless.one/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true, "license": "MIT" }, "node_modules/atob": { @@ -3931,6 +3977,7 @@ "version": "0.7.0", "resolved": "https://verdaccio.lossless.one/aws-sign2/-/aws-sign2-0.7.0.tgz", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true, "license": "Apache-2.0", "engines": { "node": "*" @@ -3940,8 +3987,18 @@ "version": "1.11.0", "resolved": "https://verdaccio.lossless.one/aws4/-/aws4-1.11.0.tgz", "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true, "license": "MIT" }, + "node_modules/axios": { + "version": "0.26.0", + "resolved": "https://verdaccio.lossless.one/axios/-/axios-0.26.0.tgz", + "integrity": "sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.8" + } + }, "node_modules/babel-plugin-dynamic-import-node": { "version": "2.3.3", "resolved": "https://verdaccio.lossless.one/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", @@ -4058,7 +4115,6 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, "license": "MIT" }, "node_modules/base": { @@ -4128,6 +4184,7 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "tweetnacl": "^0.14.3" @@ -4262,7 +4319,6 @@ "version": "1.1.11", "resolved": "https://verdaccio.lossless.one/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -4726,6 +4782,7 @@ "version": "0.12.0", "resolved": "https://verdaccio.lossless.one/caseless/-/caseless-0.12.0.tgz", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true, "license": "Apache-2.0" }, "node_modules/chalk": { @@ -4931,100 +4988,6 @@ "node": ">=4" } }, - "node_modules/clickhouse": { - "version": "2.4.4", - "resolved": "https://verdaccio.lossless.one/clickhouse/-/clickhouse-2.4.4.tgz", - "integrity": "sha512-KtHHtX1IazFh4zvWsm39NtMuBUCbbUS2dLt2Hm7NJY/D2QZZ3R03NELTFKpFivoRNwrY8ghZqr7auzmnmFwGiA==", - "license": "ISC", - "dependencies": { - "JSONStream": "1.3.4", - "lodash": "4.17.21", - "querystring": "0.2.0", - "request": "2.88.0", - "stream2asynciter": "1.0.2", - "through": "2.3.8", - "tsv": "0.2.0", - "uuid": "3.4.0" - } - }, - "node_modules/clickhouse/node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://verdaccio.lossless.one/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/clickhouse/node_modules/qs": { - "version": "6.5.3", - "resolved": "https://verdaccio.lossless.one/qs/-/qs-6.5.3.tgz", - "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/clickhouse/node_modules/request": { - "version": "2.88.0", - "resolved": "https://verdaccio.lossless.one/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", - "license": "Apache-2.0", - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/clickhouse/node_modules/tough-cookie": { - "version": "2.4.3", - "resolved": "https://verdaccio.lossless.one/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "license": "BSD-3-Clause", - "dependencies": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/clickhouse/node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://verdaccio.lossless.one/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "license": "MIT", - "bin": { - "uuid": "bin/uuid" - } - }, "node_modules/cliui": { "version": "7.0.4", "resolved": "https://verdaccio.lossless.one/cliui/-/cliui-7.0.4.tgz", @@ -5162,6 +5125,7 @@ "version": "1.0.8", "resolved": "https://verdaccio.lossless.one/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" @@ -5261,7 +5225,6 @@ "version": "0.0.1", "resolved": "https://verdaccio.lossless.one/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true, "license": "MIT" }, "node_modules/concat-stream": { @@ -6025,6 +5988,7 @@ "version": "1.14.1", "resolved": "https://verdaccio.lossless.one/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, "license": "MIT", "dependencies": { "assert-plus": "^1.0.0" @@ -6215,6 +6179,7 @@ "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, "license": "MIT", "engines": { "node": ">=0.4.0" @@ -6434,6 +6399,7 @@ "version": "0.1.2", "resolved": "https://verdaccio.lossless.one/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, "license": "MIT", "dependencies": { "jsbn": "~0.1.0", @@ -7050,6 +7016,7 @@ "version": "3.0.2", "resolved": "https://verdaccio.lossless.one/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, "license": "MIT" }, "node_modules/extend-shallow": { @@ -7139,6 +7106,7 @@ "version": "1.3.0", "resolved": "https://verdaccio.lossless.one/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, "engines": [ "node >=0.6.0" ], @@ -7171,6 +7139,7 @@ "version": "3.1.3", "resolved": "https://verdaccio.lossless.one/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, "license": "MIT" }, "node_modules/fast-glob": { @@ -7195,6 +7164,7 @@ "version": "2.1.0", "resolved": "https://verdaccio.lossless.one/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, "license": "MIT" }, "node_modules/fast-levenshtein": { @@ -7350,6 +7320,26 @@ "node": ">=8" } }, + "node_modules/follow-redirects": { + "version": "1.14.9", + "resolved": "https://verdaccio.lossless.one/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, "node_modules/for-in": { "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/for-in/-/for-in-1.0.2.tgz", @@ -7406,6 +7396,7 @@ "version": "0.6.1", "resolved": "https://verdaccio.lossless.one/forever-agent/-/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true, "license": "Apache-2.0", "engines": { "node": "*" @@ -7485,7 +7476,6 @@ "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true, "license": "ISC" }, "node_modules/fsevents": { @@ -7604,6 +7594,7 @@ "version": "0.1.7", "resolved": "https://verdaccio.lossless.one/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, "license": "MIT", "dependencies": { "assert-plus": "^1.0.0" @@ -7613,7 +7604,6 @@ "version": "7.2.0", "resolved": "https://verdaccio.lossless.one/glob/-/glob-7.2.0.tgz", "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -7716,6 +7706,7 @@ "version": "2.0.0", "resolved": "https://verdaccio.lossless.one/har-schema/-/har-schema-2.0.0.tgz", "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, "license": "ISC", "engines": { "node": ">=4" @@ -7726,6 +7717,7 @@ "resolved": "https://verdaccio.lossless.one/har-validator/-/har-validator-5.1.5.tgz", "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "deprecated": "this library is no longer supported", + "dev": true, "license": "MIT", "dependencies": { "ajv": "^6.12.3", @@ -8257,6 +8249,7 @@ "version": "1.2.0", "resolved": "https://verdaccio.lossless.one/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, "license": "MIT", "dependencies": { "assert-plus": "^1.0.0", @@ -8375,7 +8368,6 @@ "version": "1.0.6", "resolved": "https://verdaccio.lossless.one/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "license": "ISC", "dependencies": { "once": "^1.3.0", @@ -8386,7 +8378,6 @@ "version": "2.0.4", "resolved": "https://verdaccio.lossless.one/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, "license": "ISC" }, "node_modules/ini": { @@ -8904,6 +8895,7 @@ "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true, "license": "MIT" }, "node_modules/is-url": { @@ -8981,6 +8973,7 @@ "version": "0.1.2", "resolved": "https://verdaccio.lossless.one/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true, "license": "MIT" }, "node_modules/jest-worker": { @@ -9083,6 +9076,7 @@ "version": "0.1.1", "resolved": "https://verdaccio.lossless.one/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true, "license": "MIT" }, "node_modules/jsdom": { @@ -9257,18 +9251,21 @@ "version": "0.4.0", "resolved": "https://verdaccio.lossless.one/json-schema/-/json-schema-0.4.0.tgz", "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true, "license": "(AFL-2.1 OR BSD-3-Clause)" }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://verdaccio.lossless.one/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, "license": "MIT" }, "node_modules/json-stringify-safe": { "version": "5.0.1", "resolved": "https://verdaccio.lossless.one/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true, "license": "ISC" }, "node_modules/json5": { @@ -9300,35 +9297,11 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://verdaccio.lossless.one/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", - "engines": [ - "node >= 0.2.0" - ], - "license": "MIT" - }, - "node_modules/JSONStream": { - "version": "1.3.4", - "resolved": "https://verdaccio.lossless.one/JSONStream/-/JSONStream-1.3.4.tgz", - "integrity": "sha512-Y7vfi3I5oMOYIr+WxV8NZxDSwcbNgzdKYsTNInmycOq9bUYwGg9ryu57Wg5NLmCjqdFPNUmpMBo3kSJN9tCbXg==", - "license": "(MIT OR Apache-2.0)", - "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" - }, - "engines": { - "node": "*" - } - }, "node_modules/jsprim": { "version": "1.4.2", "resolved": "https://verdaccio.lossless.one/jsprim/-/jsprim-1.4.2.tgz", "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dev": true, "license": "MIT", "dependencies": { "assert-plus": "1.0.0", @@ -9411,6 +9384,7 @@ "version": "4.17.21", "resolved": "https://verdaccio.lossless.one/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, "license": "MIT" }, "node_modules/lodash._baseassign": { @@ -9871,6 +9845,7 @@ "version": "2.1.34", "resolved": "https://verdaccio.lossless.one/mime-types/-/mime-types-2.1.34.tgz", "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dev": true, "license": "MIT", "dependencies": { "mime-db": "1.51.0" @@ -9883,6 +9858,7 @@ "version": "1.51.0", "resolved": "https://verdaccio.lossless.one/mime-db/-/mime-db-1.51.0.tgz", "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -9936,7 +9912,6 @@ "version": "3.1.2", "resolved": "https://verdaccio.lossless.one/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -10252,6 +10227,7 @@ "version": "0.9.0", "resolved": "https://verdaccio.lossless.one/oauth-sign/-/oauth-sign-0.9.0.tgz", "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, "license": "Apache-2.0", "engines": { "node": "*" @@ -10471,7 +10447,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" @@ -11119,7 +11094,6 @@ "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -11266,6 +11240,7 @@ "version": "2.1.0", "resolved": "https://verdaccio.lossless.one/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true, "license": "MIT" }, "node_modules/physical-cpu-count": { @@ -12101,6 +12076,7 @@ "version": "1.8.0", "resolved": "https://verdaccio.lossless.one/psl/-/psl-1.8.0.tgz", "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true, "license": "MIT" }, "node_modules/public-encrypt": { @@ -12158,6 +12134,7 @@ "version": "1.4.1", "resolved": "https://verdaccio.lossless.one/punycode/-/punycode-1.4.1.tgz", "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true, "license": "MIT" }, "node_modules/puppeteer": { @@ -12351,6 +12328,7 @@ "resolved": "https://verdaccio.lossless.one/querystring/-/querystring-0.2.0.tgz", "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", "deprecated": "The", + "dev": true, "engines": { "node": ">=0.4.x" } @@ -12531,6 +12509,12 @@ "node": ">=0.10" } }, + "node_modules/reflect-metadata": { + "version": "0.1.13", + "resolved": "https://verdaccio.lossless.one/reflect-metadata/-/reflect-metadata-0.1.13.tgz", + "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", + "license": "Apache-2.0" + }, "node_modules/regenerate": { "version": "1.4.2", "resolved": "https://verdaccio.lossless.one/regenerate/-/regenerate-1.4.2.tgz", @@ -13095,6 +13079,7 @@ "version": "5.1.2", "resolved": "https://verdaccio.lossless.one/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, "license": "MIT" }, "node_modules/safe-regex": { @@ -13111,6 +13096,7 @@ "version": "2.1.2", "resolved": "https://verdaccio.lossless.one/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, "license": "MIT" }, "node_modules/safer-eval": { @@ -13761,6 +13747,7 @@ "version": "1.17.0", "resolved": "https://verdaccio.lossless.one/sshpk/-/sshpk-1.17.0.tgz", "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dev": true, "license": "MIT", "dependencies": { "asn1": "~0.2.3", @@ -14000,6 +13987,12 @@ "readable-stream": "^2.0.2" } }, + "node_modules/stream-chain": { + "version": "2.2.5", + "resolved": "https://verdaccio.lossless.one/stream-chain/-/stream-chain-2.2.5.tgz", + "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==", + "license": "BSD-3-Clause" + }, "node_modules/stream-http": { "version": "2.8.3", "resolved": "https://verdaccio.lossless.one/stream-http/-/stream-http-2.8.3.tgz", @@ -14014,11 +14007,14 @@ "xtend": "^4.0.0" } }, - "node_modules/stream2asynciter": { - "version": "1.0.2", - "resolved": "https://verdaccio.lossless.one/stream2asynciter/-/stream2asynciter-1.0.2.tgz", - "integrity": "sha512-ye/h2HsqnSDF+bD68AJHpCypZ5hVcxan3HXEEmDf49K+Jr3n3/smBoQrjiOtq2RRVI3w28AA+oahcmFKmo2SDg==", - "license": "ISC" + "node_modules/stream-json": { + "version": "1.7.4", + "resolved": "https://verdaccio.lossless.one/stream-json/-/stream-json-1.7.4.tgz", + "integrity": "sha512-ja2dde1v7dOlx5/vmavn8kLrxvNfs7r2oNc5DYmNJzayDDdudyCSuTB1gFjH4XBVTIwxiMxL4i059HX+ZiouXg==", + "license": "BSD-3-Clause", + "dependencies": { + "stream-chain": "^2.2.5" + } }, "node_modules/string_decoder": { "version": "1.3.0", @@ -14427,6 +14423,7 @@ "version": "2.3.8", "resolved": "https://verdaccio.lossless.one/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true, "license": "MIT" }, "node_modules/through2": { @@ -14710,7 +14707,6 @@ "version": "2.3.1", "resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz", "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true, "license": "0BSD" }, "node_modules/tslint": { @@ -14843,12 +14839,6 @@ "dev": true, "license": "0BSD" }, - "node_modules/tsv": { - "version": "0.2.0", - "resolved": "https://verdaccio.lossless.one/tsv/-/tsv-0.2.0.tgz", - "integrity": "sha1-koaaPLX1AzLz3JD8qCvmZ9tvctY=", - "license": "MIT (ricardo.mit-license.org)" - }, "node_modules/tty-browserify": { "version": "0.0.0", "resolved": "https://verdaccio.lossless.one/tty-browserify/-/tty-browserify-0.0.0.tgz", @@ -14860,6 +14850,7 @@ "version": "0.6.0", "resolved": "https://verdaccio.lossless.one/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" @@ -14872,6 +14863,7 @@ "version": "0.14.5", "resolved": "https://verdaccio.lossless.one/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true, "license": "Unlicense" }, "node_modules/type-check": { @@ -15252,6 +15244,7 @@ "version": "4.4.1", "resolved": "https://verdaccio.lossless.one/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" @@ -15261,6 +15254,7 @@ "version": "2.1.1", "resolved": "https://verdaccio.lossless.one/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -15414,6 +15408,7 @@ "version": "1.10.0", "resolved": "https://verdaccio.lossless.one/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, "engines": [ "node >=0.6.0" ], @@ -15428,6 +15423,7 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, "license": "MIT" }, "node_modules/vlq": { @@ -15642,7 +15638,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": { @@ -17048,6 +17043,36 @@ "@cspotcode/source-map-consumer": "0.8.0" } }, + "@depyronick/clickhouse-client": { + "version": "1.0.12", + "resolved": "https://verdaccio.lossless.one/@depyronick%2fclickhouse-client/-/clickhouse-client-1.0.12.tgz", + "integrity": "sha512-gPW0ViZ9bdMw9bmp1Pyizkff3NReISyGdGPAcoMWGKUuEZ02y9f//AS6LaQaaoerh10jxNPr+mkCcvPVkIGRPA==", + "requires": { + "axios": "^0.26.0", + "reflect-metadata": "^0.1.13", + "rimraf": "^3.0.2", + "rxjs": "^7.5.1", + "stream-json": "^1.7.3" + }, + "dependencies": { + "rimraf": { + "version": "3.0.2", + "resolved": "https://verdaccio.lossless.one/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "requires": { + "glob": "^7.1.3" + } + }, + "rxjs": { + "version": "7.5.4", + "resolved": "https://verdaccio.lossless.one/rxjs/-/rxjs-7.5.4.tgz", + "integrity": "sha512-h5M3Hk78r6wAheJF0a5YahB1yRQKCsZ4MsGdZ5O9ETbVtjPcScGfrMmoOq7EBsCRzd4BDkvDJ7ogP8Sz5tTFiQ==", + "requires": { + "tslib": "^2.1.0" + } + } + } + }, "@gitzone/tsbuild": { "version": "2.1.29", "resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.29.tgz", @@ -18570,6 +18595,7 @@ "version": "6.12.6", "resolved": "https://verdaccio.lossless.one/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -18686,6 +18712,7 @@ "version": "0.2.6", "resolved": "https://verdaccio.lossless.one/asn1/-/asn1-0.2.6.tgz", "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, "requires": { "safer-buffer": "~2.1.0" } @@ -18740,7 +18767,8 @@ "assert-plus": { "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true }, "assign-symbols": { "version": "1.0.0", @@ -18763,7 +18791,8 @@ "asynckit": { "version": "0.4.0", "resolved": "https://verdaccio.lossless.one/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "atob": { "version": "2.1.2", @@ -18774,12 +18803,22 @@ "aws-sign2": { "version": "0.7.0", "resolved": "https://verdaccio.lossless.one/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true }, "aws4": { "version": "1.11.0", "resolved": "https://verdaccio.lossless.one/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "axios": { + "version": "0.26.0", + "resolved": "https://verdaccio.lossless.one/axios/-/axios-0.26.0.tgz", + "integrity": "sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==", + "requires": { + "follow-redirects": "^1.14.8" + } }, "babel-plugin-dynamic-import-node": { "version": "2.3.3", @@ -18878,8 +18917,7 @@ "balanced-match": { "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "base": { "version": "0.11.2", @@ -18923,6 +18961,7 @@ "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, "requires": { "tweetnacl": "^0.14.3" } @@ -19027,7 +19066,6 @@ "version": "1.1.11", "resolved": "https://verdaccio.lossless.one/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -19377,7 +19415,8 @@ "caseless": { "version": "0.12.0", "resolved": "https://verdaccio.lossless.one/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true }, "chalk": { "version": "2.4.2", @@ -19530,79 +19569,6 @@ "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==", "dev": true }, - "clickhouse": { - "version": "2.4.4", - "resolved": "https://verdaccio.lossless.one/clickhouse/-/clickhouse-2.4.4.tgz", - "integrity": "sha512-KtHHtX1IazFh4zvWsm39NtMuBUCbbUS2dLt2Hm7NJY/D2QZZ3R03NELTFKpFivoRNwrY8ghZqr7auzmnmFwGiA==", - "requires": { - "JSONStream": "1.3.4", - "lodash": "4.17.21", - "querystring": "0.2.0", - "request": "2.88.0", - "stream2asynciter": "1.0.2", - "through": "2.3.8", - "tsv": "0.2.0", - "uuid": "3.4.0" - }, - "dependencies": { - "form-data": { - "version": "2.3.3", - "resolved": "https://verdaccio.lossless.one/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "qs": { - "version": "6.5.3", - "resolved": "https://verdaccio.lossless.one/qs/-/qs-6.5.3.tgz", - "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" - }, - "request": { - "version": "2.88.0", - "resolved": "https://verdaccio.lossless.one/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - } - }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://verdaccio.lossless.one/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://verdaccio.lossless.one/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - } - } - }, "cliui": { "version": "7.0.4", "resolved": "https://verdaccio.lossless.one/cliui/-/cliui-7.0.4.tgz", @@ -19712,6 +19678,7 @@ "version": "1.0.8", "resolved": "https://verdaccio.lossless.one/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -19790,8 +19757,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://verdaccio.lossless.one/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { "version": "1.6.2", @@ -20366,6 +20332,7 @@ "version": "1.14.1", "resolved": "https://verdaccio.lossless.one/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, "requires": { "assert-plus": "^1.0.0" } @@ -20506,7 +20473,8 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true }, "depd": { "version": "1.1.2", @@ -20677,6 +20645,7 @@ "version": "0.1.2", "resolved": "https://verdaccio.lossless.one/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, "requires": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" @@ -21126,7 +21095,8 @@ "extend": { "version": "3.0.2", "resolved": "https://verdaccio.lossless.one/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true }, "extend-shallow": { "version": "2.0.1", @@ -21190,7 +21160,8 @@ "extsprintf": { "version": "1.3.0", "resolved": "https://verdaccio.lossless.one/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true }, "falafel": { "version": "2.2.4", @@ -21215,7 +21186,8 @@ "fast-deep-equal": { "version": "3.1.3", "resolved": "https://verdaccio.lossless.one/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "fast-glob": { "version": "2.2.7", @@ -21234,7 +21206,8 @@ "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://verdaccio.lossless.one/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "fast-levenshtein": { "version": "2.0.6", @@ -21350,6 +21323,11 @@ "path-exists": "^4.0.0" } }, + "follow-redirects": { + "version": "1.14.9", + "resolved": "https://verdaccio.lossless.one/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" + }, "for-in": { "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/for-in/-/for-in-1.0.2.tgz", @@ -21396,7 +21374,8 @@ "forever-agent": { "version": "0.6.1", "resolved": "https://verdaccio.lossless.one/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true }, "form-data": { "version": "4.0.0", @@ -21450,8 +21429,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { "version": "1.2.13", @@ -21528,6 +21506,7 @@ "version": "0.1.7", "resolved": "https://verdaccio.lossless.one/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, "requires": { "assert-plus": "^1.0.0" } @@ -21536,7 +21515,6 @@ "version": "7.2.0", "resolved": "https://verdaccio.lossless.one/glob/-/glob-7.2.0.tgz", "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -21617,12 +21595,14 @@ "har-schema": { "version": "2.0.0", "resolved": "https://verdaccio.lossless.one/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true }, "har-validator": { "version": "5.1.5", "resolved": "https://verdaccio.lossless.one/har-validator/-/har-validator-5.1.5.tgz", "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, "requires": { "ajv": "^6.12.3", "har-schema": "^2.0.0" @@ -21997,6 +21977,7 @@ "version": "1.2.0", "resolved": "https://verdaccio.lossless.one/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, "requires": { "assert-plus": "^1.0.0", "jsprim": "^1.2.2", @@ -22078,7 +22059,6 @@ "version": "1.0.6", "resolved": "https://verdaccio.lossless.one/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -22087,8 +22067,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://verdaccio.lossless.one/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "ini": { "version": "1.3.8", @@ -22438,7 +22417,8 @@ "is-typedarray": { "version": "1.0.0", "resolved": "https://verdaccio.lossless.one/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true }, "is-url": { "version": "1.2.4", @@ -22494,7 +22474,8 @@ "isstream": { "version": "0.1.2", "resolved": "https://verdaccio.lossless.one/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true }, "jest-worker": { "version": "26.6.2", @@ -22566,7 +22547,8 @@ "jsbn": { "version": "0.1.1", "resolved": "https://verdaccio.lossless.one/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true }, "jsdom": { "version": "14.1.0", @@ -22692,17 +22674,20 @@ "json-schema": { "version": "0.4.0", "resolved": "https://verdaccio.lossless.one/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://verdaccio.lossless.one/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://verdaccio.lossless.one/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true }, "json5": { "version": "2.2.0", @@ -22723,24 +22708,11 @@ "universalify": "^2.0.0" } }, - "jsonparse": { - "version": "1.3.1", - "resolved": "https://verdaccio.lossless.one/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=" - }, - "JSONStream": { - "version": "1.3.4", - "resolved": "https://verdaccio.lossless.one/JSONStream/-/JSONStream-1.3.4.tgz", - "integrity": "sha512-Y7vfi3I5oMOYIr+WxV8NZxDSwcbNgzdKYsTNInmycOq9bUYwGg9ryu57Wg5NLmCjqdFPNUmpMBo3kSJN9tCbXg==", - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - } - }, "jsprim": { "version": "1.4.2", "resolved": "https://verdaccio.lossless.one/jsprim/-/jsprim-1.4.2.tgz", "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dev": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", @@ -22803,7 +22775,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://verdaccio.lossless.one/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lodash._baseassign": { "version": "3.2.0", @@ -23166,6 +23139,7 @@ "version": "2.1.34", "resolved": "https://verdaccio.lossless.one/mime-types/-/mime-types-2.1.34.tgz", "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dev": true, "requires": { "mime-db": "1.51.0" }, @@ -23173,7 +23147,8 @@ "mime-db": { "version": "1.51.0", "resolved": "https://verdaccio.lossless.one/mime-db/-/mime-db-1.51.0.tgz", - "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "dev": true } } }, @@ -23211,7 +23186,6 @@ "version": "3.1.2", "resolved": "https://verdaccio.lossless.one/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -23447,7 +23421,8 @@ "oauth-sign": { "version": "0.9.0", "resolved": "https://verdaccio.lossless.one/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true }, "object-assign": { "version": "4.1.1", @@ -23597,7 +23572,6 @@ "version": "1.4.0", "resolved": "https://verdaccio.lossless.one/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { "wrappy": "1" } @@ -24099,8 +24073,7 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://verdaccio.lossless.one/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-key": { "version": "2.0.1", @@ -24206,7 +24179,8 @@ "performance-now": { "version": "2.1.0", "resolved": "https://verdaccio.lossless.one/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true }, "physical-cpu-count": { "version": "2.0.0", @@ -24831,7 +24805,8 @@ "psl": { "version": "1.8.0", "resolved": "https://verdaccio.lossless.one/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true }, "public-encrypt": { "version": "4.0.3", @@ -24879,7 +24854,8 @@ "punycode": { "version": "1.4.1", "resolved": "https://verdaccio.lossless.one/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true }, "puppeteer": { "version": "11.0.0", @@ -24998,7 +24974,8 @@ "querystring": { "version": "0.2.0", "resolved": "https://verdaccio.lossless.one/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true }, "querystring-es3": { "version": "0.2.1", @@ -25145,6 +25122,11 @@ "readable-stream": "^2.0.2" } }, + "reflect-metadata": { + "version": "0.1.13", + "resolved": "https://verdaccio.lossless.one/reflect-metadata/-/reflect-metadata-0.1.13.tgz", + "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" + }, "regenerate": { "version": "1.4.2", "resolved": "https://verdaccio.lossless.one/regenerate/-/regenerate-1.4.2.tgz", @@ -25548,7 +25530,8 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://verdaccio.lossless.one/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true }, "safe-regex": { "version": "1.1.0", @@ -25562,7 +25545,8 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://verdaccio.lossless.one/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true }, "safer-eval": { "version": "1.3.6", @@ -26080,6 +26064,7 @@ "version": "1.17.0", "resolved": "https://verdaccio.lossless.one/sshpk/-/sshpk-1.17.0.tgz", "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dev": true, "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -26258,6 +26243,11 @@ "readable-stream": "^2.0.2" } }, + "stream-chain": { + "version": "2.2.5", + "resolved": "https://verdaccio.lossless.one/stream-chain/-/stream-chain-2.2.5.tgz", + "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==" + }, "stream-http": { "version": "2.8.3", "resolved": "https://verdaccio.lossless.one/stream-http/-/stream-http-2.8.3.tgz", @@ -26271,10 +26261,13 @@ "xtend": "^4.0.0" } }, - "stream2asynciter": { - "version": "1.0.2", - "resolved": "https://verdaccio.lossless.one/stream2asynciter/-/stream2asynciter-1.0.2.tgz", - "integrity": "sha512-ye/h2HsqnSDF+bD68AJHpCypZ5hVcxan3HXEEmDf49K+Jr3n3/smBoQrjiOtq2RRVI3w28AA+oahcmFKmo2SDg==" + "stream-json": { + "version": "1.7.4", + "resolved": "https://verdaccio.lossless.one/stream-json/-/stream-json-1.7.4.tgz", + "integrity": "sha512-ja2dde1v7dOlx5/vmavn8kLrxvNfs7r2oNc5DYmNJzayDDdudyCSuTB1gFjH4XBVTIwxiMxL4i059HX+ZiouXg==", + "requires": { + "stream-chain": "^2.2.5" + } }, "string_decoder": { "version": "1.3.0", @@ -26558,7 +26551,8 @@ "through": { "version": "2.3.8", "resolved": "https://verdaccio.lossless.one/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true }, "through2": { "version": "4.0.2", @@ -26757,8 +26751,7 @@ "tslib": { "version": "2.3.1", "resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" }, "tslint": { "version": "6.1.3", @@ -26849,11 +26842,6 @@ } } }, - "tsv": { - "version": "0.2.0", - "resolved": "https://verdaccio.lossless.one/tsv/-/tsv-0.2.0.tgz", - "integrity": "sha1-koaaPLX1AzLz3JD8qCvmZ9tvctY=" - }, "tty-browserify": { "version": "0.0.0", "resolved": "https://verdaccio.lossless.one/tty-browserify/-/tty-browserify-0.0.0.tgz", @@ -26864,6 +26852,7 @@ "version": "0.6.0", "resolved": "https://verdaccio.lossless.one/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, "requires": { "safe-buffer": "^5.0.1" } @@ -26871,7 +26860,8 @@ "tweetnacl": { "version": "0.14.5", "resolved": "https://verdaccio.lossless.one/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true }, "type-check": { "version": "0.3.2", @@ -27136,6 +27126,7 @@ "version": "4.4.1", "resolved": "https://verdaccio.lossless.one/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "requires": { "punycode": "^2.1.0" }, @@ -27143,7 +27134,8 @@ "punycode": { "version": "2.1.1", "resolved": "https://verdaccio.lossless.one/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true } } }, @@ -27261,6 +27253,7 @@ "version": "1.10.0", "resolved": "https://verdaccio.lossless.one/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, "requires": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", @@ -27270,7 +27263,8 @@ "core-util-is": { "version": "1.0.2", "resolved": "https://verdaccio.lossless.one/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true } } }, @@ -27437,8 +27431,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 0784fe9..d6985e9 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "tslint-config-prettier": "^1.15.0" }, "dependencies": { - "clickhouse": "^2.4.4" + "@depyronick/clickhouse-client": "^1.0.12" }, "browserslist": [ "last 1 chrome versions" diff --git a/test/test.ts b/test/test.ts index 91f497e..5bfb794 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,12 +1,12 @@ import { expect, expectAsync, tap } from '@pushrocks/tapbundle'; import * as smartclickhouse from '../ts/index'; -let testClickhouseDb: smartclickhouse.ClickhouseDb; +let testClickhouseDb: smartclickhouse.SmartClickHouseDb; tap.test('first test', async () => { - testClickhouseDb = new smartclickhouse.ClickhouseDb({ - url: 'http://localhost', - port: 8123, + testClickhouseDb = new smartclickhouse.SmartClickHouseDb({ + host: 'localhost', + database: 'test2' }); }); @@ -14,32 +14,23 @@ tap.test('should start the clickhouse db', async () => { await testClickhouseDb.start(); }) -tap.test('should write something to the clickhouse db', async () => { - const result = await testClickhouseDb.clickhouseClient.query(`CREATE DATABASE IF NOT EXISTS lossless`).toPromise(); - console.log(result); - const result2 = await testClickhouseDb.clickhouseClient.query(`CREATE TABLE IF NOT EXISTS lossless.visits ( +tap.skip.test('should write something to the clickhouse db', async () => { + const result2 = await testClickhouseDb.clickhouseClient.queryPromise(`CREATE TABLE IF NOT EXISTS visits2 ( timestamp UInt64, ip String, os String, userAgent String, version String - ) ENGINE=MergeTree() ORDER BY timestamp`).toPromise(); - console.log(result2); - const ws = testClickhouseDb.clickhouseClient.insert('INSERT INTO lossless.visits FORMAT JSONEachRow').stream(); - for(let i = 0; i <= 1000; i++) { - await ws.writeRow( - JSON.stringify({ - timestamp: Date.now(), - ip: '127.0.01', - os: 'Mac OS X', - userAgent: 'some', - version: 'someversion' - }) - ); - } - - //wait stream finish - const result3 = await ws.exec(); + ) ENGINE=MergeTree() ORDER BY timestamp`); + const result3 = await testClickhouseDb.clickhouseClient.insertPromise('visits2', [ + { + timestamp: Date.now(), + ip: '127.0.01', + os: 'Mac OS X', + userAgent: 'some', + version: 'someversion' + } + ]); }) tap.start(); diff --git a/ts/index.ts b/ts/index.ts index dff167d..4dba525 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,26 +1,2 @@ -import * as plugins from './smartclickhouse.plugins'; - -export interface IClickhouseConstructorOptions { - url: string; - port?: number; -} - -export class ClickhouseDb { - public options: IClickhouseConstructorOptions; - public clickhouseClient: plugins.clickhouse.ClickHouse; - - constructor(optionsArg: IClickhouseConstructorOptions) { - this.options = optionsArg; - } - - /** - * starts the connection to the Clickhouse db - */ - public start() { - this.clickhouseClient = new plugins.clickhouse.ClickHouse({ - ...this.options, - basicAuth: null, - format: 'json' - }); - } -} \ No newline at end of file +export * from './smartclickhouse.classes.smartclickhouse'; +export * from './smartclickhouse.classes.timedatatable'; diff --git a/ts/smartclickhouse.classes.smartclickhouse.ts b/ts/smartclickhouse.classes.smartclickhouse.ts new file mode 100644 index 0000000..8fba63a --- /dev/null +++ b/ts/smartclickhouse.classes.smartclickhouse.ts @@ -0,0 +1,49 @@ +import * as plugins from './smartclickhouse.plugins'; +import { TimeDataTable } from './smartclickhouse.classes.timedatatable'; + +export interface IClickhouseConstructorOptions { + host: string; + database: string; + password?: string; +} + + + +export class SmartClickHouseDb { + public options: IClickhouseConstructorOptions; + public clickhouseClient: plugins.clickhouse.ClickHouseClient; + + constructor(optionsArg: IClickhouseConstructorOptions) { + this.options = optionsArg; + } + + /** + * starts the connection to the Clickhouse db + */ + public async start() { + console.log(`Connecting to default database first.`) + const defaultClient = new plugins.clickhouse.ClickHouseClient({ + ...this.options, + database: 'default' + }); + console.log(`Create database ${this.options.database}, if it does not exist...`); + await defaultClient.queryPromise(`CREATE DATABASE IF NOT EXISTS ${this.options.database}`); + + console.log(`Ensured database. Now connecting to wanted database: ${this.options.database}`) + this.clickhouseClient = new plugins.clickhouse.ClickHouseClient({ + ...this.options, + + }); + console.log(`trying to ping database...`); + const result = await this.clickhouseClient.ping(); + console.log(`Ping successfull?: ${result}`); + + } + + /** + * gets a table + */ + public async getTable(tableName: string) { + const newTable = TimeDataTable.getTable(this, tableName); + } +} \ No newline at end of file diff --git a/ts/smartclickhouse.classes.timedatatable.ts b/ts/smartclickhouse.classes.timedatatable.ts new file mode 100644 index 0000000..f3e8c92 --- /dev/null +++ b/ts/smartclickhouse.classes.timedatatable.ts @@ -0,0 +1,20 @@ +import * as plugins from './smartclickhouse.plugins'; +import { SmartClickHouseDb } from './smartclickhouse.classes.smartclickhouse'; + +export class TimeDataTable { + public static async getTable(smartClickHouseDbRefArg: SmartClickHouseDb, tableNameArg: string) { + const newTable = new TimeDataTable(smartClickHouseDbRefArg, tableNameArg); + + // create table in clickhouse + smartClickHouseDbRefArg; + } + + // INSTANCE + public smartClickHouseDbRef: SmartClickHouseDb; + public tableName: string; + + constructor(smartClickHouseDbRefArg: SmartClickHouseDb,tableNameArg: string) { + this.smartClickHouseDbRef = smartClickHouseDbRefArg; + this.tableName = tableNameArg; + } +} \ No newline at end of file diff --git a/ts/smartclickhouse.plugins.ts b/ts/smartclickhouse.plugins.ts index cecd84d..944ab71 100644 --- a/ts/smartclickhouse.plugins.ts +++ b/ts/smartclickhouse.plugins.ts @@ -1,4 +1,4 @@ -import * as clickhouse from 'clickhouse'; +import * as clickhouse from '@depyronick/clickhouse-client'; export { clickhouse