diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3eeba536..ef5e11737 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/bfx-report-ui b/bfx-report-ui index c20e02d72..16f44e0a3 160000 --- a/bfx-report-ui +++ b/bfx-report-ui @@ -1 +1 @@ -Subproject commit c20e02d72ec12b7fc1aa4e4c8142e076cb3e1875 +Subproject commit 16f44e0a39e9cbfd9575a39e98ab5dd8b7dee199 diff --git a/package-lock.json b/package-lock.json index f862543c8..831f78746 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,24 @@ { - "name": "bfx-reports-framework", - "version": "4.26.1", + "name": "@bitfinex/bfx-reports-framework", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "bfx-reports-framework", - "version": "4.26.1", + "name": "@bitfinex/bfx-reports-framework", + "version": "5.0.0", "license": "Apache-2.0", "dependencies": { - "better-npm-run": "0.1.1", - "bfx-facs-db-better-sqlite": "git+https://github.com/bitfinexcom/bfx-facs-db-better-sqlite.git", - "bfx-facs-scheduler": "git+https://github.com:bitfinexcom/bfx-facs-scheduler.git", - "bfx-report": "git+https://github.com/bitfinexcom/bfx-report.git", - "bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git", + "@bitfinex/bfx-facs-db-better-sqlite": "git+https://github.com/bitfinexcom/bfx-facs-db-better-sqlite.git", + "@bitfinex/bfx-facs-scheduler": "git+https://github.com/bitfinexcom/bfx-facs-scheduler.git", + "@bitfinex/bfx-report": "git+https://github.com/bitfinexcom/bfx-report.git", + "@bitfinex/bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git", + "@bitfinex/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", "bignumber.js": "9.1.2", "csv": "5.5.3", - "grenache-nodejs-ws": "git+https://github.com:bitfinexcom/grenache-nodejs-ws.git", + "grenache-nodejs-ws": "git+https://github.com/bitfinexcom/grenache-nodejs-ws.git", "inversify": "6.0.1", - "lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", - "lodash": "4.17.21", + "lodash": "4.17.23", "mathjs": "14.8.1", "moment": "2.29.4", "puppeteer": "24.1.0", @@ -27,14 +26,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/code-frame": { @@ -51,27 +55,30 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz", - "integrity": "sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==", + "version": "7.29.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz", + "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.27.0" + "@babel/types": "^7.29.0" }, "bin": { "parser": "bin/babel-parser.js" @@ -92,17 +99,29 @@ } }, "node_modules/@babel/types": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.0.tgz", - "integrity": "sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==", + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz", + "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==", + "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" }, "engines": { "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", @@ -115,6 +134,250 @@ "node": ">=16.0" } }, + "node_modules/@bitfinex/bfx-facs-db-better-sqlite": { + "version": "2.1.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-db-better-sqlite.git#197e840d581d340c986d4c0c83c53e65094b8367", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", + "async": "3.2.4", + "better-sqlite3": "12.6.2" + }, + "engines": { + "node": ">=20.18.1" + } + }, + "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.2.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-grc.git#122541d6b6375232a26fa2bc5b64c0e226fe0fb1", + "license": "Apache-2.0", + "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#v2.0.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-facs-scheduler": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-scheduler.git#b7b3f86bc4be45599d7870d6f75a04fecd3f3e02", + "license": "Apache-2.0", + "dependencies": { + "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", + "lodash": "^4.17.21", + "node-schedule": "2.0.0" + }, + "engines": { + "node": ">=16.0" + } + }, + "node_modules/@bitfinex/bfx-report": { + "version": "5.0.0", + "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-report.git#bb4136cb86efe423ad23626bd507fcfc023b7320", + "license": "Apache-2.0", + "dependencies": { + "@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", + "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", + "lru": "3.1.0", + "moment": "2.29.4", + "moment-timezone": "0.5.39", + "pug": "3.0.3", + "reflect-metadata": "0.1.13", + "triple-beam": "1.3.0", + "uuid": "9.0.0", + "winston": "3.18.3", + "winston-transport": "4.9.0", + "yargs": "17.2.1" + }, + "engines": { + "node": ">=20.18.1" + } + }, + "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.2", + "resolved": "git+ssh://git@github.com/bitfinexcom/lib-js-util-base.git#e915c19224d8e334b3260ae3e979a50865722446", + "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", @@ -139,6 +402,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", @@ -190,10 +460,11 @@ } }, "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": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -454,9 +725,9 @@ } }, "node_modules/@puppeteer/browsers/node_modules/tar-fs": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.9.tgz", - "integrity": "sha512-XF4w9Xp+ZQgifKakjZYmFdkLoSWd34VGKcsTCwlNWM7QG3ZbaxnTsaBwnjFZqHRf/rROxaR8rXnbtwdvaDI+lA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.2.tgz", + "integrity": "sha512-QGxxTxxyleAdyM3kpFs14ymbYmNFrfY+pHj7Z8FgtbZ7w2//VAgLMac7sT6nRpIHjppXO2AwwEOg0bPFVRcmXw==", "license": "MIT", "dependencies": { "pump": "^3.0.0", @@ -586,7 +857,8 @@ "node_modules/after-all-results": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/after-all-results/-/after-all-results-2.0.0.tgz", - "integrity": "sha512-2zHEyuhSJOuCrmas9YV0YL/MFCWLxe1dS6k/ENhgYrb/JqyMnadLN4iIAc9kkZrbElMDyyAGH/0J18OPErOWLg==" + "integrity": "sha512-2zHEyuhSJOuCrmas9YV0YL/MFCWLxe1dS6k/ENhgYrb/JqyMnadLN4iIAc9kkZrbElMDyyAGH/0J18OPErOWLg==", + "license": "MIT" }, "node_modules/agent-base": { "version": "7.1.3", @@ -597,9 +869,9 @@ } }, "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", @@ -677,6 +949,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/archiver/-/archiver-3.1.1.tgz", "integrity": "sha512-5Hxxcig7gw5Jod/8Gq0OneVgLYET+oNHcxgWItq4TbhOzRLKNAFUb9edAftiMKXvXfCB0vbGrJdZDNq0dWMsxg==", + "license": "MIT", "dependencies": { "archiver-utils": "^2.1.0", "async": "^2.6.3", @@ -694,6 +967,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", + "license": "MIT", "dependencies": { "glob": "^7.1.4", "graceful-fs": "^4.2.0", @@ -713,12 +987,14 @@ "node_modules/archiver-utils/node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/archiver-utils/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -732,12 +1008,14 @@ "node_modules/archiver-utils/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" }, "node_modules/archiver-utils/node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } @@ -746,6 +1024,7 @@ "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" } @@ -919,7 +1198,8 @@ "node_modules/assert-never": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/assert-never/-/assert-never-1.4.0.tgz", - "integrity": "sha512-5oJg84os6NMQNl27T9LnZkvvqzvAnHu03ShCnoj6bsJwS7L8AO4lf+C/XjK/nvzEqQB744moC6V128RucQd1jA==" + "integrity": "sha512-5oJg84os6NMQNl27T9LnZkvvqzvAnHu03ShCnoj6bsJwS7L8AO4lf+C/XjK/nvzEqQB744moC6V128RucQd1jA==", + "license": "MIT" }, "node_modules/assertion-error": { "version": "1.1.0", @@ -950,6 +1230,7 @@ "resolved": "https://registry.npmjs.org/async-cache/-/async-cache-1.1.0.tgz", "integrity": "sha512-YDQc4vBn5NFhY6g6HhVshyi3Fy9+SQ5ePnE7JLDJn1DoL+i7ER+vMwtTNOYk9leZkYMnOwpBCWqyLDPw8Aig8g==", "deprecated": "No longer maintained. Use [lru-cache](http://npm.im/lru-cache) version 7.6 or higher, and provide an asynchronous `fetchMethod` option.", + "license": "ISC", "dependencies": { "lru-cache": "^4.0.0" } @@ -958,6 +1239,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "license": "ISC", "dependencies": { "pseudomap": "^1.0.2", "yallist": "^2.1.2" @@ -1002,6 +1284,7 @@ "version": "3.0.0-canary-5", "resolved": "https://registry.npmjs.org/babel-walk/-/babel-walk-3.0.0-canary-5.tgz", "integrity": "sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.9.6" }, @@ -1121,9 +1404,10 @@ "license": "MIT" }, "node_modules/basic-ftp": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", - "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.2.0.tgz", + "integrity": "sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==", + "license": "MIT", "engines": { "node": ">=10.0.0" } @@ -1138,6 +1422,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, "dependencies": { "commander": "^2.9.0", "dotenv": "^2.0.0", @@ -1199,6 +1484,7 @@ "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -1214,12 +1500,14 @@ "node_modules/bfx-api-node-models/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" }, "node_modules/bfx-api-node-rest": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/bfx-api-node-rest/-/bfx-api-node-rest-6.0.0.tgz", "integrity": "sha512-LaS5HuJ8hESIAtsfT4XhJlpCParc2wTduA6/U71Ysee+jO4PU91j3EGbqAyFLUJ6tTjwy24GIjqwByb4qZYZ5Q==", + "license": "MIT", "dependencies": { "bfx-api-node-models": "^2.0.0", "bfx-api-node-util": "^1.0.10", @@ -1236,6 +1524,7 @@ "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -1251,12 +1540,14 @@ "node_modules/bfx-api-node-rest/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" }, "node_modules/bfx-api-node-util": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/bfx-api-node-util/-/bfx-api-node-util-1.0.12.tgz", "integrity": "sha512-2s8F8IyHHJeFo1zddhNgfi71ekNnjxHNlIsPOGzhfZrCxHeg6y6hCQ/Z9qFg2OnnEtdH+dMRaT62OSpvZ22FIw==", + "license": "MIT", "dependencies": { "bignumber.js": "9.1.2" }, @@ -1268,6 +1559,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/bfx-api-node-ws1/-/bfx-api-node-ws1-1.0.4.tgz", "integrity": "sha512-5xjZcZViNFcfq+j98NloclzzNyC+lxPXLcRHZwTmVndccwycTarEHRsJ4nAhxJL2CrAo9vR+qb1YQCUdB65TIg==", + "license": "MIT", "dependencies": { "bfx-api-node-util": "^1.0.10", "bluebird": "3.5.5", @@ -1282,13 +1574,15 @@ "node_modules/bfx-api-node-ws1/node_modules/bluebird": { "version": "3.5.5", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz", - "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==" + "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==", + "license": "MIT" }, "node_modules/bfx-api-node-ws1/node_modules/debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)", + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -1296,127 +1590,19 @@ "node_modules/bfx-api-node-ws1/node_modules/safe-buffer": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz", - "integrity": "sha512-cr7dZWLwOeaFBLTIuZeYdkfO7UzGIKhjYENJFAxUOMKWGaWDm2nJM2rzxNRm5Owu0DH3ApwNo6kx5idXZfb/Iw==" + "integrity": "sha512-cr7dZWLwOeaFBLTIuZeYdkfO7UzGIKhjYENJFAxUOMKWGaWDm2nJM2rzxNRm5Owu0DH3ApwNo6kx5idXZfb/Iw==", + "license": "MIT" }, "node_modules/bfx-api-node-ws1/node_modules/ws": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ws/-/ws-3.0.0.tgz", "integrity": "sha512-sjCOvLIEgRVT+inhGpm/f/YeusxCEg5BENrIj31YcOR+GTLcqIJ029uTmLVFNDJBCBvCxhkWFZrR6iMppq/s2A==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.0.1", "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-db-better-sqlite": { - "name": "@bitfinex/bfx-facs-db-better-sqlite", - "version": "2.1.0", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-db-better-sqlite.git#197e840d581d340c986d4c0c83c53e65094b8367", - "license": "Apache-2.0", - "dependencies": { - "@bitfinex/bfx-facs-base": "git+https://github.com/bitfinexcom/bfx-facs-base.git", - "async": "3.2.4", - "better-sqlite3": "12.6.2" - }, - "engines": { - "node": ">=20.18.1" - } - }, - "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==", - "dependencies": { - "lodash": "^4.17.14" - } - }, - "node_modules/bfx-facs-scheduler": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-facs-scheduler.git#679a503d034fb16c96f5588dcceeaba966145d63", - "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-schedule": "2.0.0" - } - }, "node_modules/bfx-hf-util": { "version": "1.0.12", "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-hf-util.git#82ce185e336d14c84037494e62e6c5d84434cdad", @@ -1428,140 +1614,6 @@ "stackman": "^4.0.0" } }, - "node_modules/bfx-report": { - "version": "4.14.0", - "resolved": "git+ssh://git@github.com/bitfinexcom/bfx-report.git#996d4dccaa3d1069b5396cb8258f04611f0c28c1", - "license": "Apache-2.0", - "dependencies": { - "ajv": "8.17.1", - "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", - "pug": "3.0.3", - "reflect-metadata": "0.1.13", - "triple-beam": "1.3.0", - "uuid": "9.0.0", - "winston": "3.18.3", - "winston-transport": "4.9.0", - "yargs": "17.2.1" - } - }, - "node_modules/bfx-report-express": { - "name": "@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/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/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/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.1.2", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", @@ -1595,6 +1647,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/bitfinex-api-node/-/bitfinex-api-node-7.0.0.tgz", "integrity": "sha512-mK1WL2y+DxUGum41YM/h1LVVYSUBsxAiw21KgJG06+zbn5GIfvMHaVlOwecpGexLOoZUhtfddyFnwgzd5Qn2bQ==", + "license": "MIT", "dependencies": { "bfx-api-node-models": "^2.0.0", "bfx-api-node-rest": "^6.0.0", @@ -1617,6 +1670,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==", + "license": "MIT", "engines": { "node": "*" } @@ -1625,6 +1679,7 @@ "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -1640,7 +1695,8 @@ "node_modules/bitfinex-api-node/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" }, "node_modules/bittorrent-dht": { "version": "10.0.0", @@ -1690,26 +1746,28 @@ "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "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", @@ -1725,16 +1783,64 @@ "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", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, + "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", "concat-map": "0.0.1" @@ -1924,6 +2030,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz", "integrity": "sha512-+UqJQjFEFaTAs3bNsF2j2kEN1baG/zghZbdqoYEDxGZtJo9LBzl1A+m0D4n3qKx8N2FNv8/Xp6yV9mQmBuptaw==", + "license": "MIT", "dependencies": { "is-regex": "^1.0.3" } @@ -2144,7 +2251,8 @@ "node_modules/commander": { "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==" + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true }, "node_modules/complex.js": { "version": "2.4.2", @@ -2172,6 +2280,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-2.1.1.tgz", "integrity": "sha512-eVw6n7CnEMFzc3duyFVrQEuY1BlHR3rYsSztyG32ibGMW722i3C6IizEGMFmfMU+A+fALvBIwxN3czffTcdA+Q==", + "license": "MIT", "dependencies": { "buffer-crc32": "^0.2.13", "crc32-stream": "^3.0.1", @@ -2185,12 +2294,14 @@ "node_modules/compress-commons/node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/compress-commons/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -2204,12 +2315,14 @@ "node_modules/compress-commons/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" }, "node_modules/compress-commons/node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } @@ -2219,6 +2332,65 @@ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, + "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": "4.4.1", "resolved": "https://registry.npmjs.org/config/-/config-4.4.1.tgz", @@ -2236,6 +2408,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-4.0.1.tgz", "integrity": "sha512-vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZIw==", + "license": "MIT", "dependencies": { "@babel/parser": "^7.6.0", "@babel/types": "^7.6.1" @@ -2284,9 +2457,10 @@ "dev": true }, "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.6", @@ -2335,6 +2509,7 @@ "version": "3.8.0", "resolved": "https://registry.npmjs.org/crc/-/crc-3.8.0.tgz", "integrity": "sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ==", + "license": "MIT", "dependencies": { "buffer": "^5.1.0" } @@ -2343,6 +2518,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.0.tgz", "integrity": "sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==", + "license": "Apache-2.0", "dependencies": { "exit-on-epipe": "~1.0.1", "printj": "~1.1.0" @@ -2358,6 +2534,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-3.0.1.tgz", "integrity": "sha512-mctvpXlbzsvK+6z8kJwSJ5crm7yBwrQMTybJzMw1O4lLGJqjlDCXY2Zw7KheiA6XBEcBmfLx1D88mjRGVJtY9w==", + "license": "MIT", "dependencies": { "crc": "^3.4.4", "readable-stream": "^3.4.0" @@ -2378,6 +2555,24 @@ "node": ">=0.8" } }, + "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", @@ -2654,10 +2849,11 @@ } }, "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": { "node": ">=0.3.1" } @@ -2666,6 +2862,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/dirty-chai/-/dirty-chai-2.0.1.tgz", "integrity": "sha512-ys79pWKvDMowIDEPC6Fig8d5THiC0DJ2gmTeGzVAoEH18J8OzLud0Jh7I9IWg3NSk8x2UocznUuFmfHCXYZx9w==", + "license": "MIT", "peerDependencies": { "chai": ">=2.2.1 <5" } @@ -2685,12 +2882,14 @@ "node_modules/doctypes": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/doctypes/-/doctypes-1.1.0.tgz", - "integrity": "sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==" + "integrity": "sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==", + "license": "MIT" }, "node_modules/dotenv": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-2.0.0.tgz", - "integrity": "sha512-Y+zZAmv7p2zOdpyZcSIA+aIxohsyfTcNaMeh3YJn9exq85bQhso65Wz9IhjYYNB4zyvXnfi7Ae+FuygARljVJw==" + "integrity": "sha512-Y+zZAmv7p2zOdpyZcSIA+aIxohsyfTcNaMeh3YJn9exq85bQhso65Wz9IhjYYNB4zyvXnfi7Ae+FuygARljVJw==", + "dev": true }, "node_modules/dunder-proto": { "version": "1.0.1", @@ -2767,6 +2966,7 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/error-callsites/-/error-callsites-2.0.4.tgz", "integrity": "sha512-V877Ch4FC4FN178fDK1fsrHN4I1YQIBdtjKrHh3BUHMnh3SMvwUVrqkaOgDpUuevgSNna0RBq6Ox9SGlxYrigA==", + "license": "MIT", "engines": { "node": ">=6.x" } @@ -3418,10 +3618,11 @@ } }, "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": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -3545,6 +3746,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==", + "license": "Apache-2.0", "engines": { "node": ">=0.8" } @@ -3620,22 +3822,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/express/node_modules/qs": { - "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.1.0" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/extract-zip": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", @@ -3684,9 +3870,9 @@ "dev": true }, "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", "funding": [ { "type": "github", @@ -3824,10 +4010,11 @@ } }, "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==", - "dev": true + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" }, "node_modules/fn.name": { "version": "1.1.0", @@ -3865,6 +4052,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", @@ -4516,6 +4720,7 @@ "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" } ], + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.2" } @@ -4523,7 +4728,8 @@ "node_modules/i18next-fs-backend": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/i18next-fs-backend/-/i18next-fs-backend-2.3.2.tgz", - "integrity": "sha512-LIwUlkqDZnUI8lnUxBnEj8K/FrHQTT/Sc+1rvDm9E8YvvY5YxzoEAASNx+W5M9DfD5s77lI5vSAFWeTp26B/3Q==" + "integrity": "sha512-LIwUlkqDZnUI8lnUxBnEj8K/FrHQTT/Sc+1rvDm9E8YvvY5YxzoEAASNx+W5M9DfD5s77lI5vSAFWeTp26B/3Q==", + "license": "MIT" }, "node_modules/iconv-lite": { "version": "0.4.24", @@ -4599,6 +4805,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", + "license": "ISC", "bin": { "in-install": "in-install.js", "in-publish": "in-publish.js", @@ -4814,6 +5021,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-expression/-/is-expression-4.0.0.tgz", "integrity": "sha512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A==", + "license": "MIT", "dependencies": { "acorn": "^7.1.1", "object-assign": "^4.1.1" @@ -4954,7 +5162,8 @@ "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", + "license": "MIT" }, "node_modules/is-regex": { "version": "1.2.1", @@ -5167,7 +5376,8 @@ "node_modules/js-stringify": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/js-stringify/-/js-stringify-1.0.2.tgz", - "integrity": "sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==" + "integrity": "sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==", + "license": "MIT" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -5175,9 +5385,10 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "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==", + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -5236,6 +5447,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz", "integrity": "sha512-C9YK3Rf8q6VAPDCCU9fnqo3mAfOH6vUGnMcP4AQAYIEpWtfGLpwOTmZ+igtdK5y+VvI2n3CyYSzy4Qh34eq24A==", + "license": "MIT", "dependencies": { "is-promise": "^2.0.0", "promise": "^7.0.1" @@ -5316,6 +5528,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", + "license": "MIT", "dependencies": { "readable-stream": "^2.0.5" }, @@ -5326,12 +5539,14 @@ "node_modules/lazystream/node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/lazystream/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -5345,12 +5560,14 @@ "node_modules/lazystream/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" }, "node_modules/lazystream/node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } @@ -5368,12 +5585,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/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", @@ -5421,6 +5632,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/load-source-map/-/load-source-map-1.0.0.tgz", "integrity": "sha512-U69swlFKzCLHTWBBrN+Skou49GPVn9sg8JkngBFh1A/WzjOPaJ2lgtWSGh+457Qsg+r/gmHHFBwsSJQA7nI6sQ==", + "license": "MIT", "dependencies": { "in-publish": "^2.0.0", "semver": "^5.3.0", @@ -5431,6 +5643,7 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "license": "ISC", "bin": { "semver": "bin/semver" } @@ -5439,6 +5652,7 @@ "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -5459,29 +5673,34 @@ } }, "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": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" }, "node_modules/lodash.difference": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", - "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" + "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==", + "license": "MIT" }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", @@ -5492,12 +5711,14 @@ "node_modules/lodash.throttle": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", - "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==", + "license": "MIT" }, "node_modules/lodash.union": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", - "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" + "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==", + "license": "MIT" }, "node_modules/log-symbols": { "version": "4.1.0", @@ -5534,12 +5755,14 @@ "node_modules/lokijs": { "version": "1.5.12", "resolved": "https://registry.npmjs.org/lokijs/-/lokijs-1.5.12.tgz", - "integrity": "sha512-Q5ALD6JiS6xAUWCwX3taQmgwxyveCtIIuL08+ml0nHwT3k0S/GIFJN+Hd38b1qYIMaE5X++iqsqWVksz7SYW+Q==" + "integrity": "sha512-Q5ALD6JiS6xAUWCwX3taQmgwxyveCtIIuL08+ml0nHwT3k0S/GIFJN+Hd38b1qYIMaE5X++iqsqWVksz7SYW+Q==", + "license": "MIT" }, "node_modules/lokue": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/lokue/-/lokue-0.0.9.tgz", "integrity": "sha512-kVVNDiRN5i2ej638eArAOO8zQgYshSbTEo51xnt4bn18nALq4fEdmuH8IjgLGoqUAeLPMKDpJlOQSz9b3jOuOg==", + "license": "MIT", "dependencies": { "async": "^2.6.1", "lodash": "^4.17.10", @@ -5551,6 +5774,7 @@ "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" } @@ -5560,6 +5784,7 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "license": "MIT", "bin": { "uuid": "bin/uuid" } @@ -5584,7 +5809,8 @@ "node_modules/lossless-json": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/lossless-json/-/lossless-json-1.0.3.tgz", - "integrity": "sha512-r4w0WrhIHV1lOTVGbTg4Toqwso5x6C8pM7Q/Nto2vy4c7yUSdTYVYlj16uHVX3MT1StpSELDv8yrqGx41MBsDA==" + "integrity": "sha512-r4w0WrhIHV1lOTVGbTg4Toqwso5x6C8pM7Q/Nto2vy4c7yUSdTYVYlj16uHVX3MT1StpSELDv8yrqGx41MBsDA==", + "license": "MIT" }, "node_modules/lru": { "version": "3.1.0", @@ -5717,9 +5943,10 @@ } }, "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" }, @@ -5799,10 +6026,11 @@ } }, "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": { "balanced-match": "^1.0.0" } @@ -5822,10 +6050,12 @@ } }, "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": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -5842,12 +6072,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" @@ -5857,10 +6088,11 @@ } }, "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": { "brace-expansion": "^2.0.1" }, @@ -5898,6 +6130,7 @@ "version": "0.5.39", "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.39.tgz", "integrity": "sha512-hoB6suq4ISDj7BDgctiOy6zljBsdYT0++0ZzZm9rtxIvJhIbQ3nmbgSWe7dNFGurl6/7b1OUkHlmN9JWgXVz7w==", + "license": "MIT", "dependencies": { "moment": ">= 2.9.0" }, @@ -6031,15 +6264,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", @@ -6058,6 +6292,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.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "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", @@ -6067,6 +6324,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", @@ -6462,10 +6735,11 @@ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -6605,6 +6879,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz", "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==", + "license": "Apache-2.0", "bin": { "printj": "bin/printj.njs" }, @@ -6615,7 +6890,8 @@ "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "license": "MIT" }, "node_modules/progress": { "version": "2.0.3", @@ -6629,6 +6905,7 @@ "version": "7.3.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "license": "MIT", "dependencies": { "asap": "~2.0.3" } @@ -6636,7 +6913,8 @@ "node_modules/promise-throttle": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-throttle/-/promise-throttle-1.0.1.tgz", - "integrity": "sha512-pdiK8b2RU2e93U0rBK7YyO18x74OQPsg3sFmyCGGNYNbfnyUwWiU5g6mFgWtOW8KsPnCYVHIOzm1iRwv0YWXrw==" + "integrity": "sha512-pdiK8b2RU2e93U0rBK7YyO18x74OQPsg3sFmyCGGNYNbfnyUwWiU5g6mFgWtOW8KsPnCYVHIOzm1iRwv0YWXrw==", + "license": "MIT" }, "node_modules/prop-types": { "version": "15.8.1", @@ -6688,7 +6966,8 @@ "node_modules/pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" + "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", + "license": "ISC" }, "node_modules/pstree.remy": { "version": "1.1.8", @@ -6700,6 +6979,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/pug/-/pug-3.0.3.tgz", "integrity": "sha512-uBi6kmc9f3SZ3PXxqcHiUZLmIXgfgWooKWXcwSGwQd2Zi5Rb0bT14+8CJjJgI8AB+nndLaNgHGrcc6bPIB665g==", + "license": "MIT", "dependencies": { "pug-code-gen": "^3.0.3", "pug-filters": "^4.0.0", @@ -6715,6 +6995,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-3.0.0.tgz", "integrity": "sha512-azINV9dUtzPMFQktvTXciNAfAuVh/L/JCl0vtPCwvOA21uZrC08K/UnmrL+SXGEVc1FwzjW62+xw5S/uaLj6cA==", + "license": "MIT", "dependencies": { "constantinople": "^4.0.1", "js-stringify": "^1.0.2", @@ -6722,9 +7003,10 @@ } }, "node_modules/pug-code-gen": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-3.0.3.tgz", - "integrity": "sha512-cYQg0JW0w32Ux+XTeZnBEeuWrAY7/HNE6TWnhiHGnnRYlCgyAUPoyh9KzCMa9WhcJlJ1AtQqpEYHc+vbCzA+Aw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-3.0.4.tgz", + "integrity": "sha512-6okWYIKdasTyXICyEtvobmTZAVX57JkzgzIi4iRJlin8kmhG+Xry2dsus+Mun/nGCn6F2U49haHI5mkELXB14g==", + "license": "MIT", "dependencies": { "constantinople": "^4.0.1", "doctypes": "^1.1.0", @@ -6739,12 +7021,14 @@ "node_modules/pug-error": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pug-error/-/pug-error-2.1.0.tgz", - "integrity": "sha512-lv7sU9e5Jk8IeUheHata6/UThZ7RK2jnaaNztxfPYUY+VxZyk/ePVaNZ/vwmH8WqGvDz3LrNYt/+gA55NDg6Pg==" + "integrity": "sha512-lv7sU9e5Jk8IeUheHata6/UThZ7RK2jnaaNztxfPYUY+VxZyk/ePVaNZ/vwmH8WqGvDz3LrNYt/+gA55NDg6Pg==", + "license": "MIT" }, "node_modules/pug-filters": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/pug-filters/-/pug-filters-4.0.0.tgz", "integrity": "sha512-yeNFtq5Yxmfz0f9z2rMXGw/8/4i1cCFecw/Q7+D0V2DdtII5UvqE12VaZ2AY7ri6o5RNXiweGH79OCq+2RQU4A==", + "license": "MIT", "dependencies": { "constantinople": "^4.0.1", "jstransformer": "1.0.0", @@ -6757,6 +7041,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-5.0.1.tgz", "integrity": "sha512-0I6C62+keXlZPZkOJeVam9aBLVP2EnbeDw3An+k0/QlqdwH6rv8284nko14Na7c0TtqtogfWXcRoFE4O4Ff20w==", + "license": "MIT", "dependencies": { "character-parser": "^2.2.0", "is-expression": "^4.0.0", @@ -6767,6 +7052,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/pug-linker/-/pug-linker-4.0.0.tgz", "integrity": "sha512-gjD1yzp0yxbQqnzBAdlhbgoJL5qIFJw78juN1NpTLt/mfPJ5VgC4BvkoD3G23qKzJtIIXBbcCt6FioLSFLOHdw==", + "license": "MIT", "dependencies": { "pug-error": "^2.0.0", "pug-walk": "^2.0.0" @@ -6776,6 +7062,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/pug-load/-/pug-load-3.0.0.tgz", "integrity": "sha512-OCjTEnhLWZBvS4zni/WUMjH2YSUosnsmjGBB1An7CsKQarYSWQ0GCVyd4eQPMFJqZ8w9xgs01QdiZXKVjk92EQ==", + "license": "MIT", "dependencies": { "object-assign": "^4.1.1", "pug-walk": "^2.0.0" @@ -6785,6 +7072,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/pug-parser/-/pug-parser-6.0.0.tgz", "integrity": "sha512-ukiYM/9cH6Cml+AOl5kETtM9NR3WulyVP2y4HOU45DyMim1IeP/OOiyEWRr6qk5I5klpsBnbuHpwKmTx6WURnw==", + "license": "MIT", "dependencies": { "pug-error": "^2.0.0", "token-stream": "1.0.0" @@ -6793,12 +7081,14 @@ "node_modules/pug-runtime": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-3.0.1.tgz", - "integrity": "sha512-L50zbvrQ35TkpHwv0G6aLSuueDRwc/97XdY8kL3tOT0FmhgG7UypU3VztfV/LATAvmUfYi4wNxSajhSAeNN+Kg==" + "integrity": "sha512-L50zbvrQ35TkpHwv0G6aLSuueDRwc/97XdY8kL3tOT0FmhgG7UypU3VztfV/LATAvmUfYi4wNxSajhSAeNN+Kg==", + "license": "MIT" }, "node_modules/pug-strip-comments": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-2.0.0.tgz", "integrity": "sha512-zo8DsDpH7eTkPHCXFeAk1xZXJbyoTfdPlNR0bK7rpOMuhBYb0f5qUVCO1xlsitYd3w5FQTK7zpNVKb3rZoUrrQ==", + "license": "MIT", "dependencies": { "pug-error": "^2.0.0" } @@ -6806,7 +7096,8 @@ "node_modules/pug-walk": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-2.0.0.tgz", - "integrity": "sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==" + "integrity": "sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==", + "license": "MIT" }, "node_modules/pump": { "version": "3.0.2", @@ -6903,12 +7194,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" @@ -7038,7 +7330,8 @@ "node_modules/reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" + "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", + "license": "Apache-2.0" }, "node_modules/reflect.getprototypeof": { "version": "1.0.10", @@ -7220,6 +7513,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", @@ -7466,6 +7769,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", @@ -7684,6 +8000,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/stackman/-/stackman-4.0.1.tgz", "integrity": "sha512-lntIge3BFEElgvpZT2ld5f4U+mF84fRtJ8vA3ymUVx1euVx43ZMkd09+5RWW4FmvYDFhZwPh1gvtdsdnJyF4Fg==", + "license": "MIT", "dependencies": { "after-all-results": "^2.0.0", "async-cache": "^1.1.0", @@ -7985,21 +8302,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, - "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", @@ -8133,7 +8435,8 @@ "node_modules/token-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/token-stream/-/token-stream-1.0.0.tgz", - "integrity": "sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==" + "integrity": "sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==", + "license": "MIT" }, "node_modules/touch": { "version": "3.1.1", @@ -8149,6 +8452,16 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, + "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", @@ -8331,7 +8644,8 @@ "node_modules/ultron": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", - "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" + "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", + "license": "MIT" }, "node_modules/unbox-primitive": { "version": "1.1.0", @@ -8425,6 +8739,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -8583,6 +8898,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/with/-/with-7.0.2.tgz", "integrity": "sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==", + "license": "MIT", "dependencies": { "@babel/parser": "^7.9.6", "@babel/types": "^7.9.6", @@ -8687,7 +9003,8 @@ "node_modules/yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" + "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", + "license": "ISC" }, "node_modules/yargs": { "version": "17.2.1", @@ -8762,6 +9079,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-2.1.3.tgz", "integrity": "sha512-EkXc2JGcKhO5N5aZ7TmuNo45budRaFGHOmz24wtJR7znbNqDPmdZtUauKX6et8KAVseAMBOyWJqEpXcHTBsh7Q==", + "license": "MIT", "dependencies": { "archiver-utils": "^2.1.0", "compress-commons": "^2.1.1", diff --git a/package.json b/package.json index e48c025ef..f39d65909 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,23 @@ { - "name": "bfx-reports-framework", - "version": "4.26.1", + "name": "@bitfinex/bfx-reports-framework", + "version": "5.0.0", "description": "Bitfinex reports framework", "main": "worker.js", + "engines": { + "node": ">=20.18.1" + }, "license": "Apache-2.0", "dependencies": { - "better-npm-run": "0.1.1", - "bfx-facs-db-better-sqlite": "git+https://github.com/bitfinexcom/bfx-facs-db-better-sqlite.git", - "bfx-facs-scheduler": "git+https://github.com:bitfinexcom/bfx-facs-scheduler.git", - "bfx-report": "git+https://github.com/bitfinexcom/bfx-report.git", - "bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git", + "@bitfinex/bfx-facs-db-better-sqlite": "git+https://github.com/bitfinexcom/bfx-facs-db-better-sqlite.git", + "@bitfinex/bfx-facs-scheduler": "git+https://github.com/bitfinexcom/bfx-facs-scheduler.git", + "@bitfinex/bfx-report": "git+https://github.com/bitfinexcom/bfx-report.git", + "@bitfinex/bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git", + "@bitfinex/lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", "bignumber.js": "9.1.2", "csv": "5.5.3", - "grenache-nodejs-ws": "git+https://github.com:bitfinexcom/grenache-nodejs-ws.git", + "grenache-nodejs-ws": "git+https://github.com/bitfinexcom/grenache-nodejs-ws.git", "inversify": "6.0.1", - "lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git", - "lodash": "4.17.21", + "lodash": "4.17.23", "mathjs": "14.8.1", "moment": "2.29.4", "puppeteer": "24.1.0", @@ -23,12 +25,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" }, @@ -65,65 +69,16 @@ "workers/loc.api/queue/views/" ] }, - "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" - } - }, - "start:back": { - "command": "node worker.js --env=production --wtype=wrk-report-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true", - "env": { - "NODE_ENV": "production" - } - }, - "start:express": { - "command": "cd bfx-report-ui/bfx-report-express && npm run start", - "env": { - "NODE_ENV": "production" - } - }, - "start:ui": { - "command": "cd bfx-report-ui && npm run start" - }, - "start:all": { - "command": "npm run startBackEnd | npm run startExpress | npm run startUI" - } - }, "scripts": { + "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-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true", + "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 ./node_modules/@bitfinex/bfx-report/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", + "migration": "node scripts/node/migration", "init": "bash init.sh", - "initDev": "bash init.sh -d", - "startOld": "node worker.js --env=production --wtype=wrk-report-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true", - "startDev": "nodemon worker.js --env=development --wtype=wrk-report-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true", - "startServDev": "better-npm-run start:serv", - "startSimulEnv": "node node_modules/bfx-report/test/simulate/simulate-enviroment.js", - "test": "better-npm-run test", - "testDev": "better-npm-run testDev", - "startBackEnd": "better-npm-run start:back", - "startExpress": "better-npm-run start:express", - "startUI": "better-npm-run start:ui", - "start": "better-npm-run start:all", - "unit": "better-npm-run unit", - "migration": "node scripts/node/migration" + "initDev": "bash init.sh -d" } } diff --git a/test/1-api-sync-mode-sqlite.spec.js b/test/1-api-sync-mode-sqlite.spec.js index 44dbf8581..8ec5ca8ef 100644 --- a/test/1-api-sync-mode-sqlite.spec.js +++ b/test/1-api-sync-mode-sqlite.spec.js @@ -1,16 +1,16 @@ 'use strict' const path = require('path') -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const request = require('supertest') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { startEnvironment @@ -24,7 +24,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 { diff --git a/test/2-additional-api-sync-mode-sqlite.spec.js b/test/2-additional-api-sync-mode-sqlite.spec.js index 163ba67fe..479ca7d7b 100644 --- a/test/2-additional-api-sync-mode-sqlite.spec.js +++ b/test/2-additional-api-sync-mode-sqlite.spec.js @@ -1,16 +1,16 @@ 'use strict' const path = require('path') -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const request = require('supertest') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { startEnvironment @@ -24,7 +24,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 { diff --git a/test/3-api-filter-sync-mode-sqlite.spec.js b/test/3-api-filter-sync-mode-sqlite.spec.js index 93ad8fd5b..6c5fb5392 100644 --- a/test/3-api-filter-sync-mode-sqlite.spec.js +++ b/test/3-api-filter-sync-mode-sqlite.spec.js @@ -6,15 +6,15 @@ const request = require('supertest') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles, queueToPromise -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { testMethodOfGettingReportFile -} = require('bfx-report/test/helpers/helpers.tests') +} = require('@bitfinex/bfx-report/test/helpers/helpers.tests') const { startEnvironment @@ -27,7 +27,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 { diff --git a/test/4-sub-account.spec.js b/test/4-sub-account.spec.js index bdc39ed39..8ede51fb5 100644 --- a/test/4-sub-account.spec.js +++ b/test/4-sub-account.spec.js @@ -6,11 +6,11 @@ const request = require('supertest') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { startEnvironment @@ -26,7 +26,7 @@ const { const _mockData = require('./helpers/mock-data') 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 { diff --git a/test/5-recover-password.spec.js b/test/5-recover-password.spec.js index 5a2d50438..4eb5ab7a5 100644 --- a/test/5-recover-password.spec.js +++ b/test/5-recover-password.spec.js @@ -6,11 +6,11 @@ const request = require('supertest') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { startEnvironment @@ -26,7 +26,7 @@ const { const _mockData = require('./helpers/mock-data') 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 { diff --git a/test/6-update-sub-account.spec.js b/test/6-update-sub-account.spec.js index c26783441..c2161a7c7 100644 --- a/test/6-update-sub-account.spec.js +++ b/test/6-update-sub-account.spec.js @@ -6,11 +6,11 @@ const request = require('supertest') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { startEnvironment @@ -26,7 +26,7 @@ const { const _mockData = require('./helpers/mock-data') 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 { diff --git a/test/7-interrupt-operations.spec.js b/test/7-interrupt-operations.spec.js index 34d2eb279..4e010a7eb 100644 --- a/test/7-interrupt-operations.spec.js +++ b/test/7-interrupt-operations.spec.js @@ -9,11 +9,11 @@ const { assert } = require('chai') const { stopEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { rmDB, rmAllFiles -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { startEnvironment @@ -28,7 +28,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 { diff --git a/test/helpers/helpers.boot.js b/test/helpers/helpers.boot.js index 42384d4af..9669d1b25 100644 --- a/test/helpers/helpers.boot.js +++ b/test/helpers/helpers.boot.js @@ -2,7 +2,7 @@ const { startEnvironment: _startEnvironment -} = require('bfx-report/test/helpers/helpers.boot') +} = require('@bitfinex/bfx-report/test/helpers/helpers.boot') const { startWorkers: _startWorkers diff --git a/test/helpers/helpers.core.js b/test/helpers/helpers.core.js index bd6242825..fa6fe12f5 100644 --- a/test/helpers/helpers.core.js +++ b/test/helpers/helpers.core.js @@ -2,7 +2,7 @@ const fsPromises = require('fs/promises') -const container = require('bfx-report/workers/loc.api/di') +const container = require('@bitfinex/bfx-report/workers/loc.api/di') const { delay: _delay diff --git a/test/helpers/helpers.mock-rest-v2.js b/test/helpers/helpers.mock-rest-v2.js index 34688a4e6..8b892fee0 100644 --- a/test/helpers/helpers.mock-rest-v2.js +++ b/test/helpers/helpers.mock-rest-v2.js @@ -6,7 +6,7 @@ const { getMockDataOpts: getBaseMockDataOpts, getMockData: _getMockData, setDataTo: _setDataTo -} = require('bfx-report/test/helpers/helpers.mock-rest-v2') +} = require('@bitfinex/bfx-report/test/helpers/helpers.mock-rest-v2') const _mockData = require('./mock-data') diff --git a/test/helpers/helpers.worker.js b/test/helpers/helpers.worker.js index 0ab2ed3db..215fe385d 100644 --- a/test/helpers/helpers.worker.js +++ b/test/helpers/helpers.worker.js @@ -3,7 +3,7 @@ const path = require('path') const { startWorkers: _startWorkers -} = require('bfx-report/test/helpers/helpers.worker') +} = require('@bitfinex/bfx-report/test/helpers/helpers.worker') const _serviceRoot = path.join(__dirname, '../..') diff --git a/test/helpers/mock-data.js b/test/helpers/mock-data.js index 8e423591e..66de8e8f8 100644 --- a/test/helpers/mock-data.js +++ b/test/helpers/mock-data.js @@ -1,6 +1,6 @@ 'use strict' -const mockData = require('bfx-report/test/helpers/mock-data') +const mockData = require('@bitfinex/bfx-report/test/helpers/mock-data') const _ms = Date.now() diff --git a/test/test-cases/additional-api-sync-mode-sqlite-test-cases.js b/test/test-cases/additional-api-sync-mode-sqlite-test-cases.js index 5b79c8d9b..f95ce8212 100644 --- a/test/test-cases/additional-api-sync-mode-sqlite-test-cases.js +++ b/test/test-cases/additional-api-sync-mode-sqlite-test-cases.js @@ -4,10 +4,10 @@ const { assert } = require('chai') const { queueToPromise -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { testMethodOfGettingReportFile -} = require('bfx-report/test/helpers/helpers.tests') +} = require('@bitfinex/bfx-report/test/helpers/helpers.tests') const { getParamsArrToTestTimeframeGrouping diff --git a/test/test-cases/api-sync-mode-sqlite-test-cases.js b/test/test-cases/api-sync-mode-sqlite-test-cases.js index f2b957ceb..b83f3c383 100644 --- a/test/test-cases/api-sync-mode-sqlite-test-cases.js +++ b/test/test-cases/api-sync-mode-sqlite-test-cases.js @@ -5,11 +5,11 @@ const { assert } = require('chai') const { queueToPromise, queueToPromiseMulti -} = require('bfx-report/test/helpers/helpers.core') +} = require('@bitfinex/bfx-report/test/helpers/helpers.core') const { testMethodOfGettingReportFile, testProcQueue -} = require('bfx-report/test/helpers/helpers.tests') +} = require('@bitfinex/bfx-report/test/helpers/helpers.tests') const getSyncProgressTestCase = require('./get-sync-progress-test-case') const { getMockData } = require('../helpers/helpers.mock-rest-v2') diff --git a/worker.js b/worker.js index 1286b658e..00985fd1b 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.framework.report.wrk.js b/workers/api.framework.report.wrk.js index 3cb031fc4..4f21625c5 100644 --- a/workers/api.framework.report.wrk.js +++ b/workers/api.framework.report.wrk.js @@ -3,7 +3,7 @@ const fs = require('node:fs') const WrkReportServiceApi = require( - 'bfx-report/workers/api.service.report.wrk' + '@bitfinex/bfx-report/workers/api.service.report.wrk' ) const path = require('path') const argv = require('yargs') @@ -37,7 +37,7 @@ const argv = require('yargs') const { PDFBufferUnderElectronCreationError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const appDeps = require('./loc.api/di/app.deps') const TYPES = require('./loc.api/di/types') @@ -141,14 +141,14 @@ class WrkReportFrameWorkApi extends WrkReportServiceApi { facs.push( [ 'fac', - 'bfx-facs-scheduler', + '@bitfinex/bfx-facs-scheduler', 'sync', 'sync', { label: 'sync' } ], [ 'fac', - `bfx-facs-db-${dbDriver}`, + `@bitfinex/bfx-facs-db-${dbDriver}`, 'm0', 'm0', { @@ -172,7 +172,7 @@ class WrkReportFrameWorkApi extends WrkReportServiceApi { // eslint-disable-next-line no-unused-vars const [type, facName, ns, label, opts] = fac - if (facName !== 'bfx-facs-lokue') { + if (facName !== '@bitfinex/bfx-facs-lokue') { continue } diff --git a/workers/loc.api/bfx.api.router/index.js b/workers/loc.api/bfx.api.router/index.js index 2c63b640e..3844c82a8 100644 --- a/workers/loc.api/bfx.api.router/index.js +++ b/workers/loc.api/bfx.api.router/index.js @@ -1,10 +1,10 @@ 'use strict' const BaseBfxApiRouter = require( - 'bfx-report/workers/loc.api/bfx.api.router' + '@bitfinex/bfx-report/workers/loc.api/bfx.api.router' ) const Interrupter = require( - 'bfx-report/workers/loc.api/interrupter' + '@bitfinex/bfx-report/workers/loc.api/interrupter' ) const RateLimitChecker = require('./rate.limit.checker') diff --git a/workers/loc.api/data-validator/schema.ids.js b/workers/loc.api/data-validator/schema.ids.js index 5a7bef1de..4f59160b6 100644 --- a/workers/loc.api/data-validator/schema.ids.js +++ b/workers/loc.api/data-validator/schema.ids.js @@ -3,6 +3,6 @@ const SCHEMA_NAMES = require('./schema.names') const { getSchemaIds -} = require('bfx-report/workers/loc.api/data-validator/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/data-validator/helpers') module.exports = getSchemaIds(SCHEMA_NAMES) diff --git a/workers/loc.api/data-validator/schemas/index.js b/workers/loc.api/data-validator/schemas/index.js index 33226d395..995163cfb 100644 --- a/workers/loc.api/data-validator/schemas/index.js +++ b/workers/loc.api/data-validator/schemas/index.js @@ -3,7 +3,7 @@ const SCHEMA_NAMES = require('../schema.names') const { requireSchemas -} = require('bfx-report/workers/loc.api/data-validator/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/data-validator/helpers') module.exports = requireSchemas( SCHEMA_NAMES, diff --git a/workers/loc.api/di/app.deps.js b/workers/loc.api/di/app.deps.js index 42e309395..f801e639a 100644 --- a/workers/loc.api/di/app.deps.js +++ b/workers/loc.api/di/app.deps.js @@ -7,14 +7,14 @@ const { } = require('inversify') const EventEmitter = require('events') const { bindDepsToFn } = require( - 'bfx-report/workers/loc.api/di/helpers' + '@bitfinex/bfx-report/workers/loc.api/di/helpers' ) const { getREST, getDataFromApi, prepareApiResponse -} = require('bfx-report/workers/loc.api/helpers') -const responder = require('bfx-report/workers/loc.api/responder') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') +const responder = require('@bitfinex/bfx-report/workers/loc.api/responder') const TYPES = require('./types') diff --git a/workers/loc.api/di/factories/interrupter-factory.js b/workers/loc.api/di/factories/interrupter-factory.js index 866644474..f927510f6 100644 --- a/workers/loc.api/di/factories/interrupter-factory.js +++ b/workers/loc.api/di/factories/interrupter-factory.js @@ -2,7 +2,7 @@ const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const TYPES = require('../types') diff --git a/workers/loc.api/di/types.js b/workers/loc.api/di/types.js index eb9f03046..8ba158ae4 100644 --- a/workers/loc.api/di/types.js +++ b/workers/loc.api/di/types.js @@ -1,6 +1,6 @@ 'use strict' -const TYPES = require('bfx-report/workers/loc.api/di/types') +const TYPES = require('@bitfinex/bfx-report/workers/loc.api/di/types') module.exports = { ...TYPES, diff --git a/workers/loc.api/di/utils/decorate-injectable.js b/workers/loc.api/di/utils/decorate-injectable.js index 1f2921f2e..2f7d58394 100644 --- a/workers/loc.api/di/utils/decorate-injectable.js +++ b/workers/loc.api/di/utils/decorate-injectable.js @@ -2,7 +2,7 @@ const { decorateInjectable -} = require('bfx-report/workers/loc.api/di/utils') +} = require('@bitfinex/bfx-report/workers/loc.api/di/utils') const _TYPES = require('../types') diff --git a/workers/loc.api/errors/index.js b/workers/loc.api/errors/index.js index 072465a76..07abb655b 100644 --- a/workers/loc.api/errors/index.js +++ b/workers/loc.api/errors/index.js @@ -5,10 +5,10 @@ const { AuthError, ConflictError, ArgsParamsError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { getErrorArgs -} = require('bfx-report/workers/loc.api/errors/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/errors/helpers') class CollSyncPermissionError extends BaseError { constructor (message = 'ERR_PERMISSION_DENIED_TO_SYNC_SELECTED_COLL') { diff --git a/workers/loc.api/generate-report-file/csv-writer/full-snapshot-report-csv-writer.js b/workers/loc.api/generate-report-file/csv-writer/full-snapshot-report-csv-writer.js index 2df1bd816..c306d6c81 100644 --- a/workers/loc.api/generate-report-file/csv-writer/full-snapshot-report-csv-writer.js +++ b/workers/loc.api/generate-report-file/csv-writer/full-snapshot-report-csv-writer.js @@ -2,13 +2,13 @@ const { write -} = require('bfx-report/workers/loc.api/queue/write-data-to-stream/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/queue/write-data-to-stream/helpers') const { streamWriter -} = require('bfx-report/workers/loc.api/generate-report-file/csv-writer/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/generate-report-file/csv-writer/helpers') const { omitExtraParamFieldsForReportExport -} = require('bfx-report/workers/loc.api/generate-report-file/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/generate-report-file/helpers') module.exports = ( rService, diff --git a/workers/loc.api/generate-report-file/csv-writer/full-tax-report-csv-writer.js b/workers/loc.api/generate-report-file/csv-writer/full-tax-report-csv-writer.js index 0d242ece8..862adf8ee 100644 --- a/workers/loc.api/generate-report-file/csv-writer/full-tax-report-csv-writer.js +++ b/workers/loc.api/generate-report-file/csv-writer/full-tax-report-csv-writer.js @@ -2,13 +2,13 @@ const { write -} = require('bfx-report/workers/loc.api/queue/write-data-to-stream/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/queue/write-data-to-stream/helpers') const { streamWriter -} = require('bfx-report/workers/loc.api/generate-report-file/csv-writer/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/generate-report-file/csv-writer/helpers') const { omitExtraParamFieldsForReportExport -} = require('bfx-report/workers/loc.api/generate-report-file/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/generate-report-file/helpers') module.exports = ( rService, diff --git a/workers/loc.api/generate-report-file/csv-writer/transaction-tax-report-csv-writer.js b/workers/loc.api/generate-report-file/csv-writer/transaction-tax-report-csv-writer.js index cd6fbdf50..40f55e180 100644 --- a/workers/loc.api/generate-report-file/csv-writer/transaction-tax-report-csv-writer.js +++ b/workers/loc.api/generate-report-file/csv-writer/transaction-tax-report-csv-writer.js @@ -2,16 +2,16 @@ const { write -} = require('bfx-report/workers/loc.api/queue/write-data-to-stream/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/queue/write-data-to-stream/helpers') const { streamWriter -} = require('bfx-report/workers/loc.api/generate-report-file/csv-writer/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/generate-report-file/csv-writer/helpers') const TRANSLATION_NAMESPACES = require( - 'bfx-report/workers/loc.api/i18next/translation.namespaces' + '@bitfinex/bfx-report/workers/loc.api/i18next/translation.namespaces' ) const { omitExtraParamFieldsForReportExport -} = require('bfx-report/workers/loc.api/generate-report-file/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/generate-report-file/helpers') module.exports = ( rService, diff --git a/workers/loc.api/generate-report-file/pdf-writer/index.js b/workers/loc.api/generate-report-file/pdf-writer/index.js index 83f173b5c..46c1f37cb 100644 --- a/workers/loc.api/generate-report-file/pdf-writer/index.js +++ b/workers/loc.api/generate-report-file/pdf-writer/index.js @@ -8,16 +8,16 @@ const { v4: uuidv4 } = require('uuid') const puppeteer = require('puppeteer') const MainPdfWriter = require( - 'bfx-report/workers/loc.api/generate-report-file/pdf-writer' + '@bitfinex/bfx-report/workers/loc.api/generate-report-file/pdf-writer' ) const { createUniqueFileName -} = require('bfx-report/workers/loc.api/queue/helpers/utils') +} = require('@bitfinex/bfx-report/workers/loc.api/queue/helpers/utils') const TEMPLATE_FILE_NAMES = require('./template-file-names') const { PDFBufferUnderElectronCreationError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { decorateInjectable } = require('../../di/utils') diff --git a/workers/loc.api/generate-report-file/pdf-writer/templates/full-snapshot-report.pug b/workers/loc.api/generate-report-file/pdf-writer/templates/full-snapshot-report.pug index adbfd50ac..095bd42f9 100644 --- a/workers/loc.api/generate-report-file/pdf-writer/templates/full-snapshot-report.pug +++ b/workers/loc.api/generate-report-file/pdf-writer/templates/full-snapshot-report.pug @@ -1,4 +1,4 @@ -extends /node_modules/bfx-report/workers/loc.api/generate-report-file/pdf-writer/templates/base.pug +extends /node_modules/@bitfinex/bfx-report/workers/loc.api/generate-report-file/pdf-writer/templates/base.pug block prepend header - const hasOnlyEndTimestamp = true diff --git a/workers/loc.api/generate-report-file/pdf-writer/templates/full-tax-report.pug b/workers/loc.api/generate-report-file/pdf-writer/templates/full-tax-report.pug index 3c524322b..0ce2321a4 100644 --- a/workers/loc.api/generate-report-file/pdf-writer/templates/full-tax-report.pug +++ b/workers/loc.api/generate-report-file/pdf-writer/templates/full-tax-report.pug @@ -1,4 +1,4 @@ -extends /node_modules/bfx-report/workers/loc.api/generate-report-file/pdf-writer/templates/base.pug +extends /node_modules/@bitfinex/bfx-report/workers/loc.api/generate-report-file/pdf-writer/templates/base.pug block content - const data = Array.isArray(apiData) ? apiData[0] : apiData ?? {} diff --git a/workers/loc.api/generate-report-file/pdf-writer/templates/transaction-tax-report.pug b/workers/loc.api/generate-report-file/pdf-writer/templates/transaction-tax-report.pug index 26213bc0b..a24526d09 100644 --- a/workers/loc.api/generate-report-file/pdf-writer/templates/transaction-tax-report.pug +++ b/workers/loc.api/generate-report-file/pdf-writer/templates/transaction-tax-report.pug @@ -1,4 +1,4 @@ -extends /node_modules/bfx-report/workers/loc.api/generate-report-file/pdf-writer/templates/base.pug +extends /node_modules/@bitfinex/bfx-report/workers/loc.api/generate-report-file/pdf-writer/templates/base.pug block commonHeader - const data = Array.isArray(apiData) ? apiData[0] : apiData ?? {} 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 0fcdb77df..818e1845d 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,14 +1,14 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const BaseReportFileJobData = require( - 'bfx-report/workers/loc.api/generate-report-file/report.file.job.data' + '@bitfinex/bfx-report/workers/loc.api/generate-report-file/report.file.job.data' ) const { getReportFileArgs, checkJobAndGetUserData -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { getDateString diff --git a/workers/loc.api/helpers/api-errors-testers.js b/workers/loc.api/helpers/api-errors-testers.js index e2cd6daed..c8c99561e 100644 --- a/workers/loc.api/helpers/api-errors-testers.js +++ b/workers/loc.api/helpers/api-errors-testers.js @@ -5,7 +5,7 @@ */ const { isENetError -} = require('bfx-report/workers/loc.api/helpers/api-errors-testers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers/api-errors-testers') module.exports = { isENetError diff --git a/workers/loc.api/helpers/utils.js b/workers/loc.api/helpers/utils.js index 75a8a374e..10ac2aa0c 100644 --- a/workers/loc.api/helpers/utils.js +++ b/workers/loc.api/helpers/utils.js @@ -1,10 +1,10 @@ 'use strict' -const { pick } = require('lib-js-util-base') +const { pick } = require('@bitfinex/lib-js-util-base') const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { isUpdatableArr, diff --git a/workers/loc.api/http.request/helpers.js b/workers/loc.api/http.request/helpers.js index ef0ba115d..ff49e8541 100644 --- a/workers/loc.api/http.request/helpers.js +++ b/workers/loc.api/http.request/helpers.js @@ -2,7 +2,7 @@ const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const isAuthApiError = (err) => { return /ERR_AUTH_API/.test(err.toString()) diff --git a/workers/loc.api/responder/index.js b/workers/loc.api/responder/index.js index ede9aa58f..0e43382db 100644 --- a/workers/loc.api/responder/index.js +++ b/workers/loc.api/responder/index.js @@ -1,6 +1,6 @@ 'use strict' -const responder = require('bfx-report/workers/loc.api/responder') +const responder = require('@bitfinex/bfx-report/workers/loc.api/responder') const _getHandler = ( authenticator, diff --git a/workers/loc.api/service.report.framework.js b/workers/loc.api/service.report.framework.js index 74ca7200a..feb95f695 100644 --- a/workers/loc.api/service.report.framework.js +++ b/workers/loc.api/service.report.framework.js @@ -3,16 +3,16 @@ const { omit, isEmpty -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const { AuthError, BadRequestError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { getTimezoneConf, isENetError, prepareSymbolResponse -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const ReportService = require('./service.report') const { diff --git a/workers/loc.api/service.report.js b/workers/loc.api/service.report.js index 0b212cc27..826ad1a9d 100644 --- a/workers/loc.api/service.report.js +++ b/workers/loc.api/service.report.js @@ -1,7 +1,7 @@ 'use strict' const BaseReportService = require( - 'bfx-report/workers/loc.api/service.report' + '@bitfinex/bfx-report/workers/loc.api/service.report' ) const SYNC_API_METHODS = require('./sync/schema/sync.api.methods') diff --git a/workers/loc.api/sync/authenticator/helpers/pick-props.js b/workers/loc.api/sync/authenticator/helpers/pick-props.js index 23c3856c0..b6ea6ddc5 100644 --- a/workers/loc.api/sync/authenticator/helpers/pick-props.js +++ b/workers/loc.api/sync/authenticator/helpers/pick-props.js @@ -1,6 +1,6 @@ 'use strict' -const { pick } = require('lib-js-util-base') +const { pick } = require('@bitfinex/lib-js-util-base') module.exports = ( data, diff --git a/workers/loc.api/sync/authenticator/index.js b/workers/loc.api/sync/authenticator/index.js index 0b1564a7d..ac53b4752 100644 --- a/workers/loc.api/sync/authenticator/index.js +++ b/workers/loc.api/sync/authenticator/index.js @@ -1,17 +1,17 @@ 'use strict' const { v4: uuidv4 } = require('uuid') -const { pick, isNil } = require('lib-js-util-base') +const { pick, isNil } = require('@bitfinex/lib-js-util-base') const { AuthError, ArgsParamsError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { isENetError, isAuthError -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const Interrupter = require( - 'bfx-report/workers/loc.api/interrupter' + '@bitfinex/bfx-report/workers/loc.api/interrupter' ) const { serializeVal } = require('../dao/helpers') diff --git a/workers/loc.api/sync/balance.history/index.js b/workers/loc.api/sync/balance.history/index.js index 11615675f..c3e2c4700 100644 --- a/workers/loc.api/sync/balance.history/index.js +++ b/workers/loc.api/sync/balance.history/index.js @@ -1,6 +1,6 @@ 'use strict' -const { isEmpty } = require('lib-js-util-base') +const { isEmpty } = require('@bitfinex/lib-js-util-base') const moment = require('moment') const { diff --git a/workers/loc.api/sync/colls.accessors/public.colls.conf.accessors.js b/workers/loc.api/sync/colls.accessors/public.colls.conf.accessors.js index 7958dcd37..c9bc51cd0 100644 --- a/workers/loc.api/sync/colls.accessors/public.colls.conf.accessors.js +++ b/workers/loc.api/sync/colls.accessors/public.colls.conf.accessors.js @@ -7,13 +7,13 @@ const { omit, pick, isEmpty -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const { prepareResponse -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { FindMethodError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { GetPublicDataError diff --git a/workers/loc.api/sync/crypto/index.js b/workers/loc.api/sync/crypto/index.js index 9de56aa4b..f134d7eef 100644 --- a/workers/loc.api/sync/crypto/index.js +++ b/workers/loc.api/sync/crypto/index.js @@ -4,7 +4,7 @@ const crypto = require('crypto') const { promisify } = require('util') const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const scrypt = promisify(crypto.scrypt) const randomBytes = promisify(crypto.randomBytes) diff --git a/workers/loc.api/sync/currency.converter/index.js b/workers/loc.api/sync/currency.converter/index.js index 686fc891b..d78f9d45e 100644 --- a/workers/loc.api/sync/currency.converter/index.js +++ b/workers/loc.api/sync/currency.converter/index.js @@ -5,10 +5,10 @@ const { orderBy } = require('lodash') const { FindMethodError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { splitSymbolPairs -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { CurrencyConversionDataFindingError diff --git a/workers/loc.api/sync/dao/dao.better.sqlite.js b/workers/loc.api/sync/dao/dao.better.sqlite.js index f8bdf9b55..469ab73c9 100644 --- a/workers/loc.api/sync/dao/dao.better.sqlite.js +++ b/workers/loc.api/sync/dao/dao.better.sqlite.js @@ -7,15 +7,15 @@ const { const { promisify } = require('node:util') const MAIN_DB_WORKER_ACTIONS = require( - 'bfx-facs-db-better-sqlite/worker/db-worker-actions/db-worker-actions.const' + '@bitfinex/bfx-facs-db-better-sqlite/worker/db-worker-actions/db-worker-actions.const' ) const { getValidationSchemaId, getFilterValidationSchemaId -} = require('bfx-report/workers/loc.api/helpers/prepare-response/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers/prepare-response/helpers') const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const DAO = require('./dao') const { diff --git a/workers/loc.api/sync/dao/dao.js b/workers/loc.api/sync/dao/dao.js index fee38c095..c49cfc68f 100644 --- a/workers/loc.api/sync/dao/dao.js +++ b/workers/loc.api/sync/dao/dao.js @@ -2,7 +2,7 @@ const { ImplementationError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { DAOInitializationError diff --git a/workers/loc.api/sync/dao/db-migrations/migration.js b/workers/loc.api/sync/dao/db-migrations/migration.js index 806a8329e..d9a7264b2 100644 --- a/workers/loc.api/sync/dao/db-migrations/migration.js +++ b/workers/loc.api/sync/dao/db-migrations/migration.js @@ -2,7 +2,7 @@ const { ImplementationError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') class Migration { constructor ( diff --git a/workers/loc.api/sync/dao/helpers/filter-model-name-map.js b/workers/loc.api/sync/dao/helpers/filter-model-name-map.js index a51cc9d88..72920f105 100644 --- a/workers/loc.api/sync/dao/helpers/filter-model-name-map.js +++ b/workers/loc.api/sync/dao/helpers/filter-model-name-map.js @@ -2,7 +2,7 @@ const { FILTER_API_METHOD_NAMES -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') module.exports = Object.values(FILTER_API_METHOD_NAMES) .reduce((map, name) => { diff --git a/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-args.js b/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-args.js index a086516b0..be8a5f621 100644 --- a/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-args.js +++ b/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-args.js @@ -2,7 +2,7 @@ const { getLimitNotMoreThan -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') module.exports = (args, methodColl) => { const _args = { ...args } diff --git a/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-filter-params.js b/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-filter-params.js index 103435144..d81ca194e 100644 --- a/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-filter-params.js +++ b/workers/loc.api/sync/dao/helpers/find-in-coll-by/get-filter-params.js @@ -2,7 +2,7 @@ const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const getInsertableArrayObjectsFilter = require( '../get-insertable-array-objects-filter' diff --git a/workers/loc.api/sync/dao/helpers/find-in-coll-by/prepare-db-response.js b/workers/loc.api/sync/dao/helpers/find-in-coll-by/prepare-db-response.js index f27179e41..95d373b4b 100644 --- a/workers/loc.api/sync/dao/helpers/find-in-coll-by/prepare-db-response.js +++ b/workers/loc.api/sync/dao/helpers/find-in-coll-by/prepare-db-response.js @@ -4,7 +4,7 @@ const { promisify } = require('util') const setImmediatePromise = promisify(setImmediate) const { prepareResponse -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { isContainedSameMts } = require('../utils') diff --git a/workers/loc.api/sync/dao/helpers/get-order-query.js b/workers/loc.api/sync/dao/helpers/get-order-query.js index 15cfa258b..bd75f7c2f 100644 --- a/workers/loc.api/sync/dao/helpers/get-order-query.js +++ b/workers/loc.api/sync/dao/helpers/get-order-query.js @@ -1,6 +1,6 @@ 'use strict' -const { isEmpty } = require('lib-js-util-base') +const { isEmpty } = require('@bitfinex/lib-js-util-base') module.exports = (sort = []) => { if ( diff --git a/workers/loc.api/sync/dao/helpers/get-where-query.js b/workers/loc.api/sync/dao/helpers/get-where-query.js index dfd1bc1ce..9b89eddd1 100644 --- a/workers/loc.api/sync/dao/helpers/get-where-query.js +++ b/workers/loc.api/sync/dao/helpers/get-where-query.js @@ -1,8 +1,8 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const FILTER_CONDITIONS = require( - 'bfx-report/workers/loc.api/helpers/filter.conditions' + '@bitfinex/bfx-report/workers/loc.api/helpers/filter.conditions' ) const { serializeVal } = require('./serialization') diff --git a/workers/loc.api/sync/dao/helpers/utils.js b/workers/loc.api/sync/dao/helpers/utils.js index 198c58a31..644f5cca0 100644 --- a/workers/loc.api/sync/dao/helpers/utils.js +++ b/workers/loc.api/sync/dao/helpers/utils.js @@ -2,7 +2,7 @@ const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { ObjectMappingError diff --git a/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js b/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js index 959fa1196..fcb3232e6 100644 --- a/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js +++ b/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js @@ -1,7 +1,7 @@ 'use strict' const dbWorkerActions = require( - 'bfx-facs-db-better-sqlite/worker/db-worker-actions' + '@bitfinex/bfx-facs-db-better-sqlite/worker/db-worker-actions' ) const DB_WORKER_ACTIONS = require('./db-worker-actions.const') diff --git a/workers/loc.api/sync/dao/sqlite-worker/index.js b/workers/loc.api/sync/dao/sqlite-worker/index.js index f11517208..23d0e9652 100644 --- a/workers/loc.api/sync/dao/sqlite-worker/index.js +++ b/workers/loc.api/sync/dao/sqlite-worker/index.js @@ -1,7 +1,7 @@ 'use strict' const workerFactory = require( - 'bfx-facs-db-better-sqlite/worker/worker-factory' + '@bitfinex/bfx-facs-db-better-sqlite/worker/worker-factory' ) const executeAction = require('./db-worker-actions') diff --git a/workers/loc.api/sync/data.inserter/api.middleware/index.js b/workers/loc.api/sync/data.inserter/api.middleware/index.js index f75ce7974..23a500028 100644 --- a/workers/loc.api/sync/data.inserter/api.middleware/index.js +++ b/workers/loc.api/sync/data.inserter/api.middleware/index.js @@ -2,7 +2,7 @@ const { FindMethodError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { decorateInjectable } = require('../../../di/utils') diff --git a/workers/loc.api/sync/data.inserter/data.checker/index.js b/workers/loc.api/sync/data.inserter/data.checker/index.js index f1ff86d74..6b405322e 100644 --- a/workers/loc.api/sync/data.inserter/data.checker/index.js +++ b/workers/loc.api/sync/data.inserter/data.checker/index.js @@ -1,6 +1,6 @@ 'use strict' -const { isEmpty, min } = require('lib-js-util-base') +const { isEmpty, min } = require('@bitfinex/lib-js-util-base') const moment = require('moment') const SyncTempTablesManager = require('../sync.temp.tables.manager') diff --git a/workers/loc.api/sync/data.inserter/helpers/search-close-price-and-sum-amount.js b/workers/loc.api/sync/data.inserter/helpers/search-close-price-and-sum-amount.js index 93180cf05..af944e1ec 100644 --- a/workers/loc.api/sync/data.inserter/helpers/search-close-price-and-sum-amount.js +++ b/workers/loc.api/sync/data.inserter/helpers/search-close-price-and-sum-amount.js @@ -1,6 +1,6 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const _isContainedPosStatus = (positions, status) => { return positions.every(pos => ( diff --git a/workers/loc.api/sync/data.inserter/helpers/utils.js b/workers/loc.api/sync/data.inserter/helpers/utils.js index 4778a1009..3cded481d 100644 --- a/workers/loc.api/sync/data.inserter/helpers/utils.js +++ b/workers/loc.api/sync/data.inserter/helpers/utils.js @@ -2,7 +2,7 @@ const { pick -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const normalizeApiData = ( data = [], diff --git a/workers/loc.api/sync/data.inserter/hooks/data.inserter.hook.js b/workers/loc.api/sync/data.inserter/hooks/data.inserter.hook.js index bb6050fbf..84b4070ae 100644 --- a/workers/loc.api/sync/data.inserter/hooks/data.inserter.hook.js +++ b/workers/loc.api/sync/data.inserter/hooks/data.inserter.hook.js @@ -2,7 +2,7 @@ const { ImplementationError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { decorateInjectable } = require('../../../di/utils') diff --git a/workers/loc.api/sync/data.inserter/hooks/recalc.sub.account.ledgers.balances.hook.js b/workers/loc.api/sync/data.inserter/hooks/recalc.sub.account.ledgers.balances.hook.js index 3d72fea0b..c3c440888 100644 --- a/workers/loc.api/sync/data.inserter/hooks/recalc.sub.account.ledgers.balances.hook.js +++ b/workers/loc.api/sync/data.inserter/hooks/recalc.sub.account.ledgers.balances.hook.js @@ -6,7 +6,7 @@ const setImmediatePromise = promisify(setImmediate) const { orderBy } = require('lodash') -const { merge } = require('lib-js-util-base') +const { merge } = require('@bitfinex/lib-js-util-base') const SyncTempTablesManager = require('../sync.temp.tables.manager') const DataInserterHook = require('./data.inserter.hook') diff --git a/workers/loc.api/sync/data.inserter/index.js b/workers/loc.api/sync/data.inserter/index.js index b7c11d221..5101bf953 100644 --- a/workers/loc.api/sync/data.inserter/index.js +++ b/workers/loc.api/sync/data.inserter/index.js @@ -6,10 +6,10 @@ const setImmediatePromise = promisify(setImmediate) const EventEmitter = require('events') const { cloneDeep -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const { FindMethodError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { CANDLES_SECTION diff --git a/workers/loc.api/sync/data.inserter/sync.user.step.manager/index.js b/workers/loc.api/sync/data.inserter/sync.user.step.manager/index.js index e4f897ede..f598d2d4a 100644 --- a/workers/loc.api/sync/data.inserter/sync.user.step.manager/index.js +++ b/workers/loc.api/sync/data.inserter/sync.user.step.manager/index.js @@ -6,11 +6,11 @@ const { merge, min, max -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const { MIN_START_MTS -} = require('bfx-report/workers/loc.api/helpers/date-param.helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers/date-param.helpers') const { isPublic, diff --git a/workers/loc.api/sync/helpers/calc-grouped-data.js b/workers/loc.api/sync/helpers/calc-grouped-data.js index 765f091c9..bd5f00ad6 100644 --- a/workers/loc.api/sync/helpers/calc-grouped-data.js +++ b/workers/loc.api/sync/helpers/calc-grouped-data.js @@ -2,7 +2,7 @@ const { promisify } = require('util') const setImmediatePromise = promisify(setImmediate) -const { omit, pick } = require('lib-js-util-base') +const { omit, pick } = require('@bitfinex/lib-js-util-base') const getBackIterable = require('../helpers/get-back-iterable') diff --git a/workers/loc.api/sync/helpers/is-forex-symb.js b/workers/loc.api/sync/helpers/is-forex-symb.js index 0f6038074..dc3e3dbce 100644 --- a/workers/loc.api/sync/helpers/is-forex-symb.js +++ b/workers/loc.api/sync/helpers/is-forex-symb.js @@ -1,7 +1,7 @@ 'use strict' const FOREX_SYMBS = require( - 'bfx-report/workers/loc.api/helpers/forex.symbs' + '@bitfinex/bfx-report/workers/loc.api/helpers/forex.symbs' ) module.exports = ( diff --git a/workers/loc.api/sync/movements/index.js b/workers/loc.api/sync/movements/index.js index e0a9fe2de..62c4db9bc 100644 --- a/workers/loc.api/sync/movements/index.js +++ b/workers/loc.api/sync/movements/index.js @@ -1,7 +1,7 @@ 'use strict' const { orderBy } = require('lodash') -const { merge } = require('lib-js-util-base') +const { merge } = require('@bitfinex/lib-js-util-base') const { pushLargeArr } = require('../../helpers/utils') diff --git a/workers/loc.api/sync/positions.snapshot/index.js b/workers/loc.api/sync/positions.snapshot/index.js index 3a7e00c65..da9a547ff 100644 --- a/workers/loc.api/sync/positions.snapshot/index.js +++ b/workers/loc.api/sync/positions.snapshot/index.js @@ -4,7 +4,7 @@ const { orderBy } = require('lodash') const { splitSymbolPairs -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { groupByTimeframe, getMtsGroupedByTimeframe, diff --git a/workers/loc.api/sync/progress/index.js b/workers/loc.api/sync/progress/index.js index 361b52217..fd0d8f897 100644 --- a/workers/loc.api/sync/progress/index.js +++ b/workers/loc.api/sync/progress/index.js @@ -4,7 +4,7 @@ const EventEmitter = require('events') const { isAuthError -} = require('bfx-report/workers/loc.api/helpers/api-errors-testers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers/api-errors-testers') const SYNC_PROGRESS_STATES = require('./sync.progress.states') const errorRegExp = /(error)|(ERR_)/gi diff --git a/workers/loc.api/sync/schema/helpers/index.js b/workers/loc.api/sync/schema/helpers/index.js index 757abee1c..ad600d979 100644 --- a/workers/loc.api/sync/schema/helpers/index.js +++ b/workers/loc.api/sync/schema/helpers/index.js @@ -18,6 +18,21 @@ const freezeAndSealObjectDeeply = (...args) => { } } +const cloneDeepWithoutPropInheritance = (obj) => { + if (obj instanceof Function) { + return {} + } + if ( + !obj || + typeof obj !== 'object' + ) { + return obj + } + + return JSON.parse(JSON.stringify(obj)) +} + module.exports = { - freezeAndSealObjectDeeply + freezeAndSealObjectDeeply, + cloneDeepWithoutPropInheritance } diff --git a/workers/loc.api/sync/schema/models/model/base.model.js b/workers/loc.api/sync/schema/models/model/base.model.js index 4540c913a..2ef093b70 100644 --- a/workers/loc.api/sync/schema/models/model/base.model.js +++ b/workers/loc.api/sync/schema/models/model/base.model.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const DB_SERVICE_FIELD_NAMES = require('./db.service.field.names') const DB_DATA_TYPES = require('./db.data.types') diff --git a/workers/loc.api/sync/schema/models/model/index.js b/workers/loc.api/sync/schema/models/model/index.js index 5cbc1241f..0217bee95 100644 --- a/workers/loc.api/sync/schema/models/model/index.js +++ b/workers/loc.api/sync/schema/models/model/index.js @@ -1,12 +1,11 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') - const { DbModelCreationError } = require('../../../../errors') const { - freezeAndSealObjectDeeply + freezeAndSealObjectDeeply, + cloneDeepWithoutPropInheritance } = require('../../helpers') const BaseModel = require('./base.model') @@ -92,20 +91,20 @@ class Model extends BaseModel { clone () { return new Model().setDataStructure( - cloneDeep(this), + cloneDeepWithoutPropInheritance(this), { isNotFrozen: true } ) } getModelFields (opts) { return opts?.isCloned - ? cloneDeep(this.#modelFields) + ? cloneDeepWithoutPropInheritance(this.#modelFields) : this.#modelFields } getModelFieldKeys (opts) { return opts?.isCloned - ? cloneDeep(this.#modelFieldKeys) + ? cloneDeepWithoutPropInheritance(this.#modelFieldKeys) : this.#modelFieldKeys } @@ -151,7 +150,7 @@ class Model extends BaseModel { } if (Array.isArray(this[modelFieldName])) { return isCloned - ? cloneDeep(this[modelFieldName]) + ? cloneDeepWithoutPropInheritance(this[modelFieldName]) : this[modelFieldName] } if ( @@ -166,7 +165,7 @@ class Model extends BaseModel { : [this[modelFieldName]] return isCloned - ? cloneDeep(modelField) + ? cloneDeepWithoutPropInheritance(modelField) : modelField } diff --git a/workers/loc.api/sync/schema/sync-schema/model/base.sync.schema.model.js b/workers/loc.api/sync/schema/sync-schema/model/base.sync.schema.model.js index dc25f62ff..040be5bf7 100644 --- a/workers/loc.api/sync/schema/sync-schema/model/base.sync.schema.model.js +++ b/workers/loc.api/sync/schema/sync-schema/model/base.sync.schema.model.js @@ -1,6 +1,6 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { cloneDeep } = require('@bitfinex/lib-js-util-base') const TABLES_NAMES = require('../../tables-names') const ALLOWED_COLLS = require('../../allowed.colls') diff --git a/workers/loc.api/sync/schema/sync-schema/model/helpers/index.js b/workers/loc.api/sync/schema/sync-schema/model/helpers/index.js index dc1359e86..d57fc38f7 100644 --- a/workers/loc.api/sync/schema/sync-schema/model/helpers/index.js +++ b/workers/loc.api/sync/schema/sync-schema/model/helpers/index.js @@ -1,6 +1,8 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') +const { + cloneDeepWithoutPropInheritance +} = require('../../../helpers') const BaseSyncSchemaModel = require( '../base.sync.schema.model' ) @@ -20,7 +22,7 @@ const cloneModel = (model = []) => { continue } - clonedSchema[propName] = cloneDeep(value) + clonedSchema[propName] = cloneDeepWithoutPropInheritance(value) } return clonedSchema diff --git a/workers/loc.api/sync/schema/sync-schema/model/index.js b/workers/loc.api/sync/schema/sync-schema/model/index.js index 57d47723b..ef93813d1 100644 --- a/workers/loc.api/sync/schema/sync-schema/model/index.js +++ b/workers/loc.api/sync/schema/sync-schema/model/index.js @@ -1,13 +1,12 @@ 'use strict' -const { cloneDeep } = require('lib-js-util-base') - const { SyncSchemaModelCreationError, SyncSchemaModelFieldKeyNameAccessError } = require('../../../../errors') const { - freezeAndSealObjectDeeply + freezeAndSealObjectDeeply, + cloneDeepWithoutPropInheritance } = require('../../helpers') const { cloneModel @@ -97,13 +96,13 @@ class SyncSchemaModel extends BaseSyncSchemaModel { getModelFields (opts) { return opts?.isCloned - ? cloneDeep(this.#modelFields) + ? cloneDeepWithoutPropInheritance(this.#modelFields) : this.#modelFields } getModelFieldKeys (opts) { return opts?.isCloned - ? cloneDeep(this.#modelFieldKeys) + ? cloneDeepWithoutPropInheritance(this.#modelFieldKeys) : this.#modelFieldKeys } diff --git a/workers/loc.api/sync/sub.account.api.data/index.js b/workers/loc.api/sync/sub.account.api.data/index.js index f21d45a3e..aa79fdcf3 100644 --- a/workers/loc.api/sync/sub.account.api.data/index.js +++ b/workers/loc.api/sync/sub.account.api.data/index.js @@ -5,14 +5,14 @@ const { } = require('lodash') const { isEmpty -} = require('lib-js-util-base') +} = require('@bitfinex/lib-js-util-base') const { prepareResponse -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { AuthError, FindMethodError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { DatePropNameError diff --git a/workers/loc.api/sync/sub.account/index.js b/workers/loc.api/sync/sub.account/index.js index 25e2f5493..fc17d73ec 100644 --- a/workers/loc.api/sync/sub.account/index.js +++ b/workers/loc.api/sync/sub.account/index.js @@ -4,7 +4,7 @@ const { orderBy } = require('lodash') const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { isSubAccountApiKeys, diff --git a/workers/loc.api/sync/summary.by.asset/index.js b/workers/loc.api/sync/summary.by.asset/index.js index 36a8dd316..e4c187b21 100644 --- a/workers/loc.api/sync/summary.by.asset/index.js +++ b/workers/loc.api/sync/summary.by.asset/index.js @@ -1,6 +1,6 @@ 'use strict' -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const moment = require('moment') const math = require('mathjs') diff --git a/workers/loc.api/sync/sync.colls.manager/index.js b/workers/loc.api/sync/sync.colls.manager/index.js index 5f3ecfdb9..0674f5d84 100644 --- a/workers/loc.api/sync/sync.colls.manager/index.js +++ b/workers/loc.api/sync/sync.colls.manager/index.js @@ -2,7 +2,7 @@ const { AuthError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { isHidden, diff --git a/workers/loc.api/sync/sync.interrupter/index.js b/workers/loc.api/sync/sync.interrupter/index.js index 865c0dd60..ac0e15ac8 100644 --- a/workers/loc.api/sync/sync.interrupter/index.js +++ b/workers/loc.api/sync/sync.interrupter/index.js @@ -1,10 +1,10 @@ 'use strict' const Interrupter = require( - 'bfx-report/workers/loc.api/interrupter' + '@bitfinex/bfx-report/workers/loc.api/interrupter' ) const INTERRUPTER_NAMES = require( - 'bfx-report/workers/loc.api/interrupter/interrupter.names' + '@bitfinex/bfx-report/workers/loc.api/interrupter/interrupter.names' ) const SYNC_PROGRESS_STATES = require('../progress/sync.progress.states') diff --git a/workers/loc.api/sync/sync.queue/index.js b/workers/loc.api/sync/sync.queue/index.js index c2b5e54fd..e797cbac2 100644 --- a/workers/loc.api/sync/sync.queue/index.js +++ b/workers/loc.api/sync/sync.queue/index.js @@ -1,7 +1,7 @@ 'use strict' const EventEmitter = require('events') -const { isEmpty } = require('lib-js-util-base') +const { isEmpty } = require('@bitfinex/lib-js-util-base') const COLLS_TYPES = require('../schema/colls.types') diff --git a/workers/loc.api/sync/total.fees.report/index.js b/workers/loc.api/sync/total.fees.report/index.js index 6745932f1..615a93029 100644 --- a/workers/loc.api/sync/total.fees.report/index.js +++ b/workers/loc.api/sync/total.fees.report/index.js @@ -1,6 +1,6 @@ 'use strict' -const { merge } = require('lib-js-util-base') +const { merge } = require('@bitfinex/lib-js-util-base') const { TotalFeesParamsFlagError diff --git a/workers/loc.api/sync/trades/index.js b/workers/loc.api/sync/trades/index.js index 338f428d1..a93e2c7d5 100644 --- a/workers/loc.api/sync/trades/index.js +++ b/workers/loc.api/sync/trades/index.js @@ -2,7 +2,7 @@ const { splitSymbolPairs -} = require('bfx-report/workers/loc.api/helpers') +} = require('@bitfinex/bfx-report/workers/loc.api/helpers') const { calcGroupedData, diff --git a/workers/loc.api/sync/transaction.tax.report/helpers/__test__/helpers/get-mocked-trades.js b/workers/loc.api/sync/transaction.tax.report/helpers/__test__/helpers/get-mocked-trades.js index a657fa136..93ee848a9 100644 --- a/workers/loc.api/sync/transaction.tax.report/helpers/__test__/helpers/get-mocked-trades.js +++ b/workers/loc.api/sync/transaction.tax.report/helpers/__test__/helpers/get-mocked-trades.js @@ -1,7 +1,7 @@ 'use strict' const splitSymbolPairs = require( - 'bfx-report/workers/loc.api/helpers/split-symbol-pairs' + '@bitfinex/bfx-report/workers/loc.api/helpers/split-symbol-pairs' ) module.exports = (mockTrades, opts) => { diff --git a/workers/loc.api/sync/transaction.tax.report/helpers/look-up-trades.js b/workers/loc.api/sync/transaction.tax.report/helpers/look-up-trades.js index c3488efed..dfa7fcb30 100644 --- a/workers/loc.api/sync/transaction.tax.report/helpers/look-up-trades.js +++ b/workers/loc.api/sync/transaction.tax.report/helpers/look-up-trades.js @@ -3,7 +3,7 @@ const BigNumber = require('bignumber.js') const { setImmediate } = require('node:timers/promises') const splitSymbolPairs = require( - 'bfx-report/workers/loc.api/helpers/split-symbol-pairs' + '@bitfinex/bfx-report/workers/loc.api/helpers/split-symbol-pairs' ) const { diff --git a/workers/loc.api/sync/transaction.tax.report/helpers/remap-trades.js b/workers/loc.api/sync/transaction.tax.report/helpers/remap-trades.js index b53ec3e12..47862b62b 100644 --- a/workers/loc.api/sync/transaction.tax.report/helpers/remap-trades.js +++ b/workers/loc.api/sync/transaction.tax.report/helpers/remap-trades.js @@ -2,7 +2,7 @@ const BigNumber = require('bignumber.js') const splitSymbolPairs = require( - 'bfx-report/workers/loc.api/helpers/split-symbol-pairs' + '@bitfinex/bfx-report/workers/loc.api/helpers/split-symbol-pairs' ) module.exports = (trades, params) => { diff --git a/workers/loc.api/sync/transaction.tax.report/index.js b/workers/loc.api/sync/transaction.tax.report/index.js index 0008e5e34..8921e1b0e 100644 --- a/workers/loc.api/sync/transaction.tax.report/index.js +++ b/workers/loc.api/sync/transaction.tax.report/index.js @@ -3,7 +3,7 @@ const { setTimeout } = require('node:timers/promises') const INTERRUPTER_NAMES = require( - 'bfx-report/workers/loc.api/interrupter/interrupter.names' + '@bitfinex/bfx-report/workers/loc.api/interrupter/interrupter.names' ) const { pushLargeArr } = require('../../helpers/utils') diff --git a/workers/loc.api/sync/weighted.averages.report/index.js b/workers/loc.api/sync/weighted.averages.report/index.js index 5fe109209..673f05b5f 100644 --- a/workers/loc.api/sync/weighted.averages.report/index.js +++ b/workers/loc.api/sync/weighted.averages.report/index.js @@ -1,7 +1,7 @@ 'use strict' const BaseWeightedAveragesReport = require( - 'bfx-report/workers/loc.api/weighted.averages.report' + '@bitfinex/bfx-report/workers/loc.api/weighted.averages.report' ) const { decorateInjectable } = require('../../di/utils') diff --git a/workers/loc.api/ws-transport/index.js b/workers/loc.api/ws-transport/index.js index 6670fb3ec..eae78fcfb 100644 --- a/workers/loc.api/ws-transport/index.js +++ b/workers/loc.api/ws-transport/index.js @@ -1,12 +1,12 @@ 'use strict' const uuid = require('uuid') -const { omit } = require('lib-js-util-base') +const { omit } = require('@bitfinex/lib-js-util-base') const { PeerRPCServer } = require('grenache-nodejs-ws') const { BadRequestError -} = require('bfx-report/workers/loc.api/errors') +} = require('@bitfinex/bfx-report/workers/loc.api/errors') const { decorateInjectable } = require('../di/utils') diff --git a/workers/loc.api/ws-transport/ws.event.emitter.js b/workers/loc.api/ws-transport/ws.event.emitter.js index 3a80e8bad..6387a1d65 100644 --- a/workers/loc.api/ws-transport/ws.event.emitter.js +++ b/workers/loc.api/ws-transport/ws.event.emitter.js @@ -1,7 +1,7 @@ 'use strict' const AbstractWSEventEmitter = require( - 'bfx-report/workers/loc.api/abstract.ws.event.emitter' + '@bitfinex/bfx-report/workers/loc.api/abstract.ws.event.emitter' ) const { decorateInjectable } = require('../di/utils')