diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4db68d60..df661e9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: submodules: recursive - uses: actions/setup-node@v4 with: - node-version: 20.18.1 + node-version: 24.14.0 - name: Setup configs run: | cp config/common.json.example config/common.json \ diff --git a/package-lock.json b/package-lock.json index 692b2189..5a01d107 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,32 +1,29 @@ { - "name": "bfx-report", - "version": "4.14.0", + "name": "@bitfinex/bfx-report", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "bfx-report", - "version": "4.14.0", + "name": "@bitfinex/bfx-report", + "version": "5.0.0", "license": "Apache-2.0", "dependencies": { - "ajv": "8.17.1", + "@bitfinex/bfx-facs-deflate": "git+https://github.com/bitfinexcom/bfx-facs-deflate.git", + "@bitfinex/bfx-facs-grc-slack": "git+https://github.com/bitfinexcom/bfx-facs-grc-slack.git", + "@bitfinex/bfx-facs-lokue": "git+https://github.com/bitfinexcom/bfx-facs-lokue.git", + "@bitfinex/bfx-svc-boot-js": "git+https://github.com/bitfinexcom/bfx-svc-boot-js.git", + "@bitfinex/bfx-wrk-api": "git+https://github.com/bitfinexcom/bfx-wrk-api.git", + "@bitfinex/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", + "ajv": "8.18.0", "ajv-formats": "3.0.1", "async": "3.2.4", - "better-npm-run": "0.1.1", - "bfx-facs-base": "git+https://github.com:bitfinexcom/bfx-facs-base.git", - "bfx-facs-deflate": "git+https://github.com:bitfinexcom/bfx-facs-deflate.git", - "bfx-facs-grc-slack": "git+https://github.com/bitfinexcom/bfx-facs-grc-slack.git", - "bfx-facs-interval": "git+https://github.com/bitfinexcom/bfx-facs-interval.git", - "bfx-facs-lokue": "git+https://github.com:bitfinexcom/bfx-facs-lokue.git", - "bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git", - "bfx-wrk-api": "git+https://github.com/bitfinexcom/bfx-wrk-api.git", "bitfinex-api-node": "7.0.0", "colors": "1.4.0", "csv": "5.5.3", "i18next": "23.15.1", "i18next-fs-backend": "2.3.2", "inversify": "6.0.1", - "lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", "lru": "3.1.0", "moment": "2.29.4", "moment-timezone": "0.5.39", @@ -39,14 +36,19 @@ "yargs": "17.2.1" }, "devDependencies": { + "@bitfinex/bfx-report-express": "git+https://github.com/bitfinexcom/bfx-report-express.git", "bfx-api-mock-srv": "git+https://github.com/bitfinexcom/bfx-api-mock-srv.git", - "bfx-report-express": "git+https://github.com/bitfinexcom/bfx-report-express.git", "chai": "4.3.4", + "concurrently": "9.2.1", + "cross-env": "10.1.0", "grenache-grape": "git+https://github.com/bitfinexcom/grenache-grape.git", "mocha": "11.1.0", - "nodemon": "3.1.9", + "nodemon": "3.1.14", "standard": "17.0.0", "supertest": "7.1.0" + }, + "engines": { + "node": ">=20.18.1" } }, "node_modules/@babel/helper-string-parser": { @@ -107,6 +109,212 @@ "node": ">=6.9.0" } }, + "node_modules/@bitfinex/bfx-facs-api": { + "version": "0.0.1", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-api.git#10d50d1def791210cb330e1f1097c3daf445af5b", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-facs-base": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-base.git#c42f4dfeab9c759a9c7ec7177ab7af6b53279e94", + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.1", + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-facs-deflate": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-deflate.git#1c3244588961ad591bd4ec56c35acd5473dad969", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com:bitfinexcom/bfx-facs-base.git", + "@bitfinex/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", + "archiver": "3.1.1", + "async": "3.2.6" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-facs-deflate/node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" + }, + "node_modules/@bitfinex/bfx-facs-grc": { + "version": "1.1.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-grc.git#a8eac3157f97002eb2ae18d556e2fefaed5a1555", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", + "@bitfinexcom/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base#v1.20.0", + "async": "3.2.6", + "grenache-nodejs-http": "1.0.1", + "grenache-nodejs-link": "1.0.2" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-facs-grc-slack": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-grc-slack.git#b9652e408954808bfe0ff3e1a1bcc154b31676e6", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-facs-grc/node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" + }, + "node_modules/@bitfinex/bfx-facs-lokue": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-lokue.git#98bf62b80f6b6c4b19c598cdc875c6c08ed75175", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", + "async": "^2.6.1", + "lodash": "^4.17.10", + "lokue": "^0.0.9" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-facs-lokue/node_modules/async": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "license": "MIT", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/@bitfinex/bfx-report-express": { + "version": "3.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-report-express.git#313b5c7450af639adb42e0b2632a1432d389988f", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "better-npm-run": "0.1.1", + "colors": "1.4.0", + "config": "4.4.1", + "cors": "2.8.6", + "debug": "4.4.3", + "express": "4.22.1", + "grenache-nodejs-http": "1.0.1", + "grenache-nodejs-link": "1.0.2", + "grenache-nodejs-ws": "1.0.0", + "morgan": "1.10.1", + "winston": "3.19.0", + "ws": "8.19.0" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-report-express/node_modules/winston": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.19.0.tgz", + "integrity": "sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "^1.6.0", + "@dabh/diagnostics": "^2.0.8", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.7.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.9.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/@bitfinex/bfx-report-express/node_modules/ws": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz", + "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/@bitfinex/bfx-svc-boot-js": { + "version": "1.1.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-svc-boot-js.git#be28ca5387eef34e651042e64d278feedf9b3a61", + "license": "Apache-2.0", + "dependencies": { + "lodash": "^4.17.21", + "yargs": "^17.2.1" + } + }, + "node_modules/@bitfinex/bfx-wrk-api": { + "version": "1.0.1", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-wrk-api.git#7441bf8ed01087e2882e985a5ab17fac32740a8b", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-api": "git+https://github.com/bitfinexcom/bfx-facs-api.git", + "@bitfinex/bfx-facs-grc": "git+https://github.com/bitfinexcom/bfx-facs-grc.git", + "@bitfinex/bfx-wrk-base": "git+https://github.com/bitfinexcom/bfx-wrk-base.git", + "async": "^3.2.4", + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-wrk-base": { + "version": "1.0.1", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-wrk-base.git#dea1cd61dc276f4f78ef020ee9c5a6f131900363", + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.1", + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/lib-js-util-base": { + "version": "2.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/lib-js-util-base.git#8c06f3a377e62ae556f19dead07489475acd4bce", + "license": "MIT" + }, "node_modules/@bitfinexcom/lib-js-util-base": { "version": "1.20.0", "resolved": "git+ssh://git@github.com/bitfinexcom/lib-js-util-base.git#c71422aea971508f6a605ac12a56bde4425f0d3b", @@ -132,6 +340,13 @@ "kuler": "^2.0.0" } }, + "node_modules/@epic-web/invariant": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@epic-web/invariant/-/invariant-1.0.0.tgz", + "integrity": "sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==", + "dev": true, + "license": "MIT" + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.5.1", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.5.1.tgz", @@ -186,9 +401,9 @@ } }, "node_modules/@eslint/eslintrc/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "dev": true, "license": "MIT", "dependencies": { @@ -512,9 +727,9 @@ "license": "MIT" }, "node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", @@ -919,11 +1134,19 @@ } }, "node_modules/b4a": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", - "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.7.5.tgz", + "integrity": "sha512-iEsKNwDh1wiWTps1/hdkNdmBgDlDVZP5U57ZVOlt+dNFqpc/lpPouCIxZw+DYBgc4P9NDfIZMPNR4CHNhzwLIA==", "dev": true, - "license": "Apache-2.0" + "license": "Apache-2.0", + "peerDependencies": { + "react-native-b4a": "*" + }, + "peerDependenciesMeta": { + "react-native-b4a": { + "optional": true + } + } }, "node_modules/babel-walk": { "version": "3.0.0-canary-5", @@ -994,6 +1217,7 @@ "version": "0.1.1", "resolved": "https://registry.npmjs.org/better-npm-run/-/better-npm-run-0.1.1.tgz", "integrity": "sha512-SBBYsUsb6bYcUMF9QUWy39GX5kzD4CoRBP11gx/k5jYkUr4Tr+irAokIeQX5FgfCRz0Q27rt8U0J4D2TlRgQFA==", + "dev": true, "license": "MIT", "dependencies": { "commander": "^2.9.0", @@ -1170,92 +1394,6 @@ "ultron": "~1.1.0" } }, - "node_modules/bfx-facs-api": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-api.git#a91216a92c2cfc2b8ef3d8a8306db6905482d664", - "license": "Apache-2.0", - "dependencies": { - "bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git" - } - }, - "node_modules/bfx-facs-base": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-base.git#8cf5da78cc1bcc7d13df3613726df867fa3ec40b", - "license": "Apache-2.0", - "dependencies": { - "async": "^3.2.1", - "lodash": "^4.17.21" - } - }, - "node_modules/bfx-facs-deflate": { - "version": "0.1.0", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-deflate.git#f7e07ad6675d91b97fceb6293eac7c1392382988", - "dependencies": { - "archiver": "3.1.1", - "async": "3.2.4", - "bfx-facs-base": "git+https://github.com:bitfinexcom/bfx-facs-base.git", - "lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git" - } - }, - "node_modules/bfx-facs-grc": { - "version": "1.0.0", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-grc.git#dc3ee03212d6b6ede799666bc1f5a9eb09282c8c", - "license": "Apache-2.0", - "dependencies": { - "@bitfinexcom/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base#v1.20.0", - "async": "3.2.6", - "bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", - "grenache-nodejs-http": "1.0.1", - "grenache-nodejs-link": "1.0.2" - }, - "engines": { - "node": ">=16.0" - } - }, - "node_modules/bfx-facs-grc-slack": { - "version": "1.0.0", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-grc-slack.git#a5e7d0c5a679146ba6669154c9bba7e0a7e2d159", - "license": "Apache-2.0", - "dependencies": { - "bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git" - } - }, - "node_modules/bfx-facs-grc/node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "license": "MIT" - }, - "node_modules/bfx-facs-interval": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-interval.git#a796422ce0b5be95aa511d6d3258b6f01604424e", - "license": "Apache-2.0", - "dependencies": { - "async": "^3.2.1", - "bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", - "lodash": "^4.17.21" - } - }, - "node_modules/bfx-facs-lokue": { - "version": "0.0.2", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-lokue.git#6f567d26088337a647caaafbcbbc1f2812c49b24", - "license": "Apache-2.0", - "dependencies": { - "async": "^2.6.1", - "bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", - "lodash": "^4.17.10", - "lokue": "^0.0.9" - } - }, - "node_modules/bfx-facs-lokue/node_modules/async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", - "license": "MIT", - "dependencies": { - "lodash": "^4.17.14" - } - }, "node_modules/bfx-hf-util": { "version": "1.0.12", "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-hf-util.git#82ce185e336d14c84037494e62e6c5d84434cdad", @@ -1267,78 +1405,6 @@ "stackman": "^4.0.0" } }, - "node_modules/bfx-report-express": { - "version": "2.0.10", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-report-express.git#8a04c85d0e990b8b83c55d0064b9960513d33428", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "better-npm-run": "0.1.1", - "colors": "1.4.0", - "config": "3.3.8", - "cors": "2.8.5", - "debug": "4.4.0", - "express": "4.21.2", - "grenache-nodejs-http": "1.0.1", - "grenache-nodejs-link": "1.0.2", - "grenache-nodejs-ws": "1.0.0", - "morgan": "1.10.0", - "winston": "3.18.3", - "ws": "8.18.1" - } - }, - "node_modules/bfx-report-express/node_modules/ws": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", - "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/bfx-svc-boot-js": { - "version": "1.0.2", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-svc-boot-js.git#6ae412ee70ed62a5ff5047db7298e9a2be2e3ac7", - "license": "Apache-2.0", - "dependencies": { - "lodash": "^4.17.21", - "yargs": "^17.2.1" - } - }, - "node_modules/bfx-wrk-api": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-wrk-api.git#b81d4dd392c1f1fa2d0dbb09a7e55bbb996b1165", - "license": "Apache-2.0", - "dependencies": { - "async": "^3.2.4", - "bfx-facs-api": "git+https://github.com/bitfinexcom/bfx-facs-api.git", - "bfx-facs-grc": "git+https://github.com/bitfinexcom/bfx-facs-grc.git", - "bfx-wrk-base": "git+https://github.com/bitfinexcom/bfx-wrk-base.git", - "lodash": "^4.17.21" - } - }, - "node_modules/bfx-wrk-base": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-wrk-base.git#50d0fc93983c78e41621ad885c9756a3d16caabb", - "license": "Apache-2.0", - "dependencies": { - "async": "^3.2.1", - "lodash": "^4.17.21" - } - }, "node_modules/bignumber.js": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", @@ -1460,24 +1526,24 @@ "license": "MIT" }, "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", "dev": true, "license": "MIT", "dependencies": { - "bytes": "3.1.2", + "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", "type-is": "~1.6.18", - "unpipe": "1.0.0" + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8", @@ -1494,6 +1560,27 @@ "ms": "2.0.0" } }, + "node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/body-parser/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -1501,10 +1588,36 @@ "dev": true, "license": "MIT" }, + "node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -1923,6 +2036,7 @@ "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, "license": "MIT" }, "node_modules/component-emitter": { @@ -1992,17 +2106,76 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "license": "MIT" }, + "node_modules/concurrently": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.1.tgz", + "integrity": "sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "4.1.2", + "rxjs": "7.8.2", + "shell-quote": "1.8.3", + "supports-color": "8.1.1", + "tree-kill": "1.2.2", + "yargs": "17.7.2" + }, + "bin": { + "conc": "dist/bin/concurrently.js", + "concurrently": "dist/bin/concurrently.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/concurrently/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/config": { - "version": "3.3.8", - "resolved": "https://registry.npmjs.org/config/-/config-3.3.8.tgz", - "integrity": "sha512-rFzF6VESOdp7wAXFlB9IOZI4ouL05g3A03v2eRcTHj2JBQaTNJ40zhAUl5wRbWHqLZ+uqp/7OE0BWWtAVgrong==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/config/-/config-4.4.1.tgz", + "integrity": "sha512-XfN4Q4+wBKkGtgMyQ+5ayjepdb0MrdiGKfBr0G1PTLx9rnqsX+Xiw03LEUtSALZU0UVfcFp6+xYV0NL8HLF94g==", "dev": true, "license": "MIT", "dependencies": { - "json5": "^2.2.1" + "json5": "^2.2.3" }, "engines": { - "node": ">= 10.0.0" + "node": ">= 20.0.0" } }, "node_modules/constantinople": { @@ -2063,15 +2236,15 @@ "license": "MIT" }, "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", "license": "MIT" }, "node_modules/cors": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", - "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", "dev": true, "license": "MIT", "dependencies": { @@ -2080,6 +2253,10 @@ }, "engines": { "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/crc": { @@ -2120,6 +2297,24 @@ "node": ">= 6.9.0" } }, + "node_modules/cross-env": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-10.1.0.tgz", + "integrity": "sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@epic-web/invariant": "^1.0.0", + "cross-spawn": "^7.0.6" + }, + "bin": { + "cross-env": "dist/bin/cross-env.js", + "cross-env-shell": "dist/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -2223,9 +2418,9 @@ } }, "node_modules/debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -2350,9 +2545,9 @@ } }, "node_modules/diff": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", - "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.2.tgz", + "integrity": "sha512-vtcDfH3TOjP8UekytvnHH1o1P4FcUdt4eQ1Y+Abap1tk/OB2MWQvcwS2ClCd1zuIhc3JKOx6p3kod8Vfys3E+A==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -2391,6 +2586,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-2.0.0.tgz", "integrity": "sha512-Y+zZAmv7p2zOdpyZcSIA+aIxohsyfTcNaMeh3YJn9exq85bQhso65Wz9IhjYYNB4zyvXnfi7Ae+FuygARljVJw==", + "dev": true, "license": "BSD-2-Clause" }, "node_modules/dunder-proto": { @@ -3131,9 +3327,9 @@ } }, "node_modules/eslint/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "dev": true, "license": "MIT", "dependencies": { @@ -3264,40 +3460,40 @@ } }, "node_modules/express": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", - "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", + "version": "4.22.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", + "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", "dev": true, "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", "merge-descriptors": "1.0.3", "methods": "~1.1.2", - "on-finished": "2.4.1", + "on-finished": "~2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", + "path-to-regexp": "~0.1.12", "proxy-addr": "~2.0.7", - "qs": "6.13.0", + "qs": "~6.14.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", + "send": "~0.19.0", + "serve-static": "~1.16.2", "setprototypeof": "1.2.0", - "statuses": "2.0.1", + "statuses": "~2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" @@ -3491,9 +3687,9 @@ } }, "node_modules/flatted": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", - "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz", + "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==", "dev": true, "license": "ISC" }, @@ -3536,6 +3732,23 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/form-data": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/formidable": { "version": "3.5.4", "resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.4.tgz", @@ -4829,9 +5042,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, "license": "MIT", "dependencies": { @@ -5027,12 +5240,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lib-js-util-base": { - "name": "@bitfinexcom/lib-js-util-base", - "version": "1.20.0", - "resolved": "git+ssh://git@github.com/bitfinexcom/lib-js-util-base.git#c71422aea971508f6a605ac12a56bde4425f0d3b", - "license": "MIT" - }, "node_modules/load-json-file": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", @@ -5097,9 +5304,9 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", "license": "MIT" }, "node_modules/lodash.defaults": { @@ -5333,9 +5540,9 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -5410,9 +5617,9 @@ } }, "node_modules/mocha/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5435,9 +5642,10 @@ } }, "node_modules/mocha/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, "license": "ISC", "dependencies": { @@ -5456,13 +5664,13 @@ } }, "node_modules/mocha/node_modules/glob/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^2.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -5472,9 +5680,9 @@ } }, "node_modules/mocha/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.9.tgz", + "integrity": "sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==", "dev": true, "license": "ISC", "dependencies": { @@ -5525,9 +5733,9 @@ } }, "node_modules/morgan": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz", - "integrity": "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.1.tgz", + "integrity": "sha512-223dMRJtI/l25dJKWpgij2cMtywuG/WiUKXdvwfbhGKBhy1puASqXwFzmWZ7+K73vUPoR7SS2Qz2cI/g9MKw0A==", "dev": true, "license": "MIT", "dependencies": { @@ -5535,7 +5743,7 @@ "debug": "2.6.9", "depd": "~2.0.0", "on-finished": "~2.3.0", - "on-headers": "~1.0.2" + "on-headers": "~1.1.0" }, "engines": { "node": ">= 0.8.0" @@ -5615,16 +5823,16 @@ } }, "node_modules/nodemon": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.9.tgz", - "integrity": "sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==", + "version": "3.1.14", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.14.tgz", + "integrity": "sha512-jakjZi93UtB3jHMWsXL68FXSAosbLfY0In5gtKq3niLSkrWznrVBzXFNOEMJUfc9+Ke7SHWoAZsiMkNP3vq6Jw==", "dev": true, "license": "MIT", "dependencies": { "chokidar": "^3.5.2", "debug": "^4", "ignore-by-default": "^1.0.1", - "minimatch": "^3.1.2", + "minimatch": "^10.2.1", "pstree.remy": "^1.1.8", "semver": "^7.5.3", "simple-update-notifier": "^2.0.0", @@ -5643,6 +5851,29 @@ "url": "https://opencollective.com/nodemon" } }, + "node_modules/nodemon/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/nodemon/node_modules/brace-expansion": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz", + "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/nodemon/node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -5653,6 +5884,22 @@ "node": ">=4" } }, + "node_modules/nodemon/node_modules/minimatch": { + "version": "10.2.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz", + "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/nodemon/node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -5811,9 +6058,9 @@ } }, "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", + "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", "dev": true, "license": "MIT", "engines": { @@ -6375,13 +6622,13 @@ } }, "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz", + "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" }, "engines": { "node": ">=0.6" @@ -6688,6 +6935,16 @@ "dev": true, "license": "MIT" }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, "node_modules/safe-array-concat": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", @@ -6949,6 +7206,19 @@ "node": ">=8" } }, + "node_modules/shell-quote": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", + "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/side-channel": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", @@ -7392,22 +7662,6 @@ "node": ">=14.18.0" } }, - "node_modules/superagent/node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", - "dev": true, - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/superagent/node_modules/mime": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", @@ -7537,6 +7791,16 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", "license": "MIT" }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, "node_modules/triple-beam": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", @@ -7569,6 +7833,13 @@ "json5": "lib/cli.js" } }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", diff --git a/package.json b/package.json index 87de399c..4cd773ba 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,11 @@ { - "name": "bfx-report", - "version": "4.14.0", + "name": "@bitfinex/bfx-report", + "version": "5.0.0", "description": "Reporting tool", "main": "worker.js", + "engines": { + "node": ">=20.18.1" + }, "license": "Apache-2.0", "contributors": [ "Vladimir Voronkov ", @@ -10,24 +13,21 @@ "Ezequiel Wernicke " ], "dependencies": { - "ajv": "8.17.1", + "@bitfinex/bfx-facs-deflate": "git+https://github.com/bitfinexcom/bfx-facs-deflate.git", + "@bitfinex/bfx-facs-grc-slack": "git+https://github.com/bitfinexcom/bfx-facs-grc-slack.git", + "@bitfinex/bfx-facs-lokue": "git+https://github.com/bitfinexcom/bfx-facs-lokue.git", + "@bitfinex/bfx-svc-boot-js": "git+https://github.com/bitfinexcom/bfx-svc-boot-js.git", + "@bitfinex/bfx-wrk-api": "git+https://github.com/bitfinexcom/bfx-wrk-api.git", + "@bitfinex/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", + "ajv": "8.18.0", "ajv-formats": "3.0.1", "async": "3.2.4", - "better-npm-run": "0.1.1", - "bfx-facs-base": "git+https://github.com:bitfinexcom/bfx-facs-base.git", - "bfx-facs-deflate": "git+https://github.com:bitfinexcom/bfx-facs-deflate.git", - "bfx-facs-grc-slack": "git+https://github.com/bitfinexcom/bfx-facs-grc-slack.git", - "bfx-facs-interval": "git+https://github.com/bitfinexcom/bfx-facs-interval.git", - "bfx-facs-lokue": "git+https://github.com:bitfinexcom/bfx-facs-lokue.git", - "bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git", - "bfx-wrk-api": "git+https://github.com/bitfinexcom/bfx-wrk-api.git", "bitfinex-api-node": "7.0.0", "colors": "1.4.0", "csv": "5.5.3", "i18next": "23.15.1", "i18next-fs-backend": "2.3.2", "inversify": "6.0.1", - "lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", "lru": "3.1.0", "moment": "2.29.4", "moment-timezone": "0.5.39", @@ -40,12 +40,14 @@ "yargs": "17.2.1" }, "devDependencies": { + "@bitfinex/bfx-report-express": "git+https://github.com/bitfinexcom/bfx-report-express.git", "bfx-api-mock-srv": "git+https://github.com/bitfinexcom/bfx-api-mock-srv.git", - "bfx-report-express": "git+https://github.com/bitfinexcom/bfx-report-express.git", "chai": "4.3.4", + "concurrently": "9.2.1", + "cross-env": "10.1.0", "grenache-grape": "git+https://github.com/bitfinexcom/grenache-grape.git", "mocha": "11.1.0", - "nodemon": "3.1.9", + "nodemon": "3.1.14", "standard": "17.0.0", "supertest": "7.1.0" }, @@ -73,40 +75,13 @@ "workers/loc.api/queue/temp/" ] }, - "betterScripts": { - "start:serv": { - "command": "nodemon ./node_modules/bfx-report-express", - "env": { - "NODE_ENV": "development", - "NODE_CONFIG_DIR": "./test/config" - } - }, - "test": { - "command": "standard && mocha './workers/**/__test__/*.spec.js' './test/**/*.spec.js' --config .mocharc.json", - "env": { - "NODE_ENV": "test" - } - }, - "unit": { - "command": "mocha './workers/**/__test__/*.spec.js' --config .mocharc.json", - "env": { - "NODE_ENV": "test" - } - }, - "testDev": { - "command": "standard && mocha --recursive test/**/*-dev.spec.js --exit --timeout 10000", - "env": { - "NODE_ENV": "test" - } - } - }, "scripts": { - "start": "node worker.js --env=production --wtype=wrk-report-service-api --apiPort 1337 --dbId 1", - "startDev": "nodemon worker.js --env=development --wtype=wrk-report-service-api --apiPort 1337 --dbId 1", - "startServDev": "better-npm-run start:serv", - "startSimulEnv": "node test/simulate/simulate-enviroment.js", - "test": "better-npm-run test", - "testDev": "better-npm-run testDev", - "unit": "better-npm-run unit" + "start": "concurrently -ki -c cyan,green,blue -n ENV,WORKER,SERVER \"npm run startSimulEnv\" \"node -e 'setTimeout(()=>{},3000)' && npm run startDev\" \"npm run startServDev\"", + "startDev": "cross-env NODE_ENV=development nodemon worker.js --env=development --wtype=wrk-report-service-api --apiPort 1337 --dbId 1", + "startServDev": "cross-env NODE_ENV=development NODE_CONFIG_DIR=./test/config node ./node_modules/@bitfinex/bfx-report-express", + "startSimulEnv": "cross-env NODE_ENV=development node test/simulate/simulate-enviroment.js", + "test": "standard && npm run unit && cross-env NODE_ENV=test mocha './test/**/*.spec.js' --config .mocharc.json", + "testDev": "cross-env NODE_ENV=test mocha './workers/**/__test__/*-dev.spec.js' './test/**/*-dev.spec.js' --config .mocharc.json", + "unit": "cross-env NODE_ENV=test mocha './workers/**/__test__/*.spec.js' --config .mocharc.json" } } diff --git a/test/1-api.spec.js b/test/1-api.spec.js index 93f87d24..97dd5484 100644 --- a/test/1-api.spec.js +++ b/test/1-api.spec.js @@ -15,7 +15,7 @@ const { } = require('./helpers/helpers.mock-rest-v2') process.env.NODE_CONFIG_DIR = path.join(__dirname, 'config') -const { app } = require('bfx-report-express') +const { app } = require('@bitfinex/bfx-report-express') const agent = request.agent(app) const basePath = '/api' diff --git a/test/2-api-filter.spec.js b/test/2-api-filter.spec.js index 7c453eaf..024abfb0 100644 --- a/test/2-api-filter.spec.js +++ b/test/2-api-filter.spec.js @@ -21,7 +21,7 @@ const { } = require('./helpers/helpers.tests') process.env.NODE_CONFIG_DIR = path.join(__dirname, 'config') -const { app } = require('bfx-report-express') +const { app } = require('@bitfinex/bfx-report-express') const agent = request.agent(app) let wrkReportServiceApi = null diff --git a/test/3-report-signature.spec.js b/test/3-report-signature.spec.js index 2ed58246..7eba709e 100644 --- a/test/3-report-signature.spec.js +++ b/test/3-report-signature.spec.js @@ -32,7 +32,7 @@ cvJxqAW4w9Crfobqk+wvb3cA/07ej6osCli0twWcNtDw6YkWiip+IT0+SMOH const fileHash = 'bdb9d457ab0e29806e7291bdb9d7fd17c90dad665cf437122b881cc57041899b' process.env.NODE_CONFIG_DIR = path.join(__dirname, 'config') -const { app } = require('bfx-report-express') +const { app } = require('@bitfinex/bfx-report-express') const agent = request.agent(app) let wrkReportServiceApi = null diff --git a/test/4-queue-base.spec.js b/test/4-queue-base.spec.js index 9f832cf0..b221ec3e 100644 --- a/test/4-queue-base.spec.js +++ b/test/4-queue-base.spec.js @@ -19,7 +19,7 @@ const { } = require('./test-cases') process.env.NODE_CONFIG_DIR = path.join(__dirname, 'config') -const { app } = require('bfx-report-express') +const { app } = require('@bitfinex/bfx-report-express') const agent = request.agent(app) let wrkReportServiceApi = null diff --git a/test/5-queue-load.spec.js b/test/5-queue-load.spec.js index 929d5817..c8427da3 100644 --- a/test/5-queue-load.spec.js +++ b/test/5-queue-load.spec.js @@ -21,7 +21,7 @@ const { } = require('./helpers/helpers.tests') process.env.NODE_CONFIG_DIR = path.join(__dirname, 'config') -const { app } = require('bfx-report-express') +const { app } = require('@bitfinex/bfx-report-express') const agent = request.agent(app) const ipcs = [] diff --git a/test/helpers/helpers.worker.js b/test/helpers/helpers.worker.js index d3ad4fe1..4d6bce6a 100644 --- a/test/helpers/helpers.worker.js +++ b/test/helpers/helpers.worker.js @@ -2,7 +2,7 @@ const { fork } = require('child_process') const path = require('path') -const worker = require('bfx-svc-boot-js/lib/worker') +const worker = require('@bitfinex/bfx-svc-boot-js/lib/worker') const _serviceRoot = path.join(__dirname, '../..') diff --git a/test/simulate/bfx-ext-mockspy-js/worker.js b/test/simulate/bfx-ext-mockspy-js/worker.js index fc5be0af..ad44ca31 100644 --- a/test/simulate/bfx-ext-mockspy-js/worker.js +++ b/test/simulate/bfx-ext-mockspy-js/worker.js @@ -1,5 +1,5 @@ 'use strict' // used to spawn a `bfx-svc-js` service. Contains the worker CLI. -const worker = require('bfx-svc-boot-js') +const worker = require('@bitfinex/bfx-svc-boot-js') module.exports = worker diff --git a/test/simulate/stub-spies-helpers/api.js b/test/simulate/stub-spies-helpers/api.js index b978672a..cda41655 100644 --- a/test/simulate/stub-spies-helpers/api.js +++ b/test/simulate/stub-spies-helpers/api.js @@ -1,6 +1,6 @@ 'use strict' -const { Api } = require('bfx-wrk-api') +const { Api } = require('@bitfinex/bfx-wrk-api') function createApi (addFunctions) { class ExtApi extends Api { diff --git a/test/simulate/stub-spies-helpers/worker.js b/test/simulate/stub-spies-helpers/worker.js index ef5f7bd5..447af01b 100644 --- a/test/simulate/stub-spies-helpers/worker.js +++ b/test/simulate/stub-spies-helpers/worker.js @@ -1,6 +1,6 @@ 'use strict' -const { WrkApi } = require('bfx-wrk-api') +const { WrkApi } = require('@bitfinex/bfx-wrk-api') function createWorker (env, _init = null, _getPluginCtx = null) { class WrkCoreStub extends WrkApi { diff --git a/worker.js b/worker.js index 1286b658..00985fd1 100644 --- a/worker.js +++ b/worker.js @@ -1,3 +1,3 @@ 'use strict' -module.exports = require('bfx-svc-boot-js') +module.exports = require('@bitfinex/bfx-svc-boot-js') diff --git a/workers/api.service.report.wrk.js b/workers/api.service.report.wrk.js index 01a2b573..d71bb828 100644 --- a/workers/api.service.report.wrk.js +++ b/workers/api.service.report.wrk.js @@ -1,6 +1,6 @@ 'use strict' -const { WrkApi } = require('bfx-wrk-api') +const { WrkApi } = require('@bitfinex/bfx-wrk-api') const async = require('async') const path = require('path') const argv = require('yargs') @@ -155,28 +155,28 @@ class WrkReportServiceApi extends WrkApi { const facs = [ [ 'fac', - 'bfx-facs-lokue', + '@bitfinex/bfx-facs-lokue', 'processor', 'processor', { ...opts } ], [ 'fac', - 'bfx-facs-lokue', + '@bitfinex/bfx-facs-lokue', 'aggregator', 'aggregator', { ...opts } ], [ 'fac', - 'bfx-facs-deflate', + '@bitfinex/bfx-facs-deflate', 'gzip', 'gzip', { level: 9 } ], [ 'fac', - 'bfx-facs-grc-slack', + '@bitfinex/bfx-facs-grc-slack', 's0', 's0', {} diff --git a/workers/loc.api/generate-report-file/helpers/omit-extra-param-fields-for-report-export.js b/workers/loc.api/generate-report-file/helpers/omit-extra-param-fields-for-report-export.js index a33be354..9a40f67a 100644 --- a/workers/loc.api/generate-report-file/helpers/omit-extra-param-fields-for-report-export.js +++ b/workers/loc.api/generate-report-file/helpers/omit-extra-param-fields-for-report-export.js @@ -1,6 +1,6 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') module.exports = (params) => { return omit(params ?? {}, [ diff --git a/workers/loc.api/generate-report-file/report.file.job.data.js b/workers/loc.api/generate-report-file/report.file.job.data.js index 5160850a..9e719135 100644 --- a/workers/loc.api/generate-report-file/report.file.job.data.js +++ b/workers/loc.api/generate-report-file/report.file.job.data.js @@ -1,6 +1,6 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const { decorateInjectable } = require('../di/utils') diff --git a/workers/loc.api/helpers/get-data-from-api/index.js b/workers/loc.api/helpers/get-data-from-api/index.js index d75a2539..7e04fd5a 100644 --- a/workers/loc.api/helpers/get-data-from-api/index.js +++ b/workers/loc.api/helpers/get-data-from-api/index.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const AbstractWSEventEmitter = require('../../abstract.ws.event.emitter') const { diff --git a/workers/loc.api/helpers/prepare-response/helpers/get-params.js b/workers/loc.api/helpers/prepare-response/helpers/get-params.js index 9965cec8..b21a22e3 100644 --- a/workers/loc.api/helpers/prepare-response/helpers/get-params.js +++ b/workers/loc.api/helpers/prepare-response/helpers/get-params.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const { getDateNotMoreNow, diff --git a/workers/loc.api/helpers/prepare-response/helpers/get-symbol-params.js b/workers/loc.api/helpers/prepare-response/helpers/get-symbol-params.js index fcb645be..4ca0d785 100644 --- a/workers/loc.api/helpers/prepare-response/helpers/get-symbol-params.js +++ b/workers/loc.api/helpers/prepare-response/helpers/get-symbol-params.js @@ -1,6 +1,6 @@ 'use strict' -const { isEmpty } = require('lib-js-util-base') +const { isEmpty } = require('@bitfinex/lib-js-util-base') const { LedgerPaymentFilteringParamsError diff --git a/workers/loc.api/helpers/prepare-response/helpers/omit-private-model-fields.js b/workers/loc.api/helpers/prepare-response/helpers/omit-private-model-fields.js index 38c0b9df..8527cb15 100644 --- a/workers/loc.api/helpers/prepare-response/helpers/omit-private-model-fields.js +++ b/workers/loc.api/helpers/prepare-response/helpers/omit-private-model-fields.js @@ -1,6 +1,6 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const OMITTING_FIELDS = [ '_events', diff --git a/workers/loc.api/i18next/fs.multilocation.backend.js b/workers/loc.api/i18next/fs.multilocation.backend.js index ae324f1a..93417a10 100644 --- a/workers/loc.api/i18next/fs.multilocation.backend.js +++ b/workers/loc.api/i18next/fs.multilocation.backend.js @@ -1,7 +1,7 @@ 'use strict' const Backend = require('i18next-fs-backend') -const { merge, min } = require('lib-js-util-base') +const { merge, min } = require('@bitfinex/lib-js-util-base') /** * Extend the main fs Backend to provide the ability diff --git a/workers/loc.api/i18next/index.js b/workers/loc.api/i18next/index.js index 646c4565..82f7de12 100644 --- a/workers/loc.api/i18next/index.js +++ b/workers/loc.api/i18next/index.js @@ -1,7 +1,7 @@ 'use strict' const i18next = require('i18next') -const { merge } = require('lib-js-util-base') +const { merge } = require('@bitfinex/lib-js-util-base') const path = require('path') const fs = require('fs') diff --git a/workers/loc.api/queue/helpers/get-complete-file-name.js b/workers/loc.api/queue/helpers/get-complete-file-name.js index a28e2fdd..74da9cf2 100644 --- a/workers/loc.api/queue/helpers/get-complete-file-name.js +++ b/workers/loc.api/queue/helpers/get-complete-file-name.js @@ -1,7 +1,7 @@ 'use strict' const { v4: uuidv4 } = require('uuid') -const { capitalize } = require('lib-js-util-base') +const { capitalize } = require('@bitfinex/lib-js-util-base') const getReportFileExtName = require('./get-report-file-ext-name') diff --git a/workers/loc.api/queue/processor.js b/workers/loc.api/queue/processor.js index 28f74268..ba9f7a5d 100644 --- a/workers/loc.api/queue/processor.js +++ b/workers/loc.api/queue/processor.js @@ -3,7 +3,7 @@ const { omit, cloneDeep -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const { createWriteStream } = require('node:fs') const { unlink } = require('node:fs/promises') const { stringify } = require('csv') diff --git a/workers/loc.api/queue/write-data-to-stream/data-normalizer.js b/workers/loc.api/queue/write-data-to-stream/data-normalizer.js index 3c5eb16d..43279742 100644 --- a/workers/loc.api/queue/write-data-to-stream/data-normalizer.js +++ b/workers/loc.api/queue/write-data-to-stream/data-normalizer.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const { splitSymbolPairs } = require('../../helpers') diff --git a/workers/loc.api/queue/write-data-to-stream/helpers.js b/workers/loc.api/queue/write-data-to-stream/helpers.js index 8853ba21..bb421a3b 100644 --- a/workers/loc.api/queue/write-data-to-stream/helpers.js +++ b/workers/loc.api/queue/write-data-to-stream/helpers.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const moment = require('moment-timezone') const dataNormalizer = require('./data-normalizer') diff --git a/workers/loc.api/queue/write-data-to-stream/index.js b/workers/loc.api/queue/write-data-to-stream/index.js index 1ffb8db7..864f97a8 100644 --- a/workers/loc.api/queue/write-data-to-stream/index.js +++ b/workers/loc.api/queue/write-data-to-stream/index.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const { omitExtraParamFieldsForReportExport diff --git a/workers/loc.api/responder/index.js b/workers/loc.api/responder/index.js index 6ec75658..fee53c93 100644 --- a/workers/loc.api/responder/index.js +++ b/workers/loc.api/responder/index.js @@ -1,6 +1,6 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const AbstractWSEventEmitter = require('../abstract.ws.event.emitter') diff --git a/workers/loc.api/service.report.js b/workers/loc.api/service.report.js index be5fb906..dd9ba311 100644 --- a/workers/loc.api/service.report.js +++ b/workers/loc.api/service.report.js @@ -1,6 +1,6 @@ 'use strict' -const { Api } = require('bfx-wrk-api') +const { Api } = require('@bitfinex/bfx-wrk-api') const { parseFields,