@mojaloop/event-stream-processor 12.0.1 → 12.0.3

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.
@@ -1,7 +1,7 @@
1
1
  version: 2.1
2
2
  setup: true
3
3
  orbs:
4
- build: mojaloop/build@1.1.17
4
+ build: mojaloop/build@2.3.0
5
5
  workflows:
6
6
  setup:
7
7
  jobs:
package/.grype.yaml CHANGED
@@ -1,33 +1,64 @@
1
1
  scan-type: source
2
-
3
2
  ignore:
4
- - vulnerability: CVE-2025-60876
3
+ - vulnerability: CVE-2026-107494
5
4
  include-aliases: true
6
- reason: "Alpine base image package (apk): busybox - no npm fix available as of 2026-02-23 (moderate severity)"
7
- - vulnerability: GHSA-7h2j-956f-4vf2
5
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
6
+ - vulnerability: CVE-2026-124709
8
7
  include-aliases: true
9
- reason: >-
10
- Base image npm package: @isaacs/brace-expansion - bundled in Node.js base image, not fixable via application
11
- dependencies as of 2026-02-23 (high severity)
12
- - vulnerability: GHSA-83g3-92jg-28cx
8
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
9
+ - vulnerability: CVE-2026-121482
13
10
  include-aliases: true
14
- reason: >-
15
- Base image npm package: tar - bundled in Node.js base image, not fixable via application dependencies as of
16
- 2026-02-23 (high severity)
17
- - vulnerability: GHSA-34x7-hfp2-rc4v
11
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
12
+ - vulnerability: CVE-2026-84786
13
+ include-aliases: true
14
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
15
+ - vulnerability: CVE-2026-4738
16
+ include-aliases: true
17
+ reason: 'Alpine base image package (apk): zlib - no npm fix available as of 2026-12-01 (critical severity)'
18
+ - vulnerability: GHSA-3g3m-2fjr-6pw4
18
19
  include-aliases: true
19
20
  reason: >-
20
- Base image npm package: tar - bundled in Node.js base image, not fixable via application dependencies as of
21
- 2026-02-23 (high severity)
22
- - vulnerability: CVE-2026-27171
21
+ Base image npm package: glob - bundled in Node.js base image, not fixable via application dependencies as of
22
+ 2026-12-01 (moderate severity)
23
+ - vulnerability: CVE-2026-95692
24
+ include-aliases: true
25
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
26
+ - vulnerability: CVE-2026-107496
27
+ include-aliases: true
28
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
29
+ - vulnerability: CVE-2025-60876
30
+ include-aliases: true
31
+ reason: 'Alpine base image package (apk): busybox - no npm fix available as of 2026-12-01 (moderate severity)'
32
+ - vulnerability: CVE-2026-95691
33
+ include-aliases: true
34
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
35
+ - vulnerability: CVE-2026-88823
36
+ include-aliases: true
37
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
38
+ - vulnerability: CVE-2026-95690
39
+ include-aliases: true
40
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (moderate severity)'
41
+ - vulnerability: CVE-2026-88822
42
+ include-aliases: true
43
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (moderate severity)'
44
+ - vulnerability: CVE-2026-35190
45
+ include-aliases: true
46
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (moderate severity)'
47
+ - vulnerability: CVE-2026-107493
48
+ include-aliases: true
49
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-01 (high severity)'
50
+ - vulnerability: GHSA-qxr8-q827-836c
51
+ include-aliases: true
52
+ reason: 'Unfixable npm transitive vulnerability: glob (moderate severity) as of 2026-12-01'
53
+ - vulnerability: CVE-2026-84785
23
54
  include-aliases: true
24
- reason: "Alpine base image package (apk): zlib - no npm fix available as of 2026-02-23 (moderate severity)"
25
- - vulnerability: GHSA-p9pc-299p-vxgp
55
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-03 (moderate severity)'
56
+ - vulnerability: CVE-2026-140044
26
57
  include-aliases: true
