diff --git a/CHANGELOG.md b/CHANGELOG.md index 89820d9..5927254 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.2 (May 22, 2020) + +* Update sailor version to 2.6.7 + ## 2.1.1 (May 7, 2020) * Add input metadata for objects processing diff --git a/package-lock.json b/package-lock.json index 6b89a42..9c1627c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "csv-component", - "version": "2.1.1", + "version": "2.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -713,22 +713,21 @@ } }, "elasticio-sailor-nodejs": { - "version": "2.6.5", - "resolved": "https://registry.npmjs.org/elasticio-sailor-nodejs/-/elasticio-sailor-nodejs-2.6.5.tgz", - "integrity": "sha512-TNSCHPgDNfCDFqQ7kfA9fB5ERMajj6D7Ecql3azsCle07R1BJMzXzcH3nWrq4Jx/fGk+1vNK7PxDd9sAXokWQQ==", + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/elasticio-sailor-nodejs/-/elasticio-sailor-nodejs-2.6.7.tgz", + "integrity": "sha512-S0Tnc4OOndyYfgoxMlhbVmWwU0MlPe38sN3vJrQ5/gmsiqkPCXQiH2lPi41w25nJSXToXY6min2k5yOHlUCqyA==", "requires": { "amqplib": "0.5.1", "bunyan": "1.8.10", "co": "4.6.0", "debug": "3.1.0", - "elasticio-rest-node": "1.2.3", + "elasticio-rest-node": "1.2.5", "event-to-promise": "0.8.0", "lodash": "4.17.4", "p-throttle": "2.1.0", "q": "1.4.1", "request-promise-native": "1.0.5", "requestretry": "3.1.0", - "self-addressed": "0.3.0", "uuid": "3.0.1" }, "dependencies": { @@ -740,11 +739,97 @@ "ms": "2.0.0" } }, + "elasticio-rest-node": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/elasticio-rest-node/-/elasticio-rest-node-1.2.5.tgz", + "integrity": "sha512-aLrUBMMgjEzsz0pzxxDYAx3mjtL2gC8Hybsn91lKh2fOQrXe/3+uw88jumZR/QZnsJS/pjAIxrom9Ks26Dms+A==", + "requires": { + "lodash": "4.17.15", + "q": "1.5.1", + "request": "2.88.2", + "requestretry": "4.1.0" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" + }, + "requestretry": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/requestretry/-/requestretry-4.1.0.tgz", + "integrity": "sha512-q3IT2vz5vkcMT6xgwB/BWzsmnu7N/27l9fW86U48gt9Mwrce5rSEyFvpAW7Il1/B78/NBUlYBvcCY1RzWUWy7w==", + "requires": { + "extend": "^3.0.2", + "lodash": "^4.17.10", + "when": "^3.7.7" + } + } + } + }, "lodash": { "version": "4.17.4", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + } + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, "uuid": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", @@ -819,11 +904,6 @@ "is-symbol": "^1.0.2" } }, - "es6-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-2.0.1.tgz", - "integrity": "sha1-zMSWPmefDKn7GHx3e55YPTx1c8I=" - }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -2521,14 +2601,6 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "self-addressed": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/self-addressed/-/self-addressed-0.3.0.tgz", - "integrity": "sha1-AitQYD5zh9poVmG8OW8pp/hxXgs=", - "requires": { - "es6-promise": "2.0.1" - } - }, "semver": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", diff --git a/package.json b/package.json index a202f6d..2752f6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "csv-component", - "version": "2.1.1", + "version": "2.1.2", "description": "CSV Component for elastic.io platform", "main": "index.js", "scripts": { @@ -9,7 +9,7 @@ "integration-test": "mocha spec-integration" }, "engines": { - "node": "12" + "node": ">=12.13.0" }, "repository": { "type": "git", @@ -33,7 +33,7 @@ "csv-parser": "2.2.0", "elasticio-node": "0.0.9", "elasticio-rest-node": "1.2.3", - "elasticio-sailor-nodejs": "2.6.5", + "elasticio-sailor-nodejs": "2.6.7", "lodash": "4.17.13", "moment": "2.24.0", "node-uuid": "1.4.3", diff --git a/spec/testrunner.js b/spec/testrunner.js index a582f4a..69887e2 100644 --- a/spec/testrunner.js +++ b/spec/testrunner.js @@ -6,7 +6,7 @@ function TestRunner(cb) { const that = this; events.EventEmitter.call(this); this.on('end', () => { - console.log('Ended!'); + logger.info('Ended!'); cb(that); }); this.data = []; diff --git a/spec/write.spec.js b/spec/write.spec.js index 06f2952..1b6f1fb 100644 --- a/spec/write.spec.js +++ b/spec/write.spec.js @@ -19,6 +19,7 @@ if (fs.existsSync('.env')) { const write = require('../lib/actions/write.js'); +// eslint-disable-next-line func-names describe('CSV Write component', function () { this.timeout(15000); diff --git a/spec/writeFromArray.spec.js b/spec/writeFromArray.spec.js index d2b2d3b..f4c9464 100644 --- a/spec/writeFromArray.spec.js +++ b/spec/writeFromArray.spec.js @@ -19,6 +19,7 @@ if (fs.existsSync('.env')) { const write = require('../lib/actions/writeFromArray.js'); +// eslint-disable-next-line func-names describe('CSV Write From Array component', function () { this.timeout(15000); diff --git a/spec/writeFromJson.spec.js b/spec/writeFromJson.spec.js index 0bec0f6..3c0cfca 100644 --- a/spec/writeFromJson.spec.js +++ b/spec/writeFromJson.spec.js @@ -19,6 +19,7 @@ if (fs.existsSync('.env')) { const write = require('../lib/actions/writeFromJson.js'); +// eslint-disable-next-line func-names describe('CSV Write From JSON component', function () { this.timeout(15000);