repository-provider 35.0.2 → 35.0.3

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": "35.0.2",
3
+ "version": "35.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -179,7 +179,7 @@ export class OwnedObject extends NamedObject {
179
179
 
180
180
  /**
181
181
  * By default we use the owners implementation.
182
- * @return {Function} as defined in the owner
182
+ * @return {typeof Repository} as defined in the owner
183
183
  */
184
184
  get repositoryClass() {
185
185
  return this.owner.repositoryClass;
@@ -138,7 +138,6 @@ export class PullRequest extends OwnedObject {
138
138
  let state = "OPEN";
139
139
 
140
140
  super(owner, name, options, {
141
- source: { value: source },
142
141
  state: {
143
142
  set(value) {
144
143
  value = value.toUpperCase();
@@ -161,6 +160,8 @@ export class PullRequest extends OwnedObject {
161
160
  }
162
161
  }
163
162
  });
163
+
164
+ this.source = source;
164
165
  }
165
166
 
166
167
  get destination() {