repository-provider 35.5.7 → 35.5.8

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": "35.5.7",
3
+ "version": "35.5.8",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -39,14 +39,14 @@
39
39
  "dependencies": {
40
40
  "content-entry": "^14.2.3",
41
41
  "matching-iterator": "^2.1.4",
42
- "pacc": "^4.1.0"
42
+ "pacc": "^4.2.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "ava": "^6.4.1",
46
46
  "browser-ava": "^2.3.31",
47
47
  "c8": "^10.1.3",
48
48
  "documentation": "^14.0.3",
49
- "repository-provider-test-support": "^3.1.49",
49
+ "repository-provider-test-support": "^3.1.50",
50
50
  "semantic-release": "^24.2.7",
51
51
  "typescript": "^5.8.3"
52
52
  },
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  url_attribute,
3
3
  name_attribute,
4
- description_attribute,
5
4
  priority_attribute,
6
5
  default_attribute
7
6
  } from "pacc";
package/src/hook.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  boolean_attribute,
4
4
  active_attribute,
5
5
  url_attribute,
6
- default_attribute
6
+ string_attribute
7
7
  } from "pacc";
8
8
  import { OwnedObject } from "./owned-object.mjs";
9
9
 
@@ -18,7 +18,7 @@ export class Hook extends OwnedObject {
18
18
  active: active_attribute,
19
19
  secret: secret_attribute,
20
20
  url: { ...url_attribute, description: "target url", writable: true },
21
- content_type: { ...default_attribute, default: "json", writable: true },
21
+ content_type: { ...string_attribute, default: "json", writable: true },
22
22
  insecure_ssl: boolean_attribute,
23
23
  events: { type: "set", default: this.defaultEvents }
24
24
  };
@@ -1,5 +1,5 @@
1
1
  import {
2
- default_attribute,
2
+ string_attribute,
3
3
  url_attribute,
4
4
  boolean_attribute,
5
5
  boolean_attribute_false
@@ -56,7 +56,7 @@ export class Repository extends OwnedObject {
56
56
  * @return {string}
57
57
  */
58
58
  defaultBranchName: {
59
- ...default_attribute,
59
+ ...string_attribute,
60
60
  default: Repository.defaultBranchName
61
61
  },
62
62