Skip to content

Commit 433ead1

Browse files
author
Olha Virolainen
authored
Update sailor version to 2.6.17 (#55)
Update sailor version to 2.6.17
1 parent c54fb07 commit 433ead1

File tree

4 files changed

+166
-55
lines changed

4 files changed

+166
-55
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
## 1.1.6 (October 20, 2020)
2+
* Update sailor version to 2.6.17
3+
14
## 1.1.5 (September 25, 2020)
2-
* Remove sensitive data logging
5+
* Annual audit of the component code to check if it exposes a sensitive data in the logs
36

47
## 1.1.4 (August 20, 2020)
58
* `Split on JSONata Expression` action update: add possibility to emit non-array objects.

package-lock.json

Lines changed: 157 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elasticio/splitter",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "elastic.io component for splitting incoming messages",
55
"scripts": {
66
"pretest": "eslint split.js lib spec --fix",
@@ -16,9 +16,9 @@
1616
"node": "12.18.2"
1717
},
1818
"dependencies": {
19-
"@elastic.io/component-commons-library": "1.1.2",
19+
"@elastic.io/component-commons-library": "1.1.4",
2020
"elasticio-node": "0.0.9",
21-
"elasticio-sailor-nodejs": "2.6.14",
21+
"elasticio-sailor-nodejs": "2.6.17",
2222
"lodash": "4.17.19"
2323
},
2424
"devDependencies": {

split.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ async function processAction(msg, conf) {
66
const splitting = conf.splitter || {};
77
const body = msg.body || {};
88

9-
this.logger.trace('Received new message with body: %j', body);
10-
this.logger.trace('Splitting: %j', splitting);
9+
this.logger.debug('Received new message');
1110

1211
const split = splitting === '$' ? body : _.get(body, splitting);
1312

@@ -31,7 +30,7 @@ async function processAction(msg, conf) {
3130
if (_.isArray(split)) {
3231
split.forEach((elem) => results.push(elem));
3332
} else if (_.isObject(split)) {
34-
this.logger.trace(`"${splitting}" is not an array. Returning the original object`);
33+
this.logger.debug('Splitting is not an array. Returning the original object');
3534
results.push(split);
3635
}
3736

0 commit comments

Comments
 (0)