repository-provider 32.4.3 → 32.4.5

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": "repository-provider",
3
- "version": "32.4.3",
3
+ "version": "32.4.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,7 +38,7 @@
38
38
  "browser-ava": "^1.3.13",
39
39
  "c8": "^7.12.0",
40
40
  "documentation": "^14.0.1",
41
- "repository-provider-test-support": "^2.2.29",
41
+ "repository-provider-test-support": "^2.2.30",
42
42
  "semantic-release": "^19.0.5",
43
43
  "typescript": "^4.9.4"
44
44
  },
@@ -75,5 +75,5 @@ export const active = {
75
75
  mandatory: false,
76
76
  writable: true
77
77
  };
78
- export const language = { type: "string" };
79
- export const type = { type: "string" };
78
+ export const language_attribute = { type: "string", mandatory: false };
79
+ export const type = { type: "string", mandatory: false };
@@ -4,7 +4,7 @@ import { Hook } from "./hook.mjs";
4
4
  import { Tag } from "./tag.mjs";
5
5
  import { Branch } from "./branch.mjs";
6
6
  import { PullRequest } from "./pull-request.mjs";
7
- import { url_attribute, size_attribute, language, boolean_attribute, boolean_read_only_attribute } from "./attributes.mjs";
7
+ import { url_attribute, size_attribute, language_attribute, boolean_attribute, boolean_read_only_attribute } from "./attributes.mjs";
8
8
 
9
9
  /**
10
10
  * Abstract repository
@@ -44,8 +44,8 @@ export class Repository extends OwnedObject {
44
44
  return {
45
45
  ...super.attributes,
46
46
  url: url_attribute,
47
- size_attribute,
48
- language,
47
+ size: size_attribute,
48
+ language: language_attribute,
49
49
 
50
50
  /**
51
51
  * The name of the default branch