@emartech/program-executor 3.9.3 → 3.11.0
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/.nvmrc +1 -1
- package/eslint.config.js +56 -0
- package/package.json +13 -13
- package/.eslintrc +0 -31
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
18.
|
|
1
|
+
20.18.0
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const mocha = require('eslint-plugin-mocha');
|
|
4
|
+
const globals = require('globals');
|
|
5
|
+
const js = require('@eslint/js');
|
|
6
|
+
const { FlatCompat } = require('@eslint/eslintrc');
|
|
7
|
+
|
|
8
|
+
const compat = new FlatCompat({
|
|
9
|
+
baseDirectory: __dirname,
|
|
10
|
+
recommendedConfig: js.configs.recommended,
|
|
11
|
+
allConfig: js.configs.all
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
module.exports = [
|
|
15
|
+
...compat.extends('emarsys'),
|
|
16
|
+
{
|
|
17
|
+
plugins: {
|
|
18
|
+
mocha
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
languageOptions: {
|
|
22
|
+
globals: {
|
|
23
|
+
...globals.node,
|
|
24
|
+
...globals.mocha,
|
|
25
|
+
inject: true,
|
|
26
|
+
onmessage: true,
|
|
27
|
+
expect: true
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
ecmaVersion: 9,
|
|
31
|
+
sourceType: 'commonjs'
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
rules: {
|
|
35
|
+
'no-unused-expressions': 0,
|
|
36
|
+
'operator-linebreak': 'off',
|
|
37
|
+
|
|
38
|
+
'no-unused-vars': [
|
|
39
|
+
2,
|
|
40
|
+
{
|
|
41
|
+
vars: 'all',
|
|
42
|
+
args: 'after-used'
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
|
|
46
|
+
curly: [2, 'multi-line'],
|
|
47
|
+
'require-yield': 0,
|
|
48
|
+
'new-cap': 0,
|
|
49
|
+
'security/detect-object-injection': 0,
|
|
50
|
+
'security/detect-non-literal-require': 0,
|
|
51
|
+
'security/detect-non-literal-fs-filename': 0,
|
|
52
|
+
'security/detect-non-literal-regexp': 0,
|
|
53
|
+
'space-before-function-paren': 0
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
];
|
package/package.json
CHANGED
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
"graphql": "^15.5.0"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": "
|
|
25
|
+
"node": "20.18.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"chai": "^4.
|
|
28
|
+
"chai": "^4.5.0",
|
|
29
29
|
"chai-as-promised": "7.1.1",
|
|
30
30
|
"chai-string": "1.5.0",
|
|
31
31
|
"chai-subset": "1.6.0",
|
|
32
|
-
"dotenv": "^16.
|
|
33
|
-
"eslint": "^
|
|
32
|
+
"dotenv": "^16.4.7",
|
|
33
|
+
"eslint": "^9.17.0",
|
|
34
34
|
"eslint-config-emarsys": "5.1.0",
|
|
35
|
-
"eslint-plugin-mocha": "^10.
|
|
36
|
-
"eslint-plugin-no-only-tests": "^3.
|
|
37
|
-
"eslint-plugin-security": "^
|
|
38
|
-
"knex": "^
|
|
39
|
-
"mocha": "^
|
|
40
|
-
"pg": "^8.
|
|
41
|
-
"semantic-release": "^
|
|
42
|
-
"sinon": "
|
|
35
|
+
"eslint-plugin-mocha": "^10.5.0",
|
|
36
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
37
|
+
"eslint-plugin-security": "^3.0.1",
|
|
38
|
+
"knex": "^3.1.0",
|
|
39
|
+
"mocha": "^11.0.1",
|
|
40
|
+
"pg": "^8.13.1",
|
|
41
|
+
"semantic-release": "^24.2.0",
|
|
42
|
+
"sinon": "19.0.2",
|
|
43
43
|
"sinon-chai": "^3.7.0"
|
|
44
44
|
},
|
|
45
|
-
"version": "3.
|
|
45
|
+
"version": "3.11.0"
|
|
46
46
|
}
|
package/.eslintrc
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"extends": ["emarsys"],
|
|
4
|
-
"plugins": ["mocha"],
|
|
5
|
-
"env": {
|
|
6
|
-
"es6": true,
|
|
7
|
-
"node": true,
|
|
8
|
-
"mocha": true
|
|
9
|
-
},
|
|
10
|
-
"globals": {
|
|
11
|
-
"inject": true,
|
|
12
|
-
"onmessage": true,
|
|
13
|
-
"expect": true
|
|
14
|
-
},
|
|
15
|
-
"parserOptions": {
|
|
16
|
-
"ecmaVersion": 9
|
|
17
|
-
},
|
|
18
|
-
"rules": {
|
|
19
|
-
"no-unused-expressions": 0,
|
|
20
|
-
"operator-linebreak": "off",
|
|
21
|
-
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
|
|
22
|
-
"curly": [2, "multi-line"],
|
|
23
|
-
"require-yield": 0,
|
|
24
|
-
"new-cap": 0,
|
|
25
|
-
"security/detect-object-injection": 0,
|
|
26
|
-
"security/detect-non-literal-require": 0,
|
|
27
|
-
"security/detect-non-literal-fs-filename": 0,
|
|
28
|
-
"security/detect-non-literal-regexp": 0,
|
|
29
|
-
"space-before-function-paren": 0
|
|
30
|
-
}
|
|
31
|
-
}
|