repository-provider
Advanced tools
Comparing version 2.8.0 to 2.9.0
@@ -42,2 +42,12 @@ 'use strict'; | ||
/** | ||
* Branch owner | ||
* By default we provide the branch owner | ||
* @see {@link Repository#owner} | ||
* @return {string} | ||
*/ | ||
get owner() { | ||
return this.repository.owner; | ||
} | ||
/** | ||
* Deliver repository and branch name combined | ||
@@ -155,2 +165,10 @@ * @return {string} 'repo#branch' | ||
/** | ||
* Repository owner | ||
* @return {string} | ||
*/ | ||
get owner() { | ||
return undefined; | ||
} | ||
/** | ||
* Lookup branch by name | ||
@@ -250,4 +268,3 @@ * @param {string} name | ||
get type() | ||
{ | ||
get type() { | ||
return this.provider.type; | ||
@@ -254,0 +271,0 @@ } |
{ | ||
"name": "repository-provider", | ||
"version": "2.8.0", | ||
"version": "2.9.0", | ||
"main": "dist/repository-provider.js", | ||
@@ -5,0 +5,0 @@ "module": "src/repository-provider.js", |
@@ -58,2 +58,3 @@ [![npm](https://img.shields.io/npm/v/repository-provider.svg)](https://www.npmjs.com/package/repository-provider) | ||
- [provider](#provider-1) | ||
- [owner](#owner) | ||
- [fullName](#fullname) | ||
@@ -71,2 +72,3 @@ - [delete](#delete) | ||
- [urls](#urls) | ||
- [owner](#owner-1) | ||
- [branch](#branch-2) | ||
@@ -215,2 +217,11 @@ - [defaultBranch](#defaultbranch) | ||
### owner | ||
- **See: [Repository#owner](#repositoryowner)** | ||
Branch owner | ||
By default we provide the branch owner | ||
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
### fullName | ||
@@ -321,2 +332,8 @@ | ||
### owner | ||
Repository owner | ||
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
### branch | ||
@@ -323,0 +340,0 @@ |
@@ -36,2 +36,12 @@ import { notImplementedError } from './util'; | ||
/** | ||
* Branch owner | ||
* By default we provide the branch owner | ||
* @see {@link Repository#owner} | ||
* @return {string} | ||
*/ | ||
get owner() { | ||
return this.repository.owner; | ||
} | ||
/** | ||
* Deliver repository and branch name combined | ||
@@ -38,0 +48,0 @@ * @return {string} 'repo#branch' |
@@ -44,2 +44,10 @@ import { notImplementedError } from './util'; | ||
/** | ||
* Repository owner | ||
* @return {string} | ||
*/ | ||
get owner() { | ||
return undefined; | ||
} | ||
/** | ||
* Lookup branch by name | ||
@@ -139,4 +147,3 @@ * @param {string} name | ||
get type() | ||
{ | ||
get type() { | ||
return this.provider.type; | ||
@@ -143,0 +150,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38857
821
482