github-repository-provider 7.33.34 → 7.33.36
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": "github-repository-provider",
|
|
3
|
-
"version": "7.33.
|
|
3
|
+
"version": "7.33.36",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"matching-iterator": "^2.0.11",
|
|
37
37
|
"node-fetch": "^3.3.0",
|
|
38
38
|
"one-time-execution-method": "^3.0.6",
|
|
39
|
-
"repository-provider": "^32.
|
|
39
|
+
"repository-provider": "^32.6.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ava": "^5.1.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"leveldown": "^6.1.1",
|
|
47
47
|
"levelup": "^5.1.1",
|
|
48
48
|
"repository-provider-test-support": "^2.2.32",
|
|
49
|
-
"semantic-release": "^
|
|
49
|
+
"semantic-release": "^20.0.2"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=16.19.0"
|
|
@@ -2,6 +2,7 @@ import { replaceWithOneTimeExecutionMethod } from "one-time-execution-method";
|
|
|
2
2
|
import {
|
|
3
3
|
Repository,
|
|
4
4
|
boolean_attribute,
|
|
5
|
+
url_attribute,
|
|
5
6
|
mapAttributesInverse,
|
|
6
7
|
optionJSON
|
|
7
8
|
} from "repository-provider";
|
|
@@ -44,7 +45,8 @@ export class GithubRepository extends Repository {
|
|
|
44
45
|
allow_merge_commit: boolean_attribute,
|
|
45
46
|
allow_rebase_merge: boolean_attribute,
|
|
46
47
|
allow_auto_merge: boolean_attribute,
|
|
47
|
-
delete_branch_on_merge: boolean_attribute
|
|
48
|
+
delete_branch_on_merge: boolean_attribute,
|
|
49
|
+
issuesURL: url_attribute
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -191,7 +193,7 @@ export class GithubRepository extends Repository {
|
|
|
191
193
|
* @return {string} github https url
|
|
192
194
|
*/
|
|
193
195
|
get url() {
|
|
194
|
-
return `${this.provider.url}${this.fullName}
|
|
196
|
+
return `${this.provider.url}${this.fullName}`;
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
/**
|
|
@@ -215,7 +217,7 @@ export class GithubRepository extends Repository {
|
|
|
215
217
|
* @return {string}
|
|
216
218
|
*/
|
|
217
219
|
get api() {
|
|
218
|
-
return
|
|
220
|
+
return `${this.provider.api}/repos/${this.slug}`;
|
|
219
221
|
}
|
|
220
222
|
|
|
221
223
|
/**
|