elasticio-sailor-nodejs 2.6.25 → 2.6.27
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.
- package/CHANGELOG.md +8 -0
- package/package.json +5 -5
- package/run.js +1 -1
- package/runService.js +1 -1
- package/.vscode/settings.json +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 2.6.27 (March 10, 2022)
|
|
2
|
+
|
|
3
|
+
* Added npm audit to CI and fixed all dependencies
|
|
4
|
+
|
|
5
|
+
## 2.6.26 (June 24, 2021)
|
|
6
|
+
|
|
7
|
+
* Replaced exit on "unhandledRejection" with error logging
|
|
8
|
+
|
|
1
9
|
## 2.6.25 (June 17, 2021)
|
|
2
10
|
|
|
3
11
|
* Improve consume performance by switching back to pushing instead of polling, keeping reconnections mechanism
|
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.6.
|
|
4
|
+
"version": "2.6.27",
|
|
5
5
|
"main": "run.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"lint": "./node_modules/.bin/eslint lib spec mocha_spec lib run.js runService.js",
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
"node": ">=12.13.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@elastic.io/object-storage-client": "1.0.
|
|
18
|
+
"@elastic.io/object-storage-client": "1.0.1",
|
|
19
19
|
"amqplib": "0.8.0",
|
|
20
20
|
"bunyan": "1.8.10",
|
|
21
21
|
"co": "4.6.0",
|
|
22
22
|
"debug": "3.1.0",
|
|
23
|
-
"elasticio-rest-node": "1.2.
|
|
23
|
+
"elasticio-rest-node": "1.2.7",
|
|
24
24
|
"event-to-promise": "0.8.0",
|
|
25
|
-
"lodash": "4.17.
|
|
25
|
+
"lodash": "4.17.21",
|
|
26
26
|
"p-throttle": "2.1.0",
|
|
27
27
|
"q": "1.5.1",
|
|
28
28
|
"request-promise-native": "1.0.5",
|
|
29
|
-
"requestretry": "
|
|
29
|
+
"requestretry": "7.0.2",
|
|
30
30
|
"uuid": "3.0.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
package/run.js
CHANGED
|
@@ -125,7 +125,7 @@ if (require.main === module || process.mainModule.filename === __filename) {
|
|
|
125
125
|
});
|
|
126
126
|
|
|
127
127
|
process.on('uncaughtException', logger.criticalErrorAndExit.bind(logger, 'process.uncaughtException'));
|
|
128
|
-
process.on('unhandledRejection', logger.
|
|
128
|
+
process.on('unhandledRejection', (err) => logger.error(err, 'process.unhandledRejection'));
|
|
129
129
|
|
|
130
130
|
const ipc = new IPC();
|
|
131
131
|
|
package/runService.js
CHANGED
|
@@ -16,4 +16,4 @@ service.processService(serviceMethod, process.env)
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
process.on('uncaughtException', logger.criticalErrorAndExit.bind(logger, 'process.uncaughtException'));
|
|
19
|
-
process.on('unhandledRejection', logger.
|
|
19
|
+
process.on('unhandledRejection', (err) => logger.error(err, 'process.unhandledRejection'));
|