@mojaloop/central-ledger 19.12.6 → 19.12.7

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
@@ -4,37 +4,10 @@ ignore:
4
4
  # vulnerabilities, npm ls shows only 7.0.6 verion is used
5
5
 
6
6
  # Ignore OpenSSL vulnerabilities in Alpine libcrypto3 and libssl3
7
- - vulnerability: CVE-2025-9230
8
- - vulnerability: CVE-2025-9232
9
- - vulnerability: CVE-2025-9231
10
- - vulnerability: GHSA-5j98-mcp5-4vw2 # glob, which comes from npm
7
+ - vulnerability: GHSA-3ppc-4f35-3m26
8
+ reason: minimatch upgrade breaks some dev tools so adding this to ignore list
11
9
  - vulnerability: CVE-2025-60876
12
- - vulnerability: CVE-2026-22184
13
- - vulnerability: GHSA-34x7-hfp2-rc4v
14
- - vulnerability: CVE-2025-69420
15
- - vulnerability: GHSA-r6q2-hw4h-h46w
16
- - vulnerability: GHSA-8qq5-rm4j-mr97
17
- - vulnerability: GHSA-xxjr-mmjv-4gpg
18
- - vulnerability: CVE-2026-22796
19
- - vulnerability: GHSA-g9mf-h72j-4rw9
20
- # Node.js vulnerabilities - fix requires Node 22.22.0+ (not yet available in Alpine)
21
- - vulnerability: CVE-2025-59465
22
- - vulnerability: CVE-2025-55131
23
- - vulnerability: CVE-2026-21637
24
- - vulnerability: CVE-2025-59466
25
- - vulnerability: CVE-2025-55130
26
- - vulnerability: CVE-2025-55132
27
- # diff npm package - fix requires 5.2.2 (breaking change)
28
- - vulnerability: GHSA-73rr-hh4g-fpgx
29
- - vulnerability: GHSA-6c59-mwgh-r2x6
30
-
31
- # Ignored: GHSA-37qj-frw5-hhjh affects a dependency only used in local tooling/CI,
32
- # is not included in production runtime images, and is tracked for upgrade in our backlog.
33
- - vulnerability: GHSA-37qj-frw5-hhjh
34
- # Ignored: GHSA-p5wg-g6qr-c7cg affects a non-production/dev-only dependency;
35
- # no exploitable path exists in our deployed environment, and mitigations are in place.
36
- - vulnerability: GHSA-p5wg-g6qr-c7cg
37
- - vulnerability: GHSA-3966-f6p6-2qr9
10
+ reason: No fix available as of 1.37.0-r30
38
11
 
39
12
  # Set output format defaults
