github-repository-provider 9.3.13 → 10.0.0
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 +4 -4
- package/src/github-provider.mjs +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"fetch-rate-limit-util": "^4.5.5",
|
|
39
39
|
"matching-iterator": "^2.1.5",
|
|
40
40
|
"one-time-execution-method": "^3.1.4",
|
|
41
|
-
"repository-provider": "^
|
|
41
|
+
"repository-provider": "^36.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^24.10.1",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"etag-cache-leveldb": "^2.1.17",
|
|
49
49
|
"leveldown": "^6.1.1",
|
|
50
50
|
"levelup": "^5.1.1",
|
|
51
|
-
"repository-provider-test-support": "^
|
|
51
|
+
"repository-provider-test-support": "^5.0.0",
|
|
52
52
|
"semantic-release": "^25.0.2"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
|
-
"node": ">=
|
|
55
|
+
"node": ">=24.11.1"
|
|
56
56
|
},
|
|
57
57
|
"repository": {
|
|
58
58
|
"type": "git",
|
package/src/github-provider.mjs
CHANGED
|
@@ -114,8 +114,8 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
114
114
|
options.agent = this.agent;
|
|
115
115
|
|
|
116
116
|
const authorization = {};
|
|
117
|
-
if(this.authentication?.token) {
|
|
118
|
-
authorization.authorization = `token ${this.authentication.token}
|
|
117
|
+
if (this.authentication?.token) {
|
|
118
|
+
authorization.authorization = `token ${this.authentication.token}`;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
return stateActionHandler(new URL(url, this.api), {
|
|
@@ -203,7 +203,7 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
203
203
|
return GithubBranch;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
repositoryGroupClassFor(name, options) {
|
|
207
207
|
return GithubOwner;
|
|
208
208
|
}
|
|
209
209
|
}
|