repository-provider
Advanced tools
Comparing version 2.20.0 to 2.20.1
@@ -29,3 +29,3 @@ 'use strict'; | ||
/** | ||
* called one after constructing | ||
* called once after constructing | ||
* @return {Promise} | ||
@@ -36,2 +36,3 @@ */ | ||
/** | ||
* The provider we live in | ||
* @return {Provider} | ||
@@ -112,3 +113,3 @@ */ | ||
* Are we the default branch | ||
* @return {boolean} name is 'master' | ||
* @return {boolean} true if name is 'master' | ||
*/ | ||
@@ -606,2 +607,6 @@ get isDefault() { | ||
async branch(name) { | ||
if (name === undefined) { | ||
return undefined; | ||
} | ||
await this._initialize(); | ||
@@ -608,0 +613,0 @@ const [repoName, branchName] = name.split(/#/); |
{ | ||
"name": "repository-provider", | ||
"version": "2.20.0", | ||
"version": "2.20.1", | ||
"main": "dist/repository-provider.js", | ||
@@ -34,7 +34,7 @@ "module": "src/repository-provider.js", | ||
"markdown-doctest": "^0.9.1", | ||
"nyc": "^11.6.0", | ||
"rollup": "^0.57.1", | ||
"nyc": "^11.7.1", | ||
"rollup": "^0.58.2", | ||
"rollup-plugin-multi-entry": "^2.0.2", | ||
"semantic-release": "^15.1.5", | ||
"documentation": "^6.1.0", | ||
"semantic-release": "^15.1.7", | ||
"documentation": "^6.3.2", | ||
"travis-deploy-once": "^4.4.1" | ||
@@ -41,0 +41,0 @@ }, |
@@ -261,3 +261,3 @@ [![npm](https://img.shields.io/npm/v/repository-provider.svg)](https://www.npmjs.com/package/repository-provider) | ||
called one after constructing | ||
called once after constructing | ||
@@ -268,2 +268,4 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)** | ||
The provider we live in | ||
Returns **[Provider](#provider)** | ||
@@ -328,3 +330,3 @@ | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** name is 'master' | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if name is 'master' | ||
@@ -331,0 +333,0 @@ ### delete |
@@ -23,3 +23,3 @@ import { notImplementedError } from './util'; | ||
/** | ||
* called one after constructing | ||
* called once after constructing | ||
* @return {Promise} | ||
@@ -30,2 +30,3 @@ */ | ||
/** | ||
* The provider we live in | ||
* @return {Provider} | ||
@@ -106,3 +107,3 @@ */ | ||
* Are we the default branch | ||
* @return {boolean} name is 'master' | ||
* @return {boolean} true if name is 'master' | ||
*/ | ||
@@ -109,0 +110,0 @@ get isDefault() { |
@@ -142,2 +142,6 @@ import { Branch } from './branch'; | ||
async branch(name) { | ||
if (name === undefined) { | ||
return undefined; | ||
} | ||
await this._initialize(); | ||
@@ -144,0 +148,0 @@ const [repoName, branchName] = name.split(/#/); |
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
53297
1169
643