repository-provider 35.2.16 → 35.2.17

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 CHANGED
@@ -1197,11 +1197,11 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
1197
1197
 
1198
1198
  ### Properties
1199
1199
 
1200
- * `info` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
1201
- * `debug` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
1202
- * `warn` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
1203
- * `error` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
1204
- * `trace` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
1200
+ * `info` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void** 
1201
+ * `debug` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void** 
1202
+ * `warn` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void** 
1203
+ * `error` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void** 
1204
+ * `trace` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void** 
1205
1205
 
1206
1206
  ## name
1207
1207
 
@@ -2608,7 +2608,7 @@ A URL auth component will be removed to.
2608
2608
 
2609
2609
  * `name` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** 
2610
2610
  * `repositoryBases` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** all possible bases
2611
- * `whenFound` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** to be called with the found base name
2611
+ * `whenFound` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void?** to be called with the found base name
2612
2612
 
2613
2613
  Returns **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** name without base
2614
2614
 
@@ -2620,7 +2620,7 @@ Loops over names and executes stripBaseName.
2620
2620
 
2621
2621
  * `names` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**&#x20;
2622
2622
  * `repositoryBases` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** all possible bases
2623
- * `whenFound` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** to be called with the found base name
2623
+ * `whenFound` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): void?** to be called with the found base name
2624
2624
 
2625
2625
  Returns **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** names without base
2626
2626
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "35.2.16",
3
+ "version": "35.2.17",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -47,7 +47,7 @@
47
47
  "c8": "^9.1.0",
48
48
  "documentation": "^14.0.3",
49
49
  "repository-provider-test-support": "^3.1.4",
50
- "semantic-release": "^23.1.1",
50
+ "semantic-release": "^24.0.0",
51
51
  "typescript": "^5.4.5"
52
52
  },
53
53
  "engines": {
@@ -62,13 +62,16 @@ export class BaseObject {
62
62
  return {};
63
63
  }
64
64
 
65
+ /** @type {string} */ id;
66
+ /** @type {string} */ description;
67
+
65
68
  /**
66
- * Creates an instance of BaseObject.
67
- * @param {Object} [options]
68
- * @param {string} [options.id]
69
- * @param {string} [options.description]
70
- * @param {Object} [additionalProperties]
71
- */
69
+ * Creates an instance of BaseObject.
70
+ * @param {Object} [options]
71
+ * @param {string} [options.id]
72
+ * @param {string} [options.description]
73
+ * @param {Object} [additionalProperties]
74
+ */
72
75
  constructor(options, additionalProperties) {
73
76
  this.updateAttributes(options, additionalProperties);
74
77
  }
@@ -33,7 +33,7 @@ export class NamedObject extends BaseObject {
33
33
  });
34
34
  }
35
35
 
36
- #name;
36
+ /** @type {string} */ #name;
37
37
 
38
38
  get name() {
39
39
  return this.#name;
@@ -37,16 +37,18 @@ export class BaseObject {
37
37
  */
38
38
  static get attributeMapping(): any;
39
39
  /**
40
- * Creates an instance of BaseObject.
41
- * @param {Object} [options]
42
- * @param {string} [options.id]
43
- * @param {string} [options.description]
44
- * @param {Object} [additionalProperties]
45
- */
40
+ * Creates an instance of BaseObject.
41
+ * @param {Object} [options]
42
+ * @param {string} [options.id]
43
+ * @param {string} [options.description]
44
+ * @param {Object} [additionalProperties]
45
+ */
46
46
  constructor(options?: {
47
47
  id?: string;
48
48
  description?: string;
49
49
  }, additionalProperties?: any);
50
+ /** @type {string} */ id: string;
51
+ /** @type {string} */ description: string;
50
52
  /**
51
53
  * Takes values from options.
52
54
  * @param {Object} [options]
@@ -16,8 +16,8 @@ export class NamedObject extends BaseObject {
16
16
  description: import("pacc").AttributeDefinition;
17
17
  };
18
18
  constructor(name: any, options: any, additionalProperties: any);
19
- set name(name: any);
20
- get name(): any;
19
+ set name(name: string);
20
+ get name(): string;
21
21
  /**
22
22
  * Beautified name use for human displaying only.
23
23
  * @return {string} human readable name
@@ -108,7 +108,7 @@ export class PullRequest extends OwnedObject {
108
108
  };
109
109
  source: any;
110
110
  get destination(): any;
111
- get number(): any;
111
+ get number(): string;
112
112
  get dry(): boolean;
113
113
  /**
114
114
  * @return {Repository} destination repository