@mimik/local 7.1.3 → 7.1.5

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.
@@ -32,7 +32,7 @@ export default [
32
32
  console: 'readonly',
33
33
  describe: 'readonly',
34
34
  it: 'readonly',
35
- require: 'readonly',
35
+ structuredClone: 'readonly',
36
36
  },
37
37
  sourceType: 'module',
38
38
  },
@@ -56,10 +56,11 @@ export default [
56
56
  'max-statements': ['warn', MAX_STATEMENTS_IN_FUNCTION],
57
57
  'no-confusing-arrow': ['off'],
58
58
  'no-inline-comments': ['off'],
59
- 'no-magic-numbers': ['error', { ignore: ALLOWED_CONSTANTS, enforceConst: true, detectObjects: true }],
59
+ 'no-magic-numbers': ['error', { ignore: ALLOWED_CONSTANTS, enforceConst: true }],
60
60
  'no-process-env': ['error'],
61
61
  'no-ternary': ['off'],
62
62
  'no-undefined': ['off'],
63
+ 'no-warning-comments': ['warn'],
63
64
  'one-var': ['error', 'never'],
64
65
  'processDoc/validate-document-env': ['error'],
65
66
  'quotes': ['warn', 'single'],
package/eslint.config.js CHANGED
@@ -31,7 +31,7 @@ export default [
31
31
  console: 'readonly',
32
32
  describe: 'readonly',
33
33
  it: 'readonly',
34
- require: 'readonly',
34
+ structuredClone: 'readonly',
35
35
  },
36
36
  sourceType: 'module',
37
37
  },
@@ -55,10 +55,11 @@ export default [
55
55
  'max-statements': ['warn', MAX_STATEMENTS_IN_FUNCTION],
56
56
  'no-confusing-arrow': ['off'],
57
57
  'no-inline-comments': ['off'],
58
- 'no-magic-numbers': ['error', { ignore: ALLOWED_CONSTANTS, enforceConst: true, detectObjects: true }],
58
+ 'no-magic-numbers': ['error', { ignore: ALLOWED_CONSTANTS, enforceConst: true }],
59
59
  'no-process-env': ['error'],
60
60
  'no-ternary': ['off'],
61
61
  'no-undefined': ['off'],
62
+ 'no-warning-comments': ['warn'],
62
63
  'one-var': ['error', 'never'],
63
64
  'processDoc/validate-document-env': ['error'],
64
65
  'quotes': ['warn', 'single'],
package/lib/common.js CHANGED
@@ -1,4 +1,3 @@
1
- /* eslint-disable no-magic-numbers */
2
1
  import { getCorrelationId } from '@mimik/request-helper';
3
2
  import process from 'node:process';
4
3
 
package/lib/tasks.js CHANGED
@@ -124,7 +124,7 @@ const init = (regType, standAlone, isMSTSet) => {
124
124
  };
125
125
 
126
126
  const startSetup = (config, origStart) => {
127
- const start = { ...origStart };
127
+ const start = structuredClone(origStart);
128
128
  const { regType } = config;
129
129
  const { type } = config.pack.mimik;
130
130
  // basic check
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@mimik/local",
3
- "version": "7.1.3",
4
- "description": "Local setup configuration for normal and test opreration",
3
+ "version": "7.1.5",
4
+ "description": "Local setup configuration for normal and test operation",
5
5
  "main": "./index.js",
6
6
  "type": "module",
7
+ "engines": {
8
+ "node": ">=24.0.0"
9
+ },
7
10
  "scripts": {
8
11
  "lint": "eslint . --no-error-on-unmatched-pattern",
9
12
  "docs": "jsdoc2md index.js > README.md",
@@ -29,24 +32,24 @@
29
32
  "url": "https://bitbucket.org/mimiktech/local"
30
33
  },
31
34
  "dependencies": {
32
- "@eslint/js": "9.35.0",
35
+ "@eslint/js": "9.37.0",
33
36
  "@mimik/eslint-plugin-document-env": "^2.0.8",
34
37
  "@mimik/git-hooks": "^2.0.0",
35
38
  "@mimik/request-helper": "^2.0.2",
36
- "@stylistic/eslint-plugin": "5.3.1",
39
+ "@stylistic/eslint-plugin": "5.4.0",
37
40
  "axios": "1.12.2",
38
41
  "bluebird": "3.7.2",
39
42
  "c8": "10.1.3",
40
- "chai": "6.0.1",
43
+ "chai": "6.2.0",
41
44
  "colors": "1.4.0",
42
- "comment-json": "4.2.5",
43
- "eslint": "9.35.0",
45
+ "comment-json": "4.4.1",
46
+ "eslint": "9.37.0",
44
47
  "eslint-plugin-import": "2.32.0",
45
48
  "husky": "9.1.7",
46
49
  "ip": "2.0.1",
47
50
  "js-base64": "3.7.8",
48
51
  "js-yaml": "4.1.0",
49
- "jsdoc-to-markdown": "9.1.2",
52
+ "jsdoc-to-markdown": "9.1.3",
50
53
  "lodash.difference": "4.5.0",
51
54
  "lodash.find": "4.6.0",
52
55
  "lodash.findindex": "4.6.0",
@@ -55,12 +58,12 @@
55
58
  "lodash.isobject": "3.0.2",
56
59
  "lodash.split": "4.4.2",
57
60
  "lodash.union": "4.6.0",
58
- "mocha": "11.7.2",
59
- "mochawesome": "7.1.3",
61
+ "mocha": "11.7.4",
62
+ "mochawesome": "7.1.4",
60
63
  "rewire": "9.0.1",
61
64
  "sinon": "21.0.0",
62
65
  "supertest": "7.1.4",
63
- "swagger-client": "3.35.6",
66
+ "swagger-client": "3.35.7",
64
67
  "uuid": "11.1.0"
65
68
  }
66
69
  }