Skip to content

Commit

Permalink
deps: update packages (#4807)
Browse files Browse the repository at this point in the history
* Update lerna

* Update rimraf

* Remove uuid

* REmove del-cli

* Update capture-console

* Update depcheck

* Remove get-port

* Remove js-yaml

* Update moment-timezone

* Update nock

* Remove husky

* Update sinon

* Remove lint-staged

* Update qs

* Update joi

* Update rate-limiter-flexible

* Update @types/semaphore

* Update dayjs

* Update kleur

* Remove @types/async

* Update xstate

* Update tar

* Update reflect-metadata

* Update yargs-parser

* Update pg

* Update node-forge

* Update @pm2/io

* Update deepmerge & nsfw

* Update @types/functional-red-black-tree

* Yarn.lock

* Update rotating-file-stream

* Update split2

* Update @types/pump & @types/pumpify

* Update immutable

* Yarn update chance

* Update uuid

* Update builtin-modules

* Update deeepmerge

* Update @types/buffer-xor

* Remove @types/wif

* Update bcrypto

* Update ipaddr.js

* Update ip

* Update protobuf

* Update semver

* Regenerate yarn.lock

* Update better-sqlite3
  • Loading branch information
sebastijankuzner authored Jan 31, 2024
1 parent c45abbf commit f7cd104
Show file tree
Hide file tree
Showing 21 changed files with 1,967 additions and 2,264 deletions.
26 changes: 9 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,45 +59,37 @@
"@types/create-hash": "1.2.2",
"@types/depcheck": "0.9.1",
"@types/jest": "26.0.24",
"@types/js-yaml": "3.12.7",
"@types/node": "13.9.5",
"@types/prettier": "2.3.2",
"@types/rimraf": "3.0.2",
"@types/uuid": "8.3.1",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"babel-loader": "8.2.2",
"capture-console": "1.0.1",
"capture-console": "1.0.2",
"create-hash": "1.2.0",
"cross-env": "7.0.3",
"del-cli": "3.0.1",
"depcheck": "1.4.3",
"depcheck": "1.4.7",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-jest": "24.4.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-simple-import-sort": "5.0.3",
"eslint": "7.32.0",
"fs-extra": "8.1.0",
"get-port": "5.1.1",
"husky": "4.3.8",
"jest-extended": "0.11.5",
"jest": "26.6.3",
"js-yaml": "3.14.1",
"lerna": "7.1.4",
"lint-staged": "10.5.4",
"lerna": "7.4.2",
"madge": "6.1.0",
"moment-timezone": "0.5.43",
"nock": "13.1.3",
"npm-check-updates": "16.0.5",
"moment-timezone": "0.5.44",
"nock": "13.5.1",
"npm-check-updates": "16.14.14",
"prettier": "2.4.0",
"rimraf": "3.0.2",
"sinon": "9.2.4",
"rimraf": "5.0.5",
"sinon": "17.0.1",
"tmp": "0.2.1",
"ts-jest": "26.5.6",
"typedoc": "0.22.17",
"typescript": "4.1.6",
"typesync": "0.8.0",
"uuid": "8.3.2"
"typesync": "0.8.0"
},
"workspaces": [
"packages/*",
Expand Down
14 changes: 6 additions & 8 deletions packages/core-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,18 @@
"@hapi/boom": "9.1.4",
"@hapi/hapi": "20.1.5",
"@hapi/hoek": "9.2.0",
"joi": "17.4.2",
"joi": "17.12.1",
"nanomatch": "1.2.13",
"node-cache": "5.1.2",
"qs": "6.10.3",
"rate-limiter-flexible": "1.3.2",
"qs": "6.11.2",
"rate-limiter-flexible": "4.0.1",
"semaphore": "1.1.0",
"semver": "6.3.1"
"semver": "7.5.4"
},
"devDependencies": {
"@types/hapi__boom": "7.4.1",
"@types/hapi__joi": "17.1.7",
"@types/ip": "1.1.0",
"@types/semaphore": "1.1.1",
"@types/semver": "6.2.3"
"@types/semaphore": "1.1.4",
"@types/semver": "7.5.6"
},
"engines": {
"node": ">=10.x"
Expand Down
4 changes: 2 additions & 2 deletions packages/core-api/src/plugins/rate-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ export = {
limiter: new RateLimiterMemory({ points: options.points, duration: options.duration }),
whiteList: options.whitelist || ["*"],
blackList: options.blacklist || [],
isWhite: (ip: string) => {
isWhiteListed: (ip: string) => {
return isListed(ip, options.whitelist);
},
isBlack: (ip: string) => {
isBlackListed: (ip: string) => {
return isListed(ip, options.blacklist);
},
runActionAnyway: false,
Expand Down
7 changes: 2 additions & 5 deletions packages/core-blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@
"@arkecosystem/core-state": "3.8.2-rc.0",
"@arkecosystem/core-transactions": "3.8.2-rc.0",
"@arkecosystem/crypto": "3.8.2-rc.0",
"joi": "17.4.2",
"xstate": "4.23.4"
},
"devDependencies": {
"@types/async": "3.2.7"
"joi": "17.12.1",
"xstate": "4.38.3"
},
"engines": {
"node": ">=10.x"
Expand Down
16 changes: 8 additions & 8 deletions packages/core-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@arkecosystem/utils": "1.3.1",
"boxen": "4.2.0",
"cli-table3": "0.6.0",
"dayjs": "1.10.7",
"dayjs": "1.11.10",
"env-paths": "2.2.0",
"envfile": "5.2.0",
"execa": "3.4.0",
Expand All @@ -35,26 +35,26 @@
"glob": "7.1.7",
"got": "11.8.5",
"inversify": "5.1.1",
"joi": "17.4.2",
"kleur": "4.0.0",
"joi": "17.12.1",
"kleur": "4.1.5",
"latest-version": "5.1.0",
"listr": "0.14.3",
"nodejs-tail": "1.1.1",
"ora": "4.1.1",
"prompts": "2.4.0",
"read-last-lines": "1.8.0",
"reflect-metadata": "0.1.13",
"semver": "6.3.1",
"tar": "6.1.11",
"reflect-metadata": "0.2.1",
"semver": "7.5.4",
"tar": "6.2.0",
"type-fest": "0.21.3",
"yargs-parser": "20.2.9"
"yargs-parser": "21.1.1"
},
"devDependencies": {
"@types/fast-levenshtein": "0.0.2",
"@types/fs-extra": "8.1.2",
"@types/is-ci": "2.0.0",
"@types/listr": "0.14.4",
"@types/semver": "6.2.3",
"@types/semver": "7.5.6",
"@types/yargs-parser": "20.2.1"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/core-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"@arkecosystem/core-kernel": "3.8.2-rc.0",
"@arkecosystem/crypto": "3.8.2-rc.0",
"@arkecosystem/utils": "1.3.1",
"dayjs": "1.10.7",
"joi": "17.4.2",
"pg": "8.7.1",
"reflect-metadata": "0.1.13",
"dayjs": "1.11.10",
"joi": "17.12.1",
"pg": "8.11.3",
"reflect-metadata": "0.2.1",
"typeorm": "0.2.25"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/core-forger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"@arkecosystem/core-p2p": "3.8.2-rc.0",
"@arkecosystem/core-transactions": "3.8.2-rc.0",
"@arkecosystem/crypto": "3.8.2-rc.0",
"joi": "17.4.2",
"node-forge": "1.3.0",
"joi": "17.12.1",
"node-forge": "1.3.1",
"wif": "2.0.6"
},
"devDependencies": {
"@types/node-forge": "0.10.4",
"@types/node-forge": "1.3.11",
"@types/wif": "2.0.2"
},
"engines": {
Expand Down
20 changes: 10 additions & 10 deletions packages/core-kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,33 @@
"dependencies": {
"@arkecosystem/crypto": "3.8.2-rc.0",
"@arkecosystem/utils": "1.3.1",
"@pm2/io": "5.0.0",
"@pm2/io": "5.0.2",
"chalk": "4.1.2",
"cron": "1.8.2",
"dayjs": "1.10.7",
"deepmerge": "4.2.2",
"dayjs": "1.11.10",
"deepmerge": "4.3.1",
"env-paths": "2.2.0",
"fs-extra": "8.1.0",
"functional-red-black-tree": "1.0.1",
"glob": "7.1.7",
"import-fresh": "3.3.0",
"inversify": "5.1.1",
"ipaddr.js": "2.0.1",
"joi": "17.4.2",
"ipaddr.js": "2.1.0",
"joi": "17.12.1",
"log-process-errors": "5.1.2",
"nanomatch": "1.2.13",
"nsfw": "2.1.2",
"reflect-metadata": "0.1.13",
"semver": "6.3.1",
"nsfw": "2.2.4",
"reflect-metadata": "0.2.1",
"semver": "7.5.4",
"type-fest": "0.21.3"
},
"devDependencies": {
"@types/cron": "1.7.3",
"@types/fs-extra": "8.1.2",
"@types/functional-red-black-tree": "1.0.1",
"@types/functional-red-black-tree": "1.0.6",
"@types/got": "9.6.12",
"@types/log-process-errors": "4.1.0",
"@types/semver": "6.2.3"
"@types/semver": "7.5.6"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions packages/core-logger-pino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"dependencies": {
"@arkecosystem/core-kernel": "3.8.2-rc.0",
"chalk": "4.1.2",
"joi": "17.4.2",
"joi": "17.12.1",
"pino": "8.7.0",
"pino-pretty": "9.1.1",
"pump": "3.0.0",
"pumpify": "2.0.1",
"rotating-file-stream": "3.0.4",
"split2": "4.1.0"
"rotating-file-stream": "3.2.1",
"split2": "4.2.0"
},
"engines": {
"node": ">=10.x"
Expand All @@ -37,8 +37,8 @@
"access": "public"
},
"devDependencies": {
"@types/pump": "1.1.1",
"@types/pumpify": "1.4.1",
"@types/pump": "1.1.3",
"@types/pumpify": "1.4.4",
"@types/split2": "3.2.1"
}
}
5 changes: 2 additions & 3 deletions packages/core-magistrate-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@
"@arkecosystem/crypto": "3.8.2-rc.0",
"@hapi/boom": "9.1.4",
"@hapi/hapi": "20.1.5",
"joi": "17.4.2"
"joi": "17.12.1"
},
"devDependencies": {
"@types/hapi__boom": "7.4.1",
"@types/hapi__joi": "17.1.7"
"@types/hapi__boom": "7.4.1"
},
"engines": {
"node": ">=10.x"
Expand Down
21 changes: 10 additions & 11 deletions packages/core-p2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,24 @@
"@hapi/hoek": "9.2.0",
"@hapi/sntp": "4.0.0",
"@hapi/teamwork": "5.1.0",
"dayjs": "1.10.7",
"dayjs": "1.11.10",
"delay": "4.4.1",
"ip": "1.1.5",
"ipaddr.js": "2.0.1",
"joi": "17.4.2",
"ip": "1.1.8",
"ipaddr.js": "2.1.0",
"joi": "17.12.1",
"pluralize": "8.0.0",
"pretty-ms": "7.0.1",
"protobufjs": "7.2.4",
"rate-limiter-flexible": "1.3.2",
"semver": "6.3.1",
"protobufjs": "7.2.6",
"rate-limiter-flexible": "4.0.1",
"semver": "7.5.4",
"ws": "7.5.5"
},
"devDependencies": {
"@types/better-sqlite3": "5.4.3",
"@types/fs-extra": "8.1.2",
"@types/hapi__sntp": "3.1.2",
"@types/ip": "1.1.0",
"@types/semver": "6.2.3",
"protobufjs-cli": "1.1.1"
"@types/ip": "1.1.3",
"@types/semver": "7.5.6",
"protobufjs-cli": "1.1.2"
},
"engines": {
"node": ">=10.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-snapshots/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@arkecosystem/crypto": "3.8.2-rc.0",
"bytebuffer": "5.0.1",
"fs-extra": "8.1.0",
"joi": "17.4.2",
"joi": "17.12.1",
"msgpack-lite": "0.1.26",
"ora": "4.1.1",
"pg-query-stream": "3.4.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/core-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@arkecosystem/core-kernel": "3.8.2-rc.0",
"@arkecosystem/core-transactions": "3.8.2-rc.0",
"@arkecosystem/crypto": "3.8.2-rc.0",
"immutable": "4.0.0-rc.14",
"joi": "17.4.2"
"immutable": "5.0.0-beta.5",
"joi": "17.12.1"
},
"engines": {
"node": ">=10.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-test-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"bip39": "3.0.4",
"bs58": "4.0.1",
"bytebuffer": "5.0.1",
"chance": "1.1.8",
"chance": "1.1.11",
"env-paths": "2.2.0",
"fast-memoize": "2.5.2",
"fs-extra": "8.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/core-transaction-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"@arkecosystem/core-kernel": "3.8.2-rc.0",
"@arkecosystem/core-transactions": "3.8.2-rc.0",
"@arkecosystem/crypto": "3.8.2-rc.0",
"better-sqlite3": "7.4.3",
"better-sqlite3": "9.3.0",
"fs-extra": "8.1.0",
"joi": "17.4.2"
"joi": "17.12.1"
},
"devDependencies": {
"@types/better-sqlite3": "5.4.3",
"@types/better-sqlite3": "7.6.9",
"@types/fs-extra": "8.1.2"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core-transaction-pool/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export class Storage implements Contracts.TransactionPool.Storage {
}

public getAllTransactions(): Iterable<Contracts.TransactionPool.StoredTransaction> {
return this.getAllTransactionsStmt.all();
return this.getAllTransactionsStmt.all() as Contracts.TransactionPool.StoredTransaction[];
}

public getOldTransactions(height: number): Iterable<Contracts.TransactionPool.StoredTransaction> {
return this.getOldTransactionsStmt.all({ height });
return this.getOldTransactionsStmt.all({ height }) as Contracts.TransactionPool.StoredTransaction[];
}

public removeTransaction(id: string): void {
Expand Down
2 changes: 1 addition & 1 deletion packages/core-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@arkecosystem/core-database": "3.8.2-rc.0",
"@arkecosystem/core-kernel": "3.8.2-rc.0",
"@arkecosystem/crypto": "3.8.2-rc.0",
"joi": "17.4.2"
"joi": "17.12.1"
},
"engines": {
"node": ">=10.x"
Expand Down
5 changes: 2 additions & 3 deletions packages/core-webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
"@hapi/boom": "9.0.0",
"@hapi/hapi": "20.1.5",
"fs-extra": "8.1.0",
"joi": "17.4.2",
"joi": "17.12.1",
"lowdb": "1.0.0",
"uuid": "8.3.2"
"uuid": "9.0.1"
},
"devDependencies": {
"@types/fs-extra": "8.1.2",
"@types/hapi__boom": "7.4.1",
"@types/hapi__joi": "17.1.7",
"@types/uuid": "8.3.1"
},
"engines": {
Expand Down
Loading

0 comments on commit f7cd104

Please sign in to comment.