repository-provider 32.7.23 → 32.7.24

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
@@ -193,6 +193,11 @@ console.log(await readme.string);
193
193
  * [delete](#delete-1)
194
194
  * [equals](#equals-3)
195
195
  * [Parameters](#parameters-45)
196
+ * [homePageURL](#homepageurl)
197
+ * [issuesURL](#issuesurl)
198
+ * [isLocked](#islocked)
199
+ * [isArchived](#isarchived)
200
+ * [isDisabled](#isdisabled)
196
201
  * [api](#api)
197
202
  * [url](#url-1)
198
203
  * [provider](#provider-1)
@@ -255,11 +260,6 @@ console.log(await readme.string);
255
260
  * [repository](#repository-2)
256
261
  * [fullName](#fullname-3)
257
262
  * [fullCondensedName](#fullcondensedname-1)
258
- * [issuesURL](#issuesurl)
259
- * [homePageURL](#homepageurl)
260
- * [isLocked](#islocked)
261
- * [isArchived](#isarchived)
262
- * [isDisabled](#isdisabled)
263
263
  * [isProtected](#isprotected)
264
264
  * [isDefault](#isdefault-1)
265
265
  * [attributes](#attributes-1)
@@ -1160,6 +1160,40 @@ Check for equality.
1160
1160
 
1161
1161
  Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if receiver and owner are equal
1162
1162
 
1163
+ ### homePageURL
1164
+
1165
+ * **See**: [Repository#homePageURL](#repositoryhomepageurl)
1166
+
1167
+ Url of home page.
1168
+
1169
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** as provided from the owner
1170
+
1171
+ ### issuesURL
1172
+
1173
+ * **See**: [Repository#issuesURL](#repositoryissuesurl)
1174
+
1175
+ Url of issue tracking system.
1176
+
1177
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** as provided from the repository
1178
+
1179
+ ### isLocked
1180
+
1181
+ Forwarded from the owner.
1182
+
1183
+ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
1184
+
1185
+ ### isArchived
1186
+
1187
+ Forwarded from the owner.
1188
+
1189
+ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
1190
+
1191
+ ### isDisabled
1192
+
1193
+ Forwarded from the owner.
1194
+
1195
+ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
1196
+
1163
1197
  ### api
1164
1198
 
1165
1199
  API as given by the owner.
@@ -1502,34 +1536,6 @@ But skipping the branch name if it is the default branch.
1502
1536
 
1503
1537
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 'user/repo#branch'
1504
1538
 
1505
- ### issuesURL
1506
-
1507
- * **See**: [Repository#issuesURL](#repositoryissuesurl)
1508
-
1509
- Url of issue tracking system.
1510
-
1511
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** as provided from the repository
1512
-
1513
- ### homePageURL
1514
-
1515
- * **See**: [Repository#homePageURL](#repositoryhomepageurl)
1516
-
1517
- Url of home page.
1518
-
1519
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** as provided from the repository
1520
-
1521
- ### isLocked
1522
-
1523
- Forwarded from the repository
1524
-
1525
- ### isArchived
1526
-
1527
- Forwarded from the repository
1528
-
1529
- ### isDisabled
1530
-
1531
- Forwarded from the repository
1532
-
1533
1539
  ### isProtected
1534
1540
 
1535
1541
  Returns **any** false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.7.23",
3
+ "version": "32.7.24",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,7 +35,7 @@
35
35
  "devDependencies": {
36
36
  "ava": "^5.3.0",
37
37
  "browser-ava": "^1.3.47",
38
- "c8": "^7.14.0",
38
+ "c8": "^8.0.0",
39
39
  "documentation": "^14.0.2",
40
40
  "repository-provider-test-support": "^2.3.8",
41
41
  "semantic-release": "^21.0.5",
@@ -96,6 +96,14 @@ export class OwnedObject extends NamedObject {
96
96
  return this.owner.api;
97
97
  }
98
98
 
99
+ /**
100
+ * API as given by the owner.
101
+ * @return {string} url
102
+ */
103
+ get slug() {
104
+ return this.owner.slug;
105
+ }
106
+
99
107
  /**
100
108
  * URL as given by the owner.
101
109
  * @return {string} url
package/src/ref.mjs CHANGED
@@ -99,10 +99,6 @@ export class Ref extends OwnedObject {
99
99
  return this.owner;
100
100
  }
101
101
 
102
- get slug() {
103
- return this.owner.slug;
104
- }
105
-
106
102
  /**
107
103
  * Repository and branch name combined.
108
104
  * @return {string} 'repo#branch'
@@ -128,7 +124,6 @@ export class Ref extends OwnedObject {
128
124
  : `${this.owner.identifier}#${this.name}`;
129
125
  }
130
126
 
131
-
132
127
  /**
133
128
  *
134
129
  * @return false