diff --git a/package.json b/package.json index 1c50a690..5b614b02 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "protobufjs": "6.8.8", "routing-controllers": "=0.7.7", "semver": "^5.6.0", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "shuffle-array": "^1.0.1", "socket.io": "2.2.0", diff --git a/packages/core-accounts/package.json b/packages/core-accounts/package.json index 16eee4cf..f8f4285a 100644 --- a/packages/core-accounts/package.json +++ b/packages/core-accounts/package.json @@ -28,7 +28,7 @@ "pg-promise": "=7.3.2", "reflect-metadata": "^0.1.10", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "z-schema": "3.24.2" }, diff --git a/packages/core-apis/package.json b/packages/core-apis/package.json index 239843b9..06f5bde6 100644 --- a/packages/core-apis/package.json +++ b/packages/core-apis/package.json @@ -27,7 +27,7 @@ "inversify": "5.0.1", "mangiafuoco": "1.2.3", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "socket.io": "2.2.0" }, "devDependencies": { diff --git a/packages/core-blocks/package.json b/packages/core-blocks/package.json index 1b4e5c0b..ac085eb5 100644 --- a/packages/core-blocks/package.json +++ b/packages/core-blocks/package.json @@ -33,7 +33,7 @@ "mangiafuoco": "1.2.3", "promise-retry": "^1.1.1", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "type-tagger": "^1.0.0", "utility-types": "^3.6.1", diff --git a/packages/core-consensus-dpos/package.json b/packages/core-consensus-dpos/package.json index a231f84e..500ea6de 100644 --- a/packages/core-consensus-dpos/package.json +++ b/packages/core-consensus-dpos/package.json @@ -35,7 +35,7 @@ "mersenne-twister": "^1.1.0", "pg-promise": "=7.3.2", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "socket.io": "2.2.0", "supersha": "0.0.1", diff --git a/packages/core-keystore/package.json b/packages/core-keystore/package.json index 6796ea10..2c688c84 100644 --- a/packages/core-keystore/package.json +++ b/packages/core-keystore/package.json @@ -28,7 +28,7 @@ "devDependencies": { "mocha": "=5.2.0", "proxyquire": "^2.0.0", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "shx": "=0.3.2", "ts-node": "7.0.1", diff --git a/packages/core-launchpad/package.json b/packages/core-launchpad/package.json index f5ceb7fa..063a2866 100644 --- a/packages/core-launchpad/package.json +++ b/packages/core-launchpad/package.json @@ -35,7 +35,7 @@ "devDependencies": { "mocha": "=5.2.0", "proxyquire": "^2.0.0", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "shx": "=0.3.2", "ts-node": "7.0.1", diff --git a/packages/core-models/package.json b/packages/core-models/package.json index 6b9436ff..b54a14d3 100644 --- a/packages/core-models/package.json +++ b/packages/core-models/package.json @@ -20,7 +20,7 @@ "inversify": "5.0.1", "lodash": "4.17.13", "reflect-metadata": "^0.1.10", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3" }, "devDependencies": { diff --git a/packages/core-p2p/package.json b/packages/core-p2p/package.json index 98514c27..e6b5cc1d 100644 --- a/packages/core-p2p/package.json +++ b/packages/core-p2p/package.json @@ -33,7 +33,7 @@ "promise-retry": "^1.1.1", "protobufjs": "6.8.8", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "shuffle-array": "^1.0.1", "socket.io": "2.2.0", diff --git a/packages/core-secondsignature/package.json b/packages/core-secondsignature/package.json index 9bb39b15..aa4e2e48 100644 --- a/packages/core-secondsignature/package.json +++ b/packages/core-secondsignature/package.json @@ -28,7 +28,7 @@ "mangiafuoco": "1.2.3", "reflect-metadata": "^0.1.10", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "z-schema": "3.24.2" }, diff --git a/packages/core-transactions/package.json b/packages/core-transactions/package.json index 36e6e0fc..d444b6c5 100644 --- a/packages/core-transactions/package.json +++ b/packages/core-transactions/package.json @@ -32,7 +32,7 @@ "mangiafuoco": "1.2.3", "promise-retry": "^1.1.1", "routing-controllers": "=0.7.7", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "varuint-bitcoin": "^1.1.0", "z-schema": "3.24.2" diff --git a/packages/core-types/package.json b/packages/core-types/package.json index 81110d38..9de4df2b 100644 --- a/packages/core-types/package.json +++ b/packages/core-types/package.json @@ -12,7 +12,7 @@ "license": "GPL-3.0", "dependencies": { "inversify": "5.0.1", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "type-tagger": "^1.0.0", "utility-types": "^3.6.1" diff --git a/packages/core-utils/package.json b/packages/core-utils/package.json index 3dbc8edb..08988b75 100644 --- a/packages/core-utils/package.json +++ b/packages/core-utils/package.json @@ -17,7 +17,7 @@ "ip-address": "=5.8.9", "mangiafuoco": "1.2.3", "reflect-metadata": "^0.1.10", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3" }, "devDependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index f0dcbfab..1846010c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -32,7 +32,7 @@ "mangiafuoco": "1.2.3", "routing-controllers": "=0.7.7", "semver": "^5.6.0", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "socket.io": "2.2.0", "uuid": "=3.3.2", diff --git a/packages/rise/package.json b/packages/rise/package.json index 48827b10..48427354 100644 --- a/packages/rise/package.json +++ b/packages/rise/package.json @@ -37,7 +37,7 @@ "inversify": "5.0.1", "lodash": "4.17.13", "mangiafuoco": "1.2.3", - "sequelize": "5.8.5", + "sequelize": "5.15.1", "sequelize-typescript": "^1.0.0-beta.3", "supersha": "0.0.1", "z-schema": "3.24.2" diff --git a/yarn.lock b/yarn.lock index 495d0a45..91eb5ef4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -797,6 +797,38 @@ resolved "https://registry.yarnpkg.com/@iarna/toml/-/toml-2.2.3.tgz#f060bf6eaafae4d56a7dac618980838b0696e2ab" integrity sha512-FmuxfCuolpLl0AnQ2NHSzoUKWEJDFl63qXjzdoWBVyFCXzMGm1spBzk7LeHNoVCiWCF7mRVms9e6jEV9+MoPbg== +"@inquirer/confirm@^0.0.6-alpha.0": + version "0.0.6-alpha.0" + resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-0.0.6-alpha.0.tgz#faf0d0310a1dbf0b5b49eac2c678c0eadb2dffe4" + integrity sha512-V2dkc8T/UHcdf3EPeefiURJFrtE5MFGuOOno6Lm4YBqd5IsKQngcmlTtSpec9nFr3i8coYCMpxvwxvMf0a2pAg== + dependencies: + "@inquirer/core" "^0.0.7-alpha.0" + "@inquirer/input" "^0.0.7-alpha.0" + chalk "^2.4.1" + +"@inquirer/core@^0.0.7-alpha.0": + version "0.0.7-alpha.0" + resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-0.0.7-alpha.0.tgz#20d2a5376508f09e7d7ec2bd47ac6849d42e3be5" + integrity sha512-ixf0s2kgvZqOCZ15GqTG5r+1faAtfHRJMZmLPFll0JGka+go0iX9byw0WrXkTVkdBK6Bg4Cr8A6R+CsFjUNC3A== + dependencies: + ansi-escapes "^4.2.1" + chalk "^2.4.2" + cli-spinners "^2.2.0" + cli-width "^2.2.0" + lodash "^4.17.12" + mute-stream "^0.0.8" + run-async "^2.3.0" + string-width "^4.1.0" + strip-ansi "^5.2.0" + +"@inquirer/input@^0.0.7-alpha.0": + version "0.0.7-alpha.0" + resolved "https://registry.yarnpkg.com/@inquirer/input/-/input-0.0.7-alpha.0.tgz#d5fc70050a3de56fa940699491ca7a7d8211431c" + integrity sha512-cFmWRpptVygvu4G2NlW+q5gZIa39cNft9IT6X5CSCuugUQpPPuwoODFFOn+wriblWOxRisUT7wONKtuhxz3clQ== + dependencies: + "@inquirer/core" "^0.0.7-alpha.0" + chalk "^2.4.1" + "@lerna/add@3.16.2": version "3.16.2" resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.16.2.tgz#90ecc1be7051cfcec75496ce122f656295bd6e94" @@ -3069,19 +3101,17 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - cli-spinners@^1.1.0: version "1.3.1" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.3.1.tgz#002c1990912d0d59580c93bd36c056de99e4259a" integrity sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg== -cli-width@^2.0.0: +cli-spinners@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77" + integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ== + +cli-width@^2.0.0, cli-width@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= @@ -4691,13 +4721,6 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.0.0.tgz#756275c964646163cc6f9197c7a0295dbfd04de9" - integrity sha512-HKri+WoWoUgr83pehn/SIgLOMZ9nAWC6dcGj26RY2R4F50u4+RTUz0RCrUlOV3nKRAICW1UGzyb+kcX2qK1S/g== - dependencies: - escape-string-regexp "^1.0.5" - file-uri-to-path@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" @@ -5683,25 +5706,6 @@ inquirer@^6.2.0: strip-ansi "^5.1.0" through "^2.3.6" -inquirer@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" - integrity sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ== - dependencies: - ansi-escapes "^4.2.1" - chalk "^2.4.2" - cli-cursor "^3.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.15" - mute-stream "0.0.8" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^4.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - interpret@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" @@ -6644,7 +6648,7 @@ lodash@4.17.13: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.13.tgz#0bdc3a6adc873d2f4e0c4bac285df91b64fc7b93" integrity sha512-vm3/XWXfWtRua0FkUyEHBZy8kCPjErNBT9fJx8Zvs+U6zjqPbTUOpkaoum3O5uiA8sm+yNMHXfYkTUHFoMxFNA== -lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1: +lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.4, lodash@^4.2.1: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -7015,7 +7019,7 @@ mimic-fn@^1.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== -mimic-fn@^2.0.0, mimic-fn@^2.1.0: +mimic-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== @@ -7207,7 +7211,7 @@ mute-stream@0.0.7: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -mute-stream@0.0.8, mute-stream@~0.0.4: +mute-stream@^0.0.8, mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== @@ -7226,21 +7230,11 @@ mz@^2.5.0: object-assign "^4.0.1" thenify-all "^1.0.0" -nan@2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.4.0.tgz#fb3c59d45fe4effe215f0b890f8adf6eb32d2232" - integrity sha1-+zxZ1F/k7/4hXwuJD4rfbrMtIjI= - -nan@^2.0.5: +nan@2.10.0, nan@2.4.0, nan@^2.0.5, nan@^2.12.1, nan@^2.14.0: version "2.10.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" integrity sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA== -nan@^2.12.1, nan@^2.14.0: - version "2.14.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== - nanomatch@^1.2.9: version "1.2.13" resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" @@ -7671,13 +7665,6 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== - dependencies: - mimic-fn "^2.1.0" - opn@^5.1.0: version "5.5.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" @@ -9338,14 +9325,6 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -9400,7 +9379,7 @@ routing-controllers@=0.7.7: reflect-metadata "^0.1.12" template-url "^1.0.0" -run-async@^2.2.0: +run-async@^2.2.0, run-async@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= @@ -9472,7 +9451,7 @@ semver@4.3.2: resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.2.tgz#c7a07158a80bedd052355b770d82d6640f803be7" integrity sha1-x6BxWKgL7dBSNVt3DYLWZA+AO+c= -semver@^6.0.0, semver@^6.2.0: +semver@^6.0.0, semver@^6.1.1, semver@^6.2.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -9528,12 +9507,10 @@ sentence-case@^2.1.0: no-case "^2.2.0" upper-case-first "^1.1.2" -sequelize-pool@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/sequelize-pool/-/sequelize-pool-1.0.2.tgz#89c767882bbdb8a41dac66922ed9820939a5401e" - integrity sha512-VMKl/gCCdIvB1gFZ7p+oqLFEyZEz3oMMYjkKvfEC7GoO9bBcxmfOOU9RdkoltfXGgBZFigSChihRly2gKtsh2w== - dependencies: - bluebird "^3.5.3" +sequelize-pool@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/sequelize-pool/-/sequelize-pool-2.3.0.tgz#64f1fe8744228172c474f530604b6133be64993d" + integrity sha512-Ibz08vnXvkZ8LJTiUOxRcj1Ckdn7qafNZ2t59jYHMX1VIebTAOYefWdRYFt6z6+hy52WGthAHAoLc9hvk3onqA== sequelize-typescript@^1.0.0-beta.3: version "1.0.0-beta.3" @@ -9542,10 +9519,10 @@ sequelize-typescript@^1.0.0-beta.3: dependencies: glob "7.1.2" -sequelize@5.8.5: - version "5.8.5" - resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-5.8.5.tgz#3bb63b5e5b65eedc46d57fc69bb251b8af1bd73a" - integrity sha512-FvI3ceqYnNmgbBDeMvD7kdPFAnqelchiMavM+v+1SC+J19M4NThLSxrYL+yJWUJCSe++dHTyv2MEe7OBDVL6mw== +sequelize@5.15.1: + version "5.15.1" + resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-5.15.1.tgz#f130ded17e74395ae7f5e265277c99577e895afb" + integrity sha512-DCzzJYvJLMKnyf8G3at2A+yM9M2fSQmTmuOYIpCWM8Gjqx3XfgNTd1NkuyPWFoi1/d1AXQsN2VDPXkPczida8A== dependencies: bluebird "^3.5.0" cls-bluebird "^2.1.0" @@ -9556,8 +9533,8 @@ sequelize@5.8.5: moment "^2.24.0" moment-timezone "^0.5.21" retry-as-promised "^3.1.0" - semver "^5.6.0" - sequelize-pool "^1.0.2" + semver "^6.1.1" + sequelize-pool "^2.3.0" toposort-class "^1.0.1" uuid "^3.2.1" validator "^10.11.0"