diff --git a/index.js b/index.js index 62f88b3e..d20425a6 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ const config = require("./src/struct/config/config.ts"); if (config.devMode) { + console.log('- dev mode- '); config.token = config.devToken; config.shards = 1; } @@ -8,6 +9,6 @@ if (config.devMode) { const { ShardingManager } = require('discord.js'); const manager = new ShardingManager('./src/bot.ts', { token: config.token, respawn: config.respawn, totalShards: config.shards }); -console.log('Launching shards...'); +console.log('- Launching shards -'); manager.spawn(config.shards, config.shardDelay, config.shardTimeout); -manager.on('shardCreate', shard => console.log(`Launched shard ${shard.id}`)); \ No newline at end of file +manager.on('shardCreate', shard => console.log(`- Launched shard ${shard.id} -`)); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index dd748f57..4cbf6275 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "musix", - "version": "3.0.4", + "version": "3.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -19,344 +19,192 @@ } }, "@firebase/analytics": { - "version": "0.2.16", - "resolved": "https://registry.npmjs.org/@firebase/analytics/-/analytics-0.2.16.tgz", - "integrity": "sha512-t4lwd8SxigKULvt8a+VA1cVj7Aml/tUNECV9vzz3G9wusxDE76d7rTw+HexKTNPRbD2E9+JtRKUVPKlJpox9bw==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@firebase/analytics/-/analytics-0.3.0.tgz", + "integrity": "sha512-EEHuK+OcWH6UxufRLVU3lAJ4rmm7aVHmcgkhE9ZQJQy5c+w7QTLvVpGqtrpqD+cYyIBJkFBKJB8NziVyqKwQHw==", "requires": { - "@firebase/analytics-types": "0.2.7", - "@firebase/component": "0.1.6", - "@firebase/installations": "0.4.4", - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "@firebase/analytics-types": "0.3.0", + "@firebase/component": "0.1.8", + "@firebase/installations": "0.4.6", + "@firebase/logger": "0.2.0", + "@firebase/util": "0.2.43", + "tslib": "1.11.1" } }, "@firebase/analytics-types": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@firebase/analytics-types/-/analytics-types-0.2.7.tgz", - "integrity": "sha512-2596a1v62BkVXuobbQerC1gDavoxFOmgVutFFQcm24v6/2Iv8nlx2k8Wjy9eLAZWmAZHU/RkTX11K9gHy+w5Bg==" + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@firebase/analytics-types/-/analytics-types-0.3.0.tgz", + "integrity": "sha512-0AJ6xn53Qn0D/YOVHHvlWFfnzzRSdd98Lr8Oqe1PJ2HPIN+o7qf03YmOG7fLpR1uplcWd+7vGKmxUrN3jKUBwg==" }, "@firebase/app": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.5.5.tgz", - "integrity": "sha512-CCqX/ZuNkPnyE2jQapVAHpp3Y0cSJZVBQRl+YjcmtfeiCl8WcUb7pyVJZYLPEw5xZZZVJWOrZXO393teiFtsIg==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.6.0.tgz", + "integrity": "sha512-utFL07aO64ZVs9g79cv1KHomtLdKkkAeKN5e8G9NlXXuO6dZXhcHLbOmKY1AfwrkAvUzPEKkFFY3dytOIt+nlg==", "requires": { - "@firebase/app-types": "0.5.2", - "@firebase/component": "0.1.6", - "@firebase/logger": "0.1.36", - "@firebase/util": "0.2.41", + "@firebase/app-types": "0.6.0", + "@firebase/component": "0.1.8", + "@firebase/logger": "0.2.0", + "@firebase/util": "0.2.43", "dom-storage": "2.1.0", - "tslib": "1.10.0", + "tslib": "1.11.1", "xmlhttprequest": "1.8.0" - }, - "dependencies": { - "@firebase/app-types": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.5.2.tgz", - "integrity": "sha512-k3zRi9gXyWrymu8OL6DA1Pz7eo+sKVBopX5ouOjQwozAZ55WhelifPC99WHmLWo8sAokNM0XDyzM7loOA5yliQ==" - }, - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/logger": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.36.tgz", - "integrity": "sha512-5Z0ryTtzRk7kjUb0/18r10oXYu8mSPAjgdbLowRBP6HdSJB7BDiUIRS7iATSmUBZLTArdroSiFJ29m7YDfm/cw==" - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } } }, "@firebase/app-types": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.5.0.tgz", - "integrity": "sha512-8j+vCXTpAkYGcFk86mPZ90V6HMFmn196RIEW9Opi0PN+VrPFC1l/eW0gptM8v7VXaQhECOxws3TN2g+dDaeSYA==" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.6.0.tgz", + "integrity": "sha512-ld6rzjXk/SUauHiQZJkeuSJpxIZ5wdnWuF5fWBFQNPaxsaJ9kyYg9GqEvwZ1z2e6JP5cU9gwRBlfW1WkGtGDYA==" }, "@firebase/auth": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-0.13.6.tgz", - "integrity": "sha512-ERlda/t5RimNw5Err+5HJATC/qFkC64zR40G+4nK5b9eFJEm0MB+/DaismCwp6J6GoVL3NmejoVbuWU7sV4G1w==", + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-0.14.1.tgz", + "integrity": "sha512-LE+QED10cjp28jJ7wwIY58HQBXoJioEWiQy7iQS8Fo2UxHGY5BvGjwnxX4yyszQPbcZZRLDSlBIUaYfog+rdEA==", "requires": { - "@firebase/auth-types": "0.9.6" + "@firebase/auth-types": "0.10.0" } }, "@firebase/auth-interop-types": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.1.1.tgz", - "integrity": "sha512-rNpCOyCspZvNDoQVQLQQgWAGBMB2ClCWKN1c8cEFgLNFgnMJrjVB+tcL7KW2q2UjKa7l8Mxgwys7szTiEDAcvA==" + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.1.4.tgz", + "integrity": "sha512-CLKNS84KGAv5lRnHTQZFWoR11Ti7gIPFirDDXWek/fSU+TdYdnxJFR5XSD4OuGyzUYQ3Dq7aVj5teiRdyBl9hA==" }, "@firebase/auth-types": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.9.6.tgz", - "integrity": "sha512-HB1yXe5hgiwPMukLBEfC3TQX22U9qKczj8kEclKhL7rnds3FKZWMM0+EpKbcJREbU9Sj/rgwgaio7ovSN4ZQFA==" + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.10.0.tgz", + "integrity": "sha512-VuW7c+RAk3AYPU0Hxmun3RzXn7fbJDdjQbxvvpRMnQ9zrhk8mH42cY466M0n4e/UGQ+0smlx5BqZII8aYQ5XPg==" }, "@firebase/component": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.4.tgz", - "integrity": "sha512-k3JZFUyHnSWC/7v+x+pIHLDNJPYA6xd7nqrQASOXH5TXhCR9meg0VsnJb+knD18491iRMKJnQWNSHdqPK9AX5w==", + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.8.tgz", + "integrity": "sha512-kzuCF+NVympQk3gcsHldOmDRVPVndECi6O9Wvd47HTEQYO9HsZWfOM1fHUvvHAijSzNi16p4NSM7UziuBQBL4w==", "requires": { - "@firebase/util": "0.2.39", - "tslib": "1.10.0" + "@firebase/util": "0.2.43", + "tslib": "1.11.1" } }, "@firebase/database": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.5.20.tgz", - "integrity": "sha512-31dNLqMW4nGrGzIDS5hh+1LFzkr/m1Kb+EcftQGC3NaGC3zHwGyG7ijn+Xo7gIWtXukvJvm1cFC7R+eOCPEejw==", + "version": "0.5.24", + "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.5.24.tgz", + "integrity": "sha512-9whAQzU8cxDUKGBWCT/aHVmqfyzCP2RkGhbZi2oHpMrmvht7cuBtXtUbDD5R8WomniCOUP8rtQfmCFI7V9ehYw==", "requires": { - "@firebase/auth-interop-types": "0.1.1", - "@firebase/component": "0.1.4", - "@firebase/database-types": "0.4.10", - "@firebase/logger": "0.1.34", - "@firebase/util": "0.2.39", + "@firebase/auth-interop-types": "0.1.4", + "@firebase/component": "0.1.8", + "@firebase/database-types": "0.4.14", + "@firebase/logger": "0.2.0", + "@firebase/util": "0.2.43", "faye-websocket": "0.11.3", - "tslib": "1.10.0" + "tslib": "1.11.1" } }, "@firebase/database-types": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.4.10.tgz", - "integrity": "sha512-66puLsckt5HASgRN3CfhLn2iuGrgCjfH3u17OL0f5MtEweYLx+yW2QW5d539Wx30xD4B+INEdaRetw6xEa9t7g==", + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.4.14.tgz", + "integrity": "sha512-+D41HWac0HcvwMi+0dezEdSOZHpVjPKPNmpQiW2GDuS5kk27/v1jxc9v7F4ALLtpxbVcn16UZl5PqEkcS9H2Xg==", "requires": { - "@firebase/app-types": "0.5.0" + "@firebase/app-types": "0.6.0" } }, "@firebase/firestore": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.12.0.tgz", - "integrity": "sha512-GWFU3pPs0xyp2ynFQIyvlmTtg4goGvOkT/lhVCu/Bq6/78xbl395nCPBMjF7IpUl+aVqQVUCwtF/cxrtNXgjMA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.13.0.tgz", + "integrity": "sha512-GctO+sxLqOnY8SkBN5Z5p1nUYRX+yWSc9Kcx9nIPbUZ0WqBM5BaSlBHZHTFtjmJxS+0j/Y8Mu7c6qm6q5rVnjA==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/firestore-types": "1.10.0", - "@firebase/logger": "0.1.36", - "@firebase/util": "0.2.41", - "@firebase/webchannel-wrapper": "0.2.36", + "@firebase/component": "0.1.8", + "@firebase/firestore-types": "1.10.1", + "@firebase/logger": "0.2.0", + "@firebase/util": "0.2.43", + "@firebase/webchannel-wrapper": "0.2.38", "@grpc/proto-loader": "^0.5.0", "grpc": "1.24.2", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/logger": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.36.tgz", - "integrity": "sha512-5Z0ryTtzRk7kjUb0/18r10oXYu8mSPAjgdbLowRBP6HdSJB7BDiUIRS7iATSmUBZLTArdroSiFJ29m7YDfm/cw==" - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "tslib": "1.11.1" } }, "@firebase/firestore-types": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-1.10.0.tgz", - "integrity": "sha512-/Pvmu5hpc0pceB96X2mEOAdEB0Xyn6+IQliBl7dUhu23AztnjBq+9uKcsgMB+k34RCApFQfNm1m24E4e+fUSVg==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-1.10.1.tgz", + "integrity": "sha512-vyKdm+AYUFT8XeUX62IOqaqPFCs/mAMoSEsqIz9HnSVsqCw/IocNjtjSa+3M80kRw4V8fI7JI+Xz6Wg5VJXLqA==" }, "@firebase/functions": { - "version": "0.4.36", - "resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.4.36.tgz", - "integrity": "sha512-GheZOwxUbMHhM1xidkOJlfTGk4FuC2sJBA9/yYA23St5qgudcT0Bu3r+3XcC4DhJv6G/mu2IoM9dn1LBgBclXw==", + "version": "0.4.38", + "resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.4.38.tgz", + "integrity": "sha512-t5QkJg251FmIEEi2mh3Xrf7Q3yonSLRaUW/vhgze7A3Xy3uTIUT3BVNWuKaRmg1n0PgKQaBHCjlDoLJAdSpujg==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/functions-types": "0.3.15", - "@firebase/messaging-types": "0.4.3", + "@firebase/component": "0.1.8", + "@firebase/functions-types": "0.3.16", + "@firebase/messaging-types": "0.4.4", "isomorphic-fetch": "2.2.1", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "tslib": "1.11.1" } }, "@firebase/functions-types": { - "version": "0.3.15", - "resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.3.15.tgz", - "integrity": "sha512-VM0v7fJM+mzvL9tJgNtQWc3UZLUOl2GJYi0TdfiuqTbfEdPDQCXtYVTN3roAO5LJTIgNw0imZyOCgsHDy9MtXg==" + "version": "0.3.16", + "resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.3.16.tgz", + "integrity": "sha512-kHhBvSYiY2prY4vNQCALYs1+OruTdylvGemHG6G6Bs/rj3qw7ui3WysBsDU/rInJitHIcsZ35qrtanoJeQUIXQ==" }, "@firebase/installations": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.4.4.tgz", - "integrity": "sha512-gbfK5dOKe1SyveF7Ko7Bg/LtTPoX3cByoGUv7LMR0Q7Dn8Qw9JsIz2n7q21tr2YzAxv1q7RqIzRJchoFicqISA==", + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.4.6.tgz", + "integrity": "sha512-ey8cE2ldRO4pYqg0lCWQ+XFLETHZWha3Hw1CnYJjLivk4FMM8u/es3Oa257wwtYXAUfr0UsPDfHFgYME9E9EhA==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/installations-types": "0.3.2", - "@firebase/util": "0.2.41", + "@firebase/component": "0.1.8", + "@firebase/installations-types": "0.3.3", + "@firebase/util": "0.2.43", "idb": "3.0.2", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "tslib": "1.11.1" } }, "@firebase/installations-types": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.3.2.tgz", - "integrity": "sha512-E5Jp1QlwYSypRiOJSkKtEC2RS8GnubUYqTAqjiJAtBsa0guZZunBcXvdn3kqWOyn3R4HaM2tDZ/bGdWpulVUkg==" + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.3.3.tgz", + "integrity": "sha512-XvWhPPAGeZlc+CfCA8jTt2pv19Jovi/nUV73u30QbjBbk5xci9bp5I29aBZukHsR6YNBjFCLSkLPbno4m/bLUg==" }, "@firebase/logger": { - "version": "0.1.34", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.34.tgz", - "integrity": "sha512-J2h6ylpd1IcuonRM3HBdXThitds6aQSIeoPYRPvApSFy82NhFPKRzJlflAhlQWjJOh59/jyQBGWJNxCL6fp4hw==" + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.2.0.tgz", + "integrity": "sha512-qOMnAh1JY9NkYUEy3iFviiFq0dCvk6qN2DsRy2Y7eAhHR6RqwA47l1kI+0MIXmSzlJ9akXjWAXxV5ijzr68Big==" }, "@firebase/messaging": { - "version": "0.6.8", - "resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.6.8.tgz", - "integrity": "sha512-APMuLpx2XnYCQMvKI9W17CfNOi+YhecoU5gZLwUuuspZvgasr28daSNNU+QcjdMPsJsIbU9UDJa4do8x2uAEig==", + "version": "0.6.10", + "resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.6.10.tgz", + "integrity": "sha512-WYnKEffG6m0EMHzib8KCWVUGno1cuBC13RrOfGWOCv/whdy9QCIZgMxH/NsY3BrYst8FnjuXEU16fi5AEf4qbg==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/installations": "0.4.4", - "@firebase/messaging-types": "0.4.3", - "@firebase/util": "0.2.41", + "@firebase/component": "0.1.8", + "@firebase/installations": "0.4.6", + "@firebase/messaging-types": "0.4.4", + "@firebase/util": "0.2.43", "idb": "3.0.2", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "tslib": "1.11.1" } }, "@firebase/messaging-types": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@firebase/messaging-types/-/messaging-types-0.4.3.tgz", - "integrity": "sha512-FxUQXjy5p/5r6E/pGS3Bnp3+3wshh3vkCo7ISU7ggOM6GBhq9FnyBLZKGix7bsjn079sNTOr5PH0KT8wGI+CPQ==" + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@firebase/messaging-types/-/messaging-types-0.4.4.tgz", + "integrity": "sha512-JGtkr+1A1Dw7+yCqQigqBfGKtq0gTCruFScBD4MVjqZHiqGIYpnQisWnpGbkzPR6aOt6iQxgwxUhHG1ulUQGeg==" }, "@firebase/performance": { - "version": "0.2.34", - "resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.2.34.tgz", - "integrity": "sha512-Ek038Acq0mbVqsw7TGqomFDBxvoTIu1rdRdqRKSdFiBRZcLLW9X1Ad6aSATMu6lki2gcUE/XCbMJtSQfVsl5Bw==", + "version": "0.2.36", + "resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.2.36.tgz", + "integrity": "sha512-nMx3gT+ZD86MV5n460XFA1o75YYMGcs2MXrJa462rfUQtqOrtOOvdUvVtmE6cLrHsL4Y83B+VBWKHzACIPghPw==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/installations": "0.4.4", - "@firebase/logger": "0.1.36", - "@firebase/performance-types": "0.0.11", - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/logger": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.36.tgz", - "integrity": "sha512-5Z0ryTtzRk7kjUb0/18r10oXYu8mSPAjgdbLowRBP6HdSJB7BDiUIRS7iATSmUBZLTArdroSiFJ29m7YDfm/cw==" - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "@firebase/component": "0.1.8", + "@firebase/installations": "0.4.6", + "@firebase/logger": "0.2.0", + "@firebase/performance-types": "0.0.12", + "@firebase/util": "0.2.43", + "tslib": "1.11.1" } }, "@firebase/performance-types": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.0.11.tgz", - "integrity": "sha512-w6dD4ZcWT1NsGsPcgX1lAVZyxEVEWgTSBu768YABCQH7zVcvPo9PE3xWcPWPujlAPf9QXdessiX9cC5m4Khabw==" + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.0.12.tgz", + "integrity": "sha512-eIDF7CHetOE5sc+hCaUebEn/2Aiaju7UkgZDTl7lNQHz5fK9wJ/11HaE8WdnDr//ngS3lQAGC2RB4lAZeEWraA==" }, "@firebase/polyfill": { - "version": "0.3.31", - "resolved": "https://registry.npmjs.org/@firebase/polyfill/-/polyfill-0.3.31.tgz", - "integrity": "sha512-7XItMz50tdba57tCOTCSH8REvHYbrTU7MBOksnNZ3td/J9W/RkCPcLVSSnFWNmn0Jv1aufpUevryX1J4DZ/oiw==", + "version": "0.3.33", + "resolved": "https://registry.npmjs.org/@firebase/polyfill/-/polyfill-0.3.33.tgz", + "integrity": "sha512-Arp9JViyD2i0K01NCCY0WZK5p16kQB/wddf44+Qboh+u3eIrFbVk0OO2IknjrkzIW392u73Ts7TkVxLPGPJF9g==", "requires": { - "core-js": "3.6.2", + "core-js": "3.6.4", "promise-polyfill": "8.1.3", "whatwg-fetch": "2.0.4" }, @@ -369,99 +217,56 @@ } }, "@firebase/remote-config": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/@firebase/remote-config/-/remote-config-0.1.15.tgz", - "integrity": "sha512-avBM6w6oLV3fEBVGTXdIBKuj62p4Zcu0/01Xm4YEsdrMRfyLX1Q9C5XYIsGiGb6xM+R8EWzd5F4AsAMtc/ofQw==", + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/@firebase/remote-config/-/remote-config-0.1.17.tgz", + "integrity": "sha512-jIRHXih0krVTNGYMewFVIaX8WPE1iS06fV4oMMHCCSSforGodv535uVZZ41Il29Q+22zOcyJvahoc990V0cFoA==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/installations": "0.4.4", - "@firebase/logger": "0.1.36", - "@firebase/remote-config-types": "0.1.7", - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/logger": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.36.tgz", - "integrity": "sha512-5Z0ryTtzRk7kjUb0/18r10oXYu8mSPAjgdbLowRBP6HdSJB7BDiUIRS7iATSmUBZLTArdroSiFJ29m7YDfm/cw==" - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "@firebase/component": "0.1.8", + "@firebase/installations": "0.4.6", + "@firebase/logger": "0.2.0", + "@firebase/remote-config-types": "0.1.8", + "@firebase/util": "0.2.43", + "tslib": "1.11.1" } }, "@firebase/remote-config-types": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@firebase/remote-config-types/-/remote-config-types-0.1.7.tgz", - "integrity": "sha512-oWyw1KNx/2+vaNBe1zYSppe5eSmjLxIphi49VAwYWO3SqhxpF3BsJ0uo4f9pU4bjYINuRFMYsCkbhZuKAR7o+w==" + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@firebase/remote-config-types/-/remote-config-types-0.1.8.tgz", + "integrity": "sha512-K12IBHO7OD4gCW0FEqZL9zMqVAfS4+joC4YIn3bHezZfu3RL+Bw1wCb0cAD7RfDPcQxWJjxOHpce4YhuqSxPFA==" }, "@firebase/storage": { - "version": "0.3.28", - "resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.3.28.tgz", - "integrity": "sha512-70GFutKqYBkqN3TCXgd8asGc/i3NYuCpaBvCHk7QpwN+7/9Cukba4GOfiN1QIINc7nOj/nrsWKvo49NzhxGy4w==", + "version": "0.3.30", + "resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.3.30.tgz", + "integrity": "sha512-wapt4+NiEqTiLKPpsy+XbdLTN99pkqjf46Z7zqeS+vh+61cJsUT8M7YBfBb0ZN+dY6gnI5QNzviiKpykhJQbVA==", "requires": { - "@firebase/component": "0.1.6", - "@firebase/storage-types": "0.3.10", - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - }, - "dependencies": { - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "@firebase/component": "0.1.8", + "@firebase/storage-types": "0.3.11", + "@firebase/util": "0.2.43", + "tslib": "1.11.1" } }, "@firebase/storage-types": { - "version": "0.3.10", - "resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.3.10.tgz", - "integrity": "sha512-c76gnTUFTDDumV4GenkuVY34EwAXjN7ZWLR6NSvuAnMvBlROdGKshTCsmyi8GTMd/dDoFB/MLJ+YOnk5tMbU4Q==" + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.3.11.tgz", + "integrity": "sha512-EMOo5aeiJIa8eQ/VqjIa/DYlDcEJX1V84FOxmLfNWZIlmCSvcqx9E9mcNlOnoUB4iePqQjTMQRtKlIBvvEVhVg==" }, "@firebase/util": { - "version": "0.2.39", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.39.tgz", - "integrity": "sha512-hxbQJ9TkFzd6g8/ZcWBjdrxjxS0jYnR1EN3i1ah7i3KtvuxAtwNJ04YRf0QhKhCoitTkJ1Yn3cGb0kFnGtJVRA==", + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.43.tgz", + "integrity": "sha512-4gGlvcoOJ48xO6PH59UOHLjvImdYXANF/1d0ao60fbiJDIKxJqMksXw3UF2zsUrRkyCOqIDLeiVuF18vffXP+g==", "requires": { - "tslib": "1.10.0" + "tslib": "1.11.1" } }, "@firebase/webchannel-wrapper": { - "version": "0.2.36", - "resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.36.tgz", - "integrity": "sha512-Vy7N8674HVHLZtRfZurvxThYeIi4sK1AeiV6DKFfndhGDfC/+iKHidoC/pgFoIIJR8E8tH5QD22Wndb0iW6cxw==" + "version": "0.2.38", + "resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.38.tgz", + "integrity": "sha512-mp1XmAJsuqaSWm5WQYo7R0zfZWe9EmwMCxsxkKr+ubLOumyNy4NG5aV45hEpFTosQv4myXpiCiS4GFE9mNqLZQ==" }, "@google-cloud/common": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-2.3.0.tgz", - "integrity": "sha512-nmIyi3q/FL2j6ZJ61xK/863DoJEZayI2/W/iCgwrCYUYsem277XO45MBTAimjgiKBCA0c9InmQyfT48h/IK4jg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-2.4.0.tgz", + "integrity": "sha512-zWFjBS35eI9leAHhjfeOYlK5Plcuj/77EzstnrJIZbKgF/nkqjcQuGiMCpzCwOfPyUbz8ZaEOYgbHa759AKbjg==", "optional": true, "requires": { "@google-cloud/projectify": "^1.0.0", @@ -476,9 +281,9 @@ } }, "@google-cloud/firestore": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@google-cloud/firestore/-/firestore-3.4.1.tgz", - "integrity": "sha512-k3PPcLvP9wr4yyA0djzfPdj2ZewburifhpcFACa0wiXvjXj3Ob68MORcPC3a3wyonX73TY72RsEGPk4Ult0Dyw==", + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/@google-cloud/firestore/-/firestore-3.7.2.tgz", + "integrity": "sha512-oMqJhrsZzPyY0DDgkvJLt90x6bgmUbXOLTNcAVtF6mPdiOp0L6nA3NSx4KYNYEPLNynG6yl9JsRIaJcZm77flw==", "optional": true, "requires": { "deep-equal": "^2.0.0", @@ -511,9 +316,9 @@ "optional": true }, "@google-cloud/storage": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@google-cloud/storage/-/storage-4.3.0.tgz", - "integrity": "sha512-ph0jsUsZ9FPtN40V5eIkKPLUmxnTpxqBDkWxStW/kbQZgoNVGW9vJcbsYSyE4ath7jQIpM4OHu6aqmPFX1OnGw==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@google-cloud/storage/-/storage-4.7.0.tgz", + "integrity": "sha512-f0guAlbeg7Z0m3gKjCfBCu7FG9qS3M3oL5OQQxlvGoPtK7/qg3+W+KQV73O2/sbuS54n0Kh2mvT5K2FWzF5vVQ==", "optional": true, "requires": { "@google-cloud/common": "^2.1.1", @@ -522,10 +327,10 @@ "arrify": "^2.0.0", "compressible": "^2.0.12", "concat-stream": "^2.0.0", - "date-and-time": "^0.12.0", + "date-and-time": "^0.13.0", "duplexify": "^3.5.0", "extend": "^3.0.2", - "gaxios": "^2.0.1", + "gaxios": "^3.0.0", "gcs-resumable-upload": "^2.2.4", "hash-stream-validation": "^0.2.2", "mime": "^2.2.0", @@ -538,12 +343,33 @@ "stream-events": "^1.0.1", "through2": "^3.0.0", "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "gaxios": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-3.0.2.tgz", + "integrity": "sha512-cLOetrsKOBLPwjzVyFzirYaGjrhtYjbKUHp6fQpsio2HH8Mil35JTFQLgkV5D3CCXV7Gnd5V69/m4C9rMBi9bA==", + "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.3.0" + } + }, + "is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "optional": true + } } }, "@grpc/grpc-js": { - "version": "0.6.15", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-0.6.15.tgz", - "integrity": "sha512-BFK5YMu8JILedibo0nr3NYM0ZC5hCZuXtzk10wEUp3d3pH11PjdvTfN1yEJ0VsfBY5Gtp3WOQ+t7Byq0NzH/iQ==", + "version": "0.6.18", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-0.6.18.tgz", + "integrity": "sha512-uAzv/tM8qpbf1vpx1xPMfcUMzbfdqJtdCYAqY/LsLeQQlnTb4vApylojr+wlCyr7bZeg3AFfHvtihnNOQQt/nA==", "optional": true, "requires": { "semver": "^6.2.0" @@ -612,6 +438,12 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, + "@tootallnate/once": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.0.0.tgz", + "integrity": "sha512-KYyTT/T6ALPkIRd2Ge080X/BsXvy9O0hcWTtMWkPvwAwF99+vn6Dv4GzrFT/Nn1LePr+FFDbRXXlqmsy9lw2zA==", + "optional": true + }, "@types/bytebuffer": { "version": "5.0.40", "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.40.tgz", @@ -622,9 +454,9 @@ } }, "@types/fs-extra": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.1.tgz", - "integrity": "sha512-J00cVDALmi/hJOYsunyT52Hva5TnJeKP5yd1r+mH/ZU0mbYZflR0Z5kw5kITtKTRYMhm1JMClOFYdHnQszEvqw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-UoOfVEzAUpeSPmjm7h1uk5MH6KZma2z2O7a75onTGjnNvAvMVrPzPL/vBbT65iIGHWj6rokwfmYcmxmlSf2uwg==", "optional": true, "requires": { "@types/node": "*" @@ -636,9 +468,9 @@ "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" }, "@types/node": { - "version": "10.17.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.14.tgz", - "integrity": "sha512-G0UmX5uKEmW+ZAhmZ6PLTQ5eu/VPaT+d/tdLd5IFsKRPcbe6lPxocBtcYBFSaLaCW8O60AX90e91Nsp8lVHCNw==" + "version": "10.17.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.17.tgz", + "integrity": "sha512-gpNnRnZP3VWzzj5k3qrpRC6Rk3H/uclhAVo1aIvwzK5p5cOrs9yEyQ8H/HBsBY0u5rrWxXEiVPQ0dEB6pkjE8Q==" }, "abbrev": { "version": "1.1.1", @@ -654,10 +486,13 @@ } }, "agent-base": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", - "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", - "optional": true + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.0.tgz", + "integrity": "sha512-j1Q7cSCqN+AwrmDd+pzgqc0/NpC655x2bUf5ZjRIO77DcNBFmh+OgRNzF6OKdCC9RSCb19fGd99+bhXFdkRNqw==", + "optional": true, + "requires": { + "debug": "4" + } }, "ajv": { "version": "6.12.0", @@ -1026,12 +861,12 @@ } }, "configstore": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.0.tgz", - "integrity": "sha512-eE/hvMs7qw7DlcB5JPRnthmrITuHMmACUJAp89v6PT6iOqzoLS7HRWhBtuHMlhNHo2AhUSA/3Dh1bKNJHcublQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", "optional": true, "requires": { - "dot-prop": "^5.1.0", + "dot-prop": "^5.2.0", "graceful-fs": "^4.1.2", "make-dir": "^3.0.0", "unique-string": "^2.0.0", @@ -1045,9 +880,9 @@ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" }, "core-js": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.2.tgz", - "integrity": "sha512-hIE5dXkRzRvnZ5vhkRfQxUvDxQZmD9oueA08jDYRBKJHx+VIl/Pne/e0A4x9LObEEthC/TqiZybUoNM4tRgnKg==" + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz", + "integrity": "sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==" }, "core-util-is": { "version": "1.0.2", @@ -1099,9 +934,9 @@ "integrity": "sha1-xKlmZn7nqDykPF+B3fivi6kKmyw=" }, "date-and-time": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/date-and-time/-/date-and-time-0.12.0.tgz", - "integrity": "sha512-n2RJIAp93AucgF/U/Rz5WRS2Hjg5Z+QxscaaMCi6pVZT1JpJKRH+C08vyH/lRR1kxNXnPxgo3lWfd+jCb/UcuQ==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/date-and-time/-/date-and-time-0.13.1.tgz", + "integrity": "sha512-/Uge9DJAT+s+oAcDxtBhyR8+sKjUnZbYmyhbmWjTHNtX7B7oWD8YyYdeXcBRbwSj6hVvj+IQegJam7m7czhbFw==", "optional": true }, "dblapi.js": { @@ -1181,9 +1016,9 @@ } }, "discord.js": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.0.2.tgz", - "integrity": "sha512-iZiEA4Y61gqq/EjFfLXnkRK9pLapnax/vTVDUhs/mAhyqozAy0GOlk/MZI9rSa1iIoKTWRq6P9CRKhLNT2wUnA==", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.1.1.tgz", + "integrity": "sha512-Y6+QfAUZkb9cy27cfNqUigAgYVSKTw9jPF3mN4UDMih3Em3VQ0WjGBdX1UbE8CwFkLOu5XWQSNPdsoStTR8c2Q==", "requires": { "@discordjs/collection": "^0.1.5", "abort-controller": "^3.0.0", @@ -1344,9 +1179,9 @@ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" }, "es-abstract": { - "version": "1.17.4", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", - "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", + "version": "1.17.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", + "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", "optional": true, "requires": { "es-to-primitive": "^1.2.1", @@ -1478,9 +1313,9 @@ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, "fast-text-encoding": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.0.tgz", - "integrity": "sha512-R9bHCvweUxxwkDwhjav5vxpFvdPGlVngtqmx4pIZfSUhM/Q4NiIUHB456BAf+Q1Nwu3HEZYONtu+Rya+af4jiQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.1.tgz", + "integrity": "sha512-x4FEgaz3zNRtJfLFqJmHWxkMDDvXVtaznj2V9jiP8ACUJrUgist4bP9FmDL2Vew2Y9mEQI/tG4GqabaitYp9CQ==", "optional": true }, "faye-websocket": { @@ -1500,86 +1335,30 @@ } }, "firebase": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/firebase/-/firebase-7.10.0.tgz", - "integrity": "sha512-j80k8wsgg0N/t8uOkpGK6OT1MHHZ3Y/98nyZJJ+6lNodA6O79mXgyvI4AwXlPYd8qfmYeXwHz1f19sC+EqnZZg==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/firebase/-/firebase-7.13.1.tgz", + "integrity": "sha512-v4Z7Wioy/7LMC8RJn1jNlOaUqLK7bUEva+Uf+qrbtFd7hM2rWLW+0IqHZBwPrQ5tI604uHj7IlhqAZEjm38AMw==", "requires": { - "@firebase/analytics": "0.2.16", - "@firebase/app": "0.5.5", - "@firebase/app-types": "0.5.2", - "@firebase/auth": "0.13.6", - "@firebase/database": "0.5.22", - "@firebase/firestore": "1.12.0", - "@firebase/functions": "0.4.36", - "@firebase/installations": "0.4.4", - "@firebase/messaging": "0.6.8", - "@firebase/performance": "0.2.34", - "@firebase/polyfill": "0.3.31", - "@firebase/remote-config": "0.1.15", - "@firebase/storage": "0.3.28", - "@firebase/util": "0.2.41" - }, - "dependencies": { - "@firebase/app-types": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.5.2.tgz", - "integrity": "sha512-k3zRi9gXyWrymu8OL6DA1Pz7eo+sKVBopX5ouOjQwozAZ55WhelifPC99WHmLWo8sAokNM0XDyzM7loOA5yliQ==" - }, - "@firebase/auth-interop-types": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.1.3.tgz", - "integrity": "sha512-Fd0MJ8hHw/MasNTJz7vl5jnMMs71X6pY/VqN0V6lqdP5HKTuyPVnffJ1d2Vb6uCLZ1D7nXAer4YWj9cOrNLPAQ==" - }, - "@firebase/component": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.6.tgz", - "integrity": "sha512-dm5pVhm+sU8ag1M3hY6vleA/H7Ed8sKRxbm4TAKhtjGHDejPXxnK0meTNydJ3MwisHWlwzGuzIEhb223K7FFxA==", - "requires": { - "@firebase/util": "0.2.41", - "tslib": "1.10.0" - } - }, - "@firebase/database": { - "version": "0.5.22", - "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.5.22.tgz", - "integrity": "sha512-3CVsmLFscFIAFOjjVhlT6HzFOhS0TKVbjhixp64oVZMOshp9qPHtHIytf6QXRAypbtZMPFAMGnhNu0pmPW/vtg==", - "requires": { - "@firebase/auth-interop-types": "0.1.3", - "@firebase/component": "0.1.6", - "@firebase/database-types": "0.4.12", - "@firebase/logger": "0.1.36", - "@firebase/util": "0.2.41", - "faye-websocket": "0.11.3", - "tslib": "1.10.0" - } - }, - "@firebase/database-types": { - "version": "0.4.12", - "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.4.12.tgz", - "integrity": "sha512-PVCTQRG9fnN1cam3Qr91+WzsCf9tO+lmUcPEb0uvafSFVhvx2U9OZOlYDdM5hS0MMHTNXI7Ywmc33EheIlLmMw==", - "requires": { - "@firebase/app-types": "0.5.2" - } - }, - "@firebase/logger": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.36.tgz", - "integrity": "sha512-5Z0ryTtzRk7kjUb0/18r10oXYu8mSPAjgdbLowRBP6HdSJB7BDiUIRS7iATSmUBZLTArdroSiFJ29m7YDfm/cw==" - }, - "@firebase/util": { - "version": "0.2.41", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.41.tgz", - "integrity": "sha512-QRu3wjU5I0ZBWrf4wgrEBYu5K5tkHjETMDPMY8WYCeekKB13k2MuJzHBjQVuStEOU7j6ygTAA0B8vXI/6B5D0g==", - "requires": { - "tslib": "1.10.0" - } - } + "@firebase/analytics": "0.3.0", + "@firebase/app": "0.6.0", + "@firebase/app-types": "0.6.0", + "@firebase/auth": "0.14.1", + "@firebase/database": "0.5.24", + "@firebase/firestore": "1.13.0", + "@firebase/functions": "0.4.38", + "@firebase/installations": "0.4.6", + "@firebase/messaging": "0.6.10", + "@firebase/performance": "0.2.36", + "@firebase/polyfill": "0.3.33", + "@firebase/remote-config": "0.1.17", + "@firebase/storage": "0.3.30", + "@firebase/util": "0.2.43" } }, "firebase-admin": { - "version": "8.9.2", - "resolved": "https://registry.npmjs.org/firebase-admin/-/firebase-admin-8.9.2.tgz", - "integrity": "sha512-ix4qcx+hHnr3mnc41Z8EzQa9Mr+2nhogLEv6ktkOCCpdKJ+9HxW9vikRCElSbC8ICHLD0KIH0GVOIZK80vbvqw==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/firebase-admin/-/firebase-admin-8.10.0.tgz", + "integrity": "sha512-QzJZ1sBh9xzKjb44aP6m1duy0Xe1ixexwh0eaOt1CkJYCOq2b6bievK4GNWMl5yGQ7FFBEbZO6hyDi+5wrctcg==", "requires": { "@firebase/database": "^0.5.17", "@google-cloud/firestore": "^3.0.0", @@ -1658,14 +1437,14 @@ } }, "gaxios": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.0.tgz", - "integrity": "sha512-VgC4JKJQAAAGK5rFZbPcS5mXsdIYVMIUJOxMjSOkYdfhB74R0L6y8PFQDdS0r1ObG6hdP11e71EjHh3xbI+6fQ==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", + "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", "optional": true, "requires": { "abort-controller": "^3.0.0", "extend": "^3.0.2", - "https-proxy-agent": "^4.0.0", + "https-proxy-agent": "^5.0.0", "is-stream": "^2.0.0", "node-fetch": "^2.3.0" }, @@ -1679,9 +1458,9 @@ } }, "gcp-metadata": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.3.1.tgz", - "integrity": "sha512-RrASg1HaVAxoB9Q/8sYfJ++v9PMiiqIgOrOxZeagMgS4osZtICT1lKBx2uvzYgwetxj8i6K99Z0iuKMg7WraTg==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", + "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", "optional": true, "requires": { "gaxios": "^2.1.0", @@ -1689,9 +1468,9 @@ } }, "gcs-resumable-upload": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/gcs-resumable-upload/-/gcs-resumable-upload-2.3.2.tgz", - "integrity": "sha512-OPS0iAmPCV+r7PziOIhyxmQOzsazFCy76yYDOS/Z80O/7cuny1KMfqDQa2T0jLaL8EreTU7EMZG5pUuqBKgzHA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/gcs-resumable-upload/-/gcs-resumable-upload-2.3.3.tgz", + "integrity": "sha512-sf896I5CC/1AxeaGfSFg3vKMjUq/r+A3bscmVzZm10CElyRanN0XwPu/MxeIO4LSP+9uF6yKzXvNsaTsMXUG6Q==", "optional": true, "requires": { "abort-controller": "^3.0.0", @@ -1724,28 +1503,29 @@ } }, "google-auth-library": { - "version": "5.9.2", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.9.2.tgz", - "integrity": "sha512-rBE1YTOZ3/Hu6Mojkr+UUmbdc/F28hyMGYEGxjyfVA9ZFmq12oqS3AeftX4h9XpdVIcxPooSo8hECYGT6B9XqQ==", + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", + "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", "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": "^2.1.0", - "gcp-metadata": "^3.3.0", + "gcp-metadata": "^3.4.0", "gtoken": "^4.1.0", "jws": "^4.0.0", "lru-cache": "^5.0.0" } }, "google-gax": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-1.14.1.tgz", - "integrity": "sha512-lAvILUMnXL+BVSSlbzwpGzs3ZP2r+b1l44zeDTRWceejDgyZORKdPEEhtUw49x9CVwxpPx02+v0yktqnRhUD1A==", + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-1.15.1.tgz", + "integrity": "sha512-1T1PwSZWnbdRusA+NCZMSe56iU6swGvuZuy54eYl9vEHiRXTLYbQmUkWY2CqgYD9Fd/T4WBkUl22+rZG80unyw==", "optional": true, "requires": { - "@grpc/grpc-js": "^0.6.12", + "@grpc/grpc-js": "^0.6.18", "@grpc/proto-loader": "^0.5.1", "@types/fs-extra": "^8.0.1", "@types/long": "^4.0.0", @@ -1756,7 +1536,7 @@ "lodash.at": "^4.6.0", "lodash.has": "^4.5.2", "node-fetch": "^2.6.0", - "protobufjs": "^6.8.8", + "protobufjs": "^6.8.9", "retry-request": "^4.0.0", "semver": "^6.0.0", "walkdir": "^0.4.0" @@ -2337,24 +2117,14 @@ "integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=" }, "http-proxy-agent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.0.tgz", - "integrity": "sha512-GX0FA6+IcDf4Oxc/FBWgYj4zKgo/DnZrksaG9jyuQLExs6xlX+uI5lcA8ymM3JaZTRrF/4s2UX19wJolyo7OBA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", "optional": true, "requires": { + "@tootallnate/once": "1", "agent-base": "6", "debug": "4" - }, - "dependencies": { - "agent-base": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.0.tgz", - "integrity": "sha512-j1Q7cSCqN+AwrmDd+pzgqc0/NpC655x2bUf5ZjRIO77DcNBFmh+OgRNzF6OKdCC9RSCb19fGd99+bhXFdkRNqw==", - "optional": true, - "requires": { - "debug": "4" - } - } } }, "http-signature": { @@ -2368,12 +2138,12 @@ } }, "https-proxy-agent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", - "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", "optional": true, "requires": { - "agent-base": "5", + "agent-base": "6", "debug": "4" } }, @@ -2854,9 +2624,9 @@ } }, "make-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz", - "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.2.tgz", + "integrity": "sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w==", "optional": true, "requires": { "semver": "^6.0.0" @@ -3237,7 +3007,7 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "prism-media": { - "version": "github:hydrabolt/prism-media#56b3dc34435ac320688148bef030b5c6822b7483", + "version": "github:hydrabolt/prism-media#fd71aa8ab76abd855579f82907873c7a2d2a1dca", "from": "github:hydrabolt/prism-media" }, "process-nextick-args": { @@ -3251,9 +3021,9 @@ "integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g==" }, "protobufjs": { - "version": "6.8.8", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz", - "integrity": "sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw==", + "version": "6.8.9", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.9.tgz", + "integrity": "sha512-j2JlRdUeL/f4Z6x4aU4gj9I2LECglC+5qR2TrWb193Tla1qfdaNQTZ8I27Pt7K0Ajmvjjpft7O3KWTGciz4gpw==", "requires": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -3611,16 +3381,24 @@ } }, "teeny-request": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-6.0.1.tgz", - "integrity": "sha512-TAK0c9a00ELOqLrZ49cFxvPVogMUFaWY8dUsQc/0CuQPGF+BOxOQzXfE413BAk2kLomwNplvdtMpeaeGWmoc2g==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-6.0.3.tgz", + "integrity": "sha512-TZG/dfd2r6yeji19es1cUIwAlVD8y+/svB1kAC2Y0bjEyysrfbO8EZvJBRwIE6WkwmUoB7uvWLwTIhJbMXZ1Dw==", "optional": true, "requires": { "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^4.0.0", + "https-proxy-agent": "^5.0.0", "node-fetch": "^2.2.0", "stream-events": "^1.0.5", - "uuid": "^3.3.2" + "uuid": "^7.0.0" + }, + "dependencies": { + "uuid": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.2.tgz", + "integrity": "sha512-vy9V/+pKG+5ZTYKf+VcphF5Oc6EFiu3W8Nv3P3zIh0EqVI80ZxOzuPfe9EHjkFNvf8+xuTHVeei4Drydlx4zjw==", + "optional": true + } } }, "through2": { @@ -3651,9 +3429,9 @@ } }, "tslib": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", + "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==" }, "ttys": { "version": "0.0.3", @@ -3823,9 +3601,9 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write-file-atomic": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.1.tgz", - "integrity": "sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", "optional": true, "requires": { "imurmurhash": "^0.1.4", @@ -3909,28 +3687,6 @@ "miniget": "^1.6.0", "sax": "^1.1.3" } - }, - "ytdl-core-discord": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ytdl-core-discord/-/ytdl-core-discord-1.1.0.tgz", - "integrity": "sha512-uiaZWa9UG+he1F9p7Si9H6Tieyxd9dEhLi4958mHuebudQSEEPaaJHUEbFikcpB++5ogzynVOcvdeC+LFJGgEw==", - "requires": { - "@types/node": "^13.5.3", - "prism-media": "^1.0.1", - "ytdl-core": "^1.0.3" - }, - "dependencies": { - "@types/node": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.7.0.tgz", - "integrity": "sha512-GnZbirvmqZUzMgkFn70c74OQpTTUcCzlhQliTzYjQMqg+hVKcDnxdL19Ne3UdYzdMA/+W3eb646FWn/ZaT1NfQ==" - }, - "prism-media": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.1.tgz", - "integrity": "sha512-R3EbKwJiYlTvGwcG1DpUt+06DsxOGS5W4AMEHT7oVOjG93MjpdhGX1whHyjnqknylLMupKAsKMEXcTNRbPe6Vw==" - } - } } } } diff --git a/package.json b/package.json index b5853eec..09629986 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,11 @@ "dependencies": { "@discordjs/opus": "^0.1.0", "dblapi.js": "^2.4.0", - "discord.js": "^12.0.2", + "discord.js": "^12.1.1", "dotenv": "^8.2.0", "ffmpeg": "0.0.4", - "firebase": "^7.10.0", - "firebase-admin": "^8.9.2", + "firebase": "^7.13.1", + "firebase-admin": "^8.10.0", "fs": "0.0.1-security", "he": "^1.2.0", "ms": "^2.1.2", @@ -32,7 +32,6 @@ "simple-youtube-api": "^5.2.1", "video-thumbnail-url": "^1.0.1", "yt-search": "^1.1.2", - "ytdl-core": "^1.0.9", - "ytdl-core-discord": "^1.1.0" + "ytdl-core": "^1.0.9" } -} \ No newline at end of file +} diff --git a/src/commands/join.ts b/src/commands/join.ts index f39cd85c..e225b7cd 100644 --- a/src/commands/join.ts +++ b/src/commands/join.ts @@ -17,7 +17,7 @@ module.exports = { msg.channel.send(`${client.messages.joined} ${voiceChannel.name}!`); } catch (error) { client.queue.delete(msg.guild.id); - client.channels.get(client.config.debug_channel).send(client.messages.errorConnecting + error); + client.users.cache.get(client.config.devId).send(client.messages.errorConnecting + error); return msg.channel.send(client.messages.error); } } diff --git a/src/commands/loopsong.ts b/src/commands/loopsong.ts index 4e8946a0..12b5c60a 100644 --- a/src/commands/loopsong.ts +++ b/src/commands/loopsong.ts @@ -16,7 +16,7 @@ module.exports = { msg.channel.send(message); } else { queue.songLooping = false; - msg.channel.send(message); + msg.channel.send(client.messages.noLoopingSong); } } } diff --git a/src/commands/search.ts b/src/commands/search.ts index 3aa89d77..7a3fa023 100644 --- a/src/commands/search.ts +++ b/src/commands/search.ts @@ -11,7 +11,6 @@ module.exports = { category: 'music', async execute(msg, args, client, Discord, command) { const searchString = args.slice(1).join(" "); - const url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : ""; const queue = client.queue.get(msg.guild.id); const voiceChannel = msg.member.voice.channel; if (!queue) { diff --git a/src/commands/settings.ts b/src/commands/settings.ts index 96b037ed..36fb16d4 100644 --- a/src/commands/settings.ts +++ b/src/commands/settings.ts @@ -35,7 +35,7 @@ module.exports = { .setDescription(error.stack.replace(/at /g, '**at **')) .setColor(client.config.embedColor); client.fetchUser(client.config.devId).then(user => user.send(embed)).catch(console.error); - client.channels.get(client.config.debug_channel).send(embed); + client.users.cache.get(client.config.devId).send(embed); } } else { return msg.channel.send(embed); diff --git a/src/commands/skip.ts b/src/commands/skip.ts index 8b9b9a2c..ef71feee 100644 --- a/src/commands/skip.ts +++ b/src/commands/skip.ts @@ -42,9 +42,9 @@ function vote(queue, msg, client) { queue.voters = []; queue.votes = 0; queue.votesNeeded = null; - return skipSong(queue, msg); + return skipSong(queue, msg, client); } else return msg.channel.send(`${client.messages.notEnoughVotes} ${queue.votes} / ${queue.votesNeeded}!`); } else { - return skipSong(queue, msg); + return skipSong(queue, msg, client); } }; diff --git a/src/events/clientEvents/msg.ts b/src/events/clientEvents/msg.ts index 231c9bbd..63cd9069 100644 --- a/src/events/clientEvents/msg.ts +++ b/src/events/clientEvents/msg.ts @@ -9,7 +9,10 @@ module.exports = { if (msg.mentions.users.first()) { if (msg.mentions.users.first().id === client.user.id) { if (!args[1]) return; - if (args[1] === 'prefix') return msg.channel.send(`${client.messages.prefixHere}\`${prefix}\`.`); + if (args[1] === 'prefix') { + if (!args[2]) return msg.channel.send(`${client.messages.prefixHere}\`${prefix}\`.`); + if (args[2] === "=" && args[3]) return prefix = args[3]; + } if (args[1] === 'help') { const command = client.commands.get("help"); return client.funcs.exe(msg, args, client, Discord, prefix, command); diff --git a/src/events/clientEvents/ready.ts b/src/events/clientEvents/ready.ts index 7b2c91ad..071442fc 100644 --- a/src/events/clientEvents/ready.ts +++ b/src/events/clientEvents/ready.ts @@ -3,14 +3,11 @@ const DBL = require("dblapi.js"); module.exports = { name: 'ready', async execute(client, Discord) { - const debugChannel = await client.channels.fetch(client.config.debug_channel); - client.debug_channel = debugChannel const remoteMusixGuildsData = await client.funcs.dbget('guilds', null, client); remoteMusixGuildsData.forEach(guildData => { client.global.db.guilds[guildData.id] = guildData.d; }); if (client.config.devMode) { - console.log('dev mode'); client.guilds.cache.forEach(guild => { client.global.db.guilds[guild.id] = { prefix: client.config.prefix, diff --git a/src/events/dispatcherEvents/error.ts b/src/events/dispatcherEvents/error.ts index 4e9e7bb3..8d30f85a 100644 --- a/src/events/dispatcherEvents/error.ts +++ b/src/events/dispatcherEvents/error.ts @@ -6,7 +6,7 @@ module.exports = async function (client, error, guild) { queue.connection.dispatcher.end(); return queue.textChannel.send(client.messages.songBlockedWMG); }*/ - client.debug_channel.send(client.messages.dispatcherError + error); + client.users.cache.get(client.config.devId).send(client.messages.dispatcherError + error); queue.voiceChannel.leave(); client.queue.delete(guild.id); return queue.textChannel.send(client.messages.errorDispatcher); diff --git a/src/struct/config/config.ts b/src/struct/config/config.ts index dbd0b344..47d88ba6 100644 --- a/src/struct/config/config.ts +++ b/src/struct/config/config.ts @@ -6,15 +6,14 @@ module.exports = { dblKey: process.env.DBLKEY, api_key: process.env.GOOGLE_API_KEY, testServer: "489111553321336832", - debug_channel: "634718645188034560", primary_test_channel: "617633098296721409", secondary_test_channel: "570531724002328577", devId: "360363051792203779", embedColor: "#b50002", invite: "https://discordapp.com/oauth2/authorize?client_id=607266889537945605&permissions=3427328&scope=bot", supportServer: "https://discord.gg/rvHuJtB", - devMode: false, - dblApi: false, + devMode: true, + api: false, saveDB: true, respawn: true, shards: 10, diff --git a/src/struct/funcs/check.ts b/src/struct/funcs/check.ts index 09d38b28..eb39ae0f 100644 --- a/src/struct/funcs/check.ts +++ b/src/struct/funcs/check.ts @@ -18,7 +18,7 @@ module.exports = function (client, msg, command) { } else return true; } else if (!permissions.has(command.permission)) { let message - message = client.messages.noPerms.replace("%PERMS%", commands.permissions); + message = client.messages.noPerms.replace("%PERMS%", command.permissions); msg.channel.send(message); return false; } else return true; diff --git a/src/struct/funcs/exe.ts b/src/struct/funcs/exe.ts index f104cf45..8ae1292a 100644 --- a/src/struct/funcs/exe.ts +++ b/src/struct/funcs/exe.ts @@ -13,7 +13,7 @@ module.exports = function (msg, args, client, Discord, command) { .setDescription(error.stack.replace(/at /g, '**at **')) .setFooter(`guild: ${msg.guild.id} (${msg.guild.name}), user: ${msg.member.id} (${msg.member.displayName}), channel: ${msg.channel.id} (${msg.channel.name}), date: ${date}, Shard: ${client.shard.ids}`) .setColor('#b50002'); - client.debug_channel.send(embed); + client.users.cache.get(client.devId).send(embed); console.error(error); } }; diff --git a/src/struct/funcs/ffmpeg.ts b/src/struct/funcs/ffmpeg.ts index 0ed742ba..3997c378 100644 --- a/src/struct/funcs/ffmpeg.ts +++ b/src/struct/funcs/ffmpeg.ts @@ -4,6 +4,6 @@ module.exports = async function (client) { await client.channels.fetch(client.config.secondary_test_channel) .then(x => x.join()); } catch (error) { - client.debug_channel.send(client.messages.errorDetected + error); + client.users.cache.get(client.config.devId).send(client.messages.errorDetected + error); } }; \ No newline at end of file diff --git a/src/struct/funcs/handleVideo.ts b/src/struct/funcs/handleVideo.ts index 5bbc06f8..381c8c33 100644 --- a/src/struct/funcs/handleVideo.ts +++ b/src/struct/funcs/handleVideo.ts @@ -33,7 +33,7 @@ module.exports = async function (video, msg, voiceChannel, client, playlist = fa client.funcs.play(msg.guild, construct.songs[0], client, 0, true); } catch (error) { client.queue.delete(msg.guild.id); - client.debug_channel.send(client.messages.errorConnecting + error); + client.users.cache.get(client.config.devId).send(client.messages.errorConnecting + error); return msg.channel.send(client.messages.error); } return;