@capraconsulting/cals-cli 2.25.1 → 2.25.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.
package/lib/cals-cli.js CHANGED
@@ -47,7 +47,7 @@ var read__default = /*#__PURE__*/_interopDefaultLegacy(read);
47
47
  var findUp__default = /*#__PURE__*/_interopDefaultLegacy(findUp);
48
48
  var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
49
49
 
50
- var version = "2.25.1";
50
+ var version = "2.25.3";
51
51
  var engines = {
52
52
  node: ">=12.0.0"
53
53
  };
@@ -3494,7 +3494,7 @@ async function main() {
3494
3494
  / /___/ ___ |/ /______/ /
3495
3495
  \\____/_/ |_/_____/____/
3496
3496
  cli ${version}
3497
- built ${"2023-02-20T09:28:07+0000"}
3497
+ built ${"2023-03-19T04:51:53+0000"}
3498
3498
 
3499
3499
  https://github.com/capralifecycle/cals-cli/
3500
3500
 
package/lib/index.es.js CHANGED
@@ -22,7 +22,7 @@ import execa from 'execa';
22
22
  import { performance } from 'perf_hooks';
23
23
  import { Transform } from 'stream';
24
24
 
25
- var version = "2.25.1";
25
+ var version = "2.25.3";
26
26
 
27
27
  class CacheProvider {
28
28
  constructor(config) {
@@ -1555,7 +1555,7 @@ class SonarCloudService {
1555
1555
  method: "GET",
1556
1556
  headers: {
1557
1557
  Accept: "application/json",
1558
- Authorization: `token ${token}`,
1558
+ Authorization: `Basic ${Buffer.from(token.concat(":"), "utf8").toString("base64")}`,
1559
1559
  },
1560
1560
  agent: this.config.agent,
1561
1561
  });
package/lib/index.js CHANGED
@@ -44,7 +44,7 @@ var keytar__default = /*#__PURE__*/_interopDefaultLegacy(keytar);
44
44
  var read__default = /*#__PURE__*/_interopDefaultLegacy(read);
45
45
  var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
46
46
 
47
- var version = "2.25.1";
47
+ var version = "2.25.3";
48
48
 
49
49
  class CacheProvider {
50
50
  constructor(config) {
@@ -1577,7 +1577,7 @@ class SonarCloudService {
1577
1577
  method: "GET",
1578
1578
  headers: {
1579
1579
  Accept: "application/json",
1580
- Authorization: `token ${token}`,
1580
+ Authorization: `Basic ${Buffer.from(token.concat(":"), "utf8").toString("base64")}`,
1581
1581
  },
1582
1582
  agent: this.config.agent,
1583
1583
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capraconsulting/cals-cli",
3
- "version": "2.25.1",
3
+ "version": "2.25.3",
4
4
  "description": "CLI for repeatable tasks in CALS",
5
5
  "scripts": {
6
6
  "prepare": "node scripts/create-definition-schema.js && husky install",
@@ -50,14 +50,14 @@
50
50
  "@rollup/plugin-replace": "4.0.0",
51
51
  "@types/jest": "27.5.2",
52
52
  "@types/js-yaml": "4.0.5",
53
- "@types/lodash": "4.14.186",
54
- "@types/node": "14.18.32",
53
+ "@types/lodash": "4.14.191",
54
+ "@types/node": "14.18.38",
55
55
  "@types/node-fetch": "2.6.2",
56
56
  "@types/read": "0.0.29",
57
57
  "@types/rimraf": "3.0.2",
58
- "@types/semver": "7.3.12",
58
+ "@types/semver": "7.3.13",
59
59
  "@types/sprintf-js": "1.1.2",
60
- "@types/yargs": "17.0.13",
60
+ "@types/yargs": "17.0.22",
61
61
  "@typescript-eslint/eslint-plugin": "5.27.1",
62
62
  "@typescript-eslint/parser": "5.27.1",
63
63
  "dateformat": "4.6.3",