27
- reason: "Unfixable npm transitive vulnerability: yargs-parser (moderate severity) as of 2026-02-23"
28
- - vulnerability: GHSA-2g4f-4pwh-qvx6
58
+ reason: 'Alpine base image package (apk): busybox - no npm fix available as of 2026-12-03 (high severity)'
59
+ - vulnerability: CVE-2026-120666
29
60
  include-aliases: true
30
- reason: "Unfixable npm transitive vulnerability: ajv (moderate severity) as of 2026-02-23"
61
+ reason: 'Alpine base image package (apk): libcrypto3 - no npm fix available as of 2026-12-03 (info severity)'
31
62
  output:
32
63
  - table
33
64
  - json
package/.ncurc.yaml CHANGED
@@ -3,5 +3,13 @@ reject: [
3
3
  ## TODO: Added "@hapi/catbox", "@hapi/catbox-memory" to ncurc for dep:check to ignore updates due to breaking changes which should be handled by another story
4
4
  "@hapi/catbox",
5
5
  "@hapi/catbox-memory",
6
- "eslint"
6
+ "eslint",
7
+ # TODO: hold the process-exit releases from mojaloop/project#4605 (central-services-logger 12,
8
+ # central-services-stream 12, database-lib 12, central-services-shared 20). They leave the process exit to
9
+ # the application through Util.startingProcess, which this service does not use yet, so its SIGTERM and
10
+ # crash shutdown would change. Move all four together when the service adopts startingProcess, tracked as
11
+ # step 4 of mojaloop/project#4604 (this service is not on that list yet).
12
+ "@mojaloop/central-services-logger",
13
+ "@mojaloop/central-services-stream",
14
+ "@mojaloop/central-services-shared"
7
15
  ]
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 22.22.0
1
+ 26.14.0
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
+ ### [12.0.3](https://github.com/mojaloop/event-stream-processor/compare/v12.0.2...v12.0.3) (2026-12-04)
6
+
7
+ ### [12.0.2](https://github.com/mojaloop/event-stream-processor/compare/v12.0.1...v12.0.2) (2026-10-10)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * bump the qs and sanitize-html overrides instead of allowlisting their advisories ([9c775a9](https://github.com/mojaloop/event-stream-processor/commit/9c775a9cb6e159e39481985065835eed331a52de))
13
+ * **security:** restore qs 6.16.0 and drop the allowlist entries it caused ([e459247](https://github.com/mojaloop/event-stream-processor/commit/e459247ee6f33ac3d4174d0e831b0cacdca2aa89))
14
+ * **security:** update dependencies and overrides to resolve CI failures ([87fdf88](https://github.com/mojaloop/event-stream-processor/commit/87fdf8898507a7a84cf168bcfa7e558fe5fa2096))
15
+ * undo two override downgrades and retire the vestigial suppressions ([62bfaab](https://github.com/mojaloop/event-stream-processor/commit/62bfaaba7a2c3ad4a16e2f2bf638f9d74b31141b))
16
+
5
17
  ### [12.0.1](https://github.com/mojaloop/event-stream-processor/compare/v12.0.0-snapshot.26...v12.0.1) (2026-03-31)
6
18
 
7
19
 
package/Dockerfile CHANGED
@@ -1,6 +1,5 @@
1
1
  # Arguments
2
- ARG NODE_VERSION=22.22.0-alpine3.23
3
-
2
+ ARG NODE_VERSION="26.14.0-alpine3.24"
4
3
  # NOTE: Ensure you set NODE_VERSION Build Argument as follows...
5
4
  #
6
5
  # export NODE_VERSION="$(cat .nvmrc)-alpine" \
@@ -16,15 +15,17 @@ USER root
16
15
 
17
16
  WORKDIR /opt/app
18
17
 
19
- RUN apk --no-cache add git
20
- RUN apk add --no-cache -t build-dependencies make gcc g++ python3 libtool openssl-dev autoconf automake bash \
21
- && cd $(npm root -g)/npm
18
+ RUN apk add --no-cache --virtual .build-deps \
19
+ autoconf automake bash g++ gcc git libtool make openssl-dev python3
22
20
 
23
21
  COPY package.json package-lock.json* /opt/app/
24
22
 
25
- RUN npm ci
23
+ # Production dependencies only, with lifecycle scripts disabled; node-rdkafka is
24
+ # then rebuilt explicitly so its native bindings are compiled in this stage.
25
+ RUN npm ci --omit=dev --ignore-scripts
26
+ RUN npm rebuild node-rdkafka
26
27
 
27
- RUN apk del build-dependencies
28
+ RUN apk del .build-deps
28
29
 
29
30
  COPY src /opt/app/src
30
31
  COPY config /opt/app/config
@@ -43,7 +44,6 @@ RUN adduser -D app-user
43
44
  USER app-user
44
45
 
45
46
  COPY --chown=app-user --from=builder /opt/app .
46
- RUN npm prune --production
47
47
 
48
48
  EXPOSE 3082
49
49
  CMD ["npm", "start"]
package/audit-ci.jsonc CHANGED
@@ -3,8 +3,14 @@
3
3
  // audit-ci supports reading JSON, JSONC, and JSON5 config files.
4
4
  // Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
5
5
  "moderate": true,
6
- "allowlist": [ // NOTE: Please add as much information as possible to any items added to the allowList
7
- "GHSA-p9pc-299p-vxgp",
8
- "GHSA-2g4f-4pwh-qvx6"
6
+ "allowlist": [
7
+ // NOTE: Please add as much information as possible to any items added to the allowList
8
+ //
9
+ // GHSA-hp3w-g68c-fv3c - sprintf-js: DoS through unbounded precision specifiers.
10
+ // No patched release exists: the advisory covers "<= 1.1.3" and 1.1.3 is the newest
11
+ // version published. Reached only through faucet, a dev-only test reporter, so it is
12
+ // never on a runtime path. Remove once sprintf-js 1.1.4 or later ships.
13
+ "GHSA-3g3m-2fjr-6pw4",
14
+ "GHSA-qxr8-q827-836c"
9
15
  ]
10
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/event-stream-processor",
3
- "version": "12.0.1",
3
+ "version": "12.0.3",
4
4
  "description": "event stream processor to monitor kafka event topic and create traces and store logs to efk stack with APM",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,8 +33,8 @@
33
33
  "test:coverage-check": "npm run test:coverage && nyc check-coverage",
34
34
  "audit:fix": "npm audit fix",
35
35
  "audit:check": "npx audit-ci --config ./audit-ci.jsonc",
36
- "dep:check": "npx ncu -e 2",
37
- "dep:update": "npx ncu -u",
36
+ "dep:check": "npx npm-check-updates -e 2",
37
+ "dep:update": "npx npm-check-updates -u",
38
38
  "test:integration": "echo 'No integration tests defined'",
39
39
  "test:functional": "echo 'No functional tests defined'",
40
40
  "release": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
@@ -47,19 +47,19 @@
47
47
  "dependencies": {
48
48
  "@hapi/catbox": "11.1.1",
49
49
  "@hapi/catbox-memory": "5.0.1",
50
- "@mojaloop/central-services-health": "15.2.2",
51
- "@mojaloop/central-services-logger": "11.10.4",
52
- "@mojaloop/central-services-metrics": "12.8.5",
53
- "@mojaloop/central-services-shared": "18.35.6",
54
- "@mojaloop/central-services-stream": "11.9.1",
50
+ "@mojaloop/central-services-health": "15.2.4",
51
+ "@mojaloop/central-services-logger": "11.10.7",
52
+ "@mojaloop/central-services-metrics": "12.8.10",
53
+ "@mojaloop/central-services-shared": "18.39.4",
54
+ "@mojaloop/central-services-stream": "11.12.0",
55
55
  "@mojaloop/elastic-apm-node": "6.4.0-snapshot",
56
56
  "@mojaloop/elastic-apm-node-opentracing": "6.4.0-snapshot",
57
- "@mojaloop/event-sdk": "14.8.3",
57
+ "@mojaloop/event-sdk": "14.8.7",
58
58
  "deserialize-error": "0.0.3",
59
59
  "elasticsearch": "16.7.3",
60
60
  "fluent-logger": "3.4.1",
61
- "lodash": "4.17.23",
62
- "moment": "2.30.1",
61
+ "lodash": "4.18.1",
62
+ "moment": "2.31.0",
63
63
  "mustache": "4.2.0",
64
64
  "parse-strings-in-object": "2.0.0",
65
65
  "rc": "1.2.8",
@@ -70,21 +70,22 @@
70
70
  "audit-ci": "7.1.0",
71
71
  "eslint": "8.57.1",
72
72
  "faucet": "0.0.4",
73
- "npm-check-updates": "19.6.6",
73
+ "npm-check-updates": "23.1.1",
74
74
  "nyc": "18.0.0",
75
- "pre-commit": "1.2.2",
75
+ "pre-commit": "2.0.0",
76
76
  "replace": "1.2.2",
77
77
  "standard": "17.1.2",
78
78
  "standard-version": "9.5.0",
79
79
  "tap-spec": "5.0.0",
80
80
  "tap-xunit": "2.4.1",
81
81
  "proxyquire": "2.1.3",
82
- "sinon": "21.0.3",
83
- "tape": "5.9.0",
82
+ "sinon": "22.1.0",
83
+ "tape": "5.11.0",
84
84
  "tapes": "4.1.0"
85
85
  },
86
86
  "overrides": {
87
- "form-data": "4.0.5",
87
+ "nan": "2.30.0",
88
+ "form-data": "4.0.6",
88
89
  "on-headers": "1.1.0",
89
90
  "widdershins": {
90
91
  "ajv": "6.12.3",
@@ -94,27 +95,46 @@
94
95
  "swagger2openapi": "7.0.8"
95
96
  },
96
97
  "ejs": "3.1.10",
97
- "sanitize-html": "2.12.1",
98
- "markdown-it": "12.3.2",
98
+ "sanitize-html": "2.17.7",
99
+ "markdown-it": "14.3.1",
99
100
  "trim": "0.0.3",
100
101
  "cookie": "1.0.2",
101
- "cross-spawn": "7.0.6",
102
- "js-yaml": "4.1.1",
103
- "qs": "6.14.2",
104
- "axios": "1.13.6",
105
- "fast-xml-parser": "5.5.9",
106
- "brace-expansion": "1.1.13",
102
+ "cross-spawn": "7.1.0",
103
+ "js-yaml": "4.3.2",
104
+ "qs": "6.16.1",
105
+ "axios": "1.20.0",
106
+ "fast-xml-parser": "5.7.0",
107
+ "undici": "7.30.1",
108
+ "lodash": "4.18.1",
109
+ "brace-expansion": "2.1.8",
110
+ "minimatch": "3.1.5",
107
111
  "convict": "6.2.5",
108
112
  "yaml": "2.8.3",
109
- "undici": "7.24.0",
110
- "lodash": "4.17.23",
113
+ "immutable": "5.1.8",
111
114
  "flatted": "3.4.2",
112
- "immutable": "5.1.5",
113
115
  "minimatch@3.1.3": "3.1.5",
114
116
  "minimatch@5.1.7": "5.1.8",
115
117
  "replace": {
116
118
  "minimatch": "3.1.5"
117
- }
119
+ },
120
+ "protobufjs": "7.6.5",
121
+ "postcss": "8.5.23",
122
+ "@grpc/grpc-js": "1.14.5",
123
+ "@hapi/content": "6.0.3",
124
+ "browserslist": "4.28.7",
125
+ "fast-uri": "3.1.9",
126
+ "linkify-it": "5.0.2",
127
+ "nanoid": "3.3.18",
128
+ "fast-xml-builder": "1.1.7",
129
+ "mysql2": "3.23.1",
130
+ "uuid": "11.1.1",
131
+ "@hapi/wreck": "18.1.2",
132
+ "body-parser": "1.20.6",
133
+ "joi": "18.3.1",
134
+ "baseline-browser-mapping": "2.11.0",
135
+ "follow-redirects": "1.16.2",
136
+ "@babel/core": "7.29.6",
137
+ "handlebars": "4.7.10"
118
138
  },
119
139
  "standard-version": {
120
140
  "scripts": {