repository-provider 29.0.0 → 29.1.0

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": "repository-provider",
3
- "version": "29.0.0",
3
+ "version": "29.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,7 +36,7 @@
36
36
  "ava": "^4.2.0",
37
37
  "c8": "^7.11.2",
38
38
  "documentation": "^13.2.5",
39
- "repository-provider-test-support": "^2.1.12",
39
+ "repository-provider-test-support": "^2.1.14",
40
40
  "semantic-release": "^19.0.2",
41
41
  "typescript": "^4.6.3"
42
42
  },
@@ -249,6 +249,11 @@ export class Repository extends OwnedObject {
249
249
  return this.#branches.get(name);
250
250
  }
251
251
 
252
+ get hasBranches()
253
+ {
254
+ return this.#branches.size > 0;
255
+ }
256
+
252
257
  /**
253
258
  * @return {AsyncIterator<Branch>} of all branches
254
259
  */