From e0eb7bf887cdd87cd9a93a73acae4d8855e76a4b Mon Sep 17 00:00:00 2001 From: R-Rajaneesh Date: Wed, 26 Oct 2022 17:14:41 +0530 Subject: [PATCH] feat: v1.0.0 --- .gitignore | 5 + package-lock.json | 2998 ++++++++++++++++++++-------- package.json | 14 +- packages/core/dist/index.d.ts | 36 +- packages/core/dist/index.js | 119 +- packages/core/index.ts | 148 +- packages/core/package.json | 2 +- packages/firestore/dist/index.d.ts | 28 +- packages/firestore/dist/index.js | 86 +- packages/firestore/index.ts | 99 +- packages/firestore/package.json | 2 +- packages/sqlite/dist/index.d.ts | 2 +- packages/sqlite/dist/index.js | 35 +- packages/sqlite/index.ts | 36 +- packages/sqlite/package.json | 2 +- 15 files changed, 2514 insertions(+), 1098 deletions(-) diff --git a/.gitignore b/.gitignore index 25ed9dd..4655af2 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,8 @@ test.js package-lock.json old/ databases/ + + +# Added by cargo + +/target diff --git a/package-lock.json b/package-lock.json index a8e13bc..7f793a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@quipodb/core", - "version": "1.0.1", + "name": "quipodb", + "version": "0.0.1-beta.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@quipodb/core", - "version": "1.0.1", + "name": "quipodb", + "version": "0.0.1-beta.0", "license": "ISC", "workspaces": [ "/packages/*" @@ -14,21 +14,35 @@ "dependencies": { "@firebase/firestore": "^3.6.0", "@hapi/hapi": "^20.2.2", + "axios": "^1.1.3", "better-sqlite3": "^7.6.2", + "bson": "^4.7.0", "firebase": "^9.11.0", "firebase-admin": "^11.0.1", "fs-extra": "^10.1.0", "is-what": "^4.1.7", + "knex": "^2.3.0", "lodash": "^4.17.21", "merge-anything": "^5.0.4" }, "devDependencies": { - "@types/better-sqlite3": "^7.6.0", + "@types/better-sqlite3": "^7.6.2", "@types/fs-extra": "^9.0.13", - "@types/hapi__hapi": "^20.0.12", - "@types/lodash": "^4.14.182", - "@types/node": "^18.6.1", - "typescript": "^4.8.3" + "@types/lodash": "^4.14.186", + "@types/node": "^18.11.3", + "typescript": "^4.8.4" + } + }, + "node_modules/@babel/parser": { + "version": "7.19.6", + "resolved": "http://localhost:4873/@babel%2fparser/-/parser-7.19.6.tgz", + "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "optional": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" } }, "node_modules/@fastify/busboy": { @@ -43,14 +57,14 @@ } }, "node_modules/@firebase/analytics": { - "version": "0.8.1", - "resolved": "http://localhost:4873/@firebase%2fanalytics/-/analytics-0.8.1.tgz", - "integrity": "sha512-br/PBwPAuVdmuxt6k9S6Wtyvgh5YC4vPsY4zv/AtzrgIiXhlJKi28If9Pfh0z9W0dLuqTLSVI0MNzUV/hH5oTA==", + "version": "0.8.3", + "resolved": "http://localhost:4873/@firebase%2fanalytics/-/analytics-0.8.3.tgz", + "integrity": "sha512-viGhc57JW9zHp/0JKpLBUthdpOrEjbPETQFz8oNfaNma+cHA6FtIrtg4Sla52DgqatbATcE9aIDBiPCGrCtNjw==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -58,14 +72,14 @@ } }, "node_modules/@firebase/analytics-compat": { - "version": "0.1.14", - "resolved": "http://localhost:4873/@firebase%2fanalytics-compat/-/analytics-compat-0.1.14.tgz", - "integrity": "sha512-HNuXTm+EYSf0T9N69UMmy9eVUipxxV8BhkCDPOdmUaa4syO4CtYk5qZt2k1qLygJI9wVFdiZeTU00FAgWK1/6A==", + "version": "0.1.16", + "resolved": "http://localhost:4873/@firebase%2fanalytics-compat/-/analytics-compat-0.1.16.tgz", + "integrity": "sha512-mDAhE33WiyCrqSQZvzyZtQCCdf4ipn5tsEpTbIUruk7MbThQ1EbNAbPBiEk9NDLD3sUyLABZGFctvym/hc8H+w==", "dependencies": { - "@firebase/analytics": "0.8.1", + "@firebase/analytics": "0.8.3", "@firebase/analytics-types": "0.7.0", - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -78,25 +92,25 @@ "integrity": "sha512-DNE2Waiwy5+zZnCfintkDtBfaW6MjIG883474v6Z0K1XZIvl76cLND4iv0YUb48leyF+PJK1KO2XrgHb/KpmhQ==" }, "node_modules/@firebase/app": { - "version": "0.8.0", - "resolved": "http://localhost:4873/@firebase%2fapp/-/app-0.8.0.tgz", - "integrity": "sha512-9kZjhIDv4u4PlrCgcQVBA2u8BZHrP8rUWDltmCUi9BLHv0tltfxLMZODV5LeuAfCJKVp2dbIrpGHPxAaLLl/ww==", + "version": "0.8.2", + "resolved": "http://localhost:4873/@firebase%2fapp/-/app-0.8.2.tgz", + "integrity": "sha512-ByNDCe8h9O/szO3XVTrS484MtqBOKriVaNCQC7Y7KgZSaiA0OOWmIY5vwi63mBTYetqMNN5VGiG/6ZSmGIZyoQ==", "dependencies": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "idb": "7.0.1", "tslib": "^2.1.0" } }, "node_modules/@firebase/app-check": { - "version": "0.5.13", - "resolved": "http://localhost:4873/@firebase%2fapp-check/-/app-check-0.5.13.tgz", - "integrity": "sha512-+1E2aDvd7vo4QidEyQFZaHur4r8oaHXZZ/SqykK2bcHBF3ihimJgrGBbtvOdUzrR0MOCZx9a18nXAJqevi/+Ow==", + "version": "0.5.15", + "resolved": "http://localhost:4873/@firebase%2fapp-check/-/app-check-0.5.15.tgz", + "integrity": "sha512-ifQalGXkXMwGR3F8Glmo1XtDg0UjkwCmI/ff05mxnKGMfs5ZDyw8DikQfna//a/KdYuOBqxlBwS2BhHiobqUUg==", "dependencies": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -104,15 +118,15 @@ } }, "node_modules/@firebase/app-check-compat": { - "version": "0.2.13", - "resolved": "http://localhost:4873/@firebase%2fapp-check-compat/-/app-check-compat-0.2.13.tgz", - "integrity": "sha512-vVj6hcdwAOyR4GWrASyki9HhC8mIDN4hta7k/WC0k4UeWCjthfSgR+8Ce7HHp8h4fB5LhVFgFC8QI07sZ2O7jA==", + "version": "0.2.15", + "resolved": "http://localhost:4873/@firebase%2fapp-check-compat/-/app-check-compat-0.2.15.tgz", + "integrity": "sha512-EgD1WEFwwq7aP7DxPSYuUpMt8eAhClA57976D3BaHDbH/IXEuw0DfaeT0LtBb+xJD7J8uxy+YKpudCC8gzUu8g==", "dependencies": { - "@firebase/app-check": "0.5.13", + "@firebase/app-check": "0.5.15", "@firebase/app-check-types": "0.4.0", - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -130,14 +144,14 @@ "integrity": "sha512-SsWafqMABIOu7zLgWbmwvHGOeQQVQlwm42kwwubsmfLmL4Sf5uGpBfDhQ0CAkpi7bkJ/NwNFKafNDL9prRNP0Q==" }, "node_modules/@firebase/app-compat": { - "version": "0.1.35", - "resolved": "http://localhost:4873/@firebase%2fapp-compat/-/app-compat-0.1.35.tgz", - "integrity": "sha512-6ax9yXCPEBSREHxo+nCpSgSg01mGTvR4I7u/EHqVNNqG8uEWog7sUan3Y3vr3q3zH8t5BkXDGejOH9atF+XnAQ==", + "version": "0.1.37", + "resolved": "http://localhost:4873/@firebase%2fapp-compat/-/app-compat-0.1.37.tgz", + "integrity": "sha512-doTKYGlVc8ZiQNOl66rpkU/YItRyOxCgMp4YWThXkPM4T/pTi4a9IMCe8K88gVNeYWd8sKW4vSnxjcOG5hQXEA==", "dependencies": { - "@firebase/app": "0.8.0", - "@firebase/component": "0.5.18", + "@firebase/app": "0.8.2", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -147,13 +161,13 @@ "integrity": "sha512-Lec3VVquUwXPn2UReGSsfTxuMBVRmzGIwA/CJnF0LQuPgv9kOmXk9mVqsDMfHxHtqjai0n6wWHR2TqjdVV/bYA==" }, "node_modules/@firebase/auth": { - "version": "0.20.8", - "resolved": "http://localhost:4873/@firebase%2fauth/-/auth-0.20.8.tgz", - "integrity": "sha512-ss0Uyp5sLrGRR/8bbkZTod5gmdgltqvcxQySAKYGbsyBq4j+RTjZzVqUHZHFY7f8NLm2Bz4hO1dZRaIUYW8zLw==", + "version": "0.20.10", + "resolved": "http://localhost:4873/@firebase%2fauth/-/auth-0.20.10.tgz", + "integrity": "sha512-uAZypmVv/4nijaPVtR/ipjKBmSDPLQ7sNScLHs2DVhdvCklgUUF5+zsEdPlMfKDIfmVQHFwHbUgeKyXDYSRMwQ==", "dependencies": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "selenium-webdriver": "4.1.2", "tslib": "^2.1.0" @@ -163,14 +177,14 @@ } }, "node_modules/@firebase/auth-compat": { - "version": "0.2.21", - "resolved": "http://localhost:4873/@firebase%2fauth-compat/-/auth-compat-0.2.21.tgz", - "integrity": "sha512-etu40X/AdVWys/RvTZ0lHCmglGT3vEos+LS3O5u+L7vLOJ0LsiV8i9bFBPCv9aZcqK/R7cs9bGLQdZB9QwimVQ==", + "version": "0.2.23", + "resolved": "http://localhost:4873/@firebase%2fauth-compat/-/auth-compat-0.2.23.tgz", + "integrity": "sha512-r9YEXaL7YKoFOWHRvVoQ6d5klP+hkSsAtt21UIvP3/BxDDU+yLXN5vVvFHr38apuUeMGN34M7zkY6SihnLutIQ==", "dependencies": { - "@firebase/auth": "0.20.8", + "@firebase/auth": "0.20.10", "@firebase/auth-types": "0.11.0", - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "selenium-webdriver": "4.1.2", "tslib": "^2.1.0" @@ -198,58 +212,58 @@ } }, "node_modules/@firebase/component": { - "version": "0.5.18", - "resolved": "http://localhost:4873/@firebase%2fcomponent/-/component-0.5.18.tgz", - "integrity": "sha512-worbz6idNWud/Sfpp3Lf9BE9tM8GRHhuQ4Hsqnva6ECdSRKYt8RRPg3UUSwDGa4iFpPo+gF/jKfydYN676+JmQ==", + "version": "0.5.20", + "resolved": "http://localhost:4873/@firebase%2fcomponent/-/component-0.5.20.tgz", + "integrity": "sha512-wP51tQBlPFprfAWxWjzC/56hG4APhl43jFsgwuqCl3bhVbiKcr278QbrbGNmIXDeGKo4sGZLAnH9whl2apeCmA==", "dependencies": { - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "node_modules/@firebase/database": { - "version": "0.13.7", - "resolved": "http://localhost:4873/@firebase%2fdatabase/-/database-0.13.7.tgz", - "integrity": "sha512-j72yRxwGMcRnB+KwmyQYpPJHb5oNgbTS17ecAm8cX1GEyRohbZiE9GljbMaoOxSz/r8XuVfe748gEk5HFSEtSA==", + "version": "0.13.9", + "resolved": "http://localhost:4873/@firebase%2fdatabase/-/database-0.13.9.tgz", + "integrity": "sha512-raQEBgQQybaEoMloJL8wWHQywGQ9mF2VbitvHydsbSNn+KL/xRDjXeQZPuuSbRjkYV6mR8jvQB7gpnzQQNE8Qg==", "dependencies": { "@firebase/auth-interop-types": "0.1.6", - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "faye-websocket": "0.11.4", "tslib": "^2.1.0" } }, "node_modules/@firebase/database-compat": { - "version": "0.2.7", - "resolved": "http://localhost:4873/@firebase%2fdatabase-compat/-/database-compat-0.2.7.tgz", - "integrity": "sha512-D9nTb8RNb3RbsKtwUFDykIeUbuBgVSDKE+b6dCgVi9PS7sNATdZPpKGjxLIAxCggyRTgfMj5pr0S5fhrMedRNw==", + "version": "0.2.9", + "resolved": "http://localhost:4873/@firebase%2fdatabase-compat/-/database-compat-0.2.9.tgz", + "integrity": "sha512-zzyFM3+jW/qYtHojiQirHXGXYyElbqVngEEn/i2gXoSzcK0Y2AL5oHAqGYXLaaW0+t4Zwnssh3HnQJM8C1D0fw==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/database": "0.13.7", - "@firebase/database-types": "0.9.14", + "@firebase/component": "0.5.20", + "@firebase/database": "0.13.9", + "@firebase/database-types": "0.9.16", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "node_modules/@firebase/database-types": { - "version": "0.9.14", - "resolved": "http://localhost:4873/@firebase%2fdatabase-types/-/database-types-0.9.14.tgz", - "integrity": "sha512-utMsusFMr5HuyiKxFyeOXU4hvC7hdJFTiyUWTQpLFODRwhtoPE539Y1I3r/LJhSPyt8dtds2GSjnvIbCvDezLQ==", + "version": "0.9.16", + "resolved": "http://localhost:4873/@firebase%2fdatabase-types/-/database-types-0.9.16.tgz", + "integrity": "sha512-dK/uFgHisrVijSoHf9RLJ7NwvlOul2rO/z9ufOSbGd8/TqFVASXz+19mynhDIoSEnyQtJC/NTyBzSPfjz0w61w==", "dependencies": { "@firebase/app-types": "0.8.0", - "@firebase/util": "1.7.0" + "@firebase/util": "1.7.2" } }, "node_modules/@firebase/firestore": { - "version": "3.6.0", - "resolved": "http://localhost:4873/@firebase%2ffirestore/-/firestore-3.6.0.tgz", - "integrity": "sha512-vGeC2nXx/Ca+HsFhBLzz3jX1v571AZtNGf7AX0lMXeL+t0awWsAdq0ahkNRMjejhK5zVa68H/zg2RCO7fg8JiA==", + "version": "3.7.1", + "resolved": "http://localhost:4873/@firebase%2ffirestore/-/firestore-3.7.1.tgz", + "integrity": "sha512-sDZ79cUf4cwCyRzN74zODgaeUvyt0lGA8YwaasVVqojgznwMG/bIz+/Tny4ZEnLZFrlniCqt2tStWsiC6s3u7g==", "dependencies": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", - "@firebase/webchannel-wrapper": "0.7.0", + "@firebase/util": "1.7.2", + "@firebase/webchannel-wrapper": "0.8.0", "@grpc/grpc-js": "^1.3.2", "@grpc/proto-loader": "^0.6.13", "node-fetch": "2.6.7", @@ -263,14 +277,14 @@ } }, "node_modules/@firebase/firestore-compat": { - "version": "0.1.26", - "resolved": "http://localhost:4873/@firebase%2ffirestore-compat/-/firestore-compat-0.1.26.tgz", - "integrity": "sha512-e0cIToek3tmbzd1UK7fFii6Fo+s2QoJt4Q9ZKxP6cBaMowZoWxZs8/cE7TPsnpgrx5BNc1DjLdpUh0vAuk+q4Q==", + "version": "0.2.1", + "resolved": "http://localhost:4873/@firebase%2ffirestore-compat/-/firestore-compat-0.2.1.tgz", + "integrity": "sha512-XiiTpmUfyZ6QU3Dw9BCT4T+KPvqzada1GsUNX49HmriWHpIn3jTAjsagkigRAnmNDlxS3ki6Yzg9Cs60tpD0tw==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/firestore": "3.6.0", + "@firebase/component": "0.5.20", + "@firebase/firestore": "3.7.1", "@firebase/firestore-types": "2.5.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -287,15 +301,15 @@ } }, "node_modules/@firebase/functions": { - "version": "0.8.5", - "resolved": "http://localhost:4873/@firebase%2ffunctions/-/functions-0.8.5.tgz", - "integrity": "sha512-oI4ipogH6x+2euHGs+l+cZmRwg8psYxblbO5YebB7nh+x2UcFE4+4uDUXQc7XQrT4b1uDbrW343BU46RKFtwWg==", + "version": "0.8.7", + "resolved": "http://localhost:4873/@firebase%2ffunctions/-/functions-0.8.7.tgz", + "integrity": "sha512-JHSKdAOzlFJ9NdKoOaq4x6S1q6B3GmYZDg13KIDsE6BC0E9o/eWxOWOjSFJRCP/lpfFwa0rYBRayfUvZxW3BLw==", "dependencies": { "@firebase/app-check-interop-types": "0.1.0", "@firebase/auth-interop-types": "0.1.6", - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/messaging-interop-types": "0.1.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "tslib": "^2.1.0" }, @@ -304,14 +318,14 @@ } }, "node_modules/@firebase/functions-compat": { - "version": "0.2.5", - "resolved": "http://localhost:4873/@firebase%2ffunctions-compat/-/functions-compat-0.2.5.tgz", - "integrity": "sha512-r9lUxkBNmfulLfujdO7W2AAyH1I3QQBvrRlNoub8TNU+2UbqAfFde7yV0DhOCGhr75zp4ZVv71Zw6wIgwC0G1Q==", + "version": "0.2.7", + "resolved": "http://localhost:4873/@firebase%2ffunctions-compat/-/functions-compat-0.2.7.tgz", + "integrity": "sha512-bcUst8ZDJHeVy2Wox4KEM5EizsrrqLzbwFIwJD7KkuSYP8XrlV2gaqJnCvIXXc0Nc4JRGvbXcvFFMXDjhsEp4Q==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/functions": "0.8.5", + "@firebase/component": "0.5.20", + "@firebase/functions": "0.8.7", "@firebase/functions-types": "0.5.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -324,12 +338,12 @@ "integrity": "sha512-qza0M5EwX+Ocrl1cYI14zoipUX4gI/Shwqv0C1nB864INAD42Dgv4v94BCyxGHBg2kzlWy8PNafdP7zPO8aJQA==" }, "node_modules/@firebase/installations": { - "version": "0.5.13", - "resolved": "http://localhost:4873/@firebase%2finstallations/-/installations-0.5.13.tgz", - "integrity": "sha512-T3+RIeqMA1vpnSOK/1wckpSSk3zbLNQgDWoiymwvK/FxjPFHO/LY1W0guqTmiYgK0stdLIHXh7syli5HboO47g==", + "version": "0.5.15", + "resolved": "http://localhost:4873/@firebase%2finstallations/-/installations-0.5.15.tgz", + "integrity": "sha512-RVm2nc2d+bEDFzFzQDTTU1Z13fjAD0v88yDLjtRZuT2R7JwvAegQ4F7CupBvnnf7nftkd3kBwdOi8MhMthb3jQ==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "idb": "7.0.1", "tslib": "^2.1.0" }, @@ -338,14 +352,14 @@ } }, "node_modules/@firebase/installations-compat": { - "version": "0.1.13", - "resolved": "http://localhost:4873/@firebase%2finstallations-compat/-/installations-compat-0.1.13.tgz", - "integrity": "sha512-JDdne03YV4VfIyGkmlg8ltSHS0hOzQXLkn2gDzvKsyvke0EAUI9HLHUDQAOKVpyn7LsDwFTub5QcrR0owG8b+Q==", + "version": "0.1.15", + "resolved": "http://localhost:4873/@firebase%2finstallations-compat/-/installations-compat-0.1.15.tgz", + "integrity": "sha512-m0atyudsVj6ekmM+djhhzzInMC3Y233YJky9vXUVt5MHQY0mHhqDds9+UIrCa6cpbl+ntI2fOuoYV7y01s3sfw==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/installations-types": "0.4.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -369,14 +383,14 @@ } }, "node_modules/@firebase/messaging": { - "version": "0.9.17", - "resolved": "http://localhost:4873/@firebase%2fmessaging/-/messaging-0.9.17.tgz", - "integrity": "sha512-oyjPT1lutJqiivl3UxkJeLrNbOkakFKMUYYviEPEL1PAU+yfKWp7IbRaZPZy4Av+i0sSdLDyB8H803B6tZ+C0Q==", + "version": "0.9.19", + "resolved": "http://localhost:4873/@firebase%2fmessaging/-/messaging-0.9.19.tgz", + "integrity": "sha512-xu99y/7/P+y3txGtgjsVJZyvx7T5/KdvFgDWS7oZwhKYG0o+DXFvvw3SBMK82LFGFOoyHlJUPqv45EyCPnOPCA==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/messaging-interop-types": "0.1.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "idb": "7.0.1", "tslib": "^2.1.0" }, @@ -385,13 +399,13 @@ } }, "node_modules/@firebase/messaging-compat": { - "version": "0.1.17", - "resolved": "http://localhost:4873/@firebase%2fmessaging-compat/-/messaging-compat-0.1.17.tgz", - "integrity": "sha512-WRaWizUMurqDQkCHzkW2XJkJl6BqSLhrCoCcClyIdC4XEolAgIo9X4Jy2Jd7HiX6SUSPgwEv0u93MnuIS9JWGw==", + "version": "0.1.19", + "resolved": "http://localhost:4873/@firebase%2fmessaging-compat/-/messaging-compat-0.1.19.tgz", + "integrity": "sha512-h5tx4nxfSILeRquk5mKE8Onu7WtL6b7rfB6GKNJKecvkPs3nnq5Z4cp2Av4JUR2Wtt9UxCTfO0iRbbmtrt2bZQ==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/messaging": "0.9.17", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/messaging": "0.9.19", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -404,14 +418,14 @@ "integrity": "sha512-DbvUl/rXAZpQeKBnwz0NYY5OCqr2nFA0Bj28Fmr3NXGqR4PAkfTOHuQlVtLO1Nudo3q0HxAYLa68ZDAcuv2uKQ==" }, "node_modules/@firebase/performance": { - "version": "0.5.13", - "resolved": "http://localhost:4873/@firebase%2fperformance/-/performance-0.5.13.tgz", - "integrity": "sha512-k35iR9LcRUsuyEa4sXzBaVKMaFGgDgI3fjHtcmfjspeSywTigbCWxGoN551uk+udAkC0ENnODGm6t/T/ie4HaQ==", + "version": "0.5.15", + "resolved": "http://localhost:4873/@firebase%2fperformance/-/performance-0.5.15.tgz", + "integrity": "sha512-YnnkUehXXzqQefNE5PlPEsXeJYSeY7cMWEdHYTj6u0/F5ntLSAhVZC8jl3Y0fTU1W8a9USQhml6NaXyWiVGmjQ==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -419,15 +433,15 @@ } }, "node_modules/@firebase/performance-compat": { - "version": "0.1.13", - "resolved": "http://localhost:4873/@firebase%2fperformance-compat/-/performance-compat-0.1.13.tgz", - "integrity": "sha512-Den0APOV7bqnQxLuAhzo4dIkojbKR30/Q+8qeDrbdMHZL50wkZm09/OGqXoViCTy8zHDaau+Wp78z0qMqwUFxg==", + "version": "0.1.15", + "resolved": "http://localhost:4873/@firebase%2fperformance-compat/-/performance-compat-0.1.15.tgz", + "integrity": "sha512-mryHr5eBEpWxBo8b3KM/53SwwVjMVahwdEnhfx1r+zAvmEPEzXUOGBzAC1l5WQ4DrwtDR87uMZ5soiQ/0jl9QQ==", "dependencies": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/performance": "0.5.13", + "@firebase/performance": "0.5.15", "@firebase/performance-types": "0.1.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -440,14 +454,14 @@ "integrity": "sha512-6p1HxrH0mpx+622Ql6fcxFxfkYSBpE3LSuwM7iTtYU2nw91Hj6THC8Bc8z4nboIq7WvgsT/kOTYVVZzCSlXl8w==" }, "node_modules/@firebase/remote-config": { - "version": "0.3.12", - "resolved": "http://localhost:4873/@firebase%2fremote-config/-/remote-config-0.3.12.tgz", - "integrity": "sha512-Vhsr6H/onMOiNnEcEBfcv1qadtMtaIwI2oDAP4bbqmCp84XtbizUqY0Y0psOAjKArAbkoqc/33cngRl093YOIQ==", + "version": "0.3.14", + "resolved": "http://localhost:4873/@firebase%2fremote-config/-/remote-config-0.3.14.tgz", + "integrity": "sha512-wEOz3Tasxhr5lCGioe0WNZwDOoQhNZK2qGAm5+AlHAPaAhWIWvqUTkKsk3nFRztyRZzj3r9k5Gc2OSpEcQKP1A==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -455,15 +469,15 @@ } }, "node_modules/@firebase/remote-config-compat": { - "version": "0.1.13", - "resolved": "http://localhost:4873/@firebase%2fremote-config-compat/-/remote-config-compat-0.1.13.tgz", - "integrity": "sha512-7bvcMosoS9fTXV305Cx62cyDFFk/CkToIrOR3tTKYr5cG/OKhrk0S/z9Wk6rowhgKHkg2SSZr5Difrj3vQPXDQ==", + "version": "0.1.15", + "resolved": "http://localhost:4873/@firebase%2fremote-config-compat/-/remote-config-compat-0.1.15.tgz", + "integrity": "sha512-jGUrZXIxQRMeSrqEaCi3MtMF33NN12TNTQDZlbex2+T2+yTMI/sn3Mq52T/OccCo86DK17WVlXSWQCH1zCD13g==", "dependencies": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/remote-config": "0.3.12", + "@firebase/remote-config": "0.3.14", "@firebase/remote-config-types": "0.2.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -476,12 +490,12 @@ "integrity": "sha512-hqK5sCPeZvcHQ1D6VjJZdW6EexLTXNMJfPdTwbD8NrXUw6UjWC4KWhLK/TSlL0QPsQtcKRkaaoP+9QCgKfMFPw==" }, "node_modules/@firebase/storage": { - "version": "0.9.10", - "resolved": "http://localhost:4873/@firebase%2fstorage/-/storage-0.9.10.tgz", - "integrity": "sha512-GXJSP/VqWNGi3gD8d59y5Ls4iW/jkX4CKuI4T6oST6eNnLrJcx68JbeOSv+37c9eBVT1d8O7LFX3oeKVWBhvRg==", + "version": "0.9.12", + "resolved": "http://localhost:4873/@firebase%2fstorage/-/storage-0.9.12.tgz", + "integrity": "sha512-XIAmje0ufvRrxrUU/9tvGCuUIy7WSJf3XM8Y8OV9EW2Dg1w4f8IpraLiUdlirdtFM0UAnO2kDQHoiVQYhRrADQ==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "tslib": "^2.1.0" }, @@ -490,14 +504,14 @@ } }, "node_modules/@firebase/storage-compat": { - "version": "0.1.18", - "resolved": "http://localhost:4873/@firebase%2fstorage-compat/-/storage-compat-0.1.18.tgz", - "integrity": "sha512-ULHyM0vXX/vM/tZhYJQbkk5mnv/eQPTs9KAnIdJh7o7Hj6cvNg0Hq8x9Y/QtqLZBfnm9ATszvD41mqLD4LzrGQ==", + "version": "0.1.20", + "resolved": "http://localhost:4873/@firebase%2fstorage-compat/-/storage-compat-0.1.20.tgz", + "integrity": "sha512-8vruwltKdvEPhYbPXA/otb5fAD7MGsBHpCzktJWvF7eIALa4sUlYt+jJxG5Nwk2FoT1NrwLQ7TtI7zvm6/NinA==", "dependencies": { - "@firebase/component": "0.5.18", - "@firebase/storage": "0.9.10", + "@firebase/component": "0.5.20", + "@firebase/storage": "0.9.12", "@firebase/storage-types": "0.6.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" }, "peerDependencies": { @@ -514,31 +528,60 @@ } }, "node_modules/@firebase/util": { - "version": "1.7.0", - "resolved": "http://localhost:4873/@firebase%2futil/-/util-1.7.0.tgz", - "integrity": "sha512-n5g1WWd+E5IYQwtKxmTJDlhfT762mk/d7yigeh8QaS46cnvngwguOhNwlS8fniEJ7pAgyZ9v05OQMKdfMnws6g==", + "version": "1.7.2", + "resolved": "http://localhost:4873/@firebase%2futil/-/util-1.7.2.tgz", + "integrity": "sha512-P3aTihYEMoz2QQlcn0T7av7HLEK9gsTc1ZiN9VA8wnUtEJscUNemCmTmP3RRysqEb3Z+tVVoycztY8f6R36rRw==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@firebase/webchannel-wrapper": { - "version": "0.7.0", - "resolved": "http://localhost:4873/@firebase%2fwebchannel-wrapper/-/webchannel-wrapper-0.7.0.tgz", - "integrity": "sha512-4ACd/c6ushrLuhn0+yjB9hznhnsc2IML6pf0Ulb1Q7w8SvR1jNGPu/Y7i4kvOm6R+WJkMHwyy5z3i3gN+Tawug==" + "version": "0.8.0", + "resolved": "http://localhost:4873/@firebase%2fwebchannel-wrapper/-/webchannel-wrapper-0.8.0.tgz", + "integrity": "sha512-Q8erQds5LuAUgNuFOt/tu/abffYUHYxN+Ogp2V5EOssfFG7Ja4ce324Sqyq41u/vB5CSr+tfYS3JzTDrDxCvdw==" }, "node_modules/@google-cloud/firestore": { - "version": "5.0.2", - "resolved": "http://localhost:4873/@google-cloud%2ffirestore/-/firestore-5.0.2.tgz", - "integrity": "sha512-xlGcNYaW0nvUMzNn2+pLfbEBVt6oysVqtM89faMgZWkWfEtvIQGS0h5PRdLlcqufNzRCX3yIGv29Pb+03ys+VA==", + "version": "6.4.0", + "resolved": "http://localhost:4873/@google-cloud%2ffirestore/-/firestore-6.4.0.tgz", + "integrity": "sha512-qhL5V8S6uIGlESQYC/TMKISlKHaM2qSACz0X15ID0s4F1NuVgSM3Z2FS10WYHdCGIwJ2C73xdLaS+ByFDsu7sg==", "optional": true, "dependencies": { "fast-deep-equal": "^3.1.1", "functional-red-black-tree": "^1.0.1", - "google-gax": "^2.24.1", - "protobufjs": "^6.8.6" + "google-gax": "^3.5.1", + "protobufjs": "^7.0.0" }, "engines": { - "node": ">=10.10.0" + "node": ">=12.0.0" + } + }, + "node_modules/@google-cloud/firestore/node_modules/long": { + "version": "5.2.0", + "resolved": "http://localhost:4873/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "optional": true + }, + "node_modules/@google-cloud/firestore/node_modules/protobufjs": { + "version": "7.1.2", + "resolved": "http://localhost:4873/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" } }, "node_modules/@google-cloud/paginator": { @@ -573,16 +616,15 @@ } }, "node_modules/@google-cloud/storage": { - "version": "6.5.2", - "resolved": "http://localhost:4873/@google-cloud%2fstorage/-/storage-6.5.2.tgz", - "integrity": "sha512-n4HVE5bGGFdXlPUN2tP+wEnVH2XbYnv9PVrHirbAJPHk8EM7bm1G86+IhLha8KH4PpHLhjCPML173Sr6PWCXIQ==", + "version": "6.5.4", + "resolved": "http://localhost:4873/@google-cloud%2fstorage/-/storage-6.5.4.tgz", + "integrity": "sha512-7ntxYkceJo0FzKvHZU988Vy+PFRErSiqEIgcErJ+Hg8vU+nCw0dhg2K0uJJSnUJoEPJLz4DFAMqYCme0WhD2uA==", "optional": true, "dependencies": { "@google-cloud/paginator": "^3.0.7", "@google-cloud/projectify": "^3.0.0", "@google-cloud/promisify": "^3.0.0", "abort-controller": "^3.0.0", - "arrify": "^2.0.0", "async-retry": "^1.3.3", "compressible": "^2.0.12", "duplexify": "^4.0.0", @@ -601,10 +643,19 @@ "node": ">=12" } }, + "node_modules/@google-cloud/storage/node_modules/uuid": { + "version": "8.3.2", + "resolved": "http://localhost:4873/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@grpc/grpc-js": { - "version": "1.6.12", - "resolved": "http://localhost:4873/@grpc%2fgrpc-js/-/grpc-js-1.6.12.tgz", - "integrity": "sha512-JmvQ03OTSpVd9JTlj/K3IWHSz4Gk/JMLUTtW7Zb0KvO1LcOYGATh5cNuRYzCAeDR3O8wq+q8FZe97eO9MBrkUw==", + "version": "1.7.3", + "resolved": "http://localhost:4873/@grpc%2fgrpc-js/-/grpc-js-1.7.3.tgz", + "integrity": "sha512-H9l79u4kJ2PVSxUNA08HMYAnUBLj9v6KjYQ7SQ71hOZcEXhShE/y5iQCesP8+6/Ik/7i2O0a10bPquIcYfufog==", "dependencies": { "@grpc/proto-loader": "^0.7.0", "@types/node": ">=12.12.47" @@ -1029,35 +1080,14 @@ "resolved": "packages/core", "link": true }, - "node_modules/@quipodb/firebase": { - "resolved": "packages/firebase", + "node_modules/@quipodb/firestore": { + "resolved": "packages/firestore", "link": true }, "node_modules/@quipodb/sqlite": { "resolved": "packages/sqlite", "link": true }, - "node_modules/@sideway/address": { - "version": "4.1.4", - "resolved": "http://localhost:4873/@sideway%2faddress/-/address-4.1.4.tgz", - "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", - "dev": true, - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.0", - "resolved": "http://localhost:4873/@sideway%2fformula/-/formula-3.0.0.tgz", - "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==", - "dev": true - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "http://localhost:4873/@sideway%2fpinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", - "dev": true - }, "node_modules/@tootallnate/once": { "version": "2.0.0", "resolved": "http://localhost:4873/@tootallnate%2fonce/-/once-2.0.0.tgz", @@ -1068,9 +1098,9 @@ } }, "node_modules/@types/better-sqlite3": { - "version": "7.6.0", - "resolved": "http://localhost:4873/@types%2fbetter-sqlite3/-/better-sqlite3-7.6.0.tgz", - "integrity": "sha512-rnSP9vY+fVsF3iJja5yRGBJV63PNBiezJlYrCkqUmQWFoB16cxAHwOkjsAYEu317miOfKaJpa65cbp0P4XJ/jw==", + "version": "7.6.2", + "resolved": "http://localhost:4873/@types%2fbetter-sqlite3/-/better-sqlite3-7.6.2.tgz", + "integrity": "sha512-RgmaapusqTq6IMAr4McMyAsC6RshYTCjXCnzwVV59WctUxC8bNPyUfT9t5F81lKcU41lLurhjqjoMHfauzfqGg==", "dev": true, "dependencies": { "@types/node": "*" @@ -1119,47 +1149,6 @@ "resolved": "http://localhost:4873/@types%2ffs-extra/-/fs-extra-9.0.13.tgz", "integrity": "sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==", "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/hapi__catbox": { - "version": "10.2.4", - "resolved": "http://localhost:4873/@types%2fhapi__catbox/-/hapi__catbox-10.2.4.tgz", - "integrity": "sha512-A6ivRrXD5glmnJna1UAGw87QNZRp/vdFO9U4GS+WhOMWzHnw+oTGkMvg0g6y1930CbeheGOCm7A1qHsqH7AXqg==", - "dev": true - }, - "node_modules/@types/hapi__hapi": { - "version": "20.0.12", - "resolved": "http://localhost:4873/@types%2fhapi__hapi/-/hapi__hapi-20.0.12.tgz", - "integrity": "sha512-B+0fceCzFvbIOVv5YWOZzbHtEff8BLlGH3etrkcOedyj7F0unC5FjzFfaaO5gwlhJDdX0cmmMeRg2pwRdMa2CQ==", - "dev": true, - "dependencies": { - "@hapi/boom": "^9.0.0", - "@hapi/iron": "^6.0.0", - "@hapi/podium": "^4.1.3", - "@types/hapi__catbox": "*", - "@types/hapi__mimos": "*", - "@types/hapi__shot": "*", - "@types/node": "*", - "joi": "^17.3.0" - } - }, - "node_modules/@types/hapi__mimos": { - "version": "4.1.4", - "resolved": "http://localhost:4873/@types%2fhapi__mimos/-/hapi__mimos-4.1.4.tgz", - "integrity": "sha512-i9hvJpFYTT/qzB5xKWvDYaSXrIiNqi4ephi+5Lo6+DoQdwqPXQgmVVOZR+s3MBiHoFqsCZCX9TmVWG3HczmTEQ==", - "dev": true, - "dependencies": { - "@types/mime-db": "*" - } - }, - "node_modules/@types/hapi__shot": { - "version": "4.1.2", - "resolved": "http://localhost:4873/@types%2fhapi__shot/-/hapi__shot-4.1.2.tgz", - "integrity": "sha512-8wWgLVP1TeGqgzZtCdt+F+k15DWQvLG1Yv6ZzPfb3D5WIo5/S+GGKtJBVo2uNEcqabP5Ifc71QnJTDnTmw1axA==", - "dev": true, "dependencies": { "@types/node": "*" } @@ -1172,34 +1161,48 @@ "@types/node": "*" } }, + "node_modules/@types/linkify-it": { + "version": "3.0.2", + "resolved": "http://localhost:4873/@types%2flinkify-it/-/linkify-it-3.0.2.tgz", + "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==", + "optional": true + }, "node_modules/@types/lodash": { - "version": "4.14.182", - "resolved": "http://localhost:4873/@types%2flodash/-/lodash-4.14.182.tgz", - "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==", - "dev": true, - "license": "MIT" + "version": "4.14.186", + "resolved": "http://localhost:4873/@types%2flodash/-/lodash-4.14.186.tgz", + "integrity": "sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw==", + "dev": true }, "node_modules/@types/long": { "version": "4.0.2", "resolved": "http://localhost:4873/@types%2flong/-/long-4.0.2.tgz", "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, + "node_modules/@types/markdown-it": { + "version": "12.2.3", + "resolved": "http://localhost:4873/@types%2fmarkdown-it/-/markdown-it-12.2.3.tgz", + "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", + "optional": true, + "dependencies": { + "@types/linkify-it": "*", + "@types/mdurl": "*" + } + }, + "node_modules/@types/mdurl": { + "version": "1.0.2", + "resolved": "http://localhost:4873/@types%2fmdurl/-/mdurl-1.0.2.tgz", + "integrity": "sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==", + "optional": true + }, "node_modules/@types/mime": { "version": "3.0.1", "resolved": "http://localhost:4873/@types%2fmime/-/mime-3.0.1.tgz", "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==" }, - "node_modules/@types/mime-db": { - "version": "1.43.1", - "resolved": "http://localhost:4873/@types%2fmime-db/-/mime-db-1.43.1.tgz", - "integrity": "sha512-kGZJY+R+WnR5Rk+RPHUMERtb2qBRViIHCBdtUrY+NmwuGb8pQdfTqQiCKPrxpdoycl8KWm2DLdkpoSdt479XoQ==", - "dev": true - }, "node_modules/@types/node": { - "version": "18.6.1", - "resolved": "http://localhost:4873/@types%2fnode/-/node-18.6.1.tgz", - "integrity": "sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg==", - "license": "MIT" + "version": "18.11.3", + "resolved": "http://localhost:4873/@types%2fnode/-/node-18.11.3.tgz", + "integrity": "sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A==" }, "node_modules/@types/qs": { "version": "6.9.7", @@ -1232,6 +1235,27 @@ "node": ">=6.5" } }, + "node_modules/acorn": { + "version": "8.8.0", + "resolved": "http://localhost:4873/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "optional": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "http://localhost:4873/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "optional": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "http://localhost:4873/agent-base/-/agent-base-6.0.2.tgz", @@ -1266,6 +1290,12 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "http://localhost:4873/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "optional": true + }, "node_modules/arrify": { "version": "2.0.1", "resolved": "http://localhost:4873/arrify/-/arrify-2.0.1.tgz", @@ -1284,6 +1314,21 @@ "retry": "0.13.1" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "http://localhost:4873/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/axios": { + "version": "1.1.3", + "resolved": "http://localhost:4873/axios/-/axios-1.1.3.tgz", + "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "http://localhost:4873/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1345,6 +1390,12 @@ "readable-stream": "^3.4.0" } }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "http://localhost:4873/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "optional": true + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "http://localhost:4873/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -1354,6 +1405,17 @@ "concat-map": "0.0.1" } }, + "node_modules/bson": { + "version": "4.7.0", + "resolved": "http://localhost:4873/bson/-/bson-4.7.0.tgz", + "integrity": "sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA==", + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/buffer": { "version": "5.7.1", "resolved": "http://localhost:4873/buffer/-/buffer-5.7.1.tgz", @@ -1382,6 +1444,34 @@ "resolved": "http://localhost:4873/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" }, + "node_modules/catharsis": { + "version": "0.9.0", + "resolved": "http://localhost:4873/catharsis/-/catharsis-0.9.0.tgz", + "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", + "optional": true, + "dependencies": { + "lodash": "^4.17.15" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "http://localhost:4873/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/chownr": { "version": "1.1.4", "resolved": "http://localhost:4873/chownr/-/chownr-1.1.4.tgz", @@ -1413,6 +1503,30 @@ "resolved": "http://localhost:4873/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/colorette": { + "version": "2.0.19", + "resolved": "http://localhost:4873/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "http://localhost:4873/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "9.4.1", + "resolved": "http://localhost:4873/commander/-/commander-9.4.1.tgz", + "integrity": "sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==", + "engines": { + "node": "^12.20.0 || >=14" + } + }, "node_modules/compressible": { "version": "2.0.18", "resolved": "http://localhost:4873/compressible/-/compressible-2.0.18.tgz", @@ -1473,6 +1587,20 @@ "node": ">=4.0.0" } }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "http://localhost:4873/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "optional": true + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "http://localhost:4873/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/detect-libc": { "version": "2.0.1", "resolved": "http://localhost:4873/detect-libc/-/detect-libc-2.0.1.tgz", @@ -1520,6 +1648,15 @@ "integrity": "sha512-GHrMyVZQWvTIdDtpiEXdHZnFQKzeO09apj8Cbl4pKWy4i0Oprcq17usfDt5aO63swf0JOeMWjWQE/LzgSRuWpA==", "optional": true }, + "node_modules/entities": { + "version": "2.1.0", + "resolved": "http://localhost:4873/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "optional": true, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/escalade": { "version": "3.1.1", "resolved": "http://localhost:4873/escalade/-/escalade-3.1.1.tgz", @@ -1528,6 +1665,111 @@ "node": ">=6" } }, + "node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "http://localhost:4873/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/escodegen": { + "version": "1.14.3", + "resolved": "http://localhost:4873/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "optional": true, + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "http://localhost:4873/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "optional": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "http://localhost:4873/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "optional": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/esm": { + "version": "3.2.25", + "resolved": "http://localhost:4873/esm/-/esm-3.2.25.tgz", + "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/espree": { + "version": "9.4.0", + "resolved": "http://localhost:4873/espree/-/espree-9.4.0.tgz", + "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "optional": true, + "dependencies": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "http://localhost:4873/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "optional": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "http://localhost:4873/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "optional": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "http://localhost:4873/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/event-target-shim": { "version": "5.0.1", "resolved": "http://localhost:4873/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -1557,6 +1799,12 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "optional": true }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "http://localhost:4873/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "optional": true + }, "node_modules/fast-text-encoding": { "version": "1.0.6", "resolved": "http://localhost:4873/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz", @@ -1580,58 +1828,90 @@ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, "node_modules/firebase": { - "version": "9.11.0", - "resolved": "http://localhost:4873/firebase/-/firebase-9.11.0.tgz", - "integrity": "sha512-AOPj3FmpweMulG3A1901hOhbCoW22IHQuRfst0Tew9Xc8Ldq75uILu0MnmCYdMVGitF7uTFVOFeyhWyGvMxpKw==", - "dependencies": { - "@firebase/analytics": "0.8.1", - "@firebase/analytics-compat": "0.1.14", - "@firebase/app": "0.8.0", - "@firebase/app-check": "0.5.13", - "@firebase/app-check-compat": "0.2.13", - "@firebase/app-compat": "0.1.35", + "version": "9.12.1", + "resolved": "http://localhost:4873/firebase/-/firebase-9.12.1.tgz", + "integrity": "sha512-sBp4rvkCC7TUnGeneRNs6GVcajO+iSXmYjxqXN4FsrBzldJ5/AOnDXf4bi9OUZtQSl+EHDgUWShBieht15ijgQ==", + "dependencies": { + "@firebase/analytics": "0.8.3", + "@firebase/analytics-compat": "0.1.16", + "@firebase/app": "0.8.2", + "@firebase/app-check": "0.5.15", + "@firebase/app-check-compat": "0.2.15", + "@firebase/app-compat": "0.1.37", "@firebase/app-types": "0.8.0", - "@firebase/auth": "0.20.8", - "@firebase/auth-compat": "0.2.21", - "@firebase/database": "0.13.7", - "@firebase/database-compat": "0.2.7", - "@firebase/firestore": "3.6.0", - "@firebase/firestore-compat": "0.1.26", - "@firebase/functions": "0.8.5", - "@firebase/functions-compat": "0.2.5", - "@firebase/installations": "0.5.13", - "@firebase/installations-compat": "0.1.13", - "@firebase/messaging": "0.9.17", - "@firebase/messaging-compat": "0.1.17", - "@firebase/performance": "0.5.13", - "@firebase/performance-compat": "0.1.13", - "@firebase/remote-config": "0.3.12", - "@firebase/remote-config-compat": "0.1.13", - "@firebase/storage": "0.9.10", - "@firebase/storage-compat": "0.1.18", - "@firebase/util": "1.7.0" + "@firebase/auth": "0.20.10", + "@firebase/auth-compat": "0.2.23", + "@firebase/database": "0.13.9", + "@firebase/database-compat": "0.2.9", + "@firebase/firestore": "3.7.1", + "@firebase/firestore-compat": "0.2.1", + "@firebase/functions": "0.8.7", + "@firebase/functions-compat": "0.2.7", + "@firebase/installations": "0.5.15", + "@firebase/installations-compat": "0.1.15", + "@firebase/messaging": "0.9.19", + "@firebase/messaging-compat": "0.1.19", + "@firebase/performance": "0.5.15", + "@firebase/performance-compat": "0.1.15", + "@firebase/remote-config": "0.3.14", + "@firebase/remote-config-compat": "0.1.15", + "@firebase/storage": "0.9.12", + "@firebase/storage-compat": "0.1.20", + "@firebase/util": "1.7.2" } }, "node_modules/firebase-admin": { - "version": "11.0.1", - "resolved": "http://localhost:4873/firebase-admin/-/firebase-admin-11.0.1.tgz", - "integrity": "sha512-rL3wlZbi2Kb/KJgcmj1YHlD4ZhfmhfgRO2YJialxAllm0tj1IQea878hHuBLGmv4DpbW9t9nLvX9kddNR2Y65Q==", + "version": "11.2.0", + "resolved": "http://localhost:4873/firebase-admin/-/firebase-admin-11.2.0.tgz", + "integrity": "sha512-EGr8w4ZDXPXdwUgDZc/InSP/ciu5/FlaAmT8hw9qBnIbKHOuETYqKnzx8hxLlF8VIg7OQKsxb/PEQik6dVAIgQ==", "dependencies": { "@fastify/busboy": "^1.1.0", - "@firebase/database-compat": "^0.2.3", - "@firebase/database-types": "^0.9.7", + "@firebase/database-compat": "^0.2.6", + "@firebase/database-types": "^0.9.13", "@types/node": ">=12.12.47", "jsonwebtoken": "^8.5.1", - "jwks-rsa": "^2.0.2", + "jwks-rsa": "^2.1.4", "node-forge": "^1.3.1", - "uuid": "^8.3.2" + "uuid": "^9.0.0" }, "engines": { "node": ">=14" }, "optionalDependencies": { - "@google-cloud/firestore": "^5.0.2", - "@google-cloud/storage": "^6.1.0" + "@google-cloud/firestore": "^6.4.0", + "@google-cloud/storage": "^6.5.2" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.2", + "resolved": "http://localhost:4873/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "http://localhost:4873/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" } }, "node_modules/fs-constants": { @@ -1657,6 +1937,11 @@ "resolved": "http://localhost:4873/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "http://localhost:4873/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, "node_modules/functional-red-black-tree": { "version": "1.0.1", "resolved": "http://localhost:4873/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", @@ -1699,6 +1984,19 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "http://localhost:4873/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/getopts": { + "version": "2.3.0", + "resolved": "http://localhost:4873/getopts/-/getopts-2.3.0.tgz", + "integrity": "sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA==" + }, "node_modules/github-from-package": { "version": "0.0.0", "resolved": "http://localhost:4873/github-from-package/-/github-from-package-0.0.0.tgz", @@ -1724,9 +2022,9 @@ } }, "node_modules/google-auth-library": { - "version": "8.5.2", - "resolved": "http://localhost:4873/google-auth-library/-/google-auth-library-8.5.2.tgz", - "integrity": "sha512-FPfOSaI8n2TVXFHTP8/vAVFCXhyALj7w9/Rgefux3oeKZ/nQDNmfNTJ+lIKcoYT1cKkvMllp1Eood7Y5L+TP+A==", + "version": "8.6.0", + "resolved": "http://localhost:4873/google-auth-library/-/google-auth-library-8.6.0.tgz", + "integrity": "sha512-y6bw1yTWMVgs1vGJwBZ3uu+uIClfgxQfsEVcTNKjQeNQOVwox69+ZUgTeTAzrh+74hBqrk1gWyb9RsQVDI7seg==", "optional": true, "dependencies": { "arrify": "^2.0.0", @@ -1744,121 +2042,163 @@ } }, "node_modules/google-gax": { - "version": "2.30.5", - "resolved": "http://localhost:4873/google-gax/-/google-gax-2.30.5.tgz", - "integrity": "sha512-Jey13YrAN2hfpozHzbtrwEfEHdStJh1GwaQ2+Akh1k0Tv/EuNVSuBtHZoKSBm5wBMvNsxTsEIZ/152NrYyZgxQ==", + "version": "3.5.2", + "resolved": "http://localhost:4873/google-gax/-/google-gax-3.5.2.tgz", + "integrity": "sha512-AyP53w0gHcWlzxm+jSgqCR3Xu4Ld7EpSjhtNBnNhzwwWaIUyphH9kBGNIEH+i4UGkTUXOY29K/Re8EiAvkBRGw==", "optional": true, "dependencies": { - "@grpc/grpc-js": "~1.6.0", - "@grpc/proto-loader": "^0.6.12", + "@grpc/grpc-js": "~1.7.0", + "@grpc/proto-loader": "^0.7.0", "@types/long": "^4.0.0", "abort-controller": "^3.0.0", "duplexify": "^4.0.0", "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.14.0", + "google-auth-library": "^8.0.2", "is-stream-ended": "^0.1.4", "node-fetch": "^2.6.1", "object-hash": "^3.0.0", - "proto3-json-serializer": "^0.1.8", - "protobufjs": "6.11.3", - "retry-request": "^4.0.0" + "proto3-json-serializer": "^1.0.0", + "protobufjs": "7.1.2", + "protobufjs-cli": "1.0.2", + "retry-request": "^5.0.0" }, "bin": { - "compileProtos": "build/tools/compileProtos.js" + "compileProtos": "build/tools/compileProtos.js", + "minifyProtoJson": "build/tools/minify.js" }, "engines": { - "node": ">=10" + "node": ">=12" } }, - "node_modules/google-gax/node_modules/gaxios": { - "version": "4.3.3", - "resolved": "http://localhost:4873/gaxios/-/gaxios-4.3.3.tgz", - "integrity": "sha512-gSaYYIO1Y3wUtdfHmjDUZ8LWaxJQpiavzbF5Kq53akSzvmVg0RfyOcFDbO1KJ/KCGRFz2qG+lS81F0nkr7cRJA==", + "node_modules/google-gax/node_modules/@grpc/proto-loader": { + "version": "0.7.3", + "resolved": "http://localhost:4873/@grpc%2fproto-loader/-/proto-loader-0.7.3.tgz", + "integrity": "sha512-5dAvoZwna2Py3Ef96Ux9jIkp3iZ62TUsV00p3wVBPNX5K178UbNi8Q7gQVqwXT1Yq9RejIGG9G2IPEo93T6RcA==", "optional": true, "dependencies": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.7" + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.0.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" }, "engines": { - "node": ">=10" + "node": ">=6" } }, - "node_modules/google-gax/node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "http://localhost:4873/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "node_modules/google-gax/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "http://localhost:4873/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "optional": true, "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" + "balanced-match": "^1.0.0" + } + }, + "node_modules/google-gax/node_modules/glob": { + "version": "8.0.3", + "resolved": "http://localhost:4873/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "optional": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": ">=10" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/google-gax/node_modules/google-auth-library": { - "version": "7.14.1", - "resolved": "http://localhost:4873/google-auth-library/-/google-auth-library-7.14.1.tgz", - "integrity": "sha512-5Rk7iLNDFhFeBYc3s8l1CqzbEBcdhwR193RlD4vSNFajIcINKI8W8P0JLmBpwymHqqWbX34pJDQu39cSy/6RsA==", + "node_modules/google-gax/node_modules/minimatch": { + "version": "5.1.0", + "resolved": "http://localhost:4873/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "optional": true, "dependencies": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" + "brace-expansion": "^2.0.1" }, "engines": { "node": ">=10" } }, - "node_modules/google-gax/node_modules/google-p12-pem": { - "version": "3.1.4", - "resolved": "http://localhost:4873/google-p12-pem/-/google-p12-pem-3.1.4.tgz", - "integrity": "sha512-HHuHmkLgwjdmVRngf5+gSmpkyaRI6QmOg77J8tkNBHhNEI62sGHyw4/+UkgyZEI7h84NbWprXDJ+sa3xOYFvTg==", + "node_modules/google-gax/node_modules/protobufjs": { + "version": "7.1.2", + "resolved": "http://localhost:4873/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", "optional": true, "dependencies": { - "node-forge": "^1.3.1" - }, - "bin": { - "gp12-pem": "build/src/bin/gp12-pem.js" + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" }, "engines": { - "node": ">=10" + "node": ">=12.0.0" } }, - "node_modules/google-gax/node_modules/gtoken": { - "version": "5.3.2", - "resolved": "http://localhost:4873/gtoken/-/gtoken-5.3.2.tgz", - "integrity": "sha512-gkvEKREW7dXWF8NV8pVrKfW7WqReAmjjkMBh6lNCCGOM4ucS0r0YyXXl0r/9Yj8wcW/32ISkfc8h5mPTDbtifQ==", + "node_modules/google-gax/node_modules/protobufjs-cli": { + "version": "1.0.2", + "resolved": "http://localhost:4873/protobufjs-cli/-/protobufjs-cli-1.0.2.tgz", + "integrity": "sha512-cz9Pq9p/Zs7okc6avH20W7QuyjTclwJPgqXG11jNaulfS3nbVisID8rC+prfgq0gbZE0w9LBFd1OKFF03kgFzg==", "optional": true, "dependencies": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.1.3", - "jws": "^4.0.0" + "chalk": "^4.0.0", + "escodegen": "^1.13.0", + "espree": "^9.0.0", + "estraverse": "^5.1.0", + "glob": "^8.0.0", + "jsdoc": "^3.6.3", + "minimist": "^1.2.0", + "semver": "^7.1.2", + "tmp": "^0.2.1", + "uglify-js": "^3.7.7" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" }, "engines": { - "node": ">=10" + "node": ">=12.0.0" + }, + "peerDependencies": { + "protobufjs": "^7.0.0" } }, - "node_modules/google-gax/node_modules/retry-request": { - "version": "4.2.2", - "resolved": "http://localhost:4873/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", + "node_modules/google-gax/node_modules/protobufjs/node_modules/long": { + "version": "5.2.0", + "resolved": "http://localhost:4873/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "optional": true + }, + "node_modules/google-gax/node_modules/semver": { + "version": "7.3.8", + "resolved": "http://localhost:4873/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "optional": true, "dependencies": { - "debug": "^4.1.1", - "extend": "^3.0.2" + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=8.10.0" + "node": ">=10" } }, "node_modules/google-p12-pem": { @@ -1879,8 +2219,7 @@ "node_modules/graceful-fs": { "version": "4.2.10", "resolved": "http://localhost:4873/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "license": "ISC" + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "node_modules/gtoken": { "version": "6.1.2", @@ -1896,6 +2235,26 @@ "node": ">=12.0.0" } }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "http://localhost:4873/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "http://localhost:4873/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "optional": true, + "engines": { + "node": ">=8" + } + }, "node_modules/http-parser-js": { "version": "0.5.8", "resolved": "http://localhost:4873/http-parser-js/-/http-parser-js-0.5.8.tgz", @@ -1976,6 +2335,25 @@ "resolved": "http://localhost:4873/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, + "node_modules/interpret": { + "version": "2.2.0", + "resolved": "http://localhost:4873/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-core-module": { + "version": "2.11.0", + "resolved": "http://localhost:4873/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "http://localhost:4873/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -2018,19 +2396,6 @@ "resolved": "http://localhost:4873/isarray/-/isarray-1.0.0.tgz", "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" }, - "node_modules/joi": { - "version": "17.6.2", - "resolved": "http://localhost:4873/joi/-/joi-17.6.2.tgz", - "integrity": "sha512-+gqqdh1xc1wb+Lor0J9toqgeReyDOCqOdG8QSdRcEvwrcRiFQZneUCGKjFjuyBWUb3uaFOgY56yMaZ5FIc+H4w==", - "dev": true, - "dependencies": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", - "@sideway/formula": "^3.0.0", - "@sideway/pinpoint": "^2.0.0" - } - }, "node_modules/jose": { "version": "2.0.6", "resolved": "http://localhost:4873/jose/-/jose-2.0.6.tgz", @@ -2045,6 +2410,56 @@ "url": "https://github.com/sponsors/panva" } }, + "node_modules/js2xmlparser": { + "version": "4.0.2", + "resolved": "http://localhost:4873/js2xmlparser/-/js2xmlparser-4.0.2.tgz", + "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", + "optional": true, + "dependencies": { + "xmlcreate": "^2.0.4" + } + }, + "node_modules/jsdoc": { + "version": "3.6.11", + "resolved": "http://localhost:4873/jsdoc/-/jsdoc-3.6.11.tgz", + "integrity": "sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==", + "optional": true, + "dependencies": { + "@babel/parser": "^7.9.4", + "@types/markdown-it": "^12.2.3", + "bluebird": "^3.7.2", + "catharsis": "^0.9.0", + "escape-string-regexp": "^2.0.0", + "js2xmlparser": "^4.0.2", + "klaw": "^3.0.0", + "markdown-it": "^12.3.2", + "markdown-it-anchor": "^8.4.1", + "marked": "^4.0.10", + "mkdirp": "^1.0.4", + "requizzle": "^0.2.3", + "strip-json-comments": "^3.1.0", + "taffydb": "2.6.2", + "underscore": "~1.13.2" + }, + "bin": { + "jsdoc": "jsdoc.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/jsdoc/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "http://localhost:4873/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "optional": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/json-bigint": { "version": "1.0.0", "resolved": "http://localhost:4873/json-bigint/-/json-bigint-1.0.0.tgz", @@ -2058,7 +2473,6 @@ "version": "6.1.0", "resolved": "http://localhost:4873/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -2106,14 +2520,6 @@ "safe-buffer": "^5.0.1" } }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "http://localhost:4873/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, "node_modules/jszip": { "version": "3.10.1", "resolved": "http://localhost:4873/jszip/-/jszip-3.10.1.tgz", @@ -2164,14 +2570,14 @@ } }, "node_modules/jwks-rsa": { - "version": "2.1.4", - "resolved": "http://localhost:4873/jwks-rsa/-/jwks-rsa-2.1.4.tgz", - "integrity": "sha512-mpArfgPkUpX11lNtGxsF/szkasUcbWHGplZl/uFvFO2NuMHmt0dQXIihh0rkPU2yQd5niQtuUHbXnG/WKiXF6Q==", + "version": "2.1.5", + "resolved": "http://localhost:4873/jwks-rsa/-/jwks-rsa-2.1.5.tgz", + "integrity": "sha512-IODtn1SwEm7n6GQZnQLY0oxKDrMh7n/jRH1MzE8mlxWMrh2NnMyOsXTebu8vJ1qCpmuTJcL4DdiE0E4h8jnwsA==", "dependencies": { - "@types/express": "^4.17.13", - "@types/jsonwebtoken": "^8.5.8", + "@types/express": "^4.17.14", + "@types/jsonwebtoken": "^8.5.9", "debug": "^4.3.4", - "jose": "^2.0.5", + "jose": "^2.0.6", "limiter": "^1.1.5", "lru-memoizer": "^2.1.4" }, @@ -2189,6 +2595,78 @@ "safe-buffer": "^5.0.1" } }, + "node_modules/klaw": { + "version": "3.0.0", + "resolved": "http://localhost:4873/klaw/-/klaw-3.0.0.tgz", + "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "optional": true, + "dependencies": { + "graceful-fs": "^4.1.9" + } + }, + "node_modules/knex": { + "version": "2.3.0", + "resolved": "http://localhost:4873/knex/-/knex-2.3.0.tgz", + "integrity": "sha512-WMizPaq9wRMkfnwKXKXgBZeZFOSHGdtoSz5SaLAVNs3WRDfawt9O89T4XyH52PETxjV8/kRk0Yf+8WBEP/zbYw==", + "dependencies": { + "colorette": "2.0.19", + "commander": "^9.1.0", + "debug": "4.3.4", + "escalade": "^3.1.1", + "esm": "^3.2.25", + "get-package-type": "^0.1.0", + "getopts": "2.3.0", + "interpret": "^2.2.0", + "lodash": "^4.17.21", + "pg-connection-string": "2.5.0", + "rechoir": "^0.8.0", + "resolve-from": "^5.0.0", + "tarn": "^3.0.2", + "tildify": "2.0.0" + }, + "bin": { + "knex": "bin/cli.js" + }, + "engines": { + "node": ">=12" + }, + "peerDependenciesMeta": { + "better-sqlite3": { + "optional": true + }, + "mysql": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "pg": { + "optional": true + }, + "pg-native": { + "optional": true + }, + "sqlite3": { + "optional": true + }, + "tedious": { + "optional": true + } + } + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "http://localhost:4873/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "optional": true, + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/lie": { "version": "3.3.0", "resolved": "http://localhost:4873/lie/-/lie-3.3.0.tgz", @@ -2202,6 +2680,15 @@ "resolved": "http://localhost:4873/limiter/-/limiter-1.1.5.tgz", "integrity": "sha512-FWWMIEOxz3GwUI4Ts/IvgVy6LPvoMPgjMdQ185nN6psJyBJ4yOpzqm695/h5umdLJg2vW3GR5iG11MAkR2AzJA==" }, + "node_modules/linkify-it": { + "version": "3.0.3", + "resolved": "http://localhost:4873/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", + "optional": true, + "dependencies": { + "uc.micro": "^1.0.1" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "http://localhost:4873/lodash/-/lodash-4.17.21.tgz", @@ -2291,6 +2778,50 @@ "resolved": "http://localhost:4873/yallist/-/yallist-2.1.2.tgz", "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, + "node_modules/markdown-it": { + "version": "12.3.2", + "resolved": "http://localhost:4873/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", + "optional": true, + "dependencies": { + "argparse": "^2.0.1", + "entities": "~2.1.0", + "linkify-it": "^3.0.1", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "bin": { + "markdown-it": "bin/markdown-it.js" + } + }, + "node_modules/markdown-it-anchor": { + "version": "8.6.5", + "resolved": "http://localhost:4873/markdown-it-anchor/-/markdown-it-anchor-8.6.5.tgz", + "integrity": "sha512-PI1qEHHkTNWT+X6Ip9w+paonfIQ+QZP9sCeMYi47oqhH+EsW8CrJ8J7CzV19QVOj6il8ATGbK2nTECj22ZHGvQ==", + "optional": true, + "peerDependencies": { + "@types/markdown-it": "*", + "markdown-it": "*" + } + }, + "node_modules/marked": { + "version": "4.1.1", + "resolved": "http://localhost:4873/marked/-/marked-4.1.1.tgz", + "integrity": "sha512-0cNMnTcUJPxbA6uWmCmjWz4NJRe/0Xfk2NhXCUHjew9qJzFN20krFnsUe7QynwqOwa5m1fZ4UDg0ycKFVC0ccw==", + "optional": true, + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/mdurl": { + "version": "1.0.1", + "resolved": "http://localhost:4873/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", + "optional": true + }, "node_modules/merge-anything": { "version": "5.0.4", "resolved": "http://localhost:4873/merge-anything/-/merge-anything-5.0.4.tgz", @@ -2330,7 +2861,6 @@ "version": "2.1.35", "resolved": "http://localhost:4873/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "optional": true, "dependencies": { "mime-db": "1.52.0" }, @@ -2361,9 +2891,24 @@ } }, "node_modules/minimist": { - "version": "1.2.6", - "resolved": "http://localhost:4873/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "version": "1.2.7", + "resolved": "http://localhost:4873/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "http://localhost:4873/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "optional": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } }, "node_modules/mkdirp-classic": { "version": "0.5.3", @@ -2381,9 +2926,9 @@ "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" }, "node_modules/node-abi": { - "version": "3.24.0", - "resolved": "http://localhost:4873/node-abi/-/node-abi-3.24.0.tgz", - "integrity": "sha512-YPG3Co0luSu6GwOBsmIdGW6Wx0NyNDLg/hriIyDllVsNwnI6UeqaWShxC3lbH4LtEQUgoLP3XR1ndXiDAWvmRw==", + "version": "3.28.0", + "resolved": "http://localhost:4873/node-abi/-/node-abi-3.28.0.tgz", + "integrity": "sha512-fRlDb4I0eLcQeUvGq7IY3xHrSb0c9ummdvDSYWfT9+LKP+3jCKw/tKoqaM7r1BAoiAC6GtwyjaGnOz6B3OtF+A==", "dependencies": { "semver": "^7.3.5" }, @@ -2391,6 +2936,20 @@ "node": ">=10" } }, + "node_modules/node-abi/node_modules/semver": { + "version": "7.3.8", + "resolved": "http://localhost:4873/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/node-fetch": { "version": "2.6.7", "resolved": "http://localhost:4873/node-fetch/-/node-fetch-2.6.7.tgz", @@ -2435,6 +2994,23 @@ "wrappy": "1" } }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "http://localhost:4873/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "optional": true, + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "http://localhost:4873/p-limit/-/p-limit-3.1.0.tgz", @@ -2463,6 +3039,16 @@ "node": ">=0.10.0" } }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "http://localhost:4873/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/pg-connection-string": { + "version": "2.5.0", + "resolved": "http://localhost:4873/pg-connection-string/-/pg-connection-string-2.5.0.tgz", + "integrity": "sha512-r5o/V/ORTA6TmUnyWZR9nCj1klXCO2CEKNRlVuJptZe85QuhFayC7WeMic7ndayT5IRIR0S0xFxFi2ousartlQ==" + }, "node_modules/prebuild-install": { "version": "7.1.1", "resolved": "http://localhost:4873/prebuild-install/-/prebuild-install-7.1.1.tgz", @@ -2488,18 +3074,59 @@ "node": ">=10" } }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "http://localhost:4873/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "optional": true, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "http://localhost:4873/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "node_modules/proto3-json-serializer": { - "version": "0.1.9", - "resolved": "http://localhost:4873/proto3-json-serializer/-/proto3-json-serializer-0.1.9.tgz", - "integrity": "sha512-A60IisqvnuI45qNRygJjrnNjX2TMdQGMY+57tR3nul3ZgO2zXkR9OGR8AXxJhkqx84g0FTnrfi3D5fWMSdANdQ==", + "version": "1.1.0", + "resolved": "http://localhost:4873/proto3-json-serializer/-/proto3-json-serializer-1.1.0.tgz", + "integrity": "sha512-SjXwUWe/vANGs/mJJTbw5++7U67nwsymg7qsoPtw6GiXqw3kUy8ByojrlEdVE2efxAdKreX8WkDafxvYW95ZQg==", + "optional": true, + "dependencies": { + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/proto3-json-serializer/node_modules/long": { + "version": "5.2.0", + "resolved": "http://localhost:4873/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "optional": true + }, + "node_modules/proto3-json-serializer/node_modules/protobufjs": { + "version": "7.1.2", + "resolved": "http://localhost:4873/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", "optional": true, "dependencies": { - "protobufjs": "^6.11.2" + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" } }, "node_modules/protobufjs": { @@ -2526,6 +3153,11 @@ "pbts": "bin/pbts" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "http://localhost:4873/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/pseudomap": { "version": "1.0.2", "resolved": "http://localhost:4873/pseudomap/-/pseudomap-1.0.2.tgz", @@ -2564,7 +3196,18 @@ "util-deprecate": "^1.0.1" }, "engines": { - "node": ">= 6" + "node": ">= 6" + } + }, + "node_modules/rechoir": { + "version": "0.8.0", + "resolved": "http://localhost:4873/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" } }, "node_modules/require-directory": { @@ -2575,6 +3218,39 @@ "node": ">=0.10.0" } }, + "node_modules/requizzle": { + "version": "0.2.3", + "resolved": "http://localhost:4873/requizzle/-/requizzle-0.2.3.tgz", + "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", + "optional": true, + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/resolve": { + "version": "1.22.1", + "resolved": "http://localhost:4873/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "http://localhost:4873/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "engines": { + "node": ">=8" + } + }, "node_modules/retry": { "version": "0.13.1", "resolved": "http://localhost:4873/retry/-/retry-0.13.1.tgz", @@ -2644,17 +3320,11 @@ } }, "node_modules/semver": { - "version": "7.3.7", - "resolved": "http://localhost:4873/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dependencies": { - "lru-cache": "^6.0.0" - }, + "version": "5.7.1", + "resolved": "http://localhost:4873/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" + "semver": "bin/semver" } }, "node_modules/setimmediate": { @@ -2705,6 +3375,15 @@ "simple-concat": "^1.0.0" } }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "http://localhost:4873/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/stream-events": { "version": "1.0.5", "resolved": "http://localhost:4873/stream-events/-/stream-events-1.0.5.tgz", @@ -2766,6 +3445,35 @@ "integrity": "sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==", "optional": true }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "http://localhost:4873/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "optional": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "http://localhost:4873/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/taffydb": { + "version": "2.6.2", + "resolved": "http://localhost:4873/taffydb/-/taffydb-2.6.2.tgz", + "integrity": "sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA==", + "optional": true + }, "node_modules/tar-fs": { "version": "2.1.1", "resolved": "http://localhost:4873/tar-fs/-/tar-fs-2.1.1.tgz", @@ -2792,6 +3500,14 @@ "node": ">=6" } }, + "node_modules/tarn": { + "version": "3.0.2", + "resolved": "http://localhost:4873/tarn/-/tarn-3.0.2.tgz", + "integrity": "sha512-51LAVKUSZSVfI05vjPESNc5vwqqZpbXCsU+/+wxlOrUjk2SnFTt97v9ZgQrD4YmxYW1Px6w2KjaDitCfkvgxMQ==", + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/teeny-request": { "version": "8.0.2", "resolved": "http://localhost:4873/teeny-request/-/teeny-request-8.0.2.tgz", @@ -2808,20 +3524,19 @@ "node": ">=12" } }, - "node_modules/teeny-request/node_modules/uuid": { - "version": "9.0.0", - "resolved": "http://localhost:4873/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", - "optional": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/text-decoding": { "version": "1.0.0", "resolved": "http://localhost:4873/text-decoding/-/text-decoding-1.0.0.tgz", "integrity": "sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==" }, + "node_modules/tildify": { + "version": "2.0.0", + "resolved": "http://localhost:4873/tildify/-/tildify-2.0.0.tgz", + "integrity": "sha512-Cc+OraorugtXNfs50hU9KS369rFXCfgGLpfCfvlc+Ud5u6VWmUQsOAa9HbTvheQdYnrdJqqv1e5oIqXppMYnSw==", + "engines": { + "node": ">=8" + } + }, "node_modules/tmp": { "version": "0.2.1", "resolved": "http://localhost:4873/tmp/-/tmp-0.2.1.tgz", @@ -2859,10 +3574,22 @@ "node": "*" } }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "http://localhost:4873/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "optional": true, + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/typescript": { - "version": "4.8.3", - "resolved": "http://localhost:4873/typescript/-/typescript-4.8.3.tgz", - "integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==", + "version": "4.8.4", + "resolved": "http://localhost:4873/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -2872,11 +3599,34 @@ "node": ">=4.2.0" } }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "http://localhost:4873/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "optional": true + }, + "node_modules/uglify-js": { + "version": "3.17.3", + "resolved": "http://localhost:4873/uglify-js/-/uglify-js-3.17.3.tgz", + "integrity": "sha512-JmMFDME3iufZnBpyKL+uS78LRiC+mK55zWfM5f/pWBJfpOttXAqYfdDGRukYhJuyRinvPVAtUhvy7rlDybNtFg==", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/underscore": { + "version": "1.13.6", + "resolved": "http://localhost:4873/underscore/-/underscore-1.13.6.tgz", + "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", + "optional": true + }, "node_modules/universalify": { "version": "2.0.0", "resolved": "http://localhost:4873/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "license": "MIT", "engines": { "node": ">= 10.0.0" } @@ -2887,9 +3637,9 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/uuid": { - "version": "8.3.2", - "resolved": "http://localhost:4873/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "version": "9.0.0", + "resolved": "http://localhost:4873/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", "bin": { "uuid": "dist/bin/uuid" } @@ -2929,6 +3679,15 @@ "webidl-conversions": "^3.0.0" } }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "http://localhost:4873/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "http://localhost:4873/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -2970,6 +3729,12 @@ } } }, + "node_modules/xmlcreate": { + "version": "2.0.4", + "resolved": "http://localhost:4873/xmlcreate/-/xmlcreate-2.0.4.tgz", + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", + "optional": true + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "http://localhost:4873/y18n/-/y18n-5.0.8.tgz", @@ -3022,37 +3787,54 @@ }, "packages/core": { "name": "@quipodb/core", - "version": "1.0.0", + "version": "1.0.1-beta.1", "dependencies": { - "is-what": "^4.1.7", "lodash": "^4.17.21", "merge-anything": "^5.0.4" }, "devDependencies": { - "@types/fs-extra": "^9.0.13", "@types/lodash": "^4.14.182", "@types/node": "^18.6.1", "typescript": "^4.8.3" } }, - "packages/firebase": { - "name": "@quipodb/firebase", - "version": "1.0.0", - "license": "ISC" + "packages/firestore": { + "name": "@quipodb/firestore", + "version": "1.0.2-beta.1", + "license": "ISC", + "dependencies": { + "firebase-admin": "^11.0.1" + }, + "devDependencies": { + "@types/lodash": "^4.14.182", + "@types/node": "^18.6.1", + "typescript": "^4.8.3" + } }, "packages/sqlite": { "name": "@quipodb/sqlite", - "version": "1.0.0", + "version": "1.0.0-beta.1", "license": "ISC", "dependencies": { - "fs-extra": "^10.1.0", - "is-what": "^4.1.7", - "lodash": "^4.17.21", - "merge-anything": "^5.0.4" + "better-sqlite3": "^7.6.2", + "fs-extra": "^10.1.0" + }, + "devDependencies": { + "@types/better-sqlite3": "^7.6.0", + "@types/fs-extra": "^9.0.13", + "@types/lodash": "^4.14.182", + "@types/node": "^18.6.1", + "typescript": "^4.8.3" } } }, "dependencies": { + "@babel/parser": { + "version": "7.19.6", + "resolved": "http://localhost:4873/@babel%2fparser/-/parser-7.19.6.tgz", + "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "optional": true + }, "@fastify/busboy": { "version": "1.1.0", "resolved": "http://localhost:4873/@fastify%2fbusboy/-/busboy-1.1.0.tgz", @@ -3062,26 +3844,26 @@ } }, "@firebase/analytics": { - "version": "0.8.1", - "resolved": "http://localhost:4873/@firebase%2fanalytics/-/analytics-0.8.1.tgz", - "integrity": "sha512-br/PBwPAuVdmuxt6k9S6Wtyvgh5YC4vPsY4zv/AtzrgIiXhlJKi28If9Pfh0z9W0dLuqTLSVI0MNzUV/hH5oTA==", + "version": "0.8.3", + "resolved": "http://localhost:4873/@firebase%2fanalytics/-/analytics-0.8.3.tgz", + "integrity": "sha512-viGhc57JW9zHp/0JKpLBUthdpOrEjbPETQFz8oNfaNma+cHA6FtIrtg4Sla52DgqatbATcE9aIDBiPCGrCtNjw==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "@firebase/analytics-compat": { - "version": "0.1.14", - "resolved": "http://localhost:4873/@firebase%2fanalytics-compat/-/analytics-compat-0.1.14.tgz", - "integrity": "sha512-HNuXTm+EYSf0T9N69UMmy9eVUipxxV8BhkCDPOdmUaa4syO4CtYk5qZt2k1qLygJI9wVFdiZeTU00FAgWK1/6A==", + "version": "0.1.16", + "resolved": "http://localhost:4873/@firebase%2fanalytics-compat/-/analytics-compat-0.1.16.tgz", + "integrity": "sha512-mDAhE33WiyCrqSQZvzyZtQCCdf4ipn5tsEpTbIUruk7MbThQ1EbNAbPBiEk9NDLD3sUyLABZGFctvym/hc8H+w==", "requires": { - "@firebase/analytics": "0.8.1", + "@firebase/analytics": "0.8.3", "@firebase/analytics-types": "0.7.0", - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3091,38 +3873,38 @@ "integrity": "sha512-DNE2Waiwy5+zZnCfintkDtBfaW6MjIG883474v6Z0K1XZIvl76cLND4iv0YUb48leyF+PJK1KO2XrgHb/KpmhQ==" }, "@firebase/app": { - "version": "0.8.0", - "resolved": "http://localhost:4873/@firebase%2fapp/-/app-0.8.0.tgz", - "integrity": "sha512-9kZjhIDv4u4PlrCgcQVBA2u8BZHrP8rUWDltmCUi9BLHv0tltfxLMZODV5LeuAfCJKVp2dbIrpGHPxAaLLl/ww==", + "version": "0.8.2", + "resolved": "http://localhost:4873/@firebase%2fapp/-/app-0.8.2.tgz", + "integrity": "sha512-ByNDCe8h9O/szO3XVTrS484MtqBOKriVaNCQC7Y7KgZSaiA0OOWmIY5vwi63mBTYetqMNN5VGiG/6ZSmGIZyoQ==", "requires": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "idb": "7.0.1", "tslib": "^2.1.0" } }, "@firebase/app-check": { - "version": "0.5.13", - "resolved": "http://localhost:4873/@firebase%2fapp-check/-/app-check-0.5.13.tgz", - "integrity": "sha512-+1E2aDvd7vo4QidEyQFZaHur4r8oaHXZZ/SqykK2bcHBF3ihimJgrGBbtvOdUzrR0MOCZx9a18nXAJqevi/+Ow==", + "version": "0.5.15", + "resolved": "http://localhost:4873/@firebase%2fapp-check/-/app-check-0.5.15.tgz", + "integrity": "sha512-ifQalGXkXMwGR3F8Glmo1XtDg0UjkwCmI/ff05mxnKGMfs5ZDyw8DikQfna//a/KdYuOBqxlBwS2BhHiobqUUg==", "requires": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "@firebase/app-check-compat": { - "version": "0.2.13", - "resolved": "http://localhost:4873/@firebase%2fapp-check-compat/-/app-check-compat-0.2.13.tgz", - "integrity": "sha512-vVj6hcdwAOyR4GWrASyki9HhC8mIDN4hta7k/WC0k4UeWCjthfSgR+8Ce7HHp8h4fB5LhVFgFC8QI07sZ2O7jA==", + "version": "0.2.15", + "resolved": "http://localhost:4873/@firebase%2fapp-check-compat/-/app-check-compat-0.2.15.tgz", + "integrity": "sha512-EgD1WEFwwq7aP7DxPSYuUpMt8eAhClA57976D3BaHDbH/IXEuw0DfaeT0LtBb+xJD7J8uxy+YKpudCC8gzUu8g==", "requires": { - "@firebase/app-check": "0.5.13", + "@firebase/app-check": "0.5.15", "@firebase/app-check-types": "0.4.0", - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3137,14 +3919,14 @@ "integrity": "sha512-SsWafqMABIOu7zLgWbmwvHGOeQQVQlwm42kwwubsmfLmL4Sf5uGpBfDhQ0CAkpi7bkJ/NwNFKafNDL9prRNP0Q==" }, "@firebase/app-compat": { - "version": "0.1.35", - "resolved": "http://localhost:4873/@firebase%2fapp-compat/-/app-compat-0.1.35.tgz", - "integrity": "sha512-6ax9yXCPEBSREHxo+nCpSgSg01mGTvR4I7u/EHqVNNqG8uEWog7sUan3Y3vr3q3zH8t5BkXDGejOH9atF+XnAQ==", + "version": "0.1.37", + "resolved": "http://localhost:4873/@firebase%2fapp-compat/-/app-compat-0.1.37.tgz", + "integrity": "sha512-doTKYGlVc8ZiQNOl66rpkU/YItRyOxCgMp4YWThXkPM4T/pTi4a9IMCe8K88gVNeYWd8sKW4vSnxjcOG5hQXEA==", "requires": { - "@firebase/app": "0.8.0", - "@firebase/component": "0.5.18", + "@firebase/app": "0.8.2", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3154,27 +3936,27 @@ "integrity": "sha512-Lec3VVquUwXPn2UReGSsfTxuMBVRmzGIwA/CJnF0LQuPgv9kOmXk9mVqsDMfHxHtqjai0n6wWHR2TqjdVV/bYA==" }, "@firebase/auth": { - "version": "0.20.8", - "resolved": "http://localhost:4873/@firebase%2fauth/-/auth-0.20.8.tgz", - "integrity": "sha512-ss0Uyp5sLrGRR/8bbkZTod5gmdgltqvcxQySAKYGbsyBq4j+RTjZzVqUHZHFY7f8NLm2Bz4hO1dZRaIUYW8zLw==", + "version": "0.20.10", + "resolved": "http://localhost:4873/@firebase%2fauth/-/auth-0.20.10.tgz", + "integrity": "sha512-uAZypmVv/4nijaPVtR/ipjKBmSDPLQ7sNScLHs2DVhdvCklgUUF5+zsEdPlMfKDIfmVQHFwHbUgeKyXDYSRMwQ==", "requires": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "selenium-webdriver": "4.1.2", "tslib": "^2.1.0" } }, "@firebase/auth-compat": { - "version": "0.2.21", - "resolved": "http://localhost:4873/@firebase%2fauth-compat/-/auth-compat-0.2.21.tgz", - "integrity": "sha512-etu40X/AdVWys/RvTZ0lHCmglGT3vEos+LS3O5u+L7vLOJ0LsiV8i9bFBPCv9aZcqK/R7cs9bGLQdZB9QwimVQ==", + "version": "0.2.23", + "resolved": "http://localhost:4873/@firebase%2fauth-compat/-/auth-compat-0.2.23.tgz", + "integrity": "sha512-r9YEXaL7YKoFOWHRvVoQ6d5klP+hkSsAtt21UIvP3/BxDDU+yLXN5vVvFHr38apuUeMGN34M7zkY6SihnLutIQ==", "requires": { - "@firebase/auth": "0.20.8", + "@firebase/auth": "0.20.10", "@firebase/auth-types": "0.11.0", - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "selenium-webdriver": "4.1.2", "tslib": "^2.1.0" @@ -3193,58 +3975,58 @@ "requires": {} }, "@firebase/component": { - "version": "0.5.18", - "resolved": "http://localhost:4873/@firebase%2fcomponent/-/component-0.5.18.tgz", - "integrity": "sha512-worbz6idNWud/Sfpp3Lf9BE9tM8GRHhuQ4Hsqnva6ECdSRKYt8RRPg3UUSwDGa4iFpPo+gF/jKfydYN676+JmQ==", + "version": "0.5.20", + "resolved": "http://localhost:4873/@firebase%2fcomponent/-/component-0.5.20.tgz", + "integrity": "sha512-wP51tQBlPFprfAWxWjzC/56hG4APhl43jFsgwuqCl3bhVbiKcr278QbrbGNmIXDeGKo4sGZLAnH9whl2apeCmA==", "requires": { - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "@firebase/database": { - "version": "0.13.7", - "resolved": "http://localhost:4873/@firebase%2fdatabase/-/database-0.13.7.tgz", - "integrity": "sha512-j72yRxwGMcRnB+KwmyQYpPJHb5oNgbTS17ecAm8cX1GEyRohbZiE9GljbMaoOxSz/r8XuVfe748gEk5HFSEtSA==", + "version": "0.13.9", + "resolved": "http://localhost:4873/@firebase%2fdatabase/-/database-0.13.9.tgz", + "integrity": "sha512-raQEBgQQybaEoMloJL8wWHQywGQ9mF2VbitvHydsbSNn+KL/xRDjXeQZPuuSbRjkYV6mR8jvQB7gpnzQQNE8Qg==", "requires": { "@firebase/auth-interop-types": "0.1.6", - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "faye-websocket": "0.11.4", "tslib": "^2.1.0" } }, "@firebase/database-compat": { - "version": "0.2.7", - "resolved": "http://localhost:4873/@firebase%2fdatabase-compat/-/database-compat-0.2.7.tgz", - "integrity": "sha512-D9nTb8RNb3RbsKtwUFDykIeUbuBgVSDKE+b6dCgVi9PS7sNATdZPpKGjxLIAxCggyRTgfMj5pr0S5fhrMedRNw==", + "version": "0.2.9", + "resolved": "http://localhost:4873/@firebase%2fdatabase-compat/-/database-compat-0.2.9.tgz", + "integrity": "sha512-zzyFM3+jW/qYtHojiQirHXGXYyElbqVngEEn/i2gXoSzcK0Y2AL5oHAqGYXLaaW0+t4Zwnssh3HnQJM8C1D0fw==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/database": "0.13.7", - "@firebase/database-types": "0.9.14", + "@firebase/component": "0.5.20", + "@firebase/database": "0.13.9", + "@firebase/database-types": "0.9.16", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "@firebase/database-types": { - "version": "0.9.14", - "resolved": "http://localhost:4873/@firebase%2fdatabase-types/-/database-types-0.9.14.tgz", - "integrity": "sha512-utMsusFMr5HuyiKxFyeOXU4hvC7hdJFTiyUWTQpLFODRwhtoPE539Y1I3r/LJhSPyt8dtds2GSjnvIbCvDezLQ==", + "version": "0.9.16", + "resolved": "http://localhost:4873/@firebase%2fdatabase-types/-/database-types-0.9.16.tgz", + "integrity": "sha512-dK/uFgHisrVijSoHf9RLJ7NwvlOul2rO/z9ufOSbGd8/TqFVASXz+19mynhDIoSEnyQtJC/NTyBzSPfjz0w61w==", "requires": { "@firebase/app-types": "0.8.0", - "@firebase/util": "1.7.0" + "@firebase/util": "1.7.2" } }, "@firebase/firestore": { - "version": "3.6.0", - "resolved": "http://localhost:4873/@firebase%2ffirestore/-/firestore-3.6.0.tgz", - "integrity": "sha512-vGeC2nXx/Ca+HsFhBLzz3jX1v571AZtNGf7AX0lMXeL+t0awWsAdq0ahkNRMjejhK5zVa68H/zg2RCO7fg8JiA==", + "version": "3.7.1", + "resolved": "http://localhost:4873/@firebase%2ffirestore/-/firestore-3.7.1.tgz", + "integrity": "sha512-sDZ79cUf4cwCyRzN74zODgaeUvyt0lGA8YwaasVVqojgznwMG/bIz+/Tny4ZEnLZFrlniCqt2tStWsiC6s3u7g==", "requires": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", - "@firebase/webchannel-wrapper": "0.7.0", + "@firebase/util": "1.7.2", + "@firebase/webchannel-wrapper": "0.8.0", "@grpc/grpc-js": "^1.3.2", "@grpc/proto-loader": "^0.6.13", "node-fetch": "2.6.7", @@ -3252,14 +4034,14 @@ } }, "@firebase/firestore-compat": { - "version": "0.1.26", - "resolved": "http://localhost:4873/@firebase%2ffirestore-compat/-/firestore-compat-0.1.26.tgz", - "integrity": "sha512-e0cIToek3tmbzd1UK7fFii6Fo+s2QoJt4Q9ZKxP6cBaMowZoWxZs8/cE7TPsnpgrx5BNc1DjLdpUh0vAuk+q4Q==", + "version": "0.2.1", + "resolved": "http://localhost:4873/@firebase%2ffirestore-compat/-/firestore-compat-0.2.1.tgz", + "integrity": "sha512-XiiTpmUfyZ6QU3Dw9BCT4T+KPvqzada1GsUNX49HmriWHpIn3jTAjsagkigRAnmNDlxS3ki6Yzg9Cs60tpD0tw==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/firestore": "3.6.0", + "@firebase/component": "0.5.20", + "@firebase/firestore": "3.7.1", "@firebase/firestore-types": "2.5.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3270,28 +4052,28 @@ "requires": {} }, "@firebase/functions": { - "version": "0.8.5", - "resolved": "http://localhost:4873/@firebase%2ffunctions/-/functions-0.8.5.tgz", - "integrity": "sha512-oI4ipogH6x+2euHGs+l+cZmRwg8psYxblbO5YebB7nh+x2UcFE4+4uDUXQc7XQrT4b1uDbrW343BU46RKFtwWg==", + "version": "0.8.7", + "resolved": "http://localhost:4873/@firebase%2ffunctions/-/functions-0.8.7.tgz", + "integrity": "sha512-JHSKdAOzlFJ9NdKoOaq4x6S1q6B3GmYZDg13KIDsE6BC0E9o/eWxOWOjSFJRCP/lpfFwa0rYBRayfUvZxW3BLw==", "requires": { "@firebase/app-check-interop-types": "0.1.0", "@firebase/auth-interop-types": "0.1.6", - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/messaging-interop-types": "0.1.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "tslib": "^2.1.0" } }, "@firebase/functions-compat": { - "version": "0.2.5", - "resolved": "http://localhost:4873/@firebase%2ffunctions-compat/-/functions-compat-0.2.5.tgz", - "integrity": "sha512-r9lUxkBNmfulLfujdO7W2AAyH1I3QQBvrRlNoub8TNU+2UbqAfFde7yV0DhOCGhr75zp4ZVv71Zw6wIgwC0G1Q==", + "version": "0.2.7", + "resolved": "http://localhost:4873/@firebase%2ffunctions-compat/-/functions-compat-0.2.7.tgz", + "integrity": "sha512-bcUst8ZDJHeVy2Wox4KEM5EizsrrqLzbwFIwJD7KkuSYP8XrlV2gaqJnCvIXXc0Nc4JRGvbXcvFFMXDjhsEp4Q==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/functions": "0.8.5", + "@firebase/component": "0.5.20", + "@firebase/functions": "0.8.7", "@firebase/functions-types": "0.5.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3301,25 +4083,25 @@ "integrity": "sha512-qza0M5EwX+Ocrl1cYI14zoipUX4gI/Shwqv0C1nB864INAD42Dgv4v94BCyxGHBg2kzlWy8PNafdP7zPO8aJQA==" }, "@firebase/installations": { - "version": "0.5.13", - "resolved": "http://localhost:4873/@firebase%2finstallations/-/installations-0.5.13.tgz", - "integrity": "sha512-T3+RIeqMA1vpnSOK/1wckpSSk3zbLNQgDWoiymwvK/FxjPFHO/LY1W0guqTmiYgK0stdLIHXh7syli5HboO47g==", + "version": "0.5.15", + "resolved": "http://localhost:4873/@firebase%2finstallations/-/installations-0.5.15.tgz", + "integrity": "sha512-RVm2nc2d+bEDFzFzQDTTU1Z13fjAD0v88yDLjtRZuT2R7JwvAegQ4F7CupBvnnf7nftkd3kBwdOi8MhMthb3jQ==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "idb": "7.0.1", "tslib": "^2.1.0" } }, "@firebase/installations-compat": { - "version": "0.1.13", - "resolved": "http://localhost:4873/@firebase%2finstallations-compat/-/installations-compat-0.1.13.tgz", - "integrity": "sha512-JDdne03YV4VfIyGkmlg8ltSHS0hOzQXLkn2gDzvKsyvke0EAUI9HLHUDQAOKVpyn7LsDwFTub5QcrR0owG8b+Q==", + "version": "0.1.15", + "resolved": "http://localhost:4873/@firebase%2finstallations-compat/-/installations-compat-0.1.15.tgz", + "integrity": "sha512-m0atyudsVj6ekmM+djhhzzInMC3Y233YJky9vXUVt5MHQY0mHhqDds9+UIrCa6cpbl+ntI2fOuoYV7y01s3sfw==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/installations-types": "0.4.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3338,26 +4120,26 @@ } }, "@firebase/messaging": { - "version": "0.9.17", - "resolved": "http://localhost:4873/@firebase%2fmessaging/-/messaging-0.9.17.tgz", - "integrity": "sha512-oyjPT1lutJqiivl3UxkJeLrNbOkakFKMUYYviEPEL1PAU+yfKWp7IbRaZPZy4Av+i0sSdLDyB8H803B6tZ+C0Q==", + "version": "0.9.19", + "resolved": "http://localhost:4873/@firebase%2fmessaging/-/messaging-0.9.19.tgz", + "integrity": "sha512-xu99y/7/P+y3txGtgjsVJZyvx7T5/KdvFgDWS7oZwhKYG0o+DXFvvw3SBMK82LFGFOoyHlJUPqv45EyCPnOPCA==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/messaging-interop-types": "0.1.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "idb": "7.0.1", "tslib": "^2.1.0" } }, "@firebase/messaging-compat": { - "version": "0.1.17", - "resolved": "http://localhost:4873/@firebase%2fmessaging-compat/-/messaging-compat-0.1.17.tgz", - "integrity": "sha512-WRaWizUMurqDQkCHzkW2XJkJl6BqSLhrCoCcClyIdC4XEolAgIo9X4Jy2Jd7HiX6SUSPgwEv0u93MnuIS9JWGw==", + "version": "0.1.19", + "resolved": "http://localhost:4873/@firebase%2fmessaging-compat/-/messaging-compat-0.1.19.tgz", + "integrity": "sha512-h5tx4nxfSILeRquk5mKE8Onu7WtL6b7rfB6GKNJKecvkPs3nnq5Z4cp2Av4JUR2Wtt9UxCTfO0iRbbmtrt2bZQ==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/messaging": "0.9.17", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/messaging": "0.9.19", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3367,27 +4149,27 @@ "integrity": "sha512-DbvUl/rXAZpQeKBnwz0NYY5OCqr2nFA0Bj28Fmr3NXGqR4PAkfTOHuQlVtLO1Nudo3q0HxAYLa68ZDAcuv2uKQ==" }, "@firebase/performance": { - "version": "0.5.13", - "resolved": "http://localhost:4873/@firebase%2fperformance/-/performance-0.5.13.tgz", - "integrity": "sha512-k35iR9LcRUsuyEa4sXzBaVKMaFGgDgI3fjHtcmfjspeSywTigbCWxGoN551uk+udAkC0ENnODGm6t/T/ie4HaQ==", + "version": "0.5.15", + "resolved": "http://localhost:4873/@firebase%2fperformance/-/performance-0.5.15.tgz", + "integrity": "sha512-YnnkUehXXzqQefNE5PlPEsXeJYSeY7cMWEdHYTj6u0/F5ntLSAhVZC8jl3Y0fTU1W8a9USQhml6NaXyWiVGmjQ==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "@firebase/performance-compat": { - "version": "0.1.13", - "resolved": "http://localhost:4873/@firebase%2fperformance-compat/-/performance-compat-0.1.13.tgz", - "integrity": "sha512-Den0APOV7bqnQxLuAhzo4dIkojbKR30/Q+8qeDrbdMHZL50wkZm09/OGqXoViCTy8zHDaau+Wp78z0qMqwUFxg==", + "version": "0.1.15", + "resolved": "http://localhost:4873/@firebase%2fperformance-compat/-/performance-compat-0.1.15.tgz", + "integrity": "sha512-mryHr5eBEpWxBo8b3KM/53SwwVjMVahwdEnhfx1r+zAvmEPEzXUOGBzAC1l5WQ4DrwtDR87uMZ5soiQ/0jl9QQ==", "requires": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/performance": "0.5.13", + "@firebase/performance": "0.5.15", "@firebase/performance-types": "0.1.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3397,27 +4179,27 @@ "integrity": "sha512-6p1HxrH0mpx+622Ql6fcxFxfkYSBpE3LSuwM7iTtYU2nw91Hj6THC8Bc8z4nboIq7WvgsT/kOTYVVZzCSlXl8w==" }, "@firebase/remote-config": { - "version": "0.3.12", - "resolved": "http://localhost:4873/@firebase%2fremote-config/-/remote-config-0.3.12.tgz", - "integrity": "sha512-Vhsr6H/onMOiNnEcEBfcv1qadtMtaIwI2oDAP4bbqmCp84XtbizUqY0Y0psOAjKArAbkoqc/33cngRl093YOIQ==", + "version": "0.3.14", + "resolved": "http://localhost:4873/@firebase%2fremote-config/-/remote-config-0.3.14.tgz", + "integrity": "sha512-wEOz3Tasxhr5lCGioe0WNZwDOoQhNZK2qGAm5+AlHAPaAhWIWvqUTkKsk3nFRztyRZzj3r9k5Gc2OSpEcQKP1A==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/installations": "0.5.13", + "@firebase/component": "0.5.20", + "@firebase/installations": "0.5.15", "@firebase/logger": "0.3.3", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, "@firebase/remote-config-compat": { - "version": "0.1.13", - "resolved": "http://localhost:4873/@firebase%2fremote-config-compat/-/remote-config-compat-0.1.13.tgz", - "integrity": "sha512-7bvcMosoS9fTXV305Cx62cyDFFk/CkToIrOR3tTKYr5cG/OKhrk0S/z9Wk6rowhgKHkg2SSZr5Difrj3vQPXDQ==", + "version": "0.1.15", + "resolved": "http://localhost:4873/@firebase%2fremote-config-compat/-/remote-config-compat-0.1.15.tgz", + "integrity": "sha512-jGUrZXIxQRMeSrqEaCi3MtMF33NN12TNTQDZlbex2+T2+yTMI/sn3Mq52T/OccCo86DK17WVlXSWQCH1zCD13g==", "requires": { - "@firebase/component": "0.5.18", + "@firebase/component": "0.5.20", "@firebase/logger": "0.3.3", - "@firebase/remote-config": "0.3.12", + "@firebase/remote-config": "0.3.14", "@firebase/remote-config-types": "0.2.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3427,25 +4209,25 @@ "integrity": "sha512-hqK5sCPeZvcHQ1D6VjJZdW6EexLTXNMJfPdTwbD8NrXUw6UjWC4KWhLK/TSlL0QPsQtcKRkaaoP+9QCgKfMFPw==" }, "@firebase/storage": { - "version": "0.9.10", - "resolved": "http://localhost:4873/@firebase%2fstorage/-/storage-0.9.10.tgz", - "integrity": "sha512-GXJSP/VqWNGi3gD8d59y5Ls4iW/jkX4CKuI4T6oST6eNnLrJcx68JbeOSv+37c9eBVT1d8O7LFX3oeKVWBhvRg==", + "version": "0.9.12", + "resolved": "http://localhost:4873/@firebase%2fstorage/-/storage-0.9.12.tgz", + "integrity": "sha512-XIAmje0ufvRrxrUU/9tvGCuUIy7WSJf3XM8Y8OV9EW2Dg1w4f8IpraLiUdlirdtFM0UAnO2kDQHoiVQYhRrADQ==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/util": "1.7.0", + "@firebase/component": "0.5.20", + "@firebase/util": "1.7.2", "node-fetch": "2.6.7", "tslib": "^2.1.0" } }, "@firebase/storage-compat": { - "version": "0.1.18", - "resolved": "http://localhost:4873/@firebase%2fstorage-compat/-/storage-compat-0.1.18.tgz", - "integrity": "sha512-ULHyM0vXX/vM/tZhYJQbkk5mnv/eQPTs9KAnIdJh7o7Hj6cvNg0Hq8x9Y/QtqLZBfnm9ATszvD41mqLD4LzrGQ==", + "version": "0.1.20", + "resolved": "http://localhost:4873/@firebase%2fstorage-compat/-/storage-compat-0.1.20.tgz", + "integrity": "sha512-8vruwltKdvEPhYbPXA/otb5fAD7MGsBHpCzktJWvF7eIALa4sUlYt+jJxG5Nwk2FoT1NrwLQ7TtI7zvm6/NinA==", "requires": { - "@firebase/component": "0.5.18", - "@firebase/storage": "0.9.10", + "@firebase/component": "0.5.20", + "@firebase/storage": "0.9.12", "@firebase/storage-types": "0.6.0", - "@firebase/util": "1.7.0", + "@firebase/util": "1.7.2", "tslib": "^2.1.0" } }, @@ -3456,28 +4238,56 @@ "requires": {} }, "@firebase/util": { - "version": "1.7.0", - "resolved": "http://localhost:4873/@firebase%2futil/-/util-1.7.0.tgz", - "integrity": "sha512-n5g1WWd+E5IYQwtKxmTJDlhfT762mk/d7yigeh8QaS46cnvngwguOhNwlS8fniEJ7pAgyZ9v05OQMKdfMnws6g==", + "version": "1.7.2", + "resolved": "http://localhost:4873/@firebase%2futil/-/util-1.7.2.tgz", + "integrity": "sha512-P3aTihYEMoz2QQlcn0T7av7HLEK9gsTc1ZiN9VA8wnUtEJscUNemCmTmP3RRysqEb3Z+tVVoycztY8f6R36rRw==", "requires": { "tslib": "^2.1.0" } }, "@firebase/webchannel-wrapper": { - "version": "0.7.0", - "resolved": "http://localhost:4873/@firebase%2fwebchannel-wrapper/-/webchannel-wrapper-0.7.0.tgz", - "integrity": "sha512-4ACd/c6ushrLuhn0+yjB9hznhnsc2IML6pf0Ulb1Q7w8SvR1jNGPu/Y7i4kvOm6R+WJkMHwyy5z3i3gN+Tawug==" + "version": "0.8.0", + "resolved": "http://localhost:4873/@firebase%2fwebchannel-wrapper/-/webchannel-wrapper-0.8.0.tgz", + "integrity": "sha512-Q8erQds5LuAUgNuFOt/tu/abffYUHYxN+Ogp2V5EOssfFG7Ja4ce324Sqyq41u/vB5CSr+tfYS3JzTDrDxCvdw==" }, "@google-cloud/firestore": { - "version": "5.0.2", - "resolved": "http://localhost:4873/@google-cloud%2ffirestore/-/firestore-5.0.2.tgz", - "integrity": "sha512-xlGcNYaW0nvUMzNn2+pLfbEBVt6oysVqtM89faMgZWkWfEtvIQGS0h5PRdLlcqufNzRCX3yIGv29Pb+03ys+VA==", + "version": "6.4.0", + "resolved": "http://localhost:4873/@google-cloud%2ffirestore/-/firestore-6.4.0.tgz", + "integrity": "sha512-qhL5V8S6uIGlESQYC/TMKISlKHaM2qSACz0X15ID0s4F1NuVgSM3Z2FS10WYHdCGIwJ2C73xdLaS+ByFDsu7sg==", "optional": true, "requires": { "fast-deep-equal": "^3.1.1", "functional-red-black-tree": "^1.0.1", - "google-gax": "^2.24.1", - "protobufjs": "^6.8.6" + "google-gax": "^3.5.1", + "protobufjs": "^7.0.0" + }, + "dependencies": { + "long": { + "version": "5.2.0", + "resolved": "http://localhost:4873/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "optional": true + }, + "protobufjs": { + "version": "7.1.2", + "resolved": "http://localhost:4873/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "optional": true, + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + } + } } }, "@google-cloud/paginator": { @@ -3503,16 +4313,15 @@ "optional": true }, "@google-cloud/storage": { - "version": "6.5.2", - "resolved": "http://localhost:4873/@google-cloud%2fstorage/-/storage-6.5.2.tgz", - "integrity": "sha512-n4HVE5bGGFdXlPUN2tP+wEnVH2XbYnv9PVrHirbAJPHk8EM7bm1G86+IhLha8KH4PpHLhjCPML173Sr6PWCXIQ==", + "version": "6.5.4", + "resolved": "http://localhost:4873/@google-cloud%2fstorage/-/storage-6.5.4.tgz", + "integrity": "sha512-7ntxYkceJo0FzKvHZU988Vy+PFRErSiqEIgcErJ+Hg8vU+nCw0dhg2K0uJJSnUJoEPJLz4DFAMqYCme0WhD2uA==", "optional": true, "requires": { "@google-cloud/paginator": "^3.0.7", "@google-cloud/projectify": "^3.0.0", "@google-cloud/promisify": "^3.0.0", "abort-controller": "^3.0.0", - "arrify": "^2.0.0", "async-retry": "^1.3.3", "compressible": "^2.0.12", "duplexify": "^4.0.0", @@ -3526,12 +4335,20 @@ "retry-request": "^5.0.0", "teeny-request": "^8.0.0", "uuid": "^8.0.0" + }, + "dependencies": { + "uuid": { + "version": "8.3.2", + "resolved": "http://localhost:4873/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "optional": true + } } }, "@grpc/grpc-js": { - "version": "1.6.12", - "resolved": "http://localhost:4873/@grpc%2fgrpc-js/-/grpc-js-1.6.12.tgz", - "integrity": "sha512-JmvQ03OTSpVd9JTlj/K3IWHSz4Gk/JMLUTtW7Zb0KvO1LcOYGATh5cNuRYzCAeDR3O8wq+q8FZe97eO9MBrkUw==", + "version": "1.7.3", + "resolved": "http://localhost:4873/@grpc%2fgrpc-js/-/grpc-js-1.7.3.tgz", + "integrity": "sha512-H9l79u4kJ2PVSxUNA08HMYAnUBLj9v6KjYQ7SQ71hOZcEXhShE/y5iQCesP8+6/Ik/7i2O0a10bPquIcYfufog==", "requires": { "@grpc/proto-loader": "^0.7.0", "@types/node": ">=12.12.47" @@ -3926,48 +4743,34 @@ "@quipodb/core": { "version": "file:packages/core", "requires": { - "@types/fs-extra": "^9.0.13", "@types/lodash": "^4.14.182", "@types/node": "^18.6.1", - "is-what": "^4.1.7", "lodash": "^4.17.21", "merge-anything": "^5.0.4", "typescript": "^4.8.3" } }, - "@quipodb/firebase": { - "version": "file:packages/firebase" + "@quipodb/firestore": { + "version": "file:packages/firestore", + "requires": { + "@types/lodash": "^4.14.182", + "@types/node": "^18.6.1", + "firebase-admin": "^11.0.1", + "typescript": "^4.8.3" + } }, "@quipodb/sqlite": { "version": "file:packages/sqlite", "requires": { + "@types/better-sqlite3": "^7.6.0", + "@types/fs-extra": "^9.0.13", + "@types/lodash": "^4.14.182", + "@types/node": "^18.6.1", + "better-sqlite3": "^7.6.2", "fs-extra": "^10.1.0", - "is-what": "^4.1.7", - "lodash": "^4.17.21", - "merge-anything": "^5.0.4" - } - }, - "@sideway/address": { - "version": "4.1.4", - "resolved": "http://localhost:4873/@sideway%2faddress/-/address-4.1.4.tgz", - "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", - "dev": true, - "requires": { - "@hapi/hoek": "^9.0.0" + "typescript": "^4.8.3" } }, - "@sideway/formula": { - "version": "3.0.0", - "resolved": "http://localhost:4873/@sideway%2fformula/-/formula-3.0.0.tgz", - "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==", - "dev": true - }, - "@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "http://localhost:4873/@sideway%2fpinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", - "dev": true - }, "@tootallnate/once": { "version": "2.0.0", "resolved": "http://localhost:4873/@tootallnate%2fonce/-/once-2.0.0.tgz", @@ -3975,9 +4778,9 @@ "optional": true }, "@types/better-sqlite3": { - "version": "7.6.0", - "resolved": "http://localhost:4873/@types%2fbetter-sqlite3/-/better-sqlite3-7.6.0.tgz", - "integrity": "sha512-rnSP9vY+fVsF3iJja5yRGBJV63PNBiezJlYrCkqUmQWFoB16cxAHwOkjsAYEu317miOfKaJpa65cbp0P4XJ/jw==", + "version": "7.6.2", + "resolved": "http://localhost:4873/@types%2fbetter-sqlite3/-/better-sqlite3-7.6.2.tgz", + "integrity": "sha512-RgmaapusqTq6IMAr4McMyAsC6RshYTCjXCnzwVV59WctUxC8bNPyUfT9t5F81lKcU41lLurhjqjoMHfauzfqGg==", "dev": true, "requires": { "@types/node": "*" @@ -4030,46 +4833,6 @@ "@types/node": "*" } }, - "@types/hapi__catbox": { - "version": "10.2.4", - "resolved": "http://localhost:4873/@types%2fhapi__catbox/-/hapi__catbox-10.2.4.tgz", - "integrity": "sha512-A6ivRrXD5glmnJna1UAGw87QNZRp/vdFO9U4GS+WhOMWzHnw+oTGkMvg0g6y1930CbeheGOCm7A1qHsqH7AXqg==", - "dev": true - }, - "@types/hapi__hapi": { - "version": "20.0.12", - "resolved": "http://localhost:4873/@types%2fhapi__hapi/-/hapi__hapi-20.0.12.tgz", - "integrity": "sha512-B+0fceCzFvbIOVv5YWOZzbHtEff8BLlGH3etrkcOedyj7F0unC5FjzFfaaO5gwlhJDdX0cmmMeRg2pwRdMa2CQ==", - "dev": true, - "requires": { - "@hapi/boom": "^9.0.0", - "@hapi/iron": "^6.0.0", - "@hapi/podium": "^4.1.3", - "@types/hapi__catbox": "*", - "@types/hapi__mimos": "*", - "@types/hapi__shot": "*", - "@types/node": "*", - "joi": "^17.3.0" - } - }, - "@types/hapi__mimos": { - "version": "4.1.4", - "resolved": "http://localhost:4873/@types%2fhapi__mimos/-/hapi__mimos-4.1.4.tgz", - "integrity": "sha512-i9hvJpFYTT/qzB5xKWvDYaSXrIiNqi4ephi+5Lo6+DoQdwqPXQgmVVOZR+s3MBiHoFqsCZCX9TmVWG3HczmTEQ==", - "dev": true, - "requires": { - "@types/mime-db": "*" - } - }, - "@types/hapi__shot": { - "version": "4.1.2", - "resolved": "http://localhost:4873/@types%2fhapi__shot/-/hapi__shot-4.1.2.tgz", - "integrity": "sha512-8wWgLVP1TeGqgzZtCdt+F+k15DWQvLG1Yv6ZzPfb3D5WIo5/S+GGKtJBVo2uNEcqabP5Ifc71QnJTDnTmw1axA==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/jsonwebtoken": { "version": "8.5.9", "resolved": "http://localhost:4873/@types%2fjsonwebtoken/-/jsonwebtoken-8.5.9.tgz", @@ -4078,10 +4841,16 @@ "@types/node": "*" } }, + "@types/linkify-it": { + "version": "3.0.2", + "resolved": "http://localhost:4873/@types%2flinkify-it/-/linkify-it-3.0.2.tgz", + "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==", + "optional": true + }, "@types/lodash": { - "version": "4.14.182", - "resolved": "http://localhost:4873/@types%2flodash/-/lodash-4.14.182.tgz", - "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==", + "version": "4.14.186", + "resolved": "http://localhost:4873/@types%2flodash/-/lodash-4.14.186.tgz", + "integrity": "sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw==", "dev": true }, "@types/long": { @@ -4089,21 +4858,31 @@ "resolved": "http://localhost:4873/@types%2flong/-/long-4.0.2.tgz", "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, + "@types/markdown-it": { + "version": "12.2.3", + "resolved": "http://localhost:4873/@types%2fmarkdown-it/-/markdown-it-12.2.3.tgz", + "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", + "optional": true, + "requires": { + "@types/linkify-it": "*", + "@types/mdurl": "*" + } + }, + "@types/mdurl": { + "version": "1.0.2", + "resolved": "http://localhost:4873/@types%2fmdurl/-/mdurl-1.0.2.tgz", + "integrity": "sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==", + "optional": true + }, "@types/mime": { "version": "3.0.1", "resolved": "http://localhost:4873/@types%2fmime/-/mime-3.0.1.tgz", "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==" }, - "@types/mime-db": { - "version": "1.43.1", - "resolved": "http://localhost:4873/@types%2fmime-db/-/mime-db-1.43.1.tgz", - "integrity": "sha512-kGZJY+R+WnR5Rk+RPHUMERtb2qBRViIHCBdtUrY+NmwuGb8pQdfTqQiCKPrxpdoycl8KWm2DLdkpoSdt479XoQ==", - "dev": true - }, "@types/node": { - "version": "18.6.1", - "resolved": "http://localhost:4873/@types%2fnode/-/node-18.6.1.tgz", - "integrity": "sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg==" + "version": "18.11.3", + "resolved": "http://localhost:4873/@types%2fnode/-/node-18.11.3.tgz", + "integrity": "sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A==" }, "@types/qs": { "version": "6.9.7", @@ -4133,6 +4912,19 @@ "event-target-shim": "^5.0.0" } }, + "acorn": { + "version": "8.8.0", + "resolved": "http://localhost:4873/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "optional": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "http://localhost:4873/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "optional": true, + "requires": {} + }, "agent-base": { "version": "6.0.2", "resolved": "http://localhost:4873/agent-base/-/agent-base-6.0.2.tgz", @@ -4155,6 +4947,12 @@ "color-convert": "^2.0.1" } }, + "argparse": { + "version": "2.0.1", + "resolved": "http://localhost:4873/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "optional": true + }, "arrify": { "version": "2.0.1", "resolved": "http://localhost:4873/arrify/-/arrify-2.0.1.tgz", @@ -4170,6 +4968,21 @@ "retry": "0.13.1" } }, + "asynckit": { + "version": "0.4.0", + "resolved": "http://localhost:4873/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "axios": { + "version": "1.1.3", + "resolved": "http://localhost:4873/axios/-/axios-1.1.3.tgz", + "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", + "requires": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "balanced-match": { "version": "1.0.2", "resolved": "http://localhost:4873/balanced-match/-/balanced-match-1.0.2.tgz", @@ -4213,6 +5026,12 @@ "readable-stream": "^3.4.0" } }, + "bluebird": { + "version": "3.7.2", + "resolved": "http://localhost:4873/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "optional": true + }, "brace-expansion": { "version": "1.1.11", "resolved": "http://localhost:4873/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -4222,6 +5041,14 @@ "concat-map": "0.0.1" } }, + "bson": { + "version": "4.7.0", + "resolved": "http://localhost:4873/bson/-/bson-4.7.0.tgz", + "integrity": "sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA==", + "requires": { + "buffer": "^5.6.0" + } + }, "buffer": { "version": "5.7.1", "resolved": "http://localhost:4873/buffer/-/buffer-5.7.1.tgz", @@ -4236,6 +5063,25 @@ "resolved": "http://localhost:4873/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" }, + "catharsis": { + "version": "0.9.0", + "resolved": "http://localhost:4873/catharsis/-/catharsis-0.9.0.tgz", + "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", + "optional": true, + "requires": { + "lodash": "^4.17.15" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "http://localhost:4873/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, "chownr": { "version": "1.1.4", "resolved": "http://localhost:4873/chownr/-/chownr-1.1.4.tgz", @@ -4264,6 +5110,24 @@ "resolved": "http://localhost:4873/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "colorette": { + "version": "2.0.19", + "resolved": "http://localhost:4873/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "http://localhost:4873/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "9.4.1", + "resolved": "http://localhost:4873/commander/-/commander-9.4.1.tgz", + "integrity": "sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==" + }, "compressible": { "version": "2.0.18", "resolved": "http://localhost:4873/compressible/-/compressible-2.0.18.tgz", @@ -4304,6 +5168,17 @@ "resolved": "http://localhost:4873/deep-extend/-/deep-extend-0.6.0.tgz", "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" }, + "deep-is": { + "version": "0.1.4", + "resolved": "http://localhost:4873/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "optional": true + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "http://localhost:4873/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, "detect-libc": { "version": "2.0.1", "resolved": "http://localhost:4873/detect-libc/-/detect-libc-2.0.1.tgz", @@ -4348,11 +5223,84 @@ "integrity": "sha512-GHrMyVZQWvTIdDtpiEXdHZnFQKzeO09apj8Cbl4pKWy4i0Oprcq17usfDt5aO63swf0JOeMWjWQE/LzgSRuWpA==", "optional": true }, + "entities": { + "version": "2.1.0", + "resolved": "http://localhost:4873/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "optional": true + }, "escalade": { "version": "3.1.1", "resolved": "http://localhost:4873/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "http://localhost:4873/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "optional": true + }, + "escodegen": { + "version": "1.14.3", + "resolved": "http://localhost:4873/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "optional": true, + "requires": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "estraverse": { + "version": "4.3.0", + "resolved": "http://localhost:4873/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "optional": true + } + } + }, + "eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "http://localhost:4873/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "optional": true + }, + "esm": { + "version": "3.2.25", + "resolved": "http://localhost:4873/esm/-/esm-3.2.25.tgz", + "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==" + }, + "espree": { + "version": "9.4.0", + "resolved": "http://localhost:4873/espree/-/espree-9.4.0.tgz", + "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "optional": true, + "requires": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.3.0" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "http://localhost:4873/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "optional": true + }, + "estraverse": { + "version": "5.3.0", + "resolved": "http://localhost:4873/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "optional": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "http://localhost:4873/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "optional": true + }, "event-target-shim": { "version": "5.0.1", "resolved": "http://localhost:4873/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -4376,6 +5324,12 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "optional": true }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "http://localhost:4873/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "optional": true + }, "fast-text-encoding": { "version": "1.0.6", "resolved": "http://localhost:4873/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz", @@ -4396,53 +5350,68 @@ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, "firebase": { - "version": "9.11.0", - "resolved": "http://localhost:4873/firebase/-/firebase-9.11.0.tgz", - "integrity": "sha512-AOPj3FmpweMulG3A1901hOhbCoW22IHQuRfst0Tew9Xc8Ldq75uILu0MnmCYdMVGitF7uTFVOFeyhWyGvMxpKw==", - "requires": { - "@firebase/analytics": "0.8.1", - "@firebase/analytics-compat": "0.1.14", - "@firebase/app": "0.8.0", - "@firebase/app-check": "0.5.13", - "@firebase/app-check-compat": "0.2.13", - "@firebase/app-compat": "0.1.35", + "version": "9.12.1", + "resolved": "http://localhost:4873/firebase/-/firebase-9.12.1.tgz", + "integrity": "sha512-sBp4rvkCC7TUnGeneRNs6GVcajO+iSXmYjxqXN4FsrBzldJ5/AOnDXf4bi9OUZtQSl+EHDgUWShBieht15ijgQ==", + "requires": { + "@firebase/analytics": "0.8.3", + "@firebase/analytics-compat": "0.1.16", + "@firebase/app": "0.8.2", + "@firebase/app-check": "0.5.15", + "@firebase/app-check-compat": "0.2.15", + "@firebase/app-compat": "0.1.37", "@firebase/app-types": "0.8.0", - "@firebase/auth": "0.20.8", - "@firebase/auth-compat": "0.2.21", - "@firebase/database": "0.13.7", - "@firebase/database-compat": "0.2.7", - "@firebase/firestore": "3.6.0", - "@firebase/firestore-compat": "0.1.26", - "@firebase/functions": "0.8.5", - "@firebase/functions-compat": "0.2.5", - "@firebase/installations": "0.5.13", - "@firebase/installations-compat": "0.1.13", - "@firebase/messaging": "0.9.17", - "@firebase/messaging-compat": "0.1.17", - "@firebase/performance": "0.5.13", - "@firebase/performance-compat": "0.1.13", - "@firebase/remote-config": "0.3.12", - "@firebase/remote-config-compat": "0.1.13", - "@firebase/storage": "0.9.10", - "@firebase/storage-compat": "0.1.18", - "@firebase/util": "1.7.0" + "@firebase/auth": "0.20.10", + "@firebase/auth-compat": "0.2.23", + "@firebase/database": "0.13.9", + "@firebase/database-compat": "0.2.9", + "@firebase/firestore": "3.7.1", + "@firebase/firestore-compat": "0.2.1", + "@firebase/functions": "0.8.7", + "@firebase/functions-compat": "0.2.7", + "@firebase/installations": "0.5.15", + "@firebase/installations-compat": "0.1.15", + "@firebase/messaging": "0.9.19", + "@firebase/messaging-compat": "0.1.19", + "@firebase/performance": "0.5.15", + "@firebase/performance-compat": "0.1.15", + "@firebase/remote-config": "0.3.14", + "@firebase/remote-config-compat": "0.1.15", + "@firebase/storage": "0.9.12", + "@firebase/storage-compat": "0.1.20", + "@firebase/util": "1.7.2" } }, "firebase-admin": { - "version": "11.0.1", - "resolved": "http://localhost:4873/firebase-admin/-/firebase-admin-11.0.1.tgz", - "integrity": "sha512-rL3wlZbi2Kb/KJgcmj1YHlD4ZhfmhfgRO2YJialxAllm0tj1IQea878hHuBLGmv4DpbW9t9nLvX9kddNR2Y65Q==", + "version": "11.2.0", + "resolved": "http://localhost:4873/firebase-admin/-/firebase-admin-11.2.0.tgz", + "integrity": "sha512-EGr8w4ZDXPXdwUgDZc/InSP/ciu5/FlaAmT8hw9qBnIbKHOuETYqKnzx8hxLlF8VIg7OQKsxb/PEQik6dVAIgQ==", "requires": { "@fastify/busboy": "^1.1.0", - "@firebase/database-compat": "^0.2.3", - "@firebase/database-types": "^0.9.7", - "@google-cloud/firestore": "^5.0.2", - "@google-cloud/storage": "^6.1.0", + "@firebase/database-compat": "^0.2.6", + "@firebase/database-types": "^0.9.13", + "@google-cloud/firestore": "^6.4.0", + "@google-cloud/storage": "^6.5.2", "@types/node": ">=12.12.47", "jsonwebtoken": "^8.5.1", - "jwks-rsa": "^2.0.2", + "jwks-rsa": "^2.1.4", "node-forge": "^1.3.1", - "uuid": "^8.3.2" + "uuid": "^9.0.0" + } + }, + "follow-redirects": { + "version": "1.15.2", + "resolved": "http://localhost:4873/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + }, + "form-data": { + "version": "4.0.0", + "resolved": "http://localhost:4873/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" } }, "fs-constants": { @@ -4465,6 +5434,11 @@ "resolved": "http://localhost:4873/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, + "function-bind": { + "version": "1.1.1", + "resolved": "http://localhost:4873/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, "functional-red-black-tree": { "version": "1.0.1", "resolved": "http://localhost:4873/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", @@ -4498,6 +5472,16 @@ "resolved": "http://localhost:4873/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, + "get-package-type": { + "version": "0.1.0", + "resolved": "http://localhost:4873/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==" + }, + "getopts": { + "version": "2.3.0", + "resolved": "http://localhost:4873/getopts/-/getopts-2.3.0.tgz", + "integrity": "sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA==" + }, "github-from-package": { "version": "0.0.0", "resolved": "http://localhost:4873/github-from-package/-/github-from-package-0.0.0.tgz", @@ -4517,9 +5501,9 @@ } }, "google-auth-library": { - "version": "8.5.2", - "resolved": "http://localhost:4873/google-auth-library/-/google-auth-library-8.5.2.tgz", - "integrity": "sha512-FPfOSaI8n2TVXFHTP8/vAVFCXhyALj7w9/Rgefux3oeKZ/nQDNmfNTJ+lIKcoYT1cKkvMllp1Eood7Y5L+TP+A==", + "version": "8.6.0", + "resolved": "http://localhost:4873/google-auth-library/-/google-auth-library-8.6.0.tgz", + "integrity": "sha512-y6bw1yTWMVgs1vGJwBZ3uu+uIClfgxQfsEVcTNKjQeNQOVwox69+ZUgTeTAzrh+74hBqrk1gWyb9RsQVDI7seg==", "optional": true, "requires": { "arrify": "^2.0.0", @@ -4534,94 +5518,124 @@ } }, "google-gax": { - "version": "2.30.5", - "resolved": "http://localhost:4873/google-gax/-/google-gax-2.30.5.tgz", - "integrity": "sha512-Jey13YrAN2hfpozHzbtrwEfEHdStJh1GwaQ2+Akh1k0Tv/EuNVSuBtHZoKSBm5wBMvNsxTsEIZ/152NrYyZgxQ==", + "version": "3.5.2", + "resolved": "http://localhost:4873/google-gax/-/google-gax-3.5.2.tgz", + "integrity": "sha512-AyP53w0gHcWlzxm+jSgqCR3Xu4Ld7EpSjhtNBnNhzwwWaIUyphH9kBGNIEH+i4UGkTUXOY29K/Re8EiAvkBRGw==", "optional": true, "requires": { - "@grpc/grpc-js": "~1.6.0", - "@grpc/proto-loader": "^0.6.12", + "@grpc/grpc-js": "~1.7.0", + "@grpc/proto-loader": "^0.7.0", "@types/long": "^4.0.0", "abort-controller": "^3.0.0", "duplexify": "^4.0.0", "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.14.0", + "google-auth-library": "^8.0.2", "is-stream-ended": "^0.1.4", "node-fetch": "^2.6.1", "object-hash": "^3.0.0", - "proto3-json-serializer": "^0.1.8", - "protobufjs": "6.11.3", - "retry-request": "^4.0.0" + "proto3-json-serializer": "^1.0.0", + "protobufjs": "7.1.2", + "protobufjs-cli": "1.0.2", + "retry-request": "^5.0.0" }, "dependencies": { - "gaxios": { - "version": "4.3.3", - "resolved": "http://localhost:4873/gaxios/-/gaxios-4.3.3.tgz", - "integrity": "sha512-gSaYYIO1Y3wUtdfHmjDUZ8LWaxJQpiavzbF5Kq53akSzvmVg0RfyOcFDbO1KJ/KCGRFz2qG+lS81F0nkr7cRJA==", + "@grpc/proto-loader": { + "version": "0.7.3", + "resolved": "http://localhost:4873/@grpc%2fproto-loader/-/proto-loader-0.7.3.tgz", + "integrity": "sha512-5dAvoZwna2Py3Ef96Ux9jIkp3iZ62TUsV00p3wVBPNX5K178UbNi8Q7gQVqwXT1Yq9RejIGG9G2IPEo93T6RcA==", + "optional": true, + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.0.0", + "yargs": "^16.2.0" + } + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "http://localhost:4873/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "optional": true, "requires": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.7" + "balanced-match": "^1.0.0" } }, - "gcp-metadata": { - "version": "4.3.1", - "resolved": "http://localhost:4873/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "glob": { + "version": "8.0.3", + "resolved": "http://localhost:4873/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "optional": true, "requires": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" } }, - "google-auth-library": { - "version": "7.14.1", - "resolved": "http://localhost:4873/google-auth-library/-/google-auth-library-7.14.1.tgz", - "integrity": "sha512-5Rk7iLNDFhFeBYc3s8l1CqzbEBcdhwR193RlD4vSNFajIcINKI8W8P0JLmBpwymHqqWbX34pJDQu39cSy/6RsA==", + "minimatch": { + "version": "5.1.0", + "resolved": "http://localhost:4873/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "optional": true, "requires": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" + "brace-expansion": "^2.0.1" } }, - "google-p12-pem": { - "version": "3.1.4", - "resolved": "http://localhost:4873/google-p12-pem/-/google-p12-pem-3.1.4.tgz", - "integrity": "sha512-HHuHmkLgwjdmVRngf5+gSmpkyaRI6QmOg77J8tkNBHhNEI62sGHyw4/+UkgyZEI7h84NbWprXDJ+sa3xOYFvTg==", + "protobufjs": { + "version": "7.1.2", + "resolved": "http://localhost:4873/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", "optional": true, "requires": { - "node-forge": "^1.3.1" + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "dependencies": { + "long": { + "version": "5.2.0", + "resolved": "http://localhost:4873/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "optional": true + } } }, - "gtoken": { - "version": "5.3.2", - "resolved": "http://localhost:4873/gtoken/-/gtoken-5.3.2.tgz", - "integrity": "sha512-gkvEKREW7dXWF8NV8pVrKfW7WqReAmjjkMBh6lNCCGOM4ucS0r0YyXXl0r/9Yj8wcW/32ISkfc8h5mPTDbtifQ==", + "protobufjs-cli": { + "version": "1.0.2", + "resolved": "http://localhost:4873/protobufjs-cli/-/protobufjs-cli-1.0.2.tgz", + "integrity": "sha512-cz9Pq9p/Zs7okc6avH20W7QuyjTclwJPgqXG11jNaulfS3nbVisID8rC+prfgq0gbZE0w9LBFd1OKFF03kgFzg==", "optional": true, "requires": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.1.3", - "jws": "^4.0.0" + "chalk": "^4.0.0", + "escodegen": "^1.13.0", + "espree": "^9.0.0", + "estraverse": "^5.1.0", + "glob": "^8.0.0", + "jsdoc": "^3.6.3", + "minimist": "^1.2.0", + "semver": "^7.1.2", + "tmp": "^0.2.1", + "uglify-js": "^3.7.7" } }, - "retry-request": { - "version": "4.2.2", - "resolved": "http://localhost:4873/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", + "semver": { + "version": "7.3.8", + "resolved": "http://localhost:4873/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "optional": true, "requires": { - "debug": "^4.1.1", - "extend": "^3.0.2" + "lru-cache": "^6.0.0" } } } @@ -4651,6 +5665,20 @@ "jws": "^4.0.0" } }, + "has": { + "version": "1.0.3", + "resolved": "http://localhost:4873/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "http://localhost:4873/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "optional": true + }, "http-parser-js": { "version": "0.5.8", "resolved": "http://localhost:4873/http-parser-js/-/http-parser-js-0.5.8.tgz", @@ -4711,6 +5739,19 @@ "resolved": "http://localhost:4873/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, + "interpret": { + "version": "2.2.0", + "resolved": "http://localhost:4873/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==" + }, + "is-core-module": { + "version": "2.11.0", + "resolved": "http://localhost:4873/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "requires": { + "has": "^1.0.3" + } + }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "http://localhost:4873/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -4738,19 +5779,6 @@ "resolved": "http://localhost:4873/isarray/-/isarray-1.0.0.tgz", "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" }, - "joi": { - "version": "17.6.2", - "resolved": "http://localhost:4873/joi/-/joi-17.6.2.tgz", - "integrity": "sha512-+gqqdh1xc1wb+Lor0J9toqgeReyDOCqOdG8QSdRcEvwrcRiFQZneUCGKjFjuyBWUb3uaFOgY56yMaZ5FIc+H4w==", - "dev": true, - "requires": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", - "@sideway/formula": "^3.0.0", - "@sideway/pinpoint": "^2.0.0" - } - }, "jose": { "version": "2.0.6", "resolved": "http://localhost:4873/jose/-/jose-2.0.6.tgz", @@ -4759,6 +5787,46 @@ "@panva/asn1.js": "^1.0.0" } }, + "js2xmlparser": { + "version": "4.0.2", + "resolved": "http://localhost:4873/js2xmlparser/-/js2xmlparser-4.0.2.tgz", + "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", + "optional": true, + "requires": { + "xmlcreate": "^2.0.4" + } + }, + "jsdoc": { + "version": "3.6.11", + "resolved": "http://localhost:4873/jsdoc/-/jsdoc-3.6.11.tgz", + "integrity": "sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==", + "optional": true, + "requires": { + "@babel/parser": "^7.9.4", + "@types/markdown-it": "^12.2.3", + "bluebird": "^3.7.2", + "catharsis": "^0.9.0", + "escape-string-regexp": "^2.0.0", + "js2xmlparser": "^4.0.2", + "klaw": "^3.0.0", + "markdown-it": "^12.3.2", + "markdown-it-anchor": "^8.4.1", + "marked": "^4.0.10", + "mkdirp": "^1.0.4", + "requizzle": "^0.2.3", + "strip-json-comments": "^3.1.0", + "taffydb": "2.6.2", + "underscore": "~1.13.2" + }, + "dependencies": { + "strip-json-comments": { + "version": "3.1.1", + "resolved": "http://localhost:4873/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "optional": true + } + } + }, "json-bigint": { "version": "1.0.0", "resolved": "http://localhost:4873/json-bigint/-/json-bigint-1.0.0.tgz", @@ -4812,11 +5880,6 @@ "jwa": "^1.4.1", "safe-buffer": "^5.0.1" } - }, - "semver": { - "version": "5.7.1", - "resolved": "http://localhost:4873/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" } } }, @@ -4872,14 +5935,14 @@ } }, "jwks-rsa": { - "version": "2.1.4", - "resolved": "http://localhost:4873/jwks-rsa/-/jwks-rsa-2.1.4.tgz", - "integrity": "sha512-mpArfgPkUpX11lNtGxsF/szkasUcbWHGplZl/uFvFO2NuMHmt0dQXIihh0rkPU2yQd5niQtuUHbXnG/WKiXF6Q==", + "version": "2.1.5", + "resolved": "http://localhost:4873/jwks-rsa/-/jwks-rsa-2.1.5.tgz", + "integrity": "sha512-IODtn1SwEm7n6GQZnQLY0oxKDrMh7n/jRH1MzE8mlxWMrh2NnMyOsXTebu8vJ1qCpmuTJcL4DdiE0E4h8jnwsA==", "requires": { - "@types/express": "^4.17.13", - "@types/jsonwebtoken": "^8.5.8", + "@types/express": "^4.17.14", + "@types/jsonwebtoken": "^8.5.9", "debug": "^4.3.4", - "jose": "^2.0.5", + "jose": "^2.0.6", "limiter": "^1.1.5", "lru-memoizer": "^2.1.4" } @@ -4894,6 +5957,46 @@ "safe-buffer": "^5.0.1" } }, + "klaw": { + "version": "3.0.0", + "resolved": "http://localhost:4873/klaw/-/klaw-3.0.0.tgz", + "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "optional": true, + "requires": { + "graceful-fs": "^4.1.9" + } + }, + "knex": { + "version": "2.3.0", + "resolved": "http://localhost:4873/knex/-/knex-2.3.0.tgz", + "integrity": "sha512-WMizPaq9wRMkfnwKXKXgBZeZFOSHGdtoSz5SaLAVNs3WRDfawt9O89T4XyH52PETxjV8/kRk0Yf+8WBEP/zbYw==", + "requires": { + "colorette": "2.0.19", + "commander": "^9.1.0", + "debug": "4.3.4", + "escalade": "^3.1.1", + "esm": "^3.2.25", + "get-package-type": "^0.1.0", + "getopts": "2.3.0", + "interpret": "^2.2.0", + "lodash": "^4.17.21", + "pg-connection-string": "2.5.0", + "rechoir": "^0.8.0", + "resolve-from": "^5.0.0", + "tarn": "^3.0.2", + "tildify": "2.0.0" + } + }, + "levn": { + "version": "0.3.0", + "resolved": "http://localhost:4873/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "optional": true, + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, "lie": { "version": "3.3.0", "resolved": "http://localhost:4873/lie/-/lie-3.3.0.tgz", @@ -4907,6 +6010,15 @@ "resolved": "http://localhost:4873/limiter/-/limiter-1.1.5.tgz", "integrity": "sha512-FWWMIEOxz3GwUI4Ts/IvgVy6LPvoMPgjMdQ185nN6psJyBJ4yOpzqm695/h5umdLJg2vW3GR5iG11MAkR2AzJA==" }, + "linkify-it": { + "version": "3.0.3", + "resolved": "http://localhost:4873/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", + "optional": true, + "requires": { + "uc.micro": "^1.0.1" + } + }, "lodash": { "version": "4.17.21", "resolved": "http://localhost:4873/lodash/-/lodash-4.17.21.tgz", @@ -4995,6 +6107,38 @@ } } }, + "markdown-it": { + "version": "12.3.2", + "resolved": "http://localhost:4873/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", + "optional": true, + "requires": { + "argparse": "^2.0.1", + "entities": "~2.1.0", + "linkify-it": "^3.0.1", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + } + }, + "markdown-it-anchor": { + "version": "8.6.5", + "resolved": "http://localhost:4873/markdown-it-anchor/-/markdown-it-anchor-8.6.5.tgz", + "integrity": "sha512-PI1qEHHkTNWT+X6Ip9w+paonfIQ+QZP9sCeMYi47oqhH+EsW8CrJ8J7CzV19QVOj6il8ATGbK2nTECj22ZHGvQ==", + "optional": true, + "requires": {} + }, + "marked": { + "version": "4.1.1", + "resolved": "http://localhost:4873/marked/-/marked-4.1.1.tgz", + "integrity": "sha512-0cNMnTcUJPxbA6uWmCmjWz4NJRe/0Xfk2NhXCUHjew9qJzFN20krFnsUe7QynwqOwa5m1fZ4UDg0ycKFVC0ccw==", + "optional": true + }, + "mdurl": { + "version": "1.0.1", + "resolved": "http://localhost:4873/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", + "optional": true + }, "merge-anything": { "version": "5.0.4", "resolved": "http://localhost:4873/merge-anything/-/merge-anything-5.0.4.tgz", @@ -5019,7 +6163,6 @@ "version": "2.1.35", "resolved": "http://localhost:4873/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "optional": true, "requires": { "mime-db": "1.52.0" } @@ -5038,9 +6181,15 @@ } }, "minimist": { - "version": "1.2.6", - "resolved": "http://localhost:4873/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "version": "1.2.7", + "resolved": "http://localhost:4873/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "http://localhost:4873/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "optional": true }, "mkdirp-classic": { "version": "0.5.3", @@ -5058,11 +6207,21 @@ "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" }, "node-abi": { - "version": "3.24.0", - "resolved": "http://localhost:4873/node-abi/-/node-abi-3.24.0.tgz", - "integrity": "sha512-YPG3Co0luSu6GwOBsmIdGW6Wx0NyNDLg/hriIyDllVsNwnI6UeqaWShxC3lbH4LtEQUgoLP3XR1ndXiDAWvmRw==", + "version": "3.28.0", + "resolved": "http://localhost:4873/node-abi/-/node-abi-3.28.0.tgz", + "integrity": "sha512-fRlDb4I0eLcQeUvGq7IY3xHrSb0c9ummdvDSYWfT9+LKP+3jCKw/tKoqaM7r1BAoiAC6GtwyjaGnOz6B3OtF+A==", "requires": { "semver": "^7.3.5" + }, + "dependencies": { + "semver": { + "version": "7.3.8", + "resolved": "http://localhost:4873/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "requires": { + "lru-cache": "^6.0.0" + } + } } }, "node-fetch": { @@ -5092,6 +6251,20 @@ "wrappy": "1" } }, + "optionator": { + "version": "0.8.3", + "resolved": "http://localhost:4873/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "optional": true, + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, "p-limit": { "version": "3.1.0", "resolved": "http://localhost:4873/p-limit/-/p-limit-3.1.0.tgz", @@ -5111,6 +6284,16 @@ "resolved": "http://localhost:4873/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" }, + "path-parse": { + "version": "1.0.7", + "resolved": "http://localhost:4873/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "pg-connection-string": { + "version": "2.5.0", + "resolved": "http://localhost:4873/pg-connection-string/-/pg-connection-string-2.5.0.tgz", + "integrity": "sha512-r5o/V/ORTA6TmUnyWZR9nCj1klXCO2CEKNRlVuJptZe85QuhFayC7WeMic7ndayT5IRIR0S0xFxFi2ousartlQ==" + }, "prebuild-install": { "version": "7.1.1", "resolved": "http://localhost:4873/prebuild-install/-/prebuild-install-7.1.1.tgz", @@ -5130,18 +6313,52 @@ "tunnel-agent": "^0.6.0" } }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "http://localhost:4873/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "optional": true + }, "process-nextick-args": { "version": "2.0.1", "resolved": "http://localhost:4873/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "proto3-json-serializer": { - "version": "0.1.9", - "resolved": "http://localhost:4873/proto3-json-serializer/-/proto3-json-serializer-0.1.9.tgz", - "integrity": "sha512-A60IisqvnuI45qNRygJjrnNjX2TMdQGMY+57tR3nul3ZgO2zXkR9OGR8AXxJhkqx84g0FTnrfi3D5fWMSdANdQ==", + "version": "1.1.0", + "resolved": "http://localhost:4873/proto3-json-serializer/-/proto3-json-serializer-1.1.0.tgz", + "integrity": "sha512-SjXwUWe/vANGs/mJJTbw5++7U67nwsymg7qsoPtw6GiXqw3kUy8ByojrlEdVE2efxAdKreX8WkDafxvYW95ZQg==", "optional": true, "requires": { - "protobufjs": "^6.11.2" + "protobufjs": "^7.0.0" + }, + "dependencies": { + "long": { + "version": "5.2.0", + "resolved": "http://localhost:4873/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "optional": true + }, + "protobufjs": { + "version": "7.1.2", + "resolved": "http://localhost:4873/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "optional": true, + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + } + } } }, "protobufjs": { @@ -5164,6 +6381,11 @@ "long": "^4.0.0" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "http://localhost:4873/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "pseudomap": { "version": "1.0.2", "resolved": "http://localhost:4873/pseudomap/-/pseudomap-1.0.2.tgz", @@ -5199,11 +6421,43 @@ "util-deprecate": "^1.0.1" } }, + "rechoir": { + "version": "0.8.0", + "resolved": "http://localhost:4873/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "requires": { + "resolve": "^1.20.0" + } + }, "require-directory": { "version": "2.1.1", "resolved": "http://localhost:4873/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" }, + "requizzle": { + "version": "0.2.3", + "resolved": "http://localhost:4873/requizzle/-/requizzle-0.2.3.tgz", + "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", + "optional": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "resolve": { + "version": "1.22.1", + "resolved": "http://localhost:4873/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "requires": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "http://localhost:4873/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" + }, "retry": { "version": "0.13.1", "resolved": "http://localhost:4873/retry/-/retry-0.13.1.tgz", @@ -5244,12 +6498,9 @@ } }, "semver": { - "version": "7.3.7", - "resolved": "http://localhost:4873/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "requires": { - "lru-cache": "^6.0.0" - } + "version": "5.7.1", + "resolved": "http://localhost:4873/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "setimmediate": { "version": "1.0.5", @@ -5271,6 +6522,12 @@ "simple-concat": "^1.0.0" } }, + "source-map": { + "version": "0.6.1", + "resolved": "http://localhost:4873/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + }, "stream-events": { "version": "1.0.5", "resolved": "http://localhost:4873/stream-events/-/stream-events-1.0.5.tgz", @@ -5323,6 +6580,26 @@ "integrity": "sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==", "optional": true }, + "supports-color": { + "version": "7.2.0", + "resolved": "http://localhost:4873/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "http://localhost:4873/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "taffydb": { + "version": "2.6.2", + "resolved": "http://localhost:4873/taffydb/-/taffydb-2.6.2.tgz", + "integrity": "sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA==", + "optional": true + }, "tar-fs": { "version": "2.1.1", "resolved": "http://localhost:4873/tar-fs/-/tar-fs-2.1.1.tgz", @@ -5346,6 +6623,11 @@ "readable-stream": "^3.1.1" } }, + "tarn": { + "version": "3.0.2", + "resolved": "http://localhost:4873/tarn/-/tarn-3.0.2.tgz", + "integrity": "sha512-51LAVKUSZSVfI05vjPESNc5vwqqZpbXCsU+/+wxlOrUjk2SnFTt97v9ZgQrD4YmxYW1Px6w2KjaDitCfkvgxMQ==" + }, "teeny-request": { "version": "8.0.2", "resolved": "http://localhost:4873/teeny-request/-/teeny-request-8.0.2.tgz", @@ -5357,14 +6639,6 @@ "node-fetch": "^2.6.1", "stream-events": "^1.0.5", "uuid": "^9.0.0" - }, - "dependencies": { - "uuid": { - "version": "9.0.0", - "resolved": "http://localhost:4873/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", - "optional": true - } } }, "text-decoding": { @@ -5372,6 +6646,11 @@ "resolved": "http://localhost:4873/text-decoding/-/text-decoding-1.0.0.tgz", "integrity": "sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==" }, + "tildify": { + "version": "2.0.0", + "resolved": "http://localhost:4873/tildify/-/tildify-2.0.0.tgz", + "integrity": "sha512-Cc+OraorugtXNfs50hU9KS369rFXCfgGLpfCfvlc+Ud5u6VWmUQsOAa9HbTvheQdYnrdJqqv1e5oIqXppMYnSw==" + }, "tmp": { "version": "0.2.1", "resolved": "http://localhost:4873/tmp/-/tmp-0.2.1.tgz", @@ -5403,12 +6682,39 @@ "safe-buffer": "^5.0.1" } }, + "type-check": { + "version": "0.3.2", + "resolved": "http://localhost:4873/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "optional": true, + "requires": { + "prelude-ls": "~1.1.2" + } + }, "typescript": { - "version": "4.8.3", - "resolved": "http://localhost:4873/typescript/-/typescript-4.8.3.tgz", - "integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==", + "version": "4.8.4", + "resolved": "http://localhost:4873/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true }, + "uc.micro": { + "version": "1.0.6", + "resolved": "http://localhost:4873/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "optional": true + }, + "uglify-js": { + "version": "3.17.3", + "resolved": "http://localhost:4873/uglify-js/-/uglify-js-3.17.3.tgz", + "integrity": "sha512-JmMFDME3iufZnBpyKL+uS78LRiC+mK55zWfM5f/pWBJfpOttXAqYfdDGRukYhJuyRinvPVAtUhvy7rlDybNtFg==", + "optional": true + }, + "underscore": { + "version": "1.13.6", + "resolved": "http://localhost:4873/underscore/-/underscore-1.13.6.tgz", + "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", + "optional": true + }, "universalify": { "version": "2.0.0", "resolved": "http://localhost:4873/universalify/-/universalify-2.0.0.tgz", @@ -5420,9 +6726,9 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "uuid": { - "version": "8.3.2", - "resolved": "http://localhost:4873/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + "version": "9.0.0", + "resolved": "http://localhost:4873/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==" }, "webidl-conversions": { "version": "3.0.1", @@ -5453,6 +6759,12 @@ "webidl-conversions": "^3.0.0" } }, + "word-wrap": { + "version": "1.2.3", + "resolved": "http://localhost:4873/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "optional": true + }, "wrap-ansi": { "version": "7.0.0", "resolved": "http://localhost:4873/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -5474,6 +6786,12 @@ "integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==", "requires": {} }, + "xmlcreate": { + "version": "2.0.4", + "resolved": "http://localhost:4873/xmlcreate/-/xmlcreate-2.0.4.tgz", + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", + "optional": true + }, "y18n": { "version": "5.0.8", "resolved": "http://localhost:4873/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index 0e125f3..aaa2f4c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "build": "tsc index.ts -t esnext -m esnext -d --allowSyntheticDefaultImports --moduleResolution node --outDir ./dist", - "build-packages":"cd packages/core && npm run build && cd.. && cd.. && cd packages/firestore && npm run build && cd.. && cd.. && cd packages/sqlite && npm run build && cd.. && cd..", + "build-packages": "cd packages/core && npm run build && cd.. && cd.. && cd packages/firestore && npm run build && cd.. && cd.. && cd packages/sqlite && npm run build && cd.. && cd..", "publish-beta-public": "npm publish --tag beta --registry=https://registry.npmjs.com --workspaces", "publish-beta-private": "npm publish --tag beta --workspaces", "publish-public": "npm publish --registry=https://registry.npmjs.com --workspaces", @@ -32,20 +32,22 @@ "dependencies": { "@firebase/firestore": "^3.6.0", "@hapi/hapi": "^20.2.2", + "axios": "^1.1.3", "better-sqlite3": "^7.6.2", + "bson": "^4.7.0", "firebase": "^9.11.0", "firebase-admin": "^11.0.1", "fs-extra": "^10.1.0", "is-what": "^4.1.7", + "knex": "^2.3.0", "lodash": "^4.17.21", "merge-anything": "^5.0.4" }, "devDependencies": { - "@types/better-sqlite3": "^7.6.0", + "@types/better-sqlite3": "^7.6.2", "@types/fs-extra": "^9.0.13", - "@types/hapi__hapi": "^20.0.12", - "@types/lodash": "^4.14.182", - "@types/node": "^18.6.1", - "typescript": "^4.8.3" + "@types/lodash": "^4.14.186", + "@types/node": "^18.11.3", + "typescript": "^4.8.4" } } diff --git a/packages/core/dist/index.d.ts b/packages/core/dist/index.d.ts index bddd1d0..ace9006 100644 --- a/packages/core/dist/index.d.ts +++ b/packages/core/dist/index.d.ts @@ -2,23 +2,16 @@ interface constructorOptions { providers: providers[]; } interface providers { - createCollectionProvider(collectionName: String, cb?: Function): void; - createDocProvider(data: document, cb?: Function): void; - deleteCollectionProvider(collectionName: String, cb?: Function): void; - deleteDocProvider(data: document | fn, cb?: Function): void; - getCollectionProvider(collectionName: String, cb?: Function): any[]; - getDocProvider(data: document | fn, cb?: Function): any; - getCollectionsProvider(cb?: Function): Collection[]; - updateDocProvider(refData: document | fn, data: document, cb?: Function): void; -} -interface Collection { - createDoc(data: document | fn, cb?: Function): any; - deleteDoc(data: document | fn, cb?: Function): any; - getDoc(data: document | fn, cb?: Function): any; - hasDoc(data: document | fn, cb?: Function): any; - getRaw(): any; -} -declare type fn = (data: Object[] | Object) => void; + createCollectionProvider(collectionName: String, cb?: Function): Promise | any; + createDocProvider(data: document, cb?: Function): Promise | any; + deleteCollectionProvider(collectionName: String, cb?: Function): Promise | any; + deleteDocProvider(data: document | fn, cb?: Function): Promise | any; + getCollectionProvider(collectionName: String, cb?: Function): Promise | any; + getCollectionsProvider(cb?: Function): Promise | any[]; + getDocProvider(data: document | fn, cb?: Function): Promise | any; + updateDocProvider(refData: document | fn, data: document, cb?: Function): Promise | any; +} +declare type fn = (data: Object[] | Object) => any; interface storage { [collection: string]: document[]; } @@ -47,11 +40,12 @@ declare class Docs { createDoc(data: document | document[], cb?: Function): Promise; deleteDoc(data: document | fn, cb?: Function): Promise; findDoc(data: document | fn, cb?: Function): Promise; - findOrcreateDoc(data: document, cb?: Function): Promise; - getOrcreateDoc(data: document, cb?: Function): Promise; - getRaw(cb?: Function): Promise; - getDoc(data: document | fn | String, cb?: Function): Promise; + getRaw(cb?: Function): Promise; updateDoc(refData: document, data: document | fn, cb?: Function): Promise; + updateRaw(refData: document, cb?: Function): Promise<{ + [x: string]: any; + save: Function; + }>; private $add; private $subtract; private $multiply; diff --git a/packages/core/dist/index.js b/packages/core/dist/index.js index 3d40665..c9a0f9d 100644 --- a/packages/core/dist/index.js +++ b/packages/core/dist/index.js @@ -11,32 +11,30 @@ export default class QuipoDB { this.providers = options.providers; this.storage = {}; this.Docs = Docs; - // Time-To-Live - setInterval(() => { - this.providers.forEach(async (provider) => { - await provider.getCollectionsProvider().forEach(async (collectionName) => { - await provider.getCollectionProvider(collectionName).forEach(async (doc) => { - if (doc.ttl <= Date.now()) { - await provider.deleteDocProvider(doc); - } - }); - }); - }); - }, 5000); } createCollection(collectionName, cb = () => { }) { this.collectionName = collectionName; - this.providers.forEach(async (provider) => { - await provider.createCollectionProvider(collectionName, cb); - }); + try { + this.providers.forEach(async (provider) => { + await provider.createCollectionProvider(collectionName, cb); + }); + } + catch (error) { + error; + } const docs = new this.Docs({ providers: this.providers, collectionName: this.collectionName }); cb(docs); return docs; } deleteCollection(collectionName, cb = () => { }) { - this.providers.forEach(async (provider) => { - await provider.deleteCollectionProvider(collectionName); - }); + try { + this.providers.forEach(async (provider) => { + await provider.deleteCollectionProvider(collectionName); + }); + } + catch (error) { + error; + } cb(); return; } @@ -58,51 +56,55 @@ class Docs { }); }); } - this.providers.forEach(async (provider) => { - await provider.createDocProvider(data); - }); + try { + this.providers.forEach(async (provider) => { + await provider.createDocProvider(data); + }); + } + catch (error) { + error; + } cb(data); return data; } async deleteDoc(data, cb = () => { }) { if (typeof data === "function") data = data(await this.providers[0].getCollectionProvider(this.collectionName)); - this.providers.forEach(async (provider) => { - await provider.deleteDocProvider(data); - }); + try { + this.providers.forEach(async (provider) => { + await provider.deleteDocProvider(data); + }); + } + catch (error) { + error; + } + cb(); + return; } async findDoc(data, cb = () => { }) { let result = {}; if (typeof data === "function") data = data(await this.providers[0].getCollectionProvider(this.collectionName)) ?? {}; - result = await this.providers[0].getDocProvider(data); - cb(result); - return result; - } - async findOrcreateDoc(data, cb = () => { }) { - let result = {}; - const Data = this.findDoc(data); - if (Data) - result = Data; - else { - result = this.createDoc(data); + try { + result = await this.providers[0].getDocProvider(data); + } + catch (error) { + error; } cb(result); return result; } - async getOrcreateDoc(data, cb = () => { }) { - return this.findOrcreateDoc(data, cb); - } async getRaw(cb = () => { }) { - const data = await this.providers[0].getCollectionProvider(this.collectionName); + const data = await this.providers[0].getCollectionProvider(`${this.collectionName}`); cb(data); return data; } - async getDoc(data, cb = () => { }) { - return this.findDoc(data, cb); - } async updateDoc(refData, data, cb = () => { }) { const oldDoc = this.findDoc(refData); + if (!oldDoc) { + cb(); + return; + } const storage = await this.providers[0].getCollectionProvider(this.collectionName); const index = storage.findIndex((doc) => doc === oldDoc); if (typeof data === "function") @@ -112,12 +114,39 @@ class Docs { .forEach((atomic, i) => { data = _.defaultsDeep(this[atomic](oldDoc, data[atomic]), oldDoc); }); - this.providers.forEach(async (provider) => { - await provider.updateDocProvider(refData, data); - }); + try { + this.providers.forEach(async (provider) => { + await provider.updateDocProvider(refData, data); + }); + } + catch (error) { + error; + } cb(storage[index]); return storage[index]; } + async updateRaw(refData, cb = () => { }) { + let data = this.findDoc(refData); + if (!data) { + cb(); + return; + } + const self = this; + const func = { + ...data, + save: async function () { + try { + delete this.save; + await self.updateDoc(refData, this); + } + catch (error) { + error; + } + }, + }; + cb(func); + return func; + } $add(...data) { const deepMerge = (oldData, newData) => { return Object.keys(oldData).reduce((acc, key) => { diff --git a/packages/core/index.ts b/packages/core/index.ts index bb1d5b8..62b2c17 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -5,23 +5,28 @@ interface constructorOptions { providers: providers[]; } interface providers { - createCollectionProvider(collectionName: String, cb?: Function): void; - createDocProvider(data: document, cb?: Function): void; - deleteCollectionProvider(collectionName: String, cb?: Function): void; - deleteDocProvider(data: document | fn, cb?: Function): void; - getCollectionProvider(collectionName: String, cb?: Function): any[]; - getDocProvider(data: document | fn, cb?: Function): any; - getCollectionsProvider(cb?: Function): Collection[]; - updateDocProvider(refData: document | fn, data: document, cb?: Function): void; + createCollectionProvider(collectionName: String, cb?: Function): Promise | any; + createDocProvider(data: document, cb?: Function): Promise | any; + deleteCollectionProvider(collectionName: String, cb?: Function): Promise | any; + deleteDocProvider(data: document | fn, cb?: Function): Promise | any; + getCollectionProvider(collectionName: String, cb?: Function): Promise | any; + getCollectionsProvider(cb?: Function): Promise | any[]; + getDocProvider(data: document | fn, cb?: Function): Promise | any; + updateDocProvider(refData: document | fn, data: document, cb?: Function): Promise | any; +} +interface updateRawCB { + save: Function; } interface Collection { - createDoc(data: document | fn, cb?: Function): any; - deleteDoc(data: document | fn, cb?: Function): any; - getDoc(data: document | fn, cb?: Function): any; - hasDoc(data: document | fn, cb?: Function): any; + createDoc(data: document | document[], cb?: Function): Promise | any; + deleteDoc(data: document | fn, cb?: Function): Promise | any; + findDoc(data: document | fn, cb?: Function): document; + hasDoc(data: document | fn, cb?: Function): boolean; getRaw(): any; + updateDoc(refData: document, data: document | fn, cb?: Function): Promise | any; + updateRaw(refData: document | fn, cb?: Function): updateRawCB; } -type fn = (data: Object[] | Object) => void; +type fn = (data: Object[] | Object) => any; interface storage { [collection: string]: document[]; } @@ -39,33 +44,29 @@ export default class QuipoDB { this.providers = options.providers; this.storage = {}; this.Docs = Docs; - - // Time-To-Live - setInterval(() => { - this.providers.forEach(async (provider) => { - await provider.getCollectionsProvider().forEach(async (collectionName: any) => { - await provider.getCollectionProvider(collectionName).forEach(async (doc: document) => { - if (doc.ttl <= Date.now()) { - await provider.deleteDocProvider(doc); - } - }); - }); - }); - }, 5000); } createCollection(collectionName: String, cb: Function = () => {}) { this.collectionName = collectionName; - this.providers.forEach(async (provider) => { - await provider.createCollectionProvider(collectionName, cb); - }); + try { + this.providers.forEach(async (provider) => { + await provider.createCollectionProvider(collectionName, cb); + }); + } catch (error) { + error; + } const docs = new this.Docs({ providers: this.providers, collectionName: this.collectionName }); + cb(docs); return docs; } deleteCollection(collectionName: String, cb: Function = () => {}) { - this.providers.forEach(async (provider) => { - await provider.deleteCollectionProvider(collectionName); - }); + try { + this.providers.forEach(async (provider) => { + await provider.deleteCollectionProvider(collectionName); + }); + } catch (error) { + error; + } cb(); return; } @@ -91,51 +92,54 @@ class Docs { }); }); } - this.providers.forEach(async (provider) => { - await provider.createDocProvider(data); - }); + try { + this.providers.forEach(async (provider) => { + await provider.createDocProvider(data); + }); + } catch (error) { + error; + } cb(data); return data; } public async deleteDoc(data: document | fn, cb: Function = () => {}) { if (typeof data === "function") data = data(await this.providers[0].getCollectionProvider(this.collectionName)); - this.providers.forEach(async (provider) => { - await provider.deleteDocProvider(data); - }); + try { + this.providers.forEach(async (provider) => { + await provider.deleteDocProvider(data); + }); + } catch (error) { + error; + } + cb(); + return; } public async findDoc(data: document | fn, cb: Function = () => {}) { let result: object = {}; if (typeof data === "function") data = data(await this.providers[0].getCollectionProvider(this.collectionName)) ?? {}; - result = await this.providers[0].getDocProvider(data); - cb(result); - return result; - } - - public async findOrcreateDoc(data: document, cb: Function = () => {}) { - let result: document = {}; - const Data = this.findDoc(data); - if (Data) result = Data; - else { - result = this.createDoc(data); + try { + result = await this.providers[0].getDocProvider(data); + } catch (error) { + error; } cb(result); return result; } - public async getOrcreateDoc(data: document, cb: Function = () => {}) { - return this.findOrcreateDoc(data, cb); - } + public async getRaw(cb: Function = () => {}) { - const data = await this.providers[0].getCollectionProvider(this.collectionName); + const data = await this.providers[0].getCollectionProvider(`${this.collectionName}`); cb(data); return data; } - public async getDoc(data: document | fn | String, cb: Function = () => {}) { - return this.findDoc(data, cb); - } + public async updateDoc(refData: document, data: document | fn, cb: Function = () => {}) { const oldDoc = this.findDoc(refData); + if (!oldDoc) { + cb(); + return; + } const storage = await this.providers[0].getCollectionProvider(this.collectionName); const index = storage.findIndex((doc) => doc === oldDoc); if (typeof data === "function") data = data(storage[index]); @@ -145,12 +149,38 @@ class Docs { .forEach((atomic, i) => { data = _.defaultsDeep(this[atomic](oldDoc, data[atomic]), oldDoc); }); - this.providers.forEach(async (provider) => { - await provider.updateDocProvider(refData, data); - }); + try { + this.providers.forEach(async (provider) => { + await provider.updateDocProvider(refData, data); + }); + } catch (error) { + error; + } cb(storage[index]); return storage[index]; } + public async updateRaw(refData: document, cb: Function = () => {}) { + let data = this.findDoc(refData); + if (!data) { + cb(); + return; + } + const self = this; + const func: { save: Function; [x: string]: any } = { + ...data, + save: async function () { + try { + delete this.save; + await self.updateDoc(refData, this); + } catch (error) { + error; + } + }, + }; + cb(func); + return func; + } + private $add(...data: Object[]) { const deepMerge = (oldData: any, newData: any) => { return Object.keys(oldData).reduce((acc, key) => { diff --git a/packages/core/package.json b/packages/core/package.json index 8888dab..c3ca0de 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@quipodb/core", - "version": "1.0.0-beta.1", + "version": "1.0.0", "type": "module", "main": "./dist/index.js", "typings": "./dist/index.d.ts", diff --git a/packages/firestore/dist/index.d.ts b/packages/firestore/dist/index.d.ts index 715bf11..c7b4dcd 100644 --- a/packages/firestore/dist/index.d.ts +++ b/packages/firestore/dist/index.d.ts @@ -1,26 +1,24 @@ -import firebaseAdmin from "firebase-admin"; import type adminFirebase from "firebase-admin"; +import firebaseAdmin from "firebase-admin"; interface document { [key: string]: string | number | Object | Array | any; } -interface FirestoreOptions extends adminFirebase.AppOptions { - primaryKey: String; -} export declare class FireStore { app: firebaseAdmin.app.App; firestore: firebaseAdmin.firestore.Firestore; collection: firebaseAdmin.firestore.CollectionReference; - collectionName: String; - primaryKey: String; - constructor(options: FirestoreOptions); - createCollectionProvider(collectionName: String, cb?: Function): firebaseAdmin.firestore.CollectionReference; - createDocProvider(data: document, cb?: Function): void; - deleteCollectionProvider(collectionName: String, cb?: Function): void; - deleteDocProvider(data: document, cb?: Function): void; - getCollectionProvider(collectionName: String, cb?: Function): any[]; - getDocProvider(data: document, cb?: Function): Promise>; - getCollectionsProvider(cb?: Function): any; - updateDocProvider(refData: document, data: document, cb?: Function): Promise; + private collectionName; + constructor(options: adminFirebase.AppOptions); + createCollectionProvider(collectionName: string, cb?: Function): Promise>; + createDocProvider(data: document, cb?: Function): Promise; + deleteCollectionProvider(collectionName: string, cb?: Function): Promise; + deleteDocProvider(data: document, cb?: Function): Promise; + getCollectionProvider(collectionName: string, cb?: Function): Promise<{ + _id: string; + }[]>; + getCollectionsProvider(cb?: Function): Promise; + getDocProvider(data: document, cb?: Function): Promise; + updateDocProvider(refData: document, data: document, cb?: Function): Promise; } export declare const certificate: typeof import("firebase-admin/app").cert; export {}; diff --git a/packages/firestore/dist/index.js b/packages/firestore/dist/index.js index cd1850f..e2f5925 100644 --- a/packages/firestore/dist/index.js +++ b/packages/firestore/dist/index.js @@ -1,73 +1,87 @@ import firebaseAdmin from "firebase-admin"; +import _ from "lodash"; export class FireStore { app; firestore; collection; collectionName; - primaryKey; constructor(options) { - if (!options.primaryKey) - throw new Error("Primary key must be defined, recieved undefined"); if (!firebaseAdmin.apps.length) this.app = firebaseAdmin.initializeApp(options); this.firestore = firebaseAdmin.firestore(this.app); } - createCollectionProvider(collectionName, cb = () => { }) { + async createCollectionProvider(collectionName, cb = () => { }) { this.collectionName = collectionName; this.collection = this.firestore.collection(`${collectionName}`); cb(this.collection); return this.collection; } - createDocProvider(data, cb = () => { }) { - if (!this.getDocProvider(data)) - this.collection.doc(`${data[`${this.primaryKey}`]}`).set(data); + async createDocProvider(data, cb = () => { }) { + this.collection.add(data); cb(); return; } - deleteCollectionProvider(collectionName, cb = () => { }) { - this.firestore.recursiveDelete(this.firestore.collection(`${collectionName}`)); + async deleteCollectionProvider(collectionName, cb = () => { }) { + try { + this.firestore.recursiveDelete(this.firestore.collection(collectionName)); + } + catch (error) { + error; + } cb(); return; } - deleteDocProvider(data, cb = () => { }) { - this.collection.doc(`${data[`${this.primaryKey}`]}`).delete(); + async deleteDocProvider(data, cb = () => { }) { + try { + const snapshot = (await this.collection.get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + const res = _.find(snapshot, data); + if (res?._id) + this.collection.doc(`/${res?._id}`).delete(); + } + catch (error) { + error; + } cb(); return; } - getCollectionProvider(collectionName, cb = () => { }) { - const collection = this.firestore.collection(`${collectionName}`); - const data = []; - (async () => { - await collection.get().then((value) => value.docs.forEach((doc) => data.push(doc.data()))); - })(); + async getCollectionProvider(collectionName, cb = () => { }) { + const data = (await this.firestore.collection(collectionName).get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); cb(data); return data; } - getDocProvider(data, cb = () => { }) { - const result = this.collection.doc(`${data[`${this.primaryKey}`]}`).get(); - cb(result); - return result; - } - getCollectionsProvider(cb = () => { }) { + async getCollectionsProvider(cb = () => { }) { const AllData = []; - this.firestore.listCollections().then((collections) => { - collections.forEach((collection) => { - AllData[`${collection.id}`] = []; - this.firestore - .collection(collection.id) - .get() - .then((value) => value.docs.forEach((doc) => { - AllData.push(collection.id); - })); - }); - }); + await this.firestore.listCollections().then((val) => val.forEach((v) => AllData.push(v.id))); cb(AllData); return AllData; } - updateDocProvider(refData, data, cb = () => { }) { - const result = this.collection.doc(`${refData[`${this.primaryKey}`]}`).update(data); + async getDocProvider(data, cb = () => { }) { + let result; + try { + const snapshot = (await this.collection.get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + result = _.find(snapshot, data); + } + catch (e) { + result = result; + } cb(result); return result; } + async updateDocProvider(refData, data, cb = () => { }) { + if (!(await this.getDocProvider(refData))) { + cb(); + return; + } + try { + const snapshot = (await this.collection.get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + const res = _.find(snapshot, refData); + this.collection.doc(`/${res._id}`).update(data); + } + catch (error) { + error; + } + cb(); + return; + } } export const certificate = firebaseAdmin.credential.cert; diff --git a/packages/firestore/index.ts b/packages/firestore/index.ts index e077ca7..27cf5c8 100644 --- a/packages/firestore/index.ts +++ b/packages/firestore/index.ts @@ -1,5 +1,6 @@ -import firebaseAdmin from "firebase-admin"; import type adminFirebase from "firebase-admin"; +import firebaseAdmin from "firebase-admin"; +import _ from "lodash"; type fn = (data: Object[] | Object) => void; interface document { [key: string]: string | number | Object | Array | any; @@ -7,77 +8,83 @@ interface document { interface storage { [collectioName: string]: document[]; } -interface FirestoreOptions extends adminFirebase.AppOptions { - primaryKey: String; -} export class FireStore { - app: firebaseAdmin.app.App; - firestore: firebaseAdmin.firestore.Firestore; - collection: firebaseAdmin.firestore.CollectionReference; - collectionName: String; - primaryKey: String; - constructor(options: FirestoreOptions) { - if (!options.primaryKey) throw new Error("Primary key must be defined, recieved undefined"); + public app: firebaseAdmin.app.App; + public firestore: firebaseAdmin.firestore.Firestore; + public collection: firebaseAdmin.firestore.CollectionReference; + private collectionName: string; + constructor(options: adminFirebase.AppOptions) { if (!firebaseAdmin.apps.length) this.app = firebaseAdmin.initializeApp(options); this.firestore = firebaseAdmin.firestore(this.app); } - public createCollectionProvider(collectionName: String, cb: Function = () => {}) { + public async createCollectionProvider(collectionName: string, cb: Function = () => {}) { this.collectionName = collectionName; this.collection = this.firestore.collection(`${collectionName}`); cb(this.collection); return this.collection; } - public createDocProvider(data: document, cb: Function = () => {}) { - if (!this.getDocProvider(data)) this.collection.doc(`${data[`${this.primaryKey}`]}`).set(data); + public async createDocProvider(data: document, cb: Function = () => {}) { + this.collection.add(data); cb(); return; } - public deleteCollectionProvider(collectionName: String, cb: Function = () => {}) { - this.firestore.recursiveDelete(this.firestore.collection(`${collectionName}`)); + public async deleteCollectionProvider(collectionName: string, cb: Function = () => {}) { + try { + this.firestore.recursiveDelete(this.firestore.collection(collectionName)); + } catch (error) { + error; + } cb(); return; } - public deleteDocProvider(data: document, cb: Function = () => {}) { - this.collection.doc(`${data[`${this.primaryKey}`]}`).delete(); + public async deleteDocProvider(data: document, cb: Function = () => {}) { + try { + const snapshot = (await this.collection.get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + const res = _.find(snapshot, data); + if (res?._id) this.collection.doc(`/${res?._id}`).delete(); + } catch (error) { + error; + } cb(); return; } - public getCollectionProvider(collectionName: String, cb: Function = () => {}) { - const collection = this.firestore.collection(`${collectionName}`); - const data: any[] = []; - (async () => { - await collection.get().then((value) => value.docs.forEach((doc) => data.push(doc.data()))); - })(); + public async getCollectionProvider(collectionName: string, cb: Function = () => {}) { + const data = (await this.firestore.collection(collectionName).get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + cb(data); return data; } - public getDocProvider(data: document, cb: Function = () => {}) { - const result = this.collection.doc(`${data[`${this.primaryKey}`]}`).get(); - cb(result); - return result; - } - public getCollectionsProvider(cb: Function = () => {}) { - const AllData: any = []; - this.firestore.listCollections().then((collections) => { - collections.forEach((collection) => { - AllData[`${collection.id}`] = []; - this.firestore - .collection(collection.id) - .get() - .then((value) => - value.docs.forEach((doc) => { - AllData.push(collection.id); - }), - ); - }); - }); + public async getCollectionsProvider(cb: Function = () => {}) { + const AllData:any = []; + await this.firestore.listCollections().then((val) => val.forEach((v) => AllData.push(v.id))); cb(AllData); return AllData; } - public updateDocProvider(refData: document, data: document, cb: Function = () => {}) { - const result = this.collection.doc(`${refData[`${this.primaryKey}`]}`).update(data); + public async getDocProvider(data: document, cb: Function = () => {}) { + let result: any; + try { + const snapshot = (await this.collection.get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + result = _.find(snapshot, data); + } catch (e) { + result = result; + } cb(result); return result; } + public async updateDocProvider(refData: document, data: document, cb: Function = () => {}) { + if (!(await this.getDocProvider(refData))) { + cb(); + return; + } + try { + const snapshot = (await this.collection.get()).docs.map((doc) => ({ ...doc.data(), _id: doc.id })); + const res = _.find(snapshot, refData); + this.collection.doc(`/${res._id}`).update(data); + } catch (error) { + error; + } + cb(); + return; + } } export const certificate = firebaseAdmin.credential.cert; diff --git a/packages/firestore/package.json b/packages/firestore/package.json index f6059a6..4c70b6c 100644 --- a/packages/firestore/package.json +++ b/packages/firestore/package.json @@ -1,6 +1,6 @@ { "name": "@quipodb/firestore", - "version": "1.0.1-beta.1", + "version": "1.0.0", "description": "Firestore provider for this package", "type": "module", "main": "./dist/index.js", diff --git a/packages/sqlite/dist/index.d.ts b/packages/sqlite/dist/index.d.ts index 749bd37..c3a9dd7 100644 --- a/packages/sqlite/dist/index.d.ts +++ b/packages/sqlite/dist/index.d.ts @@ -10,7 +10,7 @@ export default class Sqlite { sqlite: sqlite.Database; private options; private collectionName; - primaryKey: any; + private primaryKey; constructor(options: sqliteConstructor); createCollectionProvider(collectionName: String, cb?: Function): void; private createColumnProvider; diff --git a/packages/sqlite/dist/index.js b/packages/sqlite/dist/index.js index a6be45e..83f4174 100644 --- a/packages/sqlite/dist/index.js +++ b/packages/sqlite/dist/index.js @@ -8,27 +8,32 @@ export default class Sqlite { constructor(options) { this.options = options; this.options.path ??= "./databases/index.sqlite"; - this.primaryKey = this.options.primaryKey; - if (!this.primaryKey) - throw new QuipodbSqliteError("PRIMARY KEY is expected", "@quipodb/sqlite -> Missing property"); try { fs.ensureFileSync(`${this.options.path}`); } - catch { } + catch (error) { + error; + } this.sqlite = new sqlite(`${this.options.path}`, { fileMustExist: false }); } createCollectionProvider(collectionName, cb = () => { }) { this.collectionName = collectionName; + // if (!primaryKey) throw new QuipodbSqliteError("PRIMARY KEY is expected", "@quipodb/sqlite -> Missing property"); + // this.primaryKey = primaryKey; try { - this.sqlite.prepare(`CREATE TABLE IF NOT EXISTS ${collectionName} (${this.primaryKey} NONE PRIMARY KEY NOT NULL)`).run(); + this.sqlite.prepare(`CREATE TABLE IF NOT EXISTS ${collectionName} (_ID NONE PRIMARY KEY NOT NULL)`).run(); + } + catch (error) { + error; } - catch { } } createColumnProvider(columnName, dataType = "NONE") { try { this.sqlite.prepare(`ALTER TABLE ${this.collectionName} ADD ${columnName} ${dataType}`).run(); } - catch { } + catch (error) { + error; + } } createDocProvider(data, cb = () => { }) { const KEYS = Object.keys(data); @@ -48,7 +53,9 @@ export default class Sqlite { result = this.getDocProvider(data); } } - catch { } + catch (error) { + error; + } cb(result); return result; } @@ -58,7 +65,9 @@ export default class Sqlite { return; } deleteDocProvider(data, cb = () => { }) { - this.sqlite.prepare(`DELETE FROM ${this.collectionName} WHERE ${this.primaryKey} = (?)`).run(this.getDocProvider(data)[this.primaryKey]); + const KEYS = Object.keys(data); + const VALUES = Object.values(data); + this.sqlite.prepare(`DELETE FROM ${this.collectionName} WHERE ${KEYS.map((k, i) => (k += ` = (?)`))}`).run(...VALUES); cb(); return; } @@ -76,9 +85,7 @@ export default class Sqlite { result[Object.keys(result)[index]] = JSON.parse(val); }); } - catch (e) { - console.log(e); - } + catch { } cb(result); return result; } @@ -101,7 +108,9 @@ export default class Sqlite { try { this.sqlite.prepare(`UPDATE ${this.collectionName} SET ${args} WHERE ${this.primaryKey} = ${refData[`${this.primaryKey}`]}`).run(...VALUES); } - catch { } + catch (error) { + error; + } } } class QuipodbSqliteError extends Error { diff --git a/packages/sqlite/index.ts b/packages/sqlite/index.ts index b2fb96b..6254f3f 100644 --- a/packages/sqlite/index.ts +++ b/packages/sqlite/index.ts @@ -17,28 +17,34 @@ export default class Sqlite { public sqlite: sqlite.Database; private options: sqliteConstructor; private collectionName: String; - primaryKey: any; + private primaryKey: String; constructor(options: sqliteConstructor) { this.options = options; this.options.path ??= "./databases/index.sqlite"; - this.primaryKey = this.options.primaryKey; - if (!this.primaryKey) throw new QuipodbSqliteError("PRIMARY KEY is expected", "@quipodb/sqlite -> Missing property"); try { fs.ensureFileSync(`${this.options.path}`); - } catch {} + } catch (error) { + error; + } this.sqlite = new sqlite(`${this.options.path}`, { fileMustExist: false }); } createCollectionProvider(collectionName: String, cb: Function = () => {}) { this.collectionName = collectionName; + // if (!primaryKey) throw new QuipodbSqliteError("PRIMARY KEY is expected", "@quipodb/sqlite -> Missing property"); + // this.primaryKey = primaryKey; try { - this.sqlite.prepare(`CREATE TABLE IF NOT EXISTS ${collectionName} (${this.primaryKey} NONE PRIMARY KEY NOT NULL)`).run(); - } catch {} + this.sqlite.prepare(`CREATE TABLE IF NOT EXISTS ${collectionName} (_ID NONE PRIMARY KEY NOT NULL)`).run(); + } catch (error) { + error; + } } private createColumnProvider(columnName: string, dataType: "TEXT" | "REAL" | "INTEGER" | "BLOB" | "NULL" | "NONE" = "NONE") { try { this.sqlite.prepare(`ALTER TABLE ${this.collectionName} ADD ${columnName} ${dataType}`).run(); - } catch {} + } catch (error) { + error; + } } createDocProvider(data: document, cb: Function = () => {}) { const KEYS = Object.keys(data); @@ -55,7 +61,9 @@ export default class Sqlite { this.updateDocProvider(this.getDocProvider(data), data); result = this.getDocProvider(data); } - } catch {} + } catch (error) { + error; + } cb(result); @@ -67,7 +75,9 @@ export default class Sqlite { return; } deleteDocProvider(data: document, cb: Function = () => {}) { - this.sqlite.prepare(`DELETE FROM ${this.collectionName} WHERE ${this.primaryKey} = (?)`).run(this.getDocProvider(data)[this.primaryKey]); + const KEYS = Object.keys(data); + const VALUES = Object.values(data); + this.sqlite.prepare(`DELETE FROM ${this.collectionName} WHERE ${KEYS.map((k, i) => (k += ` = (?)`))}`).run(...VALUES); cb(); return; } @@ -84,9 +94,7 @@ export default class Sqlite { Object.values(result).forEach((val: any, index) => { result[Object.keys(result)[index]] = JSON.parse(val); }); - } catch (e) { - console.log(e); - } + } catch {} cb(result); @@ -110,7 +118,9 @@ export default class Sqlite { try { this.sqlite.prepare(`UPDATE ${this.collectionName} SET ${args} WHERE ${this.primaryKey} = ${refData[`${this.primaryKey}`]}`).run(...VALUES); - } catch {} + } catch (error) { + error; + } } } diff --git a/packages/sqlite/package.json b/packages/sqlite/package.json index 33398d7..0c5de27 100644 --- a/packages/sqlite/package.json +++ b/packages/sqlite/package.json @@ -1,6 +1,6 @@ { "name": "@quipodb/sqlite", - "version": "1.0.0-beta.1", + "version": "1.0.0", "description": "Sqlite provider for this package", "type": "module", "main": "./dist/index.js",