You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"notes": "We don't use verify function from jsonwebtoken, so not affected"
4
+
"notes": "This vulnerability is in form-data used transitively via deprecated 'request' library. We do not use form-data directly. Waiting on upstream libraries to upgrade."
5
5
},
6
-
"GHSA-wc69-rhjr-hc9g": {
6
+
"GHSA-869p-cjfg-cm3x": {
7
7
"active": true,
8
-
"notes": "Bunyan library set only new Date to momentjs as parameter"
8
+
"notes": "jws vulnerability in jsonwebtoken (via @elastic.io/maester-client -> elasticio-sailor-nodejs). This is a transitive dependency from sailor. Waiting on upstream libraries to upgrade."
9
9
},
10
-
"GHSA-hrpp-h998-j3pp": {
10
+
"GHSA-6rw7-vpxm-498p": {
11
11
"active": true,
12
-
"notes": "There is no query-string user input in sailor"
12
+
"notes": "qs vulnerability in request (via co-request). This is a transitive dependency. The deprecated 'request' library is used by co-request. Waiting on upstream libraries to upgrade."
13
13
},
14
-
"GHSA-fjxv-7rqg-78g4": {
15
-
"active": true
14
+
"GHSA-23c5-xmqv-rm74": {
15
+
"active": true,
16
+
"notes": "minimatch ReDoS via nested extglobs. minimatch is only used with static patterns in this project (no user-controlled glob patterns), so the risk of exploitation is negligible. Waiting on upstream libraries to upgrade."
17
+
},
18
+
"GHSA-3ppc-4f35-3m26": {
19
+
"active": true,
20
+
"notes": "minimatch ReDoS via repeated wildcards with non-matching literal in pattern. minimatch is only used with static patterns in this project (no user-controlled glob patterns), so the risk of exploitation is negligible. Waiting on upstream libraries to upgrade."
21
+
},
22
+
"GHSA-7r86-cg39-jmmj": {
23
+
"active": true,
24
+
"notes": "minimatch ReDoS via combinatorial backtracking in matchOne() with multiple non-adjacent GLOBSTAR segments. minimatch is only used with static patterns in this project (no user-controlled glob patterns), so the risk of exploitation is negligible. Waiting on upstream libraries to upgrade."
Copy file name to clipboardExpand all lines: README.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ Built-in Node.js global objects are also supported.
54
54
-[`axios`](https://github.com/axios/axios) - A well-known HTTP Client [Documentation](https://www.npmjs.com/package/axios)
55
55
-[`request`](https://github.com/request/request) - Http Client (wrapped in `co` - [this library](https://www.npmjs.com/package/co-request) so that it is pre-promisified). We recommend using `axios`. Support for `request` is maintained for backward compatibility only.
56
56
-`_` - [Lodash](https://lodash.com/)
57
+
-[`strong-soap`](https://github.com/loopbackio/strong-soap) - SOAP client for invoking web services
57
58
58
59
## Credentials
59
60
@@ -200,3 +201,64 @@ async function run(msg, cfg, snapshot) {
200
201
awaitthis.emit('data', { body: data });
201
202
}
202
203
```
204
+
205
+
### Calling a SOAP web service with strong-soap
206
+
207
+
The Code component exposes the [`strong-soap`](https://github.com/loopbackio/strong-soap) client as `soap`. You can call SOAP operations using async/await. Create the client with a small promise wrapper, then invoke methods (they return promises).
208
+
209
+
**Basic SOAP call (WSDL URL and operation args from incoming message):**
const { result } =await client[operation](args || {});
250
+
awaitthis.emit('data', { body: result });
251
+
}
252
+
```
253
+
254
+
**Calling a specific service and port:**
255
+
256
+
If the WSDL defines multiple services or ports, use the `ServiceName.PortName.MethodName` form (use the same `createSoapClient` helper as in the examples above):
0 commit comments