github-repository-provider 8.0.8 → 8.0.9

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.8",
3
+ "version": "8.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,7 +34,7 @@
34
34
  "fetch-rate-limit-util": "^4.0.2",
35
35
  "matching-iterator": "^2.0.11",
36
36
  "one-time-execution-method": "^3.0.6",
37
- "repository-provider": "^32.6.11"
37
+ "repository-provider": "^32.6.12"
38
38
  },
39
39
  "devDependencies": {
40
40
  "ava": "^5.2.0",
@@ -44,7 +44,7 @@
44
44
  "leveldown": "^6.1.1",
45
45
  "levelup": "^5.1.1",
46
46
  "repository-provider-test-support": "^2.3.1",
47
- "semantic-release": "^20.1.3"
47
+ "semantic-release": "^21.0.0"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=18.15.0"
@@ -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 } from "repository-provider";
5
+ import { MultiGroupProvider, url_attribute, default_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";
@@ -49,7 +49,7 @@ export class GithubProvider extends MultiGroupProvider {
49
49
  return {
50
50
  ...super.attributes,
51
51
  host: {
52
- type: "string",
52
+ ...default_attribute,
53
53
  env: ["{{instanceIdentifier}}HOST", "GH_HOST"],
54
54
  default: host
55
55
  },
@@ -76,7 +76,7 @@ export class GithubProvider extends MultiGroupProvider {
76
76
  `https://api.${object.host || properties.host.value}`*/
77
77
  },
78
78
  "authentication.token": {
79
- type: "string",
79
+ ...default_attribute,
80
80
  // @see https://cli.github.com/manual/gh_help_environment
81
81
  env: [
82
82
  "{{instanceIdentifier}}TOKEN",
@@ -86,7 +86,7 @@ export class GithubProvider extends MultiGroupProvider {
86
86
  private: true,
87
87
  mandatory: true
88
88
  },
89
- priority: { default: 1000.0 },
89
+ priority: { ...default_attribute, type: "number", default: 1000.0 },
90
90
  reateLimitRemaining: { writable: true, default: 5000 }
91
91
  };
92
92
  }
@@ -41,8 +41,8 @@ export class GithubRepository extends Repository {
41
41
  static get attributes() {
42
42
  return {
43
43
  ...super.attributes,
44
- isLocked: { type: "boolean", writable: false },
45
- auto_init: { type: "boolean", writable: true },
44
+ isLocked: boolean_attribute,
45
+ auto_init: boolean_attribute,
46
46
  size: size_attribute,
47
47
  language: language_attribute,
48
48
  allow_squash_merge: boolean_attribute,