github-repository-provider 7.25.36 → 7.25.40

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.36",
3
+ "version": "7.25.40",
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.5"
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",
@@ -62,16 +62,18 @@ export class GithubProvider extends MultiGroupProvider {
62
62
  type: "url",
63
63
  env: ["{{instanceIdentifier}}SERVER_URL"],
64
64
  set: value => (value.endsWith("/") ? value : value + "/"),
65
- default: `https://${host}/`,
66
- /*getDefault: (attribute, object, properties) =>
65
+ default: `https://${host}/`,
66
+ depends: "host"
67
+ /*get: (attribute, object, properties) =>
67
68
  `https://${object.host || properties.host && properties.host.value}`*/
68
69
  },
69
70
  api: {
70
71
  type: "url",
71
72
  env: ["{{instanceIdentifier}}API_URL"],
72
73
  set: value => value.replace(/\/$/, ""),
73
- default: `https://api.${host}`,
74
- /* getDefault: (attribute, object, properties) =>
74
+ depends: "host",
75
+ default: `https://api.${host}`
76
+ /* get: (attribute, object, properties) =>
75
77
  `https://api.${object.host || properties.host.value}`*/
76
78
  },
77
79
  "authentication.token": {
@@ -101,7 +103,9 @@ export class GithubProvider extends MultiGroupProvider {
101
103
  ...options.headers
102
104
  }
103
105
  },
104
- responseHandler
106
+ responseHandler,
107
+ undefined,
108
+ (url, ...args) => this.info(url.toString(), ...args)
105
109
  );
106
110
  }
107
111