repository-provider 32.6.0 → 32.6.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/README.md CHANGED
@@ -192,6 +192,7 @@ console.log(await readme.getString());
192
192
  * [equals](#equals-3)
193
193
  * [Parameters](#parameters-44)
194
194
  * [api](#api)
195
+ * [url](#url-2)
195
196
  * [provider](#provider-1)
196
197
  * [identifier](#identifier)
197
198
  * [fullName](#fullname-1)
@@ -218,7 +219,7 @@ console.log(await readme.getString());
218
219
  * [Parameters](#parameters-50)
219
220
  * [Properties](#properties-7)
220
221
  * [fullName](#fullname-2)
221
- * [url](#url-2)
222
+ * [url](#url-3)
222
223
  * [repository](#repository-1)
223
224
  * [delete](#delete-2)
224
225
  * [merge](#merge)
@@ -1153,6 +1154,12 @@ API as given by the owner.
1153
1154
 
1154
1155
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** url
1155
1156
 
1157
+ ### url
1158
+
1159
+ URL as given by the owner.
1160
+
1161
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** url
1162
+
1156
1163
  ### provider
1157
1164
 
1158
1165
  The provider we live in.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.6.0",
3
+ "version": "32.6.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -26,12 +26,10 @@ export class SingleGroupProvider extends RepositoryOwner(BaseProvider) {
26
26
  * @return {Promise<RepositoryGroup>} deliver the one and only present group
27
27
  */
28
28
  async repositoryGroup(name) {
29
- if (name !== undefined) {
30
- const { base } = this.parseName(name);
29
+ const { base } = this.parseName(name);
31
30
 
32
- if (this.supportsBase(base)) {
33
- return this;
34
- }
31
+ if (name && this.supportsBase(base)) {
32
+ return this;
35
33
  }
36
34
  }
37
35