github-repository-provider 8.0.2 → 8.0.3

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": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "content-entry": "^6.0.0",
33
33
  "fetch-link-util": "^1.0.14",
34
- "fetch-rate-limit-util": "^3.1.7",
34
+ "fetch-rate-limit-util": "^3.1.8",
35
35
  "matching-iterator": "^2.0.11",
36
36
  "node-fetch": "^3.3.0",
37
37
  "one-time-execution-method": "^3.0.6",
@@ -44,7 +44,7 @@
44
44
  "etag-cache-leveldb": "^1.4.1",
45
45
  "leveldown": "^6.1.1",
46
46
  "levelup": "^5.1.1",
47
- "repository-provider-test-support": "^2.2.38",
47
+ "repository-provider-test-support": "^2.3.0",
48
48
  "semantic-release": "^20.1.1"
49
49
  },
50
50
  "engines": {
@@ -109,6 +109,10 @@ export class GithubProvider extends MultiGroupProvider {
109
109
 
110
110
  fetchJSON(url, options={}) {
111
111
  options.postprocess = async response => {
112
+ if(!response.ok) {
113
+ console.log("failed",url, response.status);
114
+ }
115
+
112
116
  return { response, json: await response.json() };
113
117
  };
114
118