elasticio-sailor-nodejs 2.7.1-dev1 → 2.7.1-dev3

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.
Files changed (3) hide show
  1. package/.nsprc +13 -1
  2. package/lib/sailor.js +2 -1
  3. package/package.json +1 -1
package/.nsprc CHANGED
@@ -2,5 +2,17 @@
2
2
  "GHSA-wc69-rhjr-hc9g": {
3
3
  "active": true,
4
4
  "notes": "Bunyan library set only new Date to momentjs as parameter"
5
- }
5
+ },
6
+ "GHSA-f8q6-p94x-37v3": {
7
+ "active": true,
8
+ "notes": "braceExpand is not used in rimraf"
9
+ },
10
+ "GHSA-hrpp-h998-j3pp": {
11
+ "active": true,
12
+ "notes": "There is no query-string user input in sailor"
13
+ },
14
+ "GHSA-27h2-hvpr-p74q": {
15
+ "active": true,
16
+ "notes": "The vulnerability is in maester-client. Maester-client doesn't use jwt.verify function."
17
+ }
6
18
  }
package/lib/sailor.js CHANGED
@@ -29,6 +29,7 @@ class Sailor {
29
29
  return OBJECT_ID_HEADER;
30
30
  }
31
31
  constructor(settings) {
32
+ log.info(JSON.stringify(settings, null, 2), 'settings for container');
32
33
  this.settings = settings;
33
34
  this.messagesCount = 0;
34
35
  this.amqpConnection = new amqp.Amqp(settings);
@@ -84,7 +85,7 @@ class Sailor {
84
85
  apiClient,
85
86
  componentReader
86
87
  } = this;
87
-
88
+ log.info('Preparing component for execution', JSON.stringify(this.settings, null, 2));
88
89
  const stepData = await apiClient.tasks.retrieveStep(flowId, stepId);
89
90
  log.debug('Received step data');
90
91
  assert(stepData);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "elasticio-sailor-nodejs",
3
3
  "description": "The official elastic.io library for bootstrapping and executing for Node.js connectors",
4
- "version": "2.7.1-dev1",
4
+ "version": "2.7.1-dev3",
5
5
  "main": "run.js",
6
6
  "scripts": {
7
7
  "audit": "better-npm-audit audit --level high --production",