github-repository-provider 8.0.22 → 8.0.24
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/README.md +1 -1
- package/package.json +8 -8
- package/src/github-provider.mjs +2 -2
package/README.md
CHANGED
|
@@ -352,7 +352,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
352
352
|
|
|
353
353
|
### update
|
|
354
354
|
|
|
355
|
-
<https://
|
|
355
|
+
<https://docs.github.com/de/rest/repos/repos?apiVersion=2022-11-28#update-a-repository>
|
|
356
356
|
|
|
357
357
|
### refId
|
|
358
358
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.24",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"license": "BSD-2-Clause",
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "npm run test:ava",
|
|
25
|
-
"test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs",
|
|
26
|
-
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout
|
|
25
|
+
"test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs && ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
|
|
26
|
+
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
|
|
27
27
|
"docs": "documentation readme --section=API ./src/**/*.mjs",
|
|
28
28
|
"lint": "npm run lint:docs",
|
|
29
29
|
"lint:docs": "documentation lint ./src/**/*.mjs"
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"content-entry": "^8.0.1",
|
|
33
33
|
"fetch-link-util": "^1.0.14",
|
|
34
|
-
"fetch-rate-limit-util": "^4.
|
|
34
|
+
"fetch-rate-limit-util": "^4.1.1",
|
|
35
35
|
"matching-iterator": "^2.0.12",
|
|
36
36
|
"one-time-execution-method": "^3.0.6",
|
|
37
|
-
"repository-provider": "^
|
|
37
|
+
"repository-provider": "^33.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"ava": "^5.3.1",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"etag-cache-leveldb": "^2.0.3",
|
|
44
44
|
"leveldown": "^6.1.1",
|
|
45
45
|
"levelup": "^5.1.1",
|
|
46
|
-
"repository-provider-test-support": "^2.4.
|
|
47
|
-
"semantic-release": "^
|
|
46
|
+
"repository-provider-test-support": "^2.4.3",
|
|
47
|
+
"semantic-release": "^22.0.1"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
|
-
"node": ">=18.
|
|
50
|
+
"node": ">=18.18.0"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
|
53
53
|
"type": "git",
|
package/src/github-provider.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { replaceWithOneTimeExecutionMethod } from "one-time-execution-method";
|
|
|
2
2
|
import { stateActionHandler } from "fetch-rate-limit-util";
|
|
3
3
|
import { BufferContentEntry } from "content-entry";
|
|
4
4
|
|
|
5
|
-
import { MultiGroupProvider, url_attribute, default_attribute } from "repository-provider";
|
|
5
|
+
import { MultiGroupProvider, url_attribute, default_attribute, priority_attribute } from "repository-provider";
|
|
6
6
|
import { GithubRepository } from "./github-repository.mjs";
|
|
7
7
|
import { GithubBranch } from "./github-branch.mjs";
|
|
8
8
|
import { GithubOwner } from "./github-owner.mjs";
|
|
@@ -86,7 +86,7 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
86
86
|
private: true,
|
|
87
87
|
mandatory: true
|
|
88
88
|
},
|
|
89
|
-
priority: { ...
|
|
89
|
+
priority: { ...priority_attribute, default: 1000.0 },
|
|
90
90
|
reateLimitRemaining: { writable: true, default: 5000 }
|
|
91
91
|
};
|
|
92
92
|
}
|