repository-provider 35.8.1 → 35.8.2

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/src/repository.mjs +15 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "35.8.1",
3
+ "version": "35.8.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -33,16 +33,16 @@
33
33
  "lint:docs": "documentation lint ./src**/*.mjs"
34
34
  },
35
35
  "dependencies": {
36
- "content-entry": "^14.2.6",
37
- "matching-iterator": "^2.1.4",
38
- "pacc": "^4.41.2"
36
+ "content-entry": "^14.2.7",
37
+ "matching-iterator": "^2.1.5",
38
+ "pacc": "^4.41.3"
39
39
  },
40
40
  "devDependencies": {
41
41
  "ava": "^6.4.1",
42
- "browser-ava": "^2.3.44",
42
+ "browser-ava": "^2.3.45",
43
43
  "c8": "^10.1.3",
44
44
  "documentation": "^14.0.3",
45
- "repository-provider-test-support": "^4.0.2",
45
+ "repository-provider-test-support": "^4.0.3",
46
46
  "semantic-release": "^25.0.2"
47
47
  },
48
48
  "engines": {
@@ -62,14 +62,23 @@ export class Repository extends OwnedObject {
62
62
  externalName: "default_branch"
63
63
  },
64
64
 
65
- homePageURL: url_attribute_writable,
65
+ homePageURL: { ...url_attribute_writable, externalName: "homepage" },
66
66
  cloneURL: url_attribute,
67
- isArchived: { ...boolean_attribute_writable_false, externalName: "archived" },
67
+ isArchived: {
68
+ ...boolean_attribute_writable_false,
69
+ externalName: "archived"
70
+ },
68
71
  isLocked: { ...boolean_attribute_writable_false, externalName: "locked" },
69
- isDisabled: { ...boolean_attribute_writable_false, externalName: "disabled" },
70
- isTemplate: { ...boolean_attribute_writable_false, externalName: "template" },
72
+ isDisabled: {
73
+ ...boolean_attribute_writable_false,
74
+ externalName: "disabled"
75
+ },
76
+ isTemplate: {
77
+ ...boolean_attribute_writable_false,
78
+ externalName: "template"
79
+ },
71
80
  isFork: { ...boolean_attribute_false, externalName: "fork" },
72
- isPrivate: { ...boolean_attribute_writable_false, externalName: "private" },
81
+ isPrivate: { ...boolean_attribute_writable_false, externalName: "private" }
73
82
  };
74
83
 
75
84
  /** @type {Map<string,Branch>} */ #branches = new Map();
@@ -91,11 +100,7 @@ export class Repository extends OwnedObject {
91
100
  * @param {string} [options.description]
92
101
  */
93
102
  constructor(owner, name, options) {
94
- super(
95
- owner,
96
- owner.normalizeRepositoryName(name, false),
97
- options
98
- );
103
+ super(owner, owner.normalizeRepositoryName(name, false), options);
99
104
  }
100
105
 
101
106
  /**