repository-provider 30.3.4 → 31.0.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/repository.mjs +4 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "30.3.4",
3
+ "version": "31.0.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.3",
38
38
  "documentation": "^13.2.5",
39
- "repository-provider-test-support": "^2.1.24",
39
+ "repository-provider-test-support": "^2.1.25",
40
40
  "semantic-release": "^19.0.2",
41
41
  "typescript": "^4.7.2"
42
42
  },
@@ -49,9 +49,9 @@ export class Repository extends OwnedObject {
49
49
 
50
50
  /**
51
51
  * URLs of the repository
52
- * @return {string[]}
52
+ * @return {string}
53
53
  */
54
- urls: {},
54
+ url: { type: "string" },
55
55
 
56
56
  cloneURL: { type: "url" },
57
57
 
@@ -134,21 +134,13 @@ export class Repository extends OwnedObject {
134
134
  */
135
135
  async *commits(options) {}
136
136
 
137
- /**
138
- * Urls to access the repo.
139
- * @return {string[]}
140
- */
141
- get urls() {
142
- return [];
143
- }
144
-
145
137
  /**
146
138
  * Preffered url to access the repo.
147
139
  * @return {string}
148
140
  */
149
- get url() {
141
+ /*get url() {
150
142
  return this.urls[0];
151
- }
143
+ }*/
152
144
 
153
145
  /**
154
146
  * The url used for cloning the repo.