github-repository-provider 7.26.19 → 7.26.22
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.26.
|
|
3
|
+
"version": "7.26.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"content-entry": "^5.0.0",
|
|
34
34
|
"fetch-link-util": "^1.0.8",
|
|
35
|
-
"fetch-rate-limit-util": "^2.9.
|
|
35
|
+
"fetch-rate-limit-util": "^2.9.5",
|
|
36
36
|
"matching-iterator": "^2.0.4",
|
|
37
37
|
"node-fetch": "^3.2.3",
|
|
38
38
|
"one-time-execution-method": "^2.0.13",
|
|
39
|
-
"repository-provider": "^28.3.
|
|
39
|
+
"repository-provider": "^28.3.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ava": "^4.2.0",
|
|
43
43
|
"c8": "^7.11.2",
|
|
44
44
|
"documentation": "^13.2.5",
|
|
45
|
-
"repository-provider-test-support": "^2.1.
|
|
45
|
+
"repository-provider-test-support": "^2.1.6",
|
|
46
46
|
"semantic-release": "^19.0.2"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
@@ -140,6 +140,7 @@ export class GithubRepository extends Repository {
|
|
|
140
140
|
this._ref = new Map();
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
// TODO: 409 -> none repeatable
|
|
143
144
|
const { response, json } = await this.provider.fetchJSON(
|
|
144
145
|
`repos/${this.slug}/git/ref/${ref}`
|
|
145
146
|
);
|
|
@@ -236,9 +237,7 @@ export class GithubRepository extends Repository {
|
|
|
236
237
|
const { response, json } = await this.provider.fetchJSON(next);
|
|
237
238
|
|
|
238
239
|
for (const h of json) {
|
|
239
|
-
|
|
240
|
-
delete h.id;
|
|
241
|
-
new this.hookClass(this, id, new Set(h.events), {
|
|
240
|
+
new this.hookClass(this, h.name, new Set(h.events), {
|
|
242
241
|
...h,
|
|
243
242
|
...h.config
|
|
244
243
|
});
|