@mojaloop/event-stream-processor 12.0.1 → 12.0.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/.circleci/config.yml +1 -1
- package/.grype.yaml +10 -28
- package/.nvmrc +1 -1
- package/CHANGELOG.md +10 -0
- package/Dockerfile +8 -8
- package/audit-ci.jsonc +8 -3
- package/package.json +44 -25
package/.circleci/config.yml
CHANGED
package/.grype.yaml
CHANGED
|
@@ -1,33 +1,15 @@
|
|
|
1
1
|
scan-type: source
|
|
2
|
-
|
|
3
2
|
ignore:
|
|
4
|
-
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
|
18
|
-
include-aliases: true
|
|
19
|
-
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
|
|
23
|
-
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
|
|
26
|
-
include-aliases: true
|
|
27
|
-
reason: "Unfixable npm transitive vulnerability: yargs-parser (moderate severity) as of 2026-02-23"
|
|
28
|
-
- vulnerability: GHSA-2g4f-4pwh-qvx6
|
|
29
|
-
include-aliases: true
|
|
30
|
-
reason: "Unfixable npm transitive vulnerability: ajv (moderate severity) as of 2026-02-23"
|
|
3
|
+
# Empty by design. This repo's CI grype job uses scan-type: source, so it scans
|
|
4
|
+
# package-lock.json rather than the container image. Every entry previously listed
|
|
5
|
+
# here was either an Alpine apk finding or an npm package bundled inside the Node
|
|
6
|
+
# base image - neither appears in a source scan - and each was keyed on vulnerability
|
|
7
|
+
# ID with include-aliases: true and no package scoping, so it would also have
|
|
8
|
+
# suppressed the same advisory in this repo's own dependency tree. Verified: grype
|
|
9
|
+
# reports no findings with no ignores at all. Add an entry only for an advisory that
|
|
10
|
+
# genuinely has no patched release, and scope it to the package.
|
|
11
|
+
[]
|
|
12
|
+
|
|
31
13
|
output:
|
|
32
14
|
- table
|
|
33
15
|
- json
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
24.21.0
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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.2](https://github.com/mojaloop/event-stream-processor/compare/v12.0.1...v12.0.2) (2026-10-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* bump the qs and sanitize-html overrides instead of allowlisting their advisories ([9c775a9](https://github.com/mojaloop/event-stream-processor/commit/9c775a9cb6e159e39481985065835eed331a52de))
|
|
11
|
+
* **security:** restore qs 6.16.0 and drop the allowlist entries it caused ([e459247](https://github.com/mojaloop/event-stream-processor/commit/e459247ee6f33ac3d4174d0e831b0cacdca2aa89))
|
|
12
|
+
* **security:** update dependencies and overrides to resolve CI failures ([87fdf88](https://github.com/mojaloop/event-stream-processor/commit/87fdf8898507a7a84cf168bcfa7e558fe5fa2096))
|
|
13
|
+
* undo two override downgrades and retire the vestigial suppressions ([62bfaab](https://github.com/mojaloop/event-stream-processor/commit/62bfaaba7a2c3ad4a16e2f2bf638f9d74b31141b))
|
|
14
|
+
|
|
5
15
|
### [12.0.1](https://github.com/mojaloop/event-stream-processor/compare/v12.0.0-snapshot.26...v12.0.1) (2026-03-31)
|
|
6
16
|
|
|
7
17
|
|
package/Dockerfile
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# Arguments
|
|
2
|
-
ARG NODE_VERSION=
|
|
3
|
-
|
|
2
|
+
ARG NODE_VERSION="24.21.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
|
|
20
|
-
|
|
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
|
-
|
|
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-
|
|
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,13 @@
|
|
|
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": [
|
|
7
|
-
|
|
8
|
-
|
|
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-hp3w-g68c-fv3c"
|
|
9
14
|
]
|
|
10
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/event-stream-processor",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
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",
|
|
@@ -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.
|
|
51
|
-
"@mojaloop/central-services-logger": "11.10.
|
|
52
|
-
"@mojaloop/central-services-metrics": "12.8.
|
|
53
|
-
"@mojaloop/central-services-shared": "18.
|
|
54
|
-
"@mojaloop/central-services-stream": "11.
|
|
50
|
+
"@mojaloop/central-services-health": "15.2.4",
|
|
51
|
+
"@mojaloop/central-services-logger": "11.10.6",
|
|
52
|
+
"@mojaloop/central-services-metrics": "12.8.9",
|
|
53
|
+
"@mojaloop/central-services-shared": "18.39.4",
|
|
54
|
+
"@mojaloop/central-services-stream": "11.11.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.
|
|
57
|
+
"@mojaloop/event-sdk": "14.8.6",
|
|
58
58
|
"deserialize-error": "0.0.3",
|
|
59
59
|
"elasticsearch": "16.7.3",
|
|
60
60
|
"fluent-logger": "3.4.1",
|
|
61
|
-
"lodash": "4.
|
|
62
|
-
"moment": "2.
|
|
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,21 @@
|
|
|
70
70
|
"audit-ci": "7.1.0",
|
|
71
71
|
"eslint": "8.57.1",
|
|
72
72
|
"faucet": "0.0.4",
|
|
73
|
-
"npm-check-updates": "
|
|
73
|
+
"npm-check-updates": "23.1.0",
|
|
74
74
|
"nyc": "18.0.0",
|
|
75
|
-
"pre-commit": "
|
|
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": "
|
|
83
|
-
"tape": "5.
|
|
82
|
+
"sinon": "22.1.0",
|
|
83
|
+
"tape": "5.10.2",
|
|
84
84
|
"tapes": "4.1.0"
|
|
85
85
|
},
|
|
86
86
|
"overrides": {
|
|
87
|
-
"form-data": "4.0.
|
|
87
|
+
"form-data": "4.0.6",
|
|
88
88
|
"on-headers": "1.1.0",
|
|
89
89
|
"widdershins": {
|
|
90
90
|
"ajv": "6.12.3",
|
|
@@ -94,27 +94,46 @@
|
|
|
94
94
|
"swagger2openapi": "7.0.8"
|
|
95
95
|
},
|
|
96
96
|
"ejs": "3.1.10",
|
|
97
|
-
"sanitize-html": "2.
|
|
98
|
-
"markdown-it": "
|
|
97
|
+
"sanitize-html": "2.17.7",
|
|
98
|
+
"markdown-it": "14.3.1",
|
|
99
99
|
"trim": "0.0.3",
|
|
100
100
|
"cookie": "1.0.2",
|
|
101
101
|
"cross-spawn": "7.0.6",
|
|
102
|
-
"js-yaml": "4.
|
|
103
|
-
"qs": "6.
|
|
104
|
-
"axios": "1.
|
|
105
|
-
"fast-xml-parser": "5.
|
|
106
|
-
"
|
|
102
|
+
"js-yaml": "4.3.2",
|
|
103
|
+
"qs": "6.16.0",
|
|
104
|
+
"axios": "1.20.0",
|
|
105
|
+
"fast-xml-parser": "5.7.0",
|
|
106
|
+
"undici": "7.29.1",
|
|
107
|
+
"lodash": "4.18.1",
|
|
108
|
+
"brace-expansion": "1.1.21",
|
|
109
|
+
"minimatch": "3.1.5",
|
|
107
110
|
"convict": "6.2.5",
|
|
108
111
|
"yaml": "2.8.3",
|
|
109
|
-
"
|
|
110
|
-
"lodash": "4.17.23",
|
|
112
|
+
"immutable": "5.1.8",
|
|
111
113
|
"flatted": "3.4.2",
|
|
112
|
-
"immutable": "5.1.5",
|
|
113
114
|
"minimatch@3.1.3": "3.1.5",
|
|
114
115
|
"minimatch@5.1.7": "5.1.8",
|
|
115
116
|
"replace": {
|
|
116
117
|
"minimatch": "3.1.5"
|
|
117
|
-
}
|
|
118
|
+
},
|
|
119
|
+
"protobufjs": "7.6.5",
|
|
120
|
+
"postcss": "8.5.23",
|
|
121
|
+
"@grpc/grpc-js": "1.14.5",
|
|
122
|
+
"@hapi/content": "6.0.2",
|
|
123
|
+
"browserslist": "4.28.7",
|
|
124
|
+
"fast-uri": "3.1.8",
|
|
125
|
+
"linkify-it": "5.0.2",
|
|
126
|
+
"nanoid": "3.3.18",
|
|
127
|
+
"fast-xml-builder": "1.1.7",
|
|
128
|
+
"mysql2": "3.23.1",
|
|
129
|
+
"uuid": "11.1.1",
|
|
130
|
+
"@hapi/wreck": "18.1.2",
|
|
131
|
+
"body-parser": "1.20.6",
|
|
132
|
+
"joi": "18.2.9",
|
|
133
|
+
"baseline-browser-mapping": "2.11.0",
|
|
134
|
+
"follow-redirects": "1.16.0",
|
|
135
|
+
"@babel/core": "7.29.6",
|
|
136
|
+
"handlebars": "4.7.10"
|
|
118
137
|
},
|
|
119
138
|
"standard-version": {
|
|
120
139
|
"scripts": {
|