repo-util 1.12.2 → 1.12.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/package.json +4 -4
- package/src/repo-util-cli.mjs +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repo-util",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"aggregation-repository-provider": "^4.0.
|
|
24
|
+
"aggregation-repository-provider": "^4.0.30",
|
|
25
25
|
"bitbucket-repository-provider": "^3.10.10",
|
|
26
26
|
"commander": "^9.0.0",
|
|
27
27
|
"gitea-repository-provider": "^1.16.67",
|
|
28
|
-
"github-repository-provider": "^7.25.
|
|
29
|
-
"local-repository-provider": "^7.0
|
|
28
|
+
"github-repository-provider": "^7.25.27",
|
|
29
|
+
"local-repository-provider": "^7.2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"ava": "^4.0.1",
|
package/src/repo-util-cli.mjs
CHANGED
|
@@ -106,12 +106,8 @@ async function list(provider, names, options, slot, attributes, actions) {
|
|
|
106
106
|
if (options.json) {
|
|
107
107
|
json.push(object);
|
|
108
108
|
} else {
|
|
109
|
-
let prefix = "";
|
|
110
|
-
if (object.repository) {
|
|
111
|
-
prefix = object.repository.fullName + ": ";
|
|
112
|
-
}
|
|
113
109
|
for (const a of attributes) {
|
|
114
|
-
console.log(
|
|
110
|
+
console.log(object.fullName + ":", object[a]);
|
|
115
111
|
}
|
|
116
112
|
}
|
|
117
113
|
}
|