repository-provider 27.0.3 → 27.0.4
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 +13 -13
- package/package.json +5 -5
- package/src/base-object.mjs +6 -6
- package/src/base-provider.mjs +7 -7
package/README.md
CHANGED
|
@@ -540,37 +540,37 @@ Forwarded to the owner.
|
|
|
540
540
|
|
|
541
541
|
By default we use the owners implementation.
|
|
542
542
|
|
|
543
|
-
Returns **
|
|
543
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
544
544
|
|
|
545
545
|
### pullRequestClass
|
|
546
546
|
|
|
547
547
|
By default we use the owners implementation.
|
|
548
548
|
|
|
549
|
-
Returns **
|
|
549
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
550
550
|
|
|
551
551
|
### branchClass
|
|
552
552
|
|
|
553
553
|
By default we use the owners implementation.
|
|
554
554
|
|
|
555
|
-
Returns **
|
|
555
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
556
556
|
|
|
557
557
|
### tagClass
|
|
558
558
|
|
|
559
559
|
By default we use the owners implementation.
|
|
560
560
|
|
|
561
|
-
Returns **
|
|
561
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
562
562
|
|
|
563
563
|
### entryClass
|
|
564
564
|
|
|
565
565
|
By default we use the owners implementation.
|
|
566
566
|
|
|
567
|
-
Returns **
|
|
567
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
568
568
|
|
|
569
569
|
### hookClass
|
|
570
570
|
|
|
571
571
|
By default we use the owners implementation.
|
|
572
572
|
|
|
573
|
-
Returns **
|
|
573
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
574
574
|
|
|
575
575
|
### attributes
|
|
576
576
|
|
|
@@ -832,31 +832,31 @@ return {object}
|
|
|
832
832
|
|
|
833
833
|
### repositoryGroupClass
|
|
834
834
|
|
|
835
|
-
Returns **
|
|
835
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** repository group class used by the Provider
|
|
836
836
|
|
|
837
837
|
### hookClass
|
|
838
838
|
|
|
839
|
-
Returns **
|
|
839
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** hook class used by the Provider
|
|
840
840
|
|
|
841
841
|
### repositoryClass
|
|
842
842
|
|
|
843
|
-
Returns **
|
|
843
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** repository class used by the Provider
|
|
844
844
|
|
|
845
845
|
### branchClass
|
|
846
846
|
|
|
847
|
-
Returns **
|
|
847
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** branch class used by the Provider
|
|
848
848
|
|
|
849
849
|
### tagClass
|
|
850
850
|
|
|
851
|
-
Returns **
|
|
851
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** branch class used by the Provider
|
|
852
852
|
|
|
853
853
|
### entryClass
|
|
854
854
|
|
|
855
|
-
Returns **
|
|
855
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** entry class used by the Provider
|
|
856
856
|
|
|
857
857
|
### pullRequestClass
|
|
858
858
|
|
|
859
|
-
Returns **
|
|
859
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** pull request class used by the Provider
|
|
860
860
|
|
|
861
861
|
### instanceIdentifier
|
|
862
862
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider",
|
|
3
|
-
"version": "27.0.
|
|
3
|
+
"version": "27.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"docs": "documentation readme --section=API ./src/**/*.mjs",
|
|
28
28
|
"lint": "npm run lint:docs && npm run lint:tsc",
|
|
29
29
|
"lint:docs": "documentation lint ./src/**/*.mjs",
|
|
30
|
-
"lint:tsc": "tsc --allowJs --checkJs --noEmit -
|
|
30
|
+
"lint:tsc": "tsc --allowJs --checkJs --noEmit -t es2022 ./src/*.mjs"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"matching-iterator": "^2.0.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"ava": "^4.0
|
|
36
|
+
"ava": "^4.1.0",
|
|
37
37
|
"c8": "^7.11.0",
|
|
38
38
|
"documentation": "^13.2.5",
|
|
39
|
-
"repository-provider-test-support": "^1.12.
|
|
39
|
+
"repository-provider-test-support": "^1.12.9",
|
|
40
40
|
"semantic-release": "^19.0.2",
|
|
41
|
-
"typescript": "^4.
|
|
41
|
+
"typescript": "^4.6.2"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=14.18.3"
|
package/src/base-object.mjs
CHANGED
|
@@ -124,7 +124,7 @@ export class BaseObject {
|
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* By default we use the owners implementation.
|
|
127
|
-
* @return {
|
|
127
|
+
* @return {Function} as defined in the owner
|
|
128
128
|
*/
|
|
129
129
|
get repositoryClass() {
|
|
130
130
|
return this.owner.repositoryClass;
|
|
@@ -132,7 +132,7 @@ export class BaseObject {
|
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* By default we use the owners implementation.
|
|
135
|
-
* @return {
|
|
135
|
+
* @return {Function} as defined in the owner
|
|
136
136
|
*/
|
|
137
137
|
get pullRequestClass() {
|
|
138
138
|
return this.owner.pullRequestClass;
|
|
@@ -140,7 +140,7 @@ export class BaseObject {
|
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* By default we use the owners implementation.
|
|
143
|
-
* @return {
|
|
143
|
+
* @return {Function} as defined in the owner
|
|
144
144
|
*/
|
|
145
145
|
get branchClass() {
|
|
146
146
|
return this.owner.branchClass;
|
|
@@ -148,7 +148,7 @@ export class BaseObject {
|
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* By default we use the owners implementation.
|
|
151
|
-
* @return {
|
|
151
|
+
* @return {Function} as defined in the owner
|
|
152
152
|
*/
|
|
153
153
|
get tagClass() {
|
|
154
154
|
return this.owner.tagClass;
|
|
@@ -156,7 +156,7 @@ export class BaseObject {
|
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* By default we use the owners implementation.
|
|
159
|
-
* @return {
|
|
159
|
+
* @return {Function} as defined in the owner
|
|
160
160
|
*/
|
|
161
161
|
get entryClass() {
|
|
162
162
|
return this.owner.entryClass;
|
|
@@ -164,7 +164,7 @@ export class BaseObject {
|
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* By default we use the owners implementation.
|
|
167
|
-
* @return {
|
|
167
|
+
* @return {Function} as defined in the owner
|
|
168
168
|
*/
|
|
169
169
|
get hookClass() {
|
|
170
170
|
return this.owner.hookClass;
|
package/src/base-provider.mjs
CHANGED
|
@@ -462,49 +462,49 @@ export class BaseProvider extends BaseObject {
|
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
|
-
* @return {
|
|
465
|
+
* @return {Function} repository group class used by the Provider
|
|
466
466
|
*/
|
|
467
467
|
get repositoryGroupClass() {
|
|
468
468
|
return RepositoryGroup;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
|
-
* @return {
|
|
472
|
+
* @return {Function} hook class used by the Provider
|
|
473
473
|
*/
|
|
474
474
|
get hookClass() {
|
|
475
475
|
return Hook;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
|
-
* @return {
|
|
479
|
+
* @return {Function} repository class used by the Provider
|
|
480
480
|
*/
|
|
481
481
|
get repositoryClass() {
|
|
482
482
|
return Repository;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
-
* @return {
|
|
486
|
+
* @return {Function} branch class used by the Provider
|
|
487
487
|
*/
|
|
488
488
|
get branchClass() {
|
|
489
489
|
return Branch;
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
|
-
* @return {
|
|
493
|
+
* @return {Function} branch class used by the Provider
|
|
494
494
|
*/
|
|
495
495
|
get tagClass() {
|
|
496
496
|
return Tag;
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
|
-
* @return {
|
|
500
|
+
* @return {Function} entry class used by the Provider
|
|
501
501
|
*/
|
|
502
502
|
get entryClass() {
|
|
503
503
|
return undefined;
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
/**
|
|
507
|
-
* @return {
|
|
507
|
+
* @return {Function} pull request class used by the Provider
|
|
508
508
|
*/
|
|
509
509
|
get pullRequestClass() {
|
|
510
510
|
return PullRequest;
|