Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .nsprc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@
"GHSA-6rw7-vpxm-498p": {
"active": true,
"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."
},
"GHSA-43fc-jf86-j433": {
"active": true,
"notes": "Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig. This is a transitive dependency. Waiting on upstream libraries to upgrade."
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.15 (February 13, 2026)

* Add `strong-soap` v5.0.7 lib support

## 1.2.14 (February 04, 2026)

* Update Sailor version to 2.7.8
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Built-in Node.js global objects are also supported.
### Other Libraries/functions
- `wait(numberOfMilliscondsToSleep)` - Utility function for sleeping
- [`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)
- [`strong-soap`](https://github.com/loopbackio/strong-soap) - SOAP client for invoking web services
- `_` - [Lodash](https://lodash.com/)

## Code component usage Examples
Expand Down
2 changes: 2 additions & 0 deletions actions/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const _ = require('lodash');
const vm = require('vm');
const co = require('co');
const request = require('co-request');
const { soap } = require('strong-soap');

function wait(timeout) {
return new Promise((ok) => {
Expand Down Expand Up @@ -46,6 +47,7 @@ exports.process = async function (msg, conf, snapshot) {
// Other Libraries
_,
request,
soap,
wait: wait.bind(this),
});
this.logger.debug('Running the code...');
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "Node.js Code",
"version": "1.2.14",
"version": "1.2.15-dev.1",
"description": "You can write your own code and deploy it as part of integration process.",
"docsUrl": "http://go2.elastic.io/code-component",
"fields": {
Expand Down
Loading