@mimik/local 7.1.1 → 7.1.2
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/lib/tasks.js +1 -1
- package/package.json +3 -3
package/lib/tasks.js
CHANGED
|
@@ -338,7 +338,7 @@ const getAPI = (directory, swaggerFile, key) => {
|
|
|
338
338
|
if (!key[BITBUCKET] || !key[BITBUCKET].username || !key[BITBUCKET].password) {
|
|
339
339
|
throw new Error('missing username/password for accessing Bitbucket');
|
|
340
340
|
}
|
|
341
|
-
if (key[BITBUCKET].username === DEFAULT.
|
|
341
|
+
if (key[BITBUCKET].username === DEFAULT.KEY.username || key[BITBUCKET].password === DEFAULT.KEY.password) {
|
|
342
342
|
throw new Error('missing username/password for accessing Bitbucket');
|
|
343
343
|
}
|
|
344
344
|
opts.headers.Authorization = `Basic ${Base64.encode(`${key[BITBUCKET].username}:${key[BITBUCKET].password}`)}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mimik/local",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.2",
|
|
4
4
|
"description": "Local setup configuration for normal and test opreration",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
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.
|
|
36
|
+
"@stylistic/eslint-plugin": "5.3.1",
|
|
37
37
|
"axios": "1.11.0",
|
|
38
38
|
"bluebird": "3.7.2",
|
|
39
39
|
"c8": "10.1.3",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"lodash.isobject": "3.0.2",
|
|
59
59
|
"lodash.split": "4.4.2",
|
|
60
60
|
"lodash.union": "4.6.0",
|
|
61
|
-
"mocha": "11.7.
|
|
61
|
+
"mocha": "11.7.2",
|
|
62
62
|
"mochawesome": "7.1.3",
|
|
63
63
|
"rewire": "9.0.1",
|
|
64
64
|
"sinon": "21.0.0",
|