github-repository-provider 7.25.37 → 7.25.41

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.25.37",
3
+ "version": "7.25.41",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,22 +31,22 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "content-entry": "^4.1.4",
34
- "fetch-link-util": "^1.0.5",
35
- "fetch-rate-limit-util": "^2.4.9",
36
- "matching-iterator": "^2.0.2",
34
+ "fetch-link-util": "^1.0.6",
35
+ "fetch-rate-limit-util": "^2.4.10",
36
+ "matching-iterator": "^2.0.3",
37
37
  "node-fetch": "3.2.0",
38
- "one-time-execution-method": "^2.0.10",
39
- "repository-provider": "^26.7.6"
38
+ "one-time-execution-method": "^2.0.11",
39
+ "repository-provider": "^27.0.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "ava": "^4.0.1",
43
43
  "c8": "^7.11.0",
44
44
  "documentation": "^13.2.5",
45
- "repository-provider-test-support": "^1.12.6",
45
+ "repository-provider-test-support": "^1.12.7",
46
46
  "semantic-release": "^19.0.2"
47
47
  },
48
48
  "engines": {
49
- "node": ">=14.18.3"
49
+ "node": ">=14.19.0"
50
50
  },
51
51
  "repository": {
52
52
  "type": "git",
@@ -110,17 +110,6 @@ export class GithubBranch extends Branch {
110
110
  return new this.entryClass(name, Buffer.from(json.content, "base64"));
111
111
  }
112
112
 
113
- /** @inheritdoc */
114
- async maybeEntry(name) {
115
- const res = await this.provider.fetch(
116
- `repos/${this.slug}/contents/${name}?ref=${this.ref}`
117
- );
118
- if (res.ok) {
119
- const json = await res.json();
120
- return new this.entryClass(name, Buffer.from(json.content, "base64"));
121
- }
122
- }
123
-
124
113
  /**
125
114
  * {@link https://developer.github.com/v3/git/commits/#get-a-commit}
126
115
  * @param {string} sha
@@ -103,7 +103,9 @@ export class GithubProvider extends MultiGroupProvider {
103
103
  ...options.headers
104
104
  }
105
105
  },
106
- responseHandler
106
+ responseHandler,
107
+ undefined,
108
+ (url, ...args) => this.info(url.toString(), ...args)
107
109
  );
108
110
  }
109
111