repository-provider 32.3.4 → 32.3.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.3.4",
3
+ "version": "32.3.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,10 +35,10 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "ava": "^5.1.0",
38
- "browser-ava": "^1.3.12",
38
+ "browser-ava": "^1.3.13",
39
39
  "c8": "^7.12.0",
40
40
  "documentation": "^14.0.1",
41
- "repository-provider-test-support": "^2.2.22",
41
+ "repository-provider-test-support": "^2.2.23",
42
42
  "semantic-release": "^19.0.5",
43
43
  "typescript": "^4.9.4"
44
44
  },
@@ -123,14 +123,6 @@ export class BaseObject {
123
123
  return this.name;
124
124
  }
125
125
 
126
- /**
127
- * Short human readable identifier with provider and branch.
128
- * @return {string}
129
- */
130
- get identifier() {
131
- return `${this.provider.name}:${this.fullCondensedName}`;
132
- }
133
-
134
126
  /**
135
127
  * By default cannot be written to.
136
128
  * @return {boolean} false
@@ -147,84 +139,4 @@ export class BaseObject {
147
139
  equals(other) {
148
140
  return other !== undefined;
149
141
  }
150
-
151
- /**
152
- * Forwarded to the owner.
153
- * @param {...any} args
154
- */
155
- trace(...args) {
156
- return this.owner.trace(...args);
157
- }
158
-
159
- /**
160
- * Forwarded to the owner.
161
- * @param {...any} args
162
- */
163
- info(...args) {
164
- return this.owner.info(...args);
165
- }
166
-
167
- /**
168
- * Forwarded to the owner.
169
- * @param {...any} args
170
- */
171
- warn(...args) {
172
- return this.owner.warn(...args);
173
- }
174
-
175
- /**
176
- * Forwarded to the owner.
177
- * @param {...any} args
178
- */
179
- error(...args) {
180
- return this.owner.error(...args);
181
- }
182
-
183
- /**
184
- * By default we use the owners implementation.
185
- * @return {Function} as defined in the owner
186
- */
187
- get repositoryClass() {
188
- return this.owner.repositoryClass;
189
- }
190
-
191
- /**
192
- * By default we use the owners implementation.
193
- * @return {Function} as defined in the owner
194
- */
195
- get pullRequestClass() {
196
- return this.owner.pullRequestClass;
197
- }
198
-
199
- /**
200
- * By default we use the owners implementation.
201
- * @return {Function} as defined in the owner
202
- */
203
- get branchClass() {
204
- return this.owner.branchClass;
205
- }
206
-
207
- /**
208
- * By default we use the owners implementation.
209
- * @return {Function} as defined in the owner
210
- */
211
- get tagClass() {
212
- return this.owner.tagClass;
213
- }
214
-
215
- /**
216
- * By default we use the owners implementation.
217
- * @return {Function} as defined in the owner
218
- */
219
- get entryClass() {
220
- return this.owner.entryClass;
221
- }
222
-
223
- /**
224
- * By default we use the owners implementation.
225
- * @return {Function} as defined in the owner
226
- */
227
- get hookClass() {
228
- return this.owner.hookClass;
229
- }
230
142
  }
@@ -46,4 +46,92 @@ export class OwnedObject extends NamedObject {
46
46
  get provider() {
47
47
  return this.owner.provider;
48
48
  }
49
+
50
+ /**
51
+ * Short human readable identifier with provider and branch.
52
+ * @return {string}
53
+ */
54
+ get identifier() {
55
+ return `${this.provider.name}:${this.fullCondensedName}`;
56
+ }
57
+
58
+ /**
59
+ * Forwarded to the owner.
60
+ * @param {...any} args
61
+ */
62
+ trace(...args) {
63
+ return this.owner.trace(...args);
64
+ }
65
+
66
+ /**
67
+ * Forwarded to the owner.
68
+ * @param {...any} args
69
+ */
70
+ info(...args) {
71
+ return this.owner.info(...args);
72
+ }
73
+
74
+ /**
75
+ * Forwarded to the owner.
76
+ * @param {...any} args
77
+ */
78
+ warn(...args) {
79
+ return this.owner.warn(...args);
80
+ }
81
+
82
+ /**
83
+ * Forwarded to the owner.
84
+ * @param {...any} args
85
+ */
86
+ error(...args) {
87
+ return this.owner.error(...args);
88
+ }
89
+
90
+ /**
91
+ * By default we use the owners implementation.
92
+ * @return {Function} as defined in the owner
93
+ */
94
+ get repositoryClass() {
95
+ return this.owner.repositoryClass;
96
+ }
97
+
98
+ /**
99
+ * By default we use the owners implementation.
100
+ * @return {Function} as defined in the owner
101
+ */
102
+ get pullRequestClass() {
103
+ return this.owner.pullRequestClass;
104
+ }
105
+
106
+ /**
107
+ * By default we use the owners implementation.
108
+ * @return {Function} as defined in the owner
109
+ */
110
+ get branchClass() {
111
+ return this.owner.branchClass;
112
+ }
113
+
114
+ /**
115
+ * By default we use the owners implementation.
116
+ * @return {Function} as defined in the owner
117
+ */
118
+ get tagClass() {
119
+ return this.owner.tagClass;
120
+ }
121
+
122
+ /**
123
+ * By default we use the owners implementation.
124
+ * @return {Function} as defined in the owner
125
+ */
126
+ get entryClass() {
127
+ return this.owner.entryClass;
128
+ }
129
+
130
+ /**
131
+ * By default we use the owners implementation.
132
+ * @return {Function} as defined in the owner
133
+ */
134
+ get hookClass() {
135
+ return this.owner.hookClass;
136
+ }
49
137
  }