github-repository-provider 7.33.10 → 7.33.12
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 +1 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "7.33.
|
|
3
|
+
"version": "7.33.12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"matching-iterator": "^2.0.10",
|
|
37
37
|
"node-fetch": "^3.3.0",
|
|
38
38
|
"one-time-execution-method": "^3.0.5",
|
|
39
|
-
"repository-provider": "^32.3.
|
|
39
|
+
"repository-provider": "^32.3.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ava": "^5.1.0",
|
|
43
43
|
"c8": "^7.12.0",
|
|
44
|
-
"documentation": "^14.0.
|
|
44
|
+
"documentation": "^14.0.1",
|
|
45
45
|
"etag-cache-leveldb": "^1.4.0",
|
|
46
46
|
"leveldown": "^6.1.1",
|
|
47
47
|
"levelup": "^5.1.1",
|
|
48
|
-
"repository-provider-test-support": "^2.2.
|
|
48
|
+
"repository-provider-test-support": "^2.2.22",
|
|
49
49
|
"semantic-release": "^19.0.5"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
package/src/github-provider.mjs
CHANGED
|
@@ -121,12 +121,7 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
121
121
|
try {
|
|
122
122
|
for (let page = 1; ; page++) {
|
|
123
123
|
const url = `user/repos?page=${page}&per_page=100`;
|
|
124
|
-
const { json } = await this.fetchJSON(url
|
|
125
|
-
headers: {
|
|
126
|
-
//accept: "application/vnd.github.baptiste-preview+json"
|
|
127
|
-
accept: "application/vnd.github+json"
|
|
128
|
-
}
|
|
129
|
-
}*/);
|
|
124
|
+
const { json } = await this.fetchJSON(url);
|
|
130
125
|
|
|
131
126
|
if (json.length === 0 || !Array.isArray(json)) {
|
|
132
127
|
break;
|