@capraconsulting/cals-cli 3.2.0 → 3.2.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/cals-cli.js +13 -4
- package/lib/cals-cli.js.map +1 -1
- package/lib/index.es.js +12 -3
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +12 -3
- package/lib/index.js.map +1 -1
- package/lib/snyk/service.d.ts +10 -1
- package/package.json +1 -1
package/lib/cals-cli.js
CHANGED
|
@@ -68,7 +68,7 @@ var read__default = /*#__PURE__*/_interopDefaultLegacy(read);
|
|
|
68
68
|
var findUp__default = /*#__PURE__*/_interopDefaultLegacy(findUp);
|
|
69
69
|
var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
|
|
70
70
|
|
|
71
|
-
var version = "3.2.
|
|
71
|
+
var version = "3.2.2";
|
|
72
72
|
var engines = {
|
|
73
73
|
node: ">=12.0.0"
|
|
74
74
|
};
|
|
@@ -1119,7 +1119,16 @@ class SnykService {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
return this.getProjectsByAccountId(snykAccountId);
|
|
1121
1121
|
}
|
|
1122
|
-
async getProjectsByAccountId(snykAccountId
|
|
1122
|
+
async getProjectsByAccountId(snykAccountId,
|
|
1123
|
+
/**
|
|
1124
|
+
* The slug name of a Snyk organization.
|
|
1125
|
+
*
|
|
1126
|
+
* NOTE: This is only used to construct the browsable URL for a given project, and is not being used
|
|
1127
|
+
* in API calls to Snyk.
|
|
1128
|
+
*
|
|
1129
|
+
* @default - the slug corresponding to Lifligs Snyk organization ("it").
|
|
1130
|
+
*/
|
|
1131
|
+
snykOrgSlugId) {
|
|
1123
1132
|
const token = await this.tokenProvider.getToken();
|
|
1124
1133
|
if (token === undefined) {
|
|
1125
1134
|
throw new Error("Missing token for Snyk");
|
|
@@ -1169,7 +1178,7 @@ class SnykService {
|
|
|
1169
1178
|
totalDependencies: project.meta.latest_dependency_total.total,
|
|
1170
1179
|
issueCountsBySeverity: project.meta.latest_issue_counts,
|
|
1171
1180
|
lastTestedDate: project.meta.latest_dependency_total.updated_at,
|
|
1172
|
-
browseUrl: `https://app.snyk.io/org/${
|
|
1181
|
+
browseUrl: `https://app.snyk.io/org/${snykOrgSlugId !== null && snykOrgSlugId !== void 0 ? snykOrgSlugId : "it"}/project/${project.id}`,
|
|
1173
1182
|
};
|
|
1174
1183
|
}),
|
|
1175
1184
|
];
|
|
@@ -3402,7 +3411,7 @@ async function main() {
|
|
|
3402
3411
|
/ /___/ ___ |/ /______/ /
|
|
3403
3412
|
\\____/_/ |_/_____/____/
|
|
3404
3413
|
cli ${version}
|
|
3405
|
-
built ${"2023-08-
|
|
3414
|
+
built ${"2023-08-21T13:26:42+0000"}
|
|
3406
3415
|
|
|
3407
3416
|
https://github.com/capralifecycle/cals-cli/
|
|
3408
3417
|
|
package/lib/cals-cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cals-cli.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cals-cli.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
import execa from 'execa';
|
|
24
24
|
import { Transform } from 'stream';
|
|
25
25
|
|
|
26
|
-
var version = "3.2.
|
|
26
|
+
var version = "3.2.2";
|
|
27
27
|
|
|
28
28
|
class CacheProvider {
|
|
29
29
|
constructor(config) {
|
|
@@ -1466,7 +1466,16 @@ class SnykService {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
return this.getProjectsByAccountId(snykAccountId);
|
|
1468
1468
|
}
|
|
1469
|
-
async getProjectsByAccountId(snykAccountId
|
|
1469
|
+
async getProjectsByAccountId(snykAccountId,
|
|
1470
|
+
/**
|
|
1471
|
+
* The slug name of a Snyk organization.
|
|
1472
|
+
*
|
|
1473
|
+
* NOTE: This is only used to construct the browsable URL for a given project, and is not being used
|
|
1474
|
+
* in API calls to Snyk.
|
|
1475
|
+
*
|
|
1476
|
+
* @default - the slug corresponding to Lifligs Snyk organization ("it").
|
|
1477
|
+
*/
|
|
1478
|
+
snykOrgSlugId) {
|
|
1470
1479
|
const token = await this.tokenProvider.getToken();
|
|
1471
1480
|
if (token === undefined) {
|
|
1472
1481
|
throw new Error("Missing token for Snyk");
|
|
@@ -1516,7 +1525,7 @@ class SnykService {
|
|
|
1516
1525
|
totalDependencies: project.meta.latest_dependency_total.total,
|
|
1517
1526
|
issueCountsBySeverity: project.meta.latest_issue_counts,
|
|
1518
1527
|
lastTestedDate: project.meta.latest_dependency_total.updated_at,
|
|
1519
|
-
browseUrl: `https://app.snyk.io/org/${
|
|
1528
|
+
browseUrl: `https://app.snyk.io/org/${snykOrgSlugId !== null && snykOrgSlugId !== void 0 ? snykOrgSlugId : "it"}/project/${project.id}`,
|
|
1520
1529
|
};
|
|
1521
1530
|
}),
|
|
1522
1531
|
];
|
package/lib/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var process__namespace = /*#__PURE__*/_interopNamespace(process$1);
|
|
|
64
64
|
var read__default = /*#__PURE__*/_interopDefaultLegacy(read);
|
|
65
65
|
var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
|
|
66
66
|
|
|
67
|
-
var version = "3.2.
|
|
67
|
+
var version = "3.2.2";
|
|
68
68
|
|
|
69
69
|
class CacheProvider {
|
|
70
70
|
constructor(config) {
|
|
@@ -1507,7 +1507,16 @@ class SnykService {
|
|
|
1507
1507
|
}
|
|
1508
1508
|
return this.getProjectsByAccountId(snykAccountId);
|
|
1509
1509
|
}
|
|
1510
|
-
async getProjectsByAccountId(snykAccountId
|
|
1510
|
+
async getProjectsByAccountId(snykAccountId,
|
|
1511
|
+
/**
|
|
1512
|
+
* The slug name of a Snyk organization.
|
|
1513
|
+
*
|
|
1514
|
+
* NOTE: This is only used to construct the browsable URL for a given project, and is not being used
|
|
1515
|
+
* in API calls to Snyk.
|
|
1516
|
+
*
|
|
1517
|
+
* @default - the slug corresponding to Lifligs Snyk organization ("it").
|
|
1518
|
+
*/
|
|
1519
|
+
snykOrgSlugId) {
|
|
1511
1520
|
const token = await this.tokenProvider.getToken();
|
|
1512
1521
|
if (token === undefined) {
|
|
1513
1522
|
throw new Error("Missing token for Snyk");
|
|
@@ -1557,7 +1566,7 @@ class SnykService {
|
|
|
1557
1566
|
totalDependencies: project.meta.latest_dependency_total.total,
|
|
1558
1567
|
issueCountsBySeverity: project.meta.latest_issue_counts,
|
|
1559
1568
|
lastTestedDate: project.meta.latest_dependency_total.updated_at,
|
|
1560
|
-
browseUrl: `https://app.snyk.io/org/${
|
|
1569
|
+
browseUrl: `https://app.snyk.io/org/${snykOrgSlugId !== null && snykOrgSlugId !== void 0 ? snykOrgSlugId : "it"}/project/${project.id}`,
|
|
1561
1570
|
};
|
|
1562
1571
|
}),
|
|
1563
1572
|
];
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/snyk/service.d.ts
CHANGED
|
@@ -11,7 +11,16 @@ export declare class SnykService {
|
|
|
11
11
|
private tokenProvider;
|
|
12
12
|
constructor(props: SnykServiceProps);
|
|
13
13
|
getProjects(definition: Definition): Promise<SnykProject[]>;
|
|
14
|
-
getProjectsByAccountId(snykAccountId: string
|
|
14
|
+
getProjectsByAccountId(snykAccountId: string,
|
|
15
|
+
/**
|
|
16
|
+
* The slug name of a Snyk organization.
|
|
17
|
+
*
|
|
18
|
+
* NOTE: This is only used to construct the browsable URL for a given project, and is not being used
|
|
19
|
+
* in API calls to Snyk.
|
|
20
|
+
*
|
|
21
|
+
* @default - the slug corresponding to Lifligs Snyk organization ("it").
|
|
22
|
+
*/
|
|
23
|
+
snykOrgSlugId?: string): Promise<SnykProject[]>;
|
|
15
24
|
}
|
|
16
25
|
interface CreateSnykServiceProps {
|
|
17
26
|
config: Config;
|