repository-provider 26.3.0 → 26.3.1

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": "26.3.0",
3
+ "version": "26.3.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -85,6 +85,14 @@ export class BaseObject {
85
85
  return other !== undefined;
86
86
  }
87
87
 
88
+ /**
89
+ * The provider we live in.
90
+ * @return {BaseProvider}
91
+ */
92
+ get provider() {
93
+ return this.owner.provider;
94
+ }
95
+
88
96
  /**
89
97
  * Forwarded to the owner.
90
98
  * @param {...any} args
package/src/ref.mjs CHANGED
@@ -96,14 +96,6 @@ export class Ref extends NamedObject {
96
96
  return e;
97
97
  }
98
98
 
99
- /**
100
- * The provider we live in.
101
- * @return {BaseProvider}
102
- */
103
- get provider() {
104
- return this.repository.provider;
105
- }
106
-
107
99
  /**
108
100
  * Branch owner.
109
101
  * By default we provide the repository owner