repo-util 1.24.74 → 1.24.75

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repo-util",
3
- "version": "1.24.74",
3
+ "version": "1.24.75",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,15 +21,15 @@
21
21
  "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp"
22
22
  },
23
23
  "dependencies": {
24
- "aggregation-repository-provider": "^5.3.19",
25
- "bitbucket-repository-provider": "^4.4.27",
24
+ "aggregation-repository-provider": "^5.3.20",
25
+ "bitbucket-repository-provider": "^4.4.29",
26
26
  "commander": "^9.4.1",
27
27
  "etag-cache-leveldb": "^1.4.1",
28
- "gitea-repository-provider": "^2.4.30",
29
- "github-repository-provider": "^7.33.30",
28
+ "gitea-repository-provider": "^2.4.31",
29
+ "github-repository-provider": "^7.33.31",
30
30
  "leveldown": "^6.1.1",
31
31
  "levelup": "^5.1.1",
32
- "local-repository-provider": "^8.1.8",
32
+ "local-repository-provider": "^8.1.9",
33
33
  "node-fetch": "^3.3.0"
34
34
  },
35
35
  "devDependencies": {
@@ -115,7 +115,7 @@ for (const t of [
115
115
  program.parse(process.argv);
116
116
 
117
117
  function normalize(names) {
118
- return names.length === 0 ? ["*"] : names;
118
+ return names.length === 0 ? ["**/*"] : names;
119
119
  }
120
120
 
121
121
  function listAttributes(object, attributes, options) {
@@ -168,7 +168,7 @@ async function list(provider, names, type, actions) {
168
168
  if (options.identifier) {
169
169
  console.log(`${object.fullName}:`);
170
170
  }
171
- listAttributes(object, options.attribute || type.attributes, options);
171
+ listAttributes(object, options.attribute || type.attributes, options);
172
172
  }
173
173
  }
174
174
 
@@ -197,12 +197,14 @@ function type(clazz, extra) {
197
197
  actions: {
198
198
  update: {
199
199
  description: `update ${clazz.type} attributes`,
200
- executeInstance: object => {
201
- for (const [k, v] of Object.entries(properties)) {
200
+ executeInstance: async object => {
201
+ Object.assign(object, properties);
202
+
203
+ /*for (const [k, v] of Object.entries(properties)) {
202
204
  object[k] = v;
203
- }
205
+ }*/
204
206
 
205
- object.update();
207
+ await object.update();
206
208
  }
207
209
  },
208
210
  ...extra