github-repository-provider 9.0.5 → 9.0.6
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": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"fetch-rate-limit-util": "^4.2.1",
|
|
39
39
|
"matching-iterator": "^2.1.3",
|
|
40
40
|
"one-time-execution-method": "^3.1.1",
|
|
41
|
-
"repository-provider": "^35.2.
|
|
41
|
+
"repository-provider": "^35.2.14"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@types/node": "^20.11.
|
|
44
|
+
"@types/node": "^20.11.20",
|
|
45
45
|
"ava": "^6.1.1",
|
|
46
46
|
"c8": "^9.1.0",
|
|
47
47
|
"documentation": "^14.0.3",
|
|
48
48
|
"etag-cache-leveldb": "^2.1.1",
|
|
49
49
|
"leveldown": "^6.1.1",
|
|
50
50
|
"levelup": "^5.1.1",
|
|
51
|
-
"repository-provider-test-support": "^3.1.
|
|
51
|
+
"repository-provider-test-support": "^3.1.3",
|
|
52
52
|
"semantic-release": "^23.0.2",
|
|
53
53
|
"typescript": "^5.3.3"
|
|
54
54
|
},
|
|
@@ -283,7 +283,6 @@ export class GithubRepository extends Repository {
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
|
-
* @TODO generalize for all repos ?
|
|
287
286
|
* @param {string} ref
|
|
288
287
|
* @param {string} sha
|
|
289
288
|
*/
|
|
@@ -297,9 +296,8 @@ export class GithubRepository extends Repository {
|
|
|
297
296
|
* @param {string} ref
|
|
298
297
|
* @param {string} sha
|
|
299
298
|
* @param {Object} options
|
|
300
|
-
* @returns
|
|
299
|
+
* @returns {Promise<Object>}
|
|
301
300
|
*
|
|
302
|
-
* @TODO belongs into Ref ?
|
|
303
301
|
*/
|
|
304
302
|
async setRefId(ref, sha, options) {
|
|
305
303
|
ref = ref.replace(/^refs\//, "");
|