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 +8 -8
- package/src/github-branch.mjs +0 -11
- package/src/github-provider.mjs +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "7.25.
|
|
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.
|
|
35
|
-
"fetch-rate-limit-util": "^2.4.
|
|
36
|
-
"matching-iterator": "^2.0.
|
|
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.
|
|
39
|
-
"repository-provider": "^
|
|
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.
|
|
45
|
+
"repository-provider-test-support": "^1.12.7",
|
|
46
46
|
"semantic-release": "^19.0.2"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
|
-
"node": ">=14.
|
|
49
|
+
"node": ">=14.19.0"
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|
|
52
52
|
"type": "git",
|
package/src/github-branch.mjs
CHANGED
|
@@ -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
|
package/src/github-provider.mjs
CHANGED