diff --git a/.ncurc.yaml b/.ncurc.yaml index 6f4aa8bc8..79ef9049b 100644 --- a/.ncurc.yaml +++ b/.ncurc.yaml @@ -1,9 +1,13 @@ ## Add a TODO comment indicating the reason for each rejected dependency upgrade added to this list, and what should be done to resolve it (i.e. handle it through a story, etc). reject: [ - # TODO: Tests fail when tape is upgraded. + # Tests fail when tape is upgraded. + # Issue is tracked here: https://github.com/mojaloop/project/issues/3616 "tape", # TODO: New versions from 2.2.0 onwards introduce a newer incompatible version of the ILP-Packet that is not compatible with the Mojaloop Specification "ilp-packet", - # TODO: v6+ (ref: https://github.com/sindresorhus/get-port/releases/tag/v6.0.0) is an ESM library and thus not compatible with CommonJS. Future story needed to resolve. - "get-port" + # v6+ (ref: https://github.com/sindresorhus/get-port/releases/tag/v6.0.0) is an ESM library and thus not compatible with CommonJS. Future story needed to resolve. + "get-port", + # sinon v17.0.1 causes 58 tests to fail. This will need to be resolved in a future story. + # Issue is tracked here: https://github.com/mojaloop/project/issues/3616 + "sinon" ] diff --git a/package-lock.json b/package-lock.json index 6c1401c7e..0700d8c8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mojaloop/central-ledger", - "version": "17.3.1", + "version": "17.3.2-snapshot.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mojaloop/central-ledger", - "version": "17.3.1", + "version": "17.3.2-snapshot.0", "license": "Apache-2.0", "dependencies": { "@hapi/catbox-memory": "6.0.1", @@ -19,10 +19,10 @@ "@mojaloop/central-services-health": "14.0.2", "@mojaloop/central-services-logger": "11.2.2", "@mojaloop/central-services-metrics": "12.0.8", - "@mojaloop/central-services-shared": "18.1.2", + "@mojaloop/central-services-shared": "18.1.3", "@mojaloop/central-services-stream": "11.2.0", "@mojaloop/database-lib": "11.0.3", - "@mojaloop/event-sdk": "13.0.0", + "@mojaloop/event-sdk": "14.0.0", "@mojaloop/ml-number": "11.2.3", "@mojaloop/object-store-lib": "12.0.2", "@now-ims/hapi-now-auth": "2.1.0", @@ -776,9 +776,9 @@ "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==" }, "node_modules/@grpc/grpc-js": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.4.tgz", - "integrity": "sha512-oEnzYiDuEsBydZBtP84BkpduLsE1nSAO4KrhTLHRzNrIQE647fhchmosTQsJdCo8X9zBBt+l5+fNk+m/yCFJ/Q==", + "version": "1.9.9", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.9.tgz", + "integrity": "sha512-vQ1qwi/Kiyprt+uhb1+rHMpyk4CVRMTGNUGGPRGS7pLNfWkdCHrGEnT6T3/JyC2VZgoOX/X1KwdoU0WYQAeYcQ==", "dependencies": { "@grpc/proto-loader": "^0.7.8", "@types/node": ">=12.12.47" @@ -788,9 +788,9 @@ } }, "node_modules/@grpc/proto-loader": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.9.tgz", - "integrity": "sha512-YJsOehVXzgurc+lLAxYnlSMc1p/Gu6VAvnfx0ATi2nzvr0YZcjhmZDeY8SeAKv1M7zE3aEJH0Xo9mK1iZ8GYoQ==", + "version": "0.7.10", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.10.tgz", + "integrity": "sha512-CAqDfoaQ8ykFd9zqBDn4k6iWT9loLAlc2ETmDFS9JCD70gDcnA4L3AFEo2iV7KyAtAAHFW9ftq1Fz+Vsgq80RQ==", "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", @@ -1659,13 +1659,13 @@ } }, "node_modules/@mojaloop/central-services-shared": { - "version": "18.1.2", - "resolved": "https://registry.npmjs.org/@mojaloop/central-services-shared/-/central-services-shared-18.1.2.tgz", - "integrity": "sha512-4DaAY+YhBq2o/Wl8Um7q0Y6B5qQPLscipDf7Tkz5vjlPM622YErbycSF41Khf9gzQ8AO8H8KTnd+rhOSXvHHQw==", + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/@mojaloop/central-services-shared/-/central-services-shared-18.1.3.tgz", + "integrity": "sha512-XqpxFlPYhXd4wXm3IJN6MGrUaGfbUiebygM6xHcxt3n4tux5w7zFVbQLMDC09MjfKRg9juB+b//RdBPLh+Wtnw==", "dependencies": { "@hapi/catbox": "12.1.1", "@hapi/catbox-memory": "5.0.1", - "axios": "1.5.0", + "axios": "1.6.0", "clone": "2.1.2", "dotenv": "16.3.1", "env-var": "7.4.1", @@ -1673,19 +1673,19 @@ "immutable": "4.3.4", "lodash": "4.17.21", "mustache": "4.2.0", - "openapi-backend": "5.9.2", + "openapi-backend": "5.10.5", "raw-body": "2.5.2", "rc": "1.2.8", "shins": "2.6.0", "uuid4": "2.0.3", "widdershins": "^4.0.1", - "yaml": "2.3.2" + "yaml": "2.3.3" }, "peerDependencies": { "@mojaloop/central-services-error-handling": ">=12.x.x", "@mojaloop/central-services-logger": ">=11.x.x", "@mojaloop/central-services-metrics": ">=12.x.x", - "@mojaloop/event-sdk": ">=12.x.x", + "@mojaloop/event-sdk": ">=14.x.x", "ajv": "8.x.x", "ajv-keywords": "5.x.x" }, @@ -1823,12 +1823,12 @@ } }, "node_modules/@mojaloop/event-sdk": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/@mojaloop/event-sdk/-/event-sdk-13.0.0.tgz", - "integrity": "sha512-77GR2aUnrjQksR3lO/NVyMd/REMbtltN1D/Z3NHwNCqGNem2YE6My0eC9uWoziz5A4X5wz21F9zDgISLfm6xUQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@mojaloop/event-sdk/-/event-sdk-14.0.0.tgz", + "integrity": "sha512-grwC4QYz5aHgMOhGQ7uJKF73OEagSkTlDe2MSNOQvoKGfk8woX9AoTGEWyyNDdLRiRj+445jek0iqlfXxHg4Gg==", "dependencies": { - "@grpc/grpc-js": "^1.9.2", - "@grpc/proto-loader": "0.7.9", + "@grpc/grpc-js": "^1.9.9", + "@grpc/proto-loader": "0.7.10", "brototype": "0.0.6", "error-callsites": "2.0.4", "lodash": "4.17.21", @@ -1840,7 +1840,7 @@ "traceparent": "1.0.0", "tslib": "2.6.2", "uuid4": "2.0.3", - "winston": "3.10.0" + "winston": "3.11.0" }, "peerDependencies": { "@mojaloop/central-services-logger": "11.x.x" @@ -1851,6 +1851,48 @@ } } }, + "node_modules/@mojaloop/event-sdk/node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@mojaloop/event-sdk/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@mojaloop/event-sdk/node_modules/winston": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz", + "integrity": "sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==", + "dependencies": { + "@colors/colors": "^1.6.0", + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.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.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, "node_modules/@mojaloop/ml-number": { "version": "11.2.3", "resolved": "https://registry.npmjs.org/@mojaloop/ml-number/-/ml-number-11.2.3.tgz", @@ -2421,9 +2463,9 @@ "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.14.tgz", + "integrity": "sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==" }, "node_modules/@types/json5": { "version": "0.0.29", @@ -3009,9 +3051,9 @@ } }, "node_modules/axios": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz", - "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -6476,9 +6518,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "funding": [ { "type": "individual", @@ -11764,11 +11806,11 @@ } }, "node_modules/openapi-backend": { - "version": "5.9.2", - "resolved": "https://registry.npmjs.org/openapi-backend/-/openapi-backend-5.9.2.tgz", - "integrity": "sha512-x49QIeqwsty0v5BGzjXsEnx4Hm3cYYU9LOOc2+wWtF0ksMiCBdoZlwk/FQ2bvuZaECSoeCT8wc1iZArP3klwuA==", + "version": "5.10.5", + "resolved": "https://registry.npmjs.org/openapi-backend/-/openapi-backend-5.10.5.tgz", + "integrity": "sha512-ivZfL0Lwj7rRctCqxAquGy4j/VcdUXUvDsEVM3NG/2jDuvYT2dS+sf9ntGo5vv4hkOnkWgPnR6HxHp7NPexqAA==", "dependencies": { - "@apidevtools/json-schema-ref-parser": "^10.1.0", + "@apidevtools/json-schema-ref-parser": "^11.1.0", "ajv": "^8.6.2", "bath-es5": "^3.0.3", "cookie": "^0.5.0", @@ -11787,12 +11829,12 @@ } }, "node_modules/openapi-backend/node_modules/@apidevtools/json-schema-ref-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-10.1.0.tgz", - "integrity": "sha512-3e+viyMuXdrcK8v5pvP+SDoAQ77FH6OyRmuK48SZKmdHJRFm87RsSs8qm6kP39a/pOPURByJw+OXzQIqcfmKtA==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.1.0.tgz", + "integrity": "sha512-g/VW9ZQEFJAOwAyUb8JFf7MLiLy2uEB4rU270rGzDwICxnxMlPy0O11KVePSgS36K1NI29gSlK84n5INGhd4Ag==", "dependencies": { "@jsdevtools/ono": "^7.1.3", - "@types/json-schema": "^7.0.11", + "@types/json-schema": "^7.0.13", "@types/lodash.clonedeep": "^4.5.7", "js-yaml": "^4.1.0", "lodash.clonedeep": "^4.5.0" @@ -17052,9 +17094,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yaml": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.2.tgz", - "integrity": "sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.3.tgz", + "integrity": "sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==", "engines": { "node": ">= 14" } diff --git a/package.json b/package.json index f59b694c6..4a0763a9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mojaloop/central-ledger", - "version": "17.3.1", + "version": "17.3.2-snapshot.0", "description": "Central ledger hosted by a scheme to record and settle transfers", "license": "Apache-2.0", "author": "ModusBox", @@ -90,9 +90,9 @@ "@mojaloop/central-services-health": "14.0.2", "@mojaloop/central-services-logger": "11.2.2", "@mojaloop/central-services-metrics": "12.0.8", - "@mojaloop/central-services-shared": "18.1.2", + "@mojaloop/central-services-shared": "18.1.3", "@mojaloop/central-services-stream": "11.2.0", - "@mojaloop/event-sdk": "13.0.0", + "@mojaloop/event-sdk": "14.0.0", "@mojaloop/ml-number": "11.2.3", "@mojaloop/object-store-lib": "12.0.2", "@now-ims/hapi-now-auth": "2.1.0",