From 3cad9fb925c2fee0c98cdc5e33fde21754d2bce6 Mon Sep 17 00:00:00 2001 From: Olha Virolainen Date: Fri, 23 Oct 2020 10:56:49 +0300 Subject: [PATCH] Update sailor version to 2.6.17 --- CHANGELOG.md | 3 ++- lib/actions/transform.js | 2 +- package-lock.json | 6 +++--- package.json | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53202d8..9a88db1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ -## 1.0.6 (October 20, 2020) +## 1.0.6 (October 23, 2020) * Update sailor version to 2.6.17 +* Update internal libraries versions ## 1.0.5 (September 20, 2020) diff --git a/lib/actions/transform.js b/lib/actions/transform.js index fc64861..bb2287e 100644 --- a/lib/actions/transform.js +++ b/lib/actions/transform.js @@ -23,8 +23,8 @@ async function processAction(msg, cfg) { if (typeof result[Symbol.iterator] === 'function') { // We have an iterator as result - // eslint-disable-next-line no-restricted-syntax this.logger.info('Result from evaluation is an array, each item of the array will be send to the next step as a separate message'); + // eslint-disable-next-line no-restricted-syntax for (const item of result) { // eslint-disable-next-line no-await-in-loop await this.emit('data', eioUtils.newMessageWithBody(item)); diff --git a/package-lock.json b/package-lock.json index a748e73..b0b10bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,9 +52,9 @@ } }, "@elastic.io/component-commons-library": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@elastic.io/component-commons-library/-/component-commons-library-1.1.3.tgz", - "integrity": "sha512-oUCWCj2UQkwiaBAWcwJFmRwvOglpbQ4dbIdrkVEweamhUvq2Z7aimPAMkTCBPhZPrSGMUkPKYFlXTfptKFDXyg==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@elastic.io/component-commons-library/-/component-commons-library-1.1.4.tgz", + "integrity": "sha512-fYTA1X2FxuhTWLtUXgenPz/K4exRqZR0CtLu8/bfnBr8S+DsaqYImtXW2sHzWcvo9bUWPCAHnYf4wNEzLTA6qw==", "requires": { "@elastic.io/jsonata-moment": "1.1.4", "@elastic.io/ntlm-client": "1.0.0", diff --git a/package.json b/package.json index 45be4b9..d25d72a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "node": "14" }, "dependencies": { - "@elastic.io/component-commons-library": "1.1.3", + "@elastic.io/component-commons-library": "1.1.4", "elasticio-node": "0.0.9", "elasticio-sailor-nodejs": "2.6.17", "request": "2.88.0"