@capraconsulting/cals-cli 2.23.1 → 2.24.1
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 +23 -14
- package/lib/cals-cli.js.map +1 -1
- package/lib/github/types.d.ts +1 -0
- package/lib/index.es.js +20 -12
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +20 -12
- package/lib/index.js.map +1 -1
- package/package.json +36 -36
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.
|
|
50
|
+
var version = "2.24.1";
|
|
51
51
|
var engines = {
|
|
52
52
|
node: ">=12.0.0"
|
|
53
53
|
};
|
|
@@ -737,11 +737,15 @@ class GitHubService {
|
|
|
737
737
|
login: it.login,
|
|
738
738
|
data: it,
|
|
739
739
|
})),
|
|
740
|
-
...(await this.getOrgMembersInvitedList(org)).map((it) =>
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
740
|
+
...(await this.getOrgMembersInvitedList(org)).map((it) => {
|
|
741
|
+
var _a;
|
|
742
|
+
return ({
|
|
743
|
+
type: "invited",
|
|
744
|
+
// TODO: Fix ?? case properly
|
|
745
|
+
login: (_a = it.login) !== null && _a !== void 0 ? _a : "invalid",
|
|
746
|
+
data: it,
|
|
747
|
+
});
|
|
748
|
+
}),
|
|
745
749
|
];
|
|
746
750
|
}
|
|
747
751
|
async getRepository(owner, repo) {
|
|
@@ -756,7 +760,6 @@ class GitHubService {
|
|
|
756
760
|
async getRepositoryTeamsList(repo) {
|
|
757
761
|
return this.cache.json(`repository-teams-list-${repo.id}`, async () => {
|
|
758
762
|
const options = this.octokit.repos.listTeams.endpoint.merge({
|
|
759
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
760
763
|
owner: repo.owner.login,
|
|
761
764
|
repo: repo.name,
|
|
762
765
|
});
|
|
@@ -811,11 +814,15 @@ class GitHubService {
|
|
|
811
814
|
login: it.login,
|
|
812
815
|
data: it,
|
|
813
816
|
})),
|
|
814
|
-
...(await this.getTeamMemberInvitedList(org, team)).map((it) =>
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
817
|
+
...(await this.getTeamMemberInvitedList(org, team)).map((it) => {
|
|
818
|
+
var _a;
|
|
819
|
+
return ({
|
|
820
|
+
type: "invited",
|
|
821
|
+
// TODO: Fix ?? case properly
|
|
822
|
+
login: (_a = it.login) !== null && _a !== void 0 ? _a : "invalid",
|
|
823
|
+
data: it,
|
|
824
|
+
});
|
|
825
|
+
}),
|
|
819
826
|
];
|
|
820
827
|
}
|
|
821
828
|
async getSearchedPullRequestList() {
|
|
@@ -918,6 +925,7 @@ class GitHubService {
|
|
|
918
925
|
}
|
|
919
926
|
edges {
|
|
920
927
|
node {
|
|
928
|
+
state
|
|
921
929
|
dismissReason
|
|
922
930
|
vulnerableManifestFilename
|
|
923
931
|
vulnerableManifestPath
|
|
@@ -1459,7 +1467,6 @@ async function getProjects(github, orgs, definition, snyk) {
|
|
|
1459
1467
|
const definitionRepos = lodash.keyBy(getRepos(definition), (it) => it.id);
|
|
1460
1468
|
const projectGroups = Object.values(repos.reduce((acc, cur) => {
|
|
1461
1469
|
var _a, _b, _c, _d;
|
|
1462
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1463
1470
|
const org = cur.repository.owner.login;
|
|
1464
1471
|
const repoId = getRepoId(org, cur.repository.name);
|
|
1465
1472
|
const projectName = (_c = (_b = (_a = definitionRepos[repoId]) === null || _a === void 0 ? void 0 : _a.project) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : "Unknown";
|
|
@@ -2786,6 +2793,7 @@ class GitRepo {
|
|
|
2786
2793
|
await this.logCommand(result);
|
|
2787
2794
|
}
|
|
2788
2795
|
catch (e) {
|
|
2796
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
2789
2797
|
await this.logCommand(e);
|
|
2790
2798
|
throw e;
|
|
2791
2799
|
}
|
|
@@ -2799,6 +2807,7 @@ class GitRepo {
|
|
|
2799
2807
|
return result;
|
|
2800
2808
|
}
|
|
2801
2809
|
catch (e) {
|
|
2810
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
2802
2811
|
await this.logCommand(e);
|
|
2803
2812
|
throw e;
|
|
2804
2813
|
}
|
|
@@ -3485,7 +3494,7 @@ async function main() {
|
|
|
3485
3494
|
/ /___/ ___ |/ /______/ /
|
|
3486
3495
|
\\____/_/ |_/_____/____/
|
|
3487
3496
|
cli ${version}
|
|
3488
|
-
built ${"
|
|
3497
|
+
built ${"2022-06-10T13:21:10+0000"}
|
|
3489
3498
|
|
|
3490
3499
|
https://github.com/capralifecycle/cals-cli/
|
|
3491
3500
|
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/github/types.d.ts
CHANGED
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
|
+
var version = "2.24.1";
|
|
26
26
|
|
|
27
27
|
class CacheProvider {
|
|
28
28
|
constructor(config) {
|
|
@@ -813,11 +813,15 @@ class GitHubService {
|
|
|
813
813
|
login: it.login,
|
|
814
814
|
data: it,
|
|
815
815
|
})),
|
|
816
|
-
...(await this.getOrgMembersInvitedList(org)).map((it) =>
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
816
|
+
...(await this.getOrgMembersInvitedList(org)).map((it) => {
|
|
817
|
+
var _a;
|
|
818
|
+
return ({
|
|
819
|
+
type: "invited",
|
|
820
|
+
// TODO: Fix ?? case properly
|
|
821
|
+
login: (_a = it.login) !== null && _a !== void 0 ? _a : "invalid",
|
|
822
|
+
data: it,
|
|
823
|
+
});
|
|
824
|
+
}),
|
|
821
825
|
];
|
|
822
826
|
}
|
|
823
827
|
async getRepository(owner, repo) {
|
|
@@ -832,7 +836,6 @@ class GitHubService {
|
|
|
832
836
|
async getRepositoryTeamsList(repo) {
|
|
833
837
|
return this.cache.json(`repository-teams-list-${repo.id}`, async () => {
|
|
834
838
|
const options = this.octokit.repos.listTeams.endpoint.merge({
|
|
835
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
836
839
|
owner: repo.owner.login,
|
|
837
840
|
repo: repo.name,
|
|
838
841
|
});
|
|
@@ -887,11 +890,15 @@ class GitHubService {
|
|
|
887
890
|
login: it.login,
|
|
888
891
|
data: it,
|
|
889
892
|
})),
|
|
890
|
-
...(await this.getTeamMemberInvitedList(org, team)).map((it) =>
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
893
|
+
...(await this.getTeamMemberInvitedList(org, team)).map((it) => {
|
|
894
|
+
var _a;
|
|
895
|
+
return ({
|
|
896
|
+
type: "invited",
|
|
897
|
+
// TODO: Fix ?? case properly
|
|
898
|
+
login: (_a = it.login) !== null && _a !== void 0 ? _a : "invalid",
|
|
899
|
+
data: it,
|
|
900
|
+
});
|
|
901
|
+
}),
|
|
895
902
|
];
|
|
896
903
|
}
|
|
897
904
|
async getSearchedPullRequestList() {
|
|
@@ -994,6 +1001,7 @@ class GitHubService {
|
|
|
994
1001
|
}
|
|
995
1002
|
edges {
|
|
996
1003
|
node {
|
|
1004
|
+
state
|
|
997
1005
|
dismissReason
|
|
998
1006
|
vulnerableManifestFilename
|
|
999
1007
|
vulnerableManifestPath
|
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
|
@@ -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.
|
|
47
|
+
var version = "2.24.1";
|
|
48
48
|
|
|
49
49
|
class CacheProvider {
|
|
50
50
|
constructor(config) {
|
|
@@ -835,11 +835,15 @@ class GitHubService {
|
|
|
835
835
|
login: it.login,
|
|
836
836
|
data: it,
|
|
837
837
|
})),
|
|
838
|
-
...(await this.getOrgMembersInvitedList(org)).map((it) =>
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
838
|
+
...(await this.getOrgMembersInvitedList(org)).map((it) => {
|
|
839
|
+
var _a;
|
|
840
|
+
return ({
|
|
841
|
+
type: "invited",
|
|
842
|
+
// TODO: Fix ?? case properly
|
|
843
|
+
login: (_a = it.login) !== null && _a !== void 0 ? _a : "invalid",
|
|
844
|
+
data: it,
|
|
845
|
+
});
|
|
846
|
+
}),
|
|
843
847
|
];
|
|
844
848
|
}
|
|
845
849
|
async getRepository(owner, repo) {
|
|
@@ -854,7 +858,6 @@ class GitHubService {
|
|
|
854
858
|
async getRepositoryTeamsList(repo) {
|
|
855
859
|
return this.cache.json(`repository-teams-list-${repo.id}`, async () => {
|
|
856
860
|
const options = this.octokit.repos.listTeams.endpoint.merge({
|
|
857
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
858
861
|
owner: repo.owner.login,
|
|
859
862
|
repo: repo.name,
|
|
860
863
|
});
|
|
@@ -909,11 +912,15 @@ class GitHubService {
|
|
|
909
912
|
login: it.login,
|
|
910
913
|
data: it,
|
|
911
914
|
})),
|
|
912
|
-
...(await this.getTeamMemberInvitedList(org, team)).map((it) =>
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
915
|
+
...(await this.getTeamMemberInvitedList(org, team)).map((it) => {
|
|
916
|
+
var _a;
|
|
917
|
+
return ({
|
|
918
|
+
type: "invited",
|
|
919
|
+
// TODO: Fix ?? case properly
|
|
920
|
+
login: (_a = it.login) !== null && _a !== void 0 ? _a : "invalid",
|
|
921
|
+
data: it,
|
|
922
|
+
});
|
|
923
|
+
}),
|
|
917
924
|
];
|
|
918
925
|
}
|
|
919
926
|
async getSearchedPullRequestList() {
|
|
@@ -1016,6 +1023,7 @@ class GitHubService {
|
|
|
1016
1023
|
}
|
|
1017
1024
|
edges {
|
|
1018
1025
|
node {
|
|
1026
|
+
state
|
|
1019
1027
|
dismissReason
|
|
1020
1028
|
vulnerableManifestFilename
|
|
1021
1029
|
vulnerableManifestPath
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sour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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capraconsulting/cals-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.24.1",
|
|
4
4
|
"description": "CLI for repeatable tasks in CALS",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepare": "node scripts/create-definition-schema.js && husky install",
|
|
@@ -21,62 +21,62 @@
|
|
|
21
21
|
"cals": "lib/cals-cli.js"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
25
|
-
"@aws-sdk/client-sts": "^3.
|
|
26
|
-
"@octokit/rest": "^18.
|
|
27
|
-
"ajv": "^8.
|
|
24
|
+
"@aws-sdk/client-secrets-manager": "^3.105.0",
|
|
25
|
+
"@aws-sdk/client-sts": "^3.105.0",
|
|
26
|
+
"@octokit/rest": "^18.12.0",
|
|
27
|
+
"ajv": "^8.11.0",
|
|
28
28
|
"cachedir": "^2.3.0",
|
|
29
29
|
"chalk": "^4.0.0",
|
|
30
30
|
"execa": "^5.0.0",
|
|
31
31
|
"find-up": "^5.0.0",
|
|
32
|
-
"js-yaml": "^4.
|
|
33
|
-
"keytar": "^7.
|
|
34
|
-
"lodash": "^4.17.
|
|
35
|
-
"node-fetch": "^2.6.
|
|
32
|
+
"js-yaml": "^4.1.0",
|
|
33
|
+
"keytar": "^7.9.0",
|
|
34
|
+
"lodash": "^4.17.21",
|
|
35
|
+
"node-fetch": "^2.6.7",
|
|
36
36
|
"p-limit": "^3.0.0",
|
|
37
37
|
"p-map": "^4.0.0",
|
|
38
38
|
"read": "^1.0.7",
|
|
39
39
|
"rimraf": "^3.0.2",
|
|
40
|
-
"semver": "^7.3.
|
|
40
|
+
"semver": "^7.3.7",
|
|
41
41
|
"sprintf-js": "^1.1.2",
|
|
42
|
-
"yargs": "^17.
|
|
42
|
+
"yargs": "^17.5.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@commitlint/cli": "
|
|
46
|
-
"@commitlint/config-conventional": "
|
|
47
|
-
"@octokit/types": "6.
|
|
48
|
-
"@rollup/plugin-alias": "3.1.
|
|
45
|
+
"@commitlint/cli": "16.3.0",
|
|
46
|
+
"@commitlint/config-conventional": "16.2.4",
|
|
47
|
+
"@octokit/types": "6.34.0",
|
|
48
|
+
"@rollup/plugin-alias": "3.1.9",
|
|
49
49
|
"@rollup/plugin-json": "4.1.0",
|
|
50
|
-
"@rollup/plugin-replace": "
|
|
51
|
-
"@types/jest": "27.
|
|
52
|
-
"@types/js-yaml": "4.0.
|
|
53
|
-
"@types/lodash": "4.14.
|
|
54
|
-
"@types/node": "14.
|
|
55
|
-
"@types/node-fetch": "2.
|
|
50
|
+
"@rollup/plugin-replace": "3.1.0",
|
|
51
|
+
"@types/jest": "27.5.2",
|
|
52
|
+
"@types/js-yaml": "4.0.5",
|
|
53
|
+
"@types/lodash": "4.14.182",
|
|
54
|
+
"@types/node": "14.18.13",
|
|
55
|
+
"@types/node-fetch": "2.6.1",
|
|
56
56
|
"@types/read": "0.0.29",
|
|
57
57
|
"@types/rimraf": "3.0.2",
|
|
58
58
|
"@types/semver": "7.3.9",
|
|
59
59
|
"@types/sprintf-js": "1.1.2",
|
|
60
|
-
"@types/yargs": "17.0.
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "
|
|
62
|
-
"@typescript-eslint/parser": "
|
|
60
|
+
"@types/yargs": "17.0.10",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "5.27.1",
|
|
62
|
+
"@typescript-eslint/parser": "5.27.1",
|
|
63
63
|
"dateformat": "4.6.3",
|
|
64
|
-
"del": "6.
|
|
65
|
-
"eslint": "
|
|
66
|
-
"eslint-config-prettier": "8.
|
|
67
|
-
"eslint-plugin-deprecation": "1.2.1",
|
|
64
|
+
"del": "6.1.1",
|
|
65
|
+
"eslint": "8.17.0",
|
|
66
|
+
"eslint-config-prettier": "8.5.0",
|
|
68
67
|
"eslint-plugin-prettier": "4.0.0",
|
|
69
68
|
"husky": "7.0.4",
|
|
70
|
-
"jest": "27.
|
|
71
|
-
"prettier": "2.
|
|
72
|
-
"rollup": "2.
|
|
73
|
-
"rollup-plugin-typescript2": "0.
|
|
74
|
-
"semantic-release": "
|
|
69
|
+
"jest": "27.5.1",
|
|
70
|
+
"prettier": "2.6.2",
|
|
71
|
+
"rollup": "2.75.6",
|
|
72
|
+
"rollup-plugin-typescript2": "0.32.1",
|
|
73
|
+
"semantic-release": "19.0.3",
|
|
75
74
|
"tempy": "1.0.1",
|
|
76
|
-
"ts-jest": "27.
|
|
77
|
-
"typescript": "4.
|
|
78
|
-
"typescript-json-schema": "0.
|
|
75
|
+
"ts-jest": "27.1.5",
|
|
76
|
+
"typescript": "4.7.3",
|
|
77
|
+
"typescript-json-schema": "0.53.1"
|
|
79
78
|
},
|
|
79
|
+
"peerDependencies": {},
|
|
80
80
|
"files": [
|
|
81
81
|
"lib/**/*"
|
|
82
82
|
],
|