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 +7 -7
- package/package.json +2 -2
- package/src/base-object.mjs +9 -6
- package/src/named-object.mjs +1 -1
- package/types/base-object.d.mts +8 -6
- package/types/named-object.d.mts +2 -2
- package/types/pull-request.d.mts +1 -1
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` **[
|
|
1201
|
-
* `debug` **[
|
|
1202
|
-
* `warn` **[
|
|
1203
|
-
* `error` **[
|
|
1204
|
-
* `trace` **[
|
|
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` **[
|
|
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))** 
|
|
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` **[
|
|
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.
|
|
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": "^
|
|
50
|
+
"semantic-release": "^24.0.0",
|
|
51
51
|
"typescript": "^5.4.5"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
package/src/base-object.mjs
CHANGED
|
@@ -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
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
}
|
package/src/named-object.mjs
CHANGED
package/types/base-object.d.mts
CHANGED
|
@@ -37,16 +37,18 @@ export class BaseObject {
|
|
|
37
37
|
*/
|
|
38
38
|
static get attributeMapping(): any;
|
|
39
39
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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]
|
package/types/named-object.d.mts
CHANGED
|
@@ -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:
|
|
20
|
-
get name():
|
|
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
|
package/types/pull-request.d.mts
CHANGED