ml-testing-toolkit 18.16.2-snapshot.1 → 18.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.grype.yaml
CHANGED
|
@@ -2,7 +2,9 @@ ignore:
|
|
|
2
2
|
# Ignore cross-spawn vulnerabilities by CVE ID due to false positive
|
|
3
3
|
# as grype looks at package-lock.json where it shows versions with
|
|
4
4
|
# vulnerabilities, npm ls shows only 7.0.6 verion is used
|
|
5
|
-
|
|
5
|
+
- vulnerability: CVE-2025-9230
|
|
6
|
+
- vulnerability: CVE-2025-9232
|
|
7
|
+
- vulnerability: CVE-2025-9231
|
|
6
8
|
|
|
7
9
|
# Set output format defaults
|
|
8
10
|
output:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
# Changelog: [mojaloop/thirdparty-api-svc](https://github.com/mojaloop/thirdparty-api-svc)
|
|
2
|
+
### [18.16.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.16.1...v18.16.2) (2025-10-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Chore
|
|
6
|
+
|
|
7
|
+
* bump deps ([#346](https://github.com/mojaloop/ml-testing-toolkit/issues/346)) ([52e690d](https://github.com/mojaloop/ml-testing-toolkit/commit/52e690dd9d342106dce5b6ca53bf061c40391fc3))
|
|
8
|
+
|
|
2
9
|
### [18.16.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.16.0...v18.16.1) (2025-09-17)
|
|
3
10
|
|
|
4
11
|
|
package/jest.config.js
CHANGED
|
@@ -13,5 +13,9 @@ module.exports = {
|
|
|
13
13
|
},
|
|
14
14
|
modulePathIgnorePatterns: ['spec_files'],
|
|
15
15
|
testEnvironment: 'node',
|
|
16
|
-
testTimeout: 30000
|
|
16
|
+
testTimeout: 30000,
|
|
17
|
+
// Mock ESM modules that Jest can't handle
|
|
18
|
+
moduleNameMapper: {
|
|
19
|
+
'^@faker-js/faker$': '<rootDir>/node_modules/@mojaloop/ml-testing-toolkit-shared-lib/__mocks__/@faker-js/faker.js'
|
|
20
|
+
}
|
|
17
21
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ml-testing-toolkit",
|
|
3
3
|
"description": "Testing Toolkit for Mojaloop implementations",
|
|
4
|
-
"version": "18.16.2
|
|
4
|
+
"version": "18.16.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Vijaya Kumar Guthi, ModusBox Inc. ",
|
|
7
7
|
"contributors": [
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
"@hapi/inert": "7.1.0",
|
|
80
80
|
"@hapi/vision": "7.0.3",
|
|
81
81
|
"@mojaloop/central-services-logger": "11.10.1",
|
|
82
|
-
"@mojaloop/central-services-metrics": "12.
|
|
82
|
+
"@mojaloop/central-services-metrics": "12.8.0",
|
|
83
83
|
"@mojaloop/ml-schema-transformer-lib": "2.7.8",
|
|
84
|
-
"@mojaloop/ml-testing-toolkit-shared-lib": "14.
|
|
85
|
-
"@mojaloop/sdk-standard-components": "19.
|
|
84
|
+
"@mojaloop/ml-testing-toolkit-shared-lib": "14.3.0",
|
|
85
|
+
"@mojaloop/sdk-standard-components": "19.18.0",
|
|
86
86
|
"@now-ims/hapi-now-auth": "2.1.0",
|
|
87
87
|
"@types/socket.io": "3.0.2",
|
|
88
88
|
"adm-zip": "0.5.16",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"cookie-parser": "1.4.7",
|
|
95
95
|
"cookies": "0.9.1",
|
|
96
96
|
"cors": "2.8.5",
|
|
97
|
-
"dotenv": "17.2.
|
|
97
|
+
"dotenv": "17.2.3",
|
|
98
98
|
"express": "5.1.0",
|
|
99
99
|
"express-validator": "7.2.1",
|
|
100
100
|
"fs": "0.0.1-security",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"json-rules-engine": "7.3.1",
|
|
109
109
|
"jsonwebtoken": "9.0.2",
|
|
110
110
|
"lodash": "4.17.21",
|
|
111
|
-
"mongoose": "8.
|
|
111
|
+
"mongoose": "8.19.1",
|
|
112
112
|
"multer": "2.0.2",
|
|
113
113
|
"mustache": "4.2.0",
|
|
114
114
|
"mv": "2.1.1",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"jest": "29.7.0",
|
|
139
139
|
"jest-junit": "16.0.0",
|
|
140
140
|
"nodemon": "3.1.10",
|
|
141
|
-
"npm-check-updates": "
|
|
141
|
+
"npm-check-updates": "19.0.0",
|
|
142
142
|
"nyc": "17.1.0",
|
|
143
143
|
"parse-strings-in-object": "1.6.0",
|
|
144
144
|
"pre-commit": "1.2.2",
|
|
@@ -47,13 +47,6 @@ class InboundEventListener {
|
|
|
47
47
|
|
|
48
48
|
async init () {
|
|
49
49
|
this.userConfig = await Config.getStoredUserConfig()
|
|
50
|
-
|
|
51
|
-
// Fixes the MyEmitter listener leak issue
|
|
52
|
-
if (this.emitter.listenerCount('newInbound') > 0) {
|
|
53
|
-
// this.emitter.removeAllListeners('newInbound')
|
|
54
|
-
return
|
|
55
|
-
}
|
|
56
|
-
|
|
57
50
|
this.emitter.on('newInbound', (data) => {
|
|
58
51
|
for (const [, eventListener] of Object.entries(this.eventListeners)) {
|
|
59
52
|
// Match method, path and condition for each inbound request
|