repository-provider 25.5.2 → 25.5.6
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 +5 -5
- package/src/ref.mjs +12 -0
- package/src/repository-group.mjs +12 -0
- package/src/repository-owner.mjs +1 -1
- package/src/repository.mjs +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider",
|
|
3
|
-
"version": "25.5.
|
|
3
|
+
"version": "25.5.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"ava": "^3.15.0",
|
|
36
|
-
"c8": "^7.
|
|
36
|
+
"c8": "^7.9.0",
|
|
37
37
|
"documentation": "^13.2.5",
|
|
38
|
-
"repository-provider-test-support": "^1.5.
|
|
39
|
-
"semantic-release": "^
|
|
38
|
+
"repository-provider-test-support": "^1.5.11",
|
|
39
|
+
"semantic-release": "^18.0.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": ">=14.17.
|
|
42
|
+
"node": ">=14.17.6"
|
|
43
43
|
},
|
|
44
44
|
"repository": {
|
|
45
45
|
"type": "git",
|
package/src/ref.mjs
CHANGED
|
@@ -202,4 +202,16 @@ export class Ref extends NamedObject {
|
|
|
202
202
|
!this.isProtected
|
|
203
203
|
);
|
|
204
204
|
}
|
|
205
|
+
|
|
206
|
+
info(...args) {
|
|
207
|
+
return this.repository.info(...args);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
warn(...args) {
|
|
211
|
+
return this.repository.warn(...args);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
error(...args) {
|
|
215
|
+
return this.repository.error(...args);
|
|
216
|
+
}
|
|
205
217
|
}
|
package/src/repository-group.mjs
CHANGED
|
@@ -99,4 +99,16 @@ export class RepositoryGroup extends RepositoryOwner(NamedObject) {
|
|
|
99
99
|
get hookClass() {
|
|
100
100
|
return this.provider.hookClass;
|
|
101
101
|
}
|
|
102
|
+
|
|
103
|
+
info(...args) {
|
|
104
|
+
return this.provider.info(...args);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
warn(...args) {
|
|
108
|
+
return this.provider.warn(...args);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
error(...args) {
|
|
112
|
+
return this.provider.error(...args);
|
|
113
|
+
}
|
|
102
114
|
}
|
package/src/repository-owner.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { Branch } from "./branch.mjs";
|
|
|
3
3
|
import { asArray, stripBaseName, stripBaseNames } from "./util.mjs";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Mixin to define a class able to handle a collection of
|
|
6
|
+
* Mixin to define a class able to handle a collection of repositories.
|
|
7
7
|
* @param {Class} base to be extendet
|
|
8
8
|
*/
|
|
9
9
|
export function RepositoryOwner(base) {
|
package/src/repository.mjs
CHANGED
|
@@ -537,6 +537,18 @@ export class Repository extends NamedObject {
|
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
+
info(...args) {
|
|
541
|
+
return this.owner.info(...args);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
warn(...args) {
|
|
545
|
+
return this.owner.warn(...args);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
error(...args) {
|
|
549
|
+
return this.owner.error(...args);
|
|
550
|
+
}
|
|
551
|
+
|
|
540
552
|
initialize() {}
|
|
541
553
|
|
|
542
554
|
initializeHooks() {
|