40
13
  output:
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [19.12.7](https://github.com/mojaloop/central-ledger/compare/v19.12.6...v19.12.7) (2026-02-19)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove deprecated mongodb option ([#1258](https://github.com/mojaloop/central-ledger/issues/1258)) ([7a490fe](https://github.com/mojaloop/central-ledger/commit/7a490fef4dc3d33edad944fba762fc00a9efddfe))
11
+
12
+
13
+ ### Chore
14
+
15
+ * **sbom:** update sbom [skip ci] ([14a29f3](https://github.com/mojaloop/central-ledger/commit/14a29f3341dfc9d32c550838032d2758dceeea2d))
16
+
5
17
  ### [19.12.6](https://github.com/mojaloop/central-ledger/compare/v19.12.5...v19.12.6) (2026-02-17)
6
18
 
7
19
 
package/Dockerfile CHANGED
@@ -34,7 +34,6 @@ RUN ln -sf /dev/stdout ./logs/combined.log
34
34
 
35
35
  # Create a non-root user: ml-user
36
36
  RUN adduser -D ml-user
37
- USER ml-user
38
37
 
39
38
  COPY --chown=ml-user --from=builder /opt/app .
40
39
 
@@ -44,5 +43,14 @@ COPY migrations /opt/app/migrations
44
43
  COPY seeds /opt/app/seeds
45
44
  COPY test /opt/app/test
46
45
 
46
+ # Remove npm/npx from runtime image to eliminate npm's vulnerable tar - failing grype scan
47
+ USER root
48
+ RUN rm -rf \
49
+ /usr/local/lib/node_modules/npm \
50
+ /usr/local/bin/npm \
51
+ /usr/local/bin/npx
52
+
53
+ USER ml-user
54
+
47
55
  EXPOSE 3001
48
- CMD ["npm", "run", "start"]
56
+ CMD ["node", "src/api/index.js"]
package/audit-ci.jsonc CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
3
3
  // audit-ci supports reading JSON, JSONC, and JSON5 config files.
4
+ // Only check production dependencies (devDependencies ignored)
5
+ "skip-dev": true,
4
6
  // Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
5
7
  "moderate": true,
6
8
  "allowlist": [
9
+ "GHSA-3ppc-4f35-3m26"
7
10
  ]
8
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-ledger",
3
- "version": "19.12.6",
3
+ "version": "19.12.7",
4
4
  "description": "Central ledger hosted by a scheme to record and settle transfers",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -87,20 +87,20 @@
87
87
  "@hapi/catbox-memory": "6.0.2",
88
88
  "@hapi/catbox": "12.1.1",
89
89
  "@hapi/good": "9.0.1",
90
- "@hapi/hapi": "21.4.4",
90
+ "@hapi/hapi": "21.4.6",
91
91
  "@hapi/inert": "7.1.0",
92
92
  "@hapi/vision": "7.0.3",
93
93
  "@mojaloop/central-services-error-handling": "13.1.6",
94
94
  "@mojaloop/central-services-health": "15.2.2",
95
95
  "@mojaloop/central-services-logger": "11.10.4",
96
- "@mojaloop/central-services-metrics": "12.8.4",
96
+ "@mojaloop/central-services-metrics": "12.8.5",
97
97
  "@mojaloop/central-services-shared": "18.35.3",
98
98
  "@mojaloop/central-services-stream": "11.9.1",
99
- "@mojaloop/database-lib": "11.3.5",
100
- "@mojaloop/event-sdk": "14.8.2",
99
+ "@mojaloop/database-lib": "11.3.7",
100
+ "@mojaloop/event-sdk": "14.8.3",
101
101
  "@mojaloop/inter-scheme-proxy-cache-lib": "2.9.0",
102
102
  "@mojaloop/ml-number": "11.4.3",
103
- "@mojaloop/object-store-lib": "12.2.2",
103
+ "@mojaloop/object-store-lib": "12.2.3",
104
104
  "@now-ims/hapi-now-auth": "2.1.0",
105
105
  "ajv": "8.18.0",
106
106
  "ajv-keywords": "5.1.0",
@@ -139,7 +139,7 @@
139
139
  "jsonpath": "1.2.1",
140
140
  "mock-knex": "0.4.13",
141
141
  "nodemon": "3.1.11",
142
- "npm-check-updates": "19.3.2",
142
+ "npm-check-updates": "19.4.0",
143
143
  "nyc": "17.1.0",
144
144
  "pre-commit": "1.2.2",
145
145
  "proxyquire": "2.1.3",
@@ -153,13 +153,23 @@
153
153
  "tapes": "4.1.0"
154
154
  },
155
155
  "overrides": {
156
+ "ajv": "8.18.0",
157
+ "eslint": {
158
+ "ajv": "6.12.6"
159
+ },
160
+ "eslint@9.39.2": {
161
+ "ajv": "6.12.6"
162
+ },
163
+ "@eslint/eslintrc": {
164
+ "ajv": "6.12.6"
165
+ },
156
166
  "axios": "1.13.5",
157
167
  "brace-expansion": "2.0.2",
158
168
  "form-data": "4.0.4",
159
169
  "lodash": "4.17.23",
160
170
  "undici": "6.23.0",
161
171
  "shins": {
162
- "ajv": "6.12.3",
172
+ "ajv": "8.18.0",
163
173
  "ejs": "3.1.10",
164
174
  "sanitize-html": "2.12.1",
165
175
  "markdown-it": "12.3.2"
@@ -180,7 +190,7 @@
180
190
  "trim": "0.0.3",
181
191
  "cross-spawn": "7.0.6",
182
192
  "yargs-parser": "21.1.1",
183
- "fast-xml-parser": "5.3.4"
193
+ "fast-xml-parser": "5.3.6"
184
194
  },
185
195
  "config": {
186
196
  "knex": "--knexfile ./config/knexfile.js",