repository-provider 32.3.5 → 32.3.7

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
@@ -71,25 +71,9 @@ console.log(await readme.getString());
71
71
  * [displayName](#displayname)
72
72
  * [fullName](#fullname)
73
73
  * [fullCondensedName](#fullcondensedname)
74
- * [identifier](#identifier)
75
74
  * [isWritable](#iswritable)
76
75
  * [equals](#equals)
77
76
  * [Parameters](#parameters-9)
78
- * [provider](#provider)
79
- * [trace](#trace)
80
- * [Parameters](#parameters-10)
81
- * [info](#info)
82
- * [Parameters](#parameters-11)
83
- * [warn](#warn)
84
- * [Parameters](#parameters-12)
85
- * [error](#error)
86
- * [Parameters](#parameters-13)
87
- * [repositoryClass](#repositoryclass)
88
- * [pullRequestClass](#pullrequestclass)
89
- * [branchClass](#branchclass)
90
- * [tagClass](#tagclass)
91
- * [entryClass](#entryclass)
92
- * [hookClass](#hookclass)
93
77
  * [type](#type)
94
78
  * [collectionName](#collectionname)
95
79
  * [attributes](#attributes)
@@ -103,59 +87,59 @@ console.log(await readme.getString());
103
87
  * [BaseProvider](#baseprovider)
104
88
  * [Properties](#properties-2)
105
89
  * [equals](#equals-1)
106
- * [Parameters](#parameters-14)
90
+ * [Parameters](#parameters-10)
107
91
  * [repositoryBases](#repositorybases)
108
92
  * [normalizeRepositoryName](#normalizerepositoryname)
109
- * [Parameters](#parameters-15)
93
+ * [Parameters](#parameters-11)
110
94
  * [normalizeGroupName](#normalizegroupname)
111
- * [Parameters](#parameters-16)
95
+ * [Parameters](#parameters-12)
112
96
  * [areRepositoryNamesCaseSensitive](#arerepositorynamescasesensitive)
113
97
  * [areGroupNamesCaseSensitive](#aregroupnamescasesensitive)
114
98
  * [supportsBase](#supportsbase)
115
- * [Parameters](#parameters-17)
99
+ * [Parameters](#parameters-13)
116
100
  * [parseName](#parsename)
117
- * [Parameters](#parameters-18)
101
+ * [Parameters](#parameters-14)
118
102
  * [createRepository](#createrepository)
119
- * [Parameters](#parameters-19)
103
+ * [Parameters](#parameters-15)
120
104
  * [list](#list)
121
- * [Parameters](#parameters-20)
105
+ * [Parameters](#parameters-16)
122
106
  * [projects](#projects)
123
- * [Parameters](#parameters-21)
107
+ * [Parameters](#parameters-17)
124
108
  * [milestones](#milestones)
125
- * [Parameters](#parameters-22)
109
+ * [Parameters](#parameters-18)
126
110
  * [repositories](#repositories)
127
- * [Parameters](#parameters-23)
111
+ * [Parameters](#parameters-19)
128
112
  * [branches](#branches)
129
- * [Parameters](#parameters-24)
113
+ * [Parameters](#parameters-20)
130
114
  * [tags](#tags)
131
- * [Parameters](#parameters-25)
115
+ * [Parameters](#parameters-21)
132
116
  * [hooks](#hooks)
133
- * [Parameters](#parameters-26)
117
+ * [Parameters](#parameters-22)
134
118
  * [pullRequests](#pullrequests)
135
- * [Parameters](#parameters-27)
119
+ * [Parameters](#parameters-23)
136
120
  * [name](#name)
137
- * [provider](#provider-1)
121
+ * [provider](#provider)
138
122
  * [url](#url)
139
123
  * [toJSON](#tojson)
140
124
  * [repositoryGroupClass](#repositorygroupclass)
141
- * [hookClass](#hookclass-1)
142
- * [repositoryClass](#repositoryclass-1)
143
- * [branchClass](#branchclass-1)
144
- * [tagClass](#tagclass-1)
145
- * [entryClass](#entryclass-1)
146
- * [pullRequestClass](#pullrequestclass-1)
125
+ * [hookClass](#hookclass)
126
+ * [repositoryClass](#repositoryclass)
127
+ * [branchClass](#branchclass)
128
+ * [tagClass](#tagclass)
129
+ * [entryClass](#entryclass)
130
+ * [pullRequestClass](#pullrequestclass)
147
131
  * [instanceIdentifier](#instanceidentifier)
148
132
  * [optionsFromEnvironment](#optionsfromenvironment)
149
- * [Parameters](#parameters-28)
133
+ * [Parameters](#parameters-24)
150
134
  * [areOptionsSufficcient](#areoptionssufficcient)
151
- * [Parameters](#parameters-29)
135
+ * [Parameters](#parameters-25)
152
136
  * [initialize](#initialize)
153
- * [Parameters](#parameters-30)
137
+ * [Parameters](#parameters-26)
154
138
  * [priority](#priority)
155
139
  * [name](#name-1)
156
140
  * [messageDestination](#messagedestination-1)
157
141
  * [Branch](#branch)
158
- * [Parameters](#parameters-31)
142
+ * [Parameters](#parameters-27)
159
143
  * [Properties](#properties-3)
160
144
  * [url](#url-1)
161
145
  * [refType](#reftype)
@@ -163,50 +147,66 @@ console.log(await readme.getString());
163
147
  * [isDefault](#isdefault)
164
148
  * [delete](#delete)
165
149
  * [commit](#commit)
166
- * [Parameters](#parameters-32)
150
+ * [Parameters](#parameters-28)
167
151
  * [commitIntoPullRequest](#commitintopullrequest)
168
- * [Parameters](#parameters-33)
152
+ * [Parameters](#parameters-29)
169
153
  * [removeEntries](#removeentries)
170
- * [Parameters](#parameters-34)
154
+ * [Parameters](#parameters-30)
171
155
  * [createPullRequest](#createpullrequest)
172
- * [Parameters](#parameters-35)
156
+ * [Parameters](#parameters-31)
173
157
  * [createBranch](#createbranch)
174
- * [Parameters](#parameters-36)
158
+ * [Parameters](#parameters-32)
175
159
  * [CommitResult](#commitresult)
176
160
  * [Properties](#properties-4)
177
161
  * [Commit](#commit-1)
178
- * [Parameters](#parameters-37)
162
+ * [Parameters](#parameters-33)
179
163
  * [Properties](#properties-5)
180
164
  * [Hook](#hook)
181
165
  * [Issue](#issue)
182
166
  * [Milestone](#milestone)
183
167
  * [MultiGroupProvider](#multigroupprovider)
184
168
  * [repository](#repository)
185
- * [Parameters](#parameters-38)
169
+ * [Parameters](#parameters-34)
186
170
  * [branch](#branch-1)
187
- * [Parameters](#parameters-39)
171
+ * [Parameters](#parameters-35)
188
172
  * [repositoryGroup](#repositorygroup)
189
- * [Parameters](#parameters-40)
173
+ * [Parameters](#parameters-36)
190
174
  * [repositoryGroups](#repositorygroups)
191
- * [Parameters](#parameters-41)
175
+ * [Parameters](#parameters-37)
192
176
  * [createRepositoryGroup](#createrepositorygroup)
193
- * [Parameters](#parameters-42)
177
+ * [Parameters](#parameters-38)
194
178
  * [addRepositoryGroup](#addrepositorygroup)
195
- * [Parameters](#parameters-43)
179
+ * [Parameters](#parameters-39)
196
180
  * [NamedObject](#namedobject)
197
- * [Parameters](#parameters-44)
181
+ * [Parameters](#parameters-40)
198
182
  * [Properties](#properties-6)
199
183
  * [equals](#equals-2)
200
- * [Parameters](#parameters-45)
184
+ * [Parameters](#parameters-41)
201
185
  * [fullName](#fullname-1)
202
186
  * [toJSON](#tojson-1)
203
187
  * [attributes](#attributes-1)
204
188
  * [homePageURL](#homepageurl)
205
189
  * [OwnedObject](#ownedobject)
206
- * [Parameters](#parameters-46)
190
+ * [Parameters](#parameters-42)
207
191
  * [equals](#equals-3)
208
- * [Parameters](#parameters-47)
192
+ * [Parameters](#parameters-43)
209
193
  * [api](#api)
194
+ * [provider](#provider-1)
195
+ * [identifier](#identifier)
196
+ * [trace](#trace)
197
+ * [Parameters](#parameters-44)
198
+ * [info](#info)
199
+ * [Parameters](#parameters-45)
200
+ * [warn](#warn)
201
+ * [Parameters](#parameters-46)
202
+ * [error](#error)
203
+ * [Parameters](#parameters-47)
204
+ * [repositoryClass](#repositoryclass-1)
205
+ * [pullRequestClass](#pullrequestclass-1)
206
+ * [branchClass](#branchclass-1)
207
+ * [tagClass](#tagclass-1)
208
+ * [entryClass](#entryclass-1)
209
+ * [hookClass](#hookclass-1)
210
210
  * [addMethodName](#addmethodname)
211
211
  * [Project](#project)
212
212
  * [PullRequest](#pullrequest)
@@ -518,12 +518,6 @@ Complete name in the hierachy.
518
518
 
519
519
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
520
520
 
521
- ### identifier
522
-
523
- Short human readable identifier with provider and branch.
524
-
525
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
526
-
527
521
  ### isWritable
528
522
 
529
523
  By default cannot be written to.
@@ -540,80 +534,6 @@ Check for equality
540
534
 
541
535
  Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if other is present
542
536
 
543
- ### provider
544
-
545
- The provider we live in.
546
-
547
- Returns **[BaseProvider](#baseprovider)** 
548
-
549
- ### trace
550
-
551
- Forwarded to the owner.
552
-
553
- #### Parameters
554
-
555
- * `args` **...any** 
556
-
557
- ### info
558
-
559
- Forwarded to the owner.
560
-
561
- #### Parameters
562
-
563
- * `args` **...any** 
564
-
565
- ### warn
566
-
567
- Forwarded to the owner.
568
-
569
- #### Parameters
570
-
571
- * `args` **...any** 
572
-
573
- ### error
574
-
575
- Forwarded to the owner.
576
-
577
- #### Parameters
578
-
579
- * `args` **...any** 
580
-
581
- ### repositoryClass
582
-
583
- By default we use the owners implementation.
584
-
585
- Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
586
-
587
- ### pullRequestClass
588
-
589
- By default we use the owners implementation.
590
-
591
- Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
592
-
593
- ### branchClass
594
-
595
- By default we use the owners implementation.
596
-
597
- Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
598
-
599
- ### tagClass
600
-
601
- By default we use the owners implementation.
602
-
603
- Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
604
-
605
- ### entryClass
606
-
607
- By default we use the owners implementation.
608
-
609
- Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
610
-
611
- ### hookClass
612
-
613
- By default we use the owners implementation.
614
-
615
- Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
616
-
617
537
  ### type
618
538
 
619
539
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** type we represent
@@ -1237,6 +1157,86 @@ API as given by the owner.
1237
1157
 
1238
1158
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** url
1239
1159
 
1160
+ ### provider
1161
+
1162
+ The provider we live in.
1163
+
1164
+ Returns **[BaseProvider](#baseprovider)** 
1165
+
1166
+ ### identifier
1167
+
1168
+ Short human readable identifier with provider and branch.
1169
+
1170
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
1171
+
1172
+ ### trace
1173
+
1174
+ Forwarded to the owner.
1175
+
1176
+ #### Parameters
1177
+
1178
+ * `args` **...any** 
1179
+
1180
+ ### info
1181
+
1182
+ Forwarded to the owner.
1183
+
1184
+ #### Parameters
1185
+
1186
+ * `args` **...any** 
1187
+
1188
+ ### warn
1189
+
1190
+ Forwarded to the owner.
1191
+
1192
+ #### Parameters
1193
+
1194
+ * `args` **...any** 
1195
+
1196
+ ### error
1197
+
1198
+ Forwarded to the owner.
1199
+
1200
+ #### Parameters
1201
+
1202
+ * `args` **...any** 
1203
+
1204
+ ### repositoryClass
1205
+
1206
+ By default we use the owners implementation.
1207
+
1208
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
1209
+
1210
+ ### pullRequestClass
1211
+
1212
+ By default we use the owners implementation.
1213
+
1214
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
1215
+
1216
+ ### branchClass
1217
+
1218
+ By default we use the owners implementation.
1219
+
1220
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
1221
+
1222
+ ### tagClass
1223
+
1224
+ By default we use the owners implementation.
1225
+
1226
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
1227
+
1228
+ ### entryClass
1229
+
1230
+ By default we use the owners implementation.
1231
+
1232
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
1233
+
1234
+ ### hookClass
1235
+
1236
+ By default we use the owners implementation.
1237
+
1238
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
1239
+
1240
1240
  ### addMethodName
1241
1241
 
1242
1242
  Method name to be called to register one instance in the owner.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.3.5",
3
+ "version": "32.3.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,7 +38,7 @@
38
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
  },
@@ -447,6 +447,10 @@ export class BaseProvider extends BaseObject {
447
447
  return this.messageDestination.trace(...args);
448
448
  }
449
449
 
450
+ debug(...args) {
451
+ return this.messageDestination.debug(...args);
452
+ }
453
+
450
454
  info(...args) {
451
455
  return this.messageDestination.info(...args);
452
456
  }
@@ -87,6 +87,14 @@ export class OwnedObject extends NamedObject {
87
87
  return this.owner.error(...args);
88
88
  }
89
89
 
90
+ /**
91
+ * Forwarded to the owner.
92
+ * @param {...any} args
93
+ */
94
+ debug(...args) {
95
+ return this.owner.debug(...args);
96
+ }
97
+
90
98
  /**
91
99
  * By default we use the owners implementation.
92
100
  * @return {Function} as defined in the owner