@mimik/local 7.1.1 → 7.1.3

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.
Files changed (2) hide show
  1. package/lib/tasks.js +2 -3
  2. package/package.json +7 -10
package/lib/tasks.js CHANGED
@@ -37,7 +37,6 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
37
37
  import { Base64 } from 'js-base64';
38
38
  import Promise from 'bluebird';
39
39
  import SwaggerClient from 'swagger-client';
40
- import clone from 'lodash.clone';
41
40
  import difference from 'lodash.difference';
42
41
  import { getAllTargets } from './commonExt.js';
43
42
  import isEmpty from 'lodash.isempty';
@@ -125,7 +124,7 @@ const init = (regType, standAlone, isMSTSet) => {
125
124
  };
126
125
 
127
126
  const startSetup = (config, origStart) => {
128
- const start = clone(origStart);
127
+ const start = { ...origStart };
129
128
  const { regType } = config;
130
129
  const { type } = config.pack.mimik;
131
130
  // basic check
@@ -338,7 +337,7 @@ const getAPI = (directory, swaggerFile, key) => {
338
337
  if (!key[BITBUCKET] || !key[BITBUCKET].username || !key[BITBUCKET].password) {
339
338
  throw new Error('missing username/password for accessing Bitbucket');
340
339
  }
341
- if (key[BITBUCKET].username === DEFAULT.BITBUCKET.username || key[BITBUCKET].password === DEFAULT.BITBUCKET.password) {
340
+ if (key[BITBUCKET].username === DEFAULT.KEY.username || key[BITBUCKET].password === DEFAULT.KEY.password) {
342
341
  throw new Error('missing username/password for accessing Bitbucket');
343
342
  }
344
343
  opts.headers.Authorization = `Basic ${Base64.encode(`${key[BITBUCKET].username}:${key[BITBUCKET].password}`)}`;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@mimik/local",
3
- "version": "7.1.1",
3
+ "version": "7.1.3",
4
4
  "description": "Local setup configuration for normal and test opreration",
5
5
  "main": "./index.js",
6
- "type": "module",
6
+ "type": "module",
7
7
  "scripts": {
8
8
  "lint": "eslint . --no-error-on-unmatched-pattern",
9
9
  "docs": "jsdoc2md index.js > README.md",
@@ -29,27 +29,24 @@
29
29
  "url": "https://bitbucket.org/mimiktech/local"
30
30
  },
31
31
  "dependencies": {
32
- "@eslint/js": "9.34.0",
32
+ "@eslint/js": "9.35.0",
33
33
  "@mimik/eslint-plugin-document-env": "^2.0.8",
34
34
  "@mimik/git-hooks": "^2.0.0",
35
35
  "@mimik/request-helper": "^2.0.2",
36
- "@stylistic/eslint-plugin": "5.2.3",
37
- "axios": "1.11.0",
36
+ "@stylistic/eslint-plugin": "5.3.1",
37
+ "axios": "1.12.2",
38
38
  "bluebird": "3.7.2",
39
39
  "c8": "10.1.3",
40
40
  "chai": "6.0.1",
41
41
  "colors": "1.4.0",
42
42
  "comment-json": "4.2.5",
43
- "debug": "4.4.1",
44
- "eslint": "9.34.0",
43
+ "eslint": "9.35.0",
45
44
  "eslint-plugin-import": "2.32.0",
46
45
  "husky": "9.1.7",
47
46
  "ip": "2.0.1",
48
47
  "js-base64": "3.7.8",
49
48
  "js-yaml": "4.1.0",
50
49
  "jsdoc-to-markdown": "9.1.2",
51
- "lodash": "4.17.21",
52
- "lodash.clone": "4.5.0",
53
50
  "lodash.difference": "4.5.0",
54
51
  "lodash.find": "4.6.0",
55
52
  "lodash.findindex": "4.6.0",
@@ -58,7 +55,7 @@
58
55
  "lodash.isobject": "3.0.2",
59
56
  "lodash.split": "4.4.2",
60
57
  "lodash.union": "4.6.0",
61
- "mocha": "11.7.1",
58
+ "mocha": "11.7.2",
62
59
  "mochawesome": "7.1.3",
63
60
  "rewire": "9.0.1",
64
61
  "sinon": "21.0.0",