github-repository-provider 7.28.0 → 7.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-repository-provider",
3
- "version": "7.28.0",
3
+ "version": "7.28.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,13 +36,13 @@
36
36
  "matching-iterator": "^2.0.4",
37
37
  "node-fetch": "^3.2.4",
38
38
  "one-time-execution-method": "^3.0.1",
39
- "repository-provider": "^29.2.3"
39
+ "repository-provider": "^30.0.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "ava": "^4.2.0",
43
43
  "c8": "^7.11.3",
44
44
  "documentation": "^13.2.5",
45
- "repository-provider-test-support": "^2.1.19",
45
+ "repository-provider-test-support": "^2.1.20",
46
46
  "semantic-release": "^19.0.2"
47
47
  },
48
48
  "engines": {
@@ -262,7 +262,7 @@ export class GithubRepository extends Repository {
262
262
  const { response, json } = await this.provider.fetchJSON(next);
263
263
 
264
264
  for (const h of json) {
265
- new this.hookClass(this, h.name, new Set(h.events), {
265
+ this.addHook(h.name, {
266
266
  ...h,
267
267
  ...h.config
268
268
  });
@@ -270,7 +270,6 @@ export class GithubRepository extends Repository {
270
270
  next = getHeaderLink(response.headers);
271
271
  } while (next);
272
272
  }
273
-
274
273
  }
275
274
 
276
275
  replaceWithOneTimeExecutionMethod(