elasticio-sailor-nodejs 3.0.0-dev5 → 3.0.0-dev7

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/.eslintrc.js CHANGED
@@ -1,16 +1,150 @@
1
+ 'use strict';
2
+
3
+ const ERROR = 'error';
4
+ const WARN = 'warn';
5
+ const ALWAYS = 'always';
6
+ const NEVER = 'never';
7
+
1
8
  module.exports = {
2
- globals: {
3
- NodeJS: 'readonly',
4
- BufferEncoding: 'readonly',
9
+ 'env': {
10
+ es6: true,
11
+ node: true,
5
12
  },
6
- parser: '@typescript-eslint/parser',
7
- extends: [
8
- 'plugin:@typescript-eslint/recommended',
9
- ],
10
- plugins: ['@typescript-eslint'],
11
- parserOptions: {
12
- ecmaVersion: 2018,
13
- sourceType: 'module'
13
+ 'parserOptions': {
14
+ 'ecmaVersion': 2018
14
15
  },
16
+ 'extends': 'eslint:recommended',
17
+ 'plugins': [
18
+ 'mocha'
19
+ ],
20
+ 'rules': {
21
+ 'indent': [
22
+ ERROR,
23
+ 4,
24
+ {
25
+ SwitchCase: 1
26
+ }
27
+ ],
28
+ 'linebreak-style': ERROR,
29
+ 'quotes': [
30
+ ERROR,
31
+ 'single',
32
+ {
33
+ avoidEscape: true,
34
+ allowTemplateLiterals: true
35
+ }
36
+ ],
37
+ 'semi': [
38
+ ERROR,
39
+ ALWAYS
40
+ ],
41
+ 'func-names': ERROR,
42
+ 'no-empty': ERROR,
43
+ 'no-empty-function': ERROR,
44
+ 'brace-style': [
45
+ ERROR,
46
+ '1tbs',
47
+ { allowSingleLine: true }
48
+ ],
49
+ 'no-multiple-empty-lines': ERROR,
50
+ 'no-multi-spaces': ERROR,
51
+ 'one-var': [
52
+ ERROR,
53
+ NEVER
54
+ ],
55
+ 'quote-props': [
56
+ ERROR,
57
+ 'consistent-as-needed'
58
+ ],
59
+ 'key-spacing': ERROR,
60
+ 'space-unary-ops': [
61
+ ERROR,
62
+ {
63
+ words: true,
64
+ nonwords: false
65
+ }
66
+ ],
67
+ 'no-spaced-func': ERROR,
68
+ 'space-before-function-paren': [
69
+ ERROR,
70
+ {
71
+ anonymous: ALWAYS,
72
+ named: NEVER
73
+ }
74
+ ],
75
+ 'arrow-body-style': [
76
+ ERROR,
77
+ 'as-needed'
78
+ ],
79
+ 'array-bracket-spacing': ERROR,
80
+ 'space-in-parens': ERROR,
81
+ 'comma-dangle': ERROR,
82
+ 'no-trailing-spaces': ERROR,
83
+ 'yoda': ERROR,
84
+ 'max-len': [
85
+ ERROR,
86
+ 120
87
+ ],
88
+ 'camelcase': [
89
+ ERROR,
90
+ {
91
+ properties: 'never'
92
+ }
93
+ ],
94
+ 'new-cap': [
95
+ ERROR,
96
+ {
97
+ capIsNewExceptions: ['Q']
98
+ }
99
+ ],
100
+ 'comma-style': ERROR,
101
+ 'curly': ERROR,
102
+ 'object-curly-spacing': [
103
+ ERROR,
104
+ ALWAYS
105
+ ],
106
+ 'template-curly-spacing': ERROR,
107
+ 'dot-notation': ERROR,
108
+ 'dot-location': [
109
+ ERROR,
110
+ 'property'
111
+ ],
112
+ 'func-style': [
113
+ ERROR,
114
+ 'declaration',
115
+ {
116
+ allowArrowFunctions: true
117
+ }
118
+ ],
119
+ 'eol-last': ERROR,
120
+ 'space-infix-ops': ERROR,
121
+ 'keyword-spacing': ERROR,
122
+ 'space-before-blocks': ERROR,
123
+ 'no-invalid-this': ERROR,
124
+ 'consistent-this': ERROR,
125
+ 'no-this-before-super': ERROR,
126
+ 'no-unreachable': ERROR,
127
+ 'no-sparse-arrays': ERROR,
128
+ 'array-callback-return': ERROR,
129
+ 'eqeqeq': ERROR,
130
+ 'no-use-before-define': WARN,
131
+ 'no-undef': ERROR,
132
+ 'no-unused-vars': WARN,
133
+ 'no-mixed-spaces-and-tabs': ERROR,
134
+ 'operator-linebreak': [
135
+ ERROR,
136
+ 'before'
137
+ ],
138
+ 'no-console': [
139
+ WARN,
140
+ {
141
+ 'allow': [
142
+ 'warn',
143
+ 'error'
144
+ ]
145
+ }
146
+ ],
147
+ 'mocha/no-skipped-tests': ERROR,
148
+ 'mocha/no-exclusive-tests': ERROR
149
+ }
15
150
  };
16
-
package/.nsprc CHANGED
@@ -2,5 +2,13 @@
2
2
  "GHSA-f8q6-p94x-37v3": {
3
3
  "active": true,
4
4
  "notes": "braceExpand is not used in rimraf"
5
+ },
6
+ "GHSA-4hjh-wcwx-xvwj": {
7
+ "active": true,
8
+ "notes": "should be removed when maester-client is fixed: https://github.com/elasticio/maester-client/issues/47"
9
+ },
10
+ "GHSA-869p-cjfg-cm3x": {
11
+ "active": true,
12
+ "notes": "we don't use HMAC signature"
5
13
  }
6
14
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 2.7.8 (February 4, 2026)
2
+
3
+ * Ensure connection before ack/nack of the message
4
+ [#7855](https://github.com/elasticio/elasticio/issues/7855)
5
+
6
+ ## 2.7.7 (November 19, 2025)
7
+
8
+ * Improve handling of cases when connection to RabbitMQ is re-established.
9
+ [#7855](https://github.com/elasticio/elasticio/issues/7855)
10
+
1
11
  ## 2.7.6 (August 1, 2025)
2
12
 
3
13
  * Updated `elasticio-rest-node` to version 2.0.0 to address a vulnerability