aggregation-repository-provider
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -21,5 +21,5 @@ 'use strict'; | ||
} | ||
async project(name) { | ||
async repositoryGroup(name) { | ||
for (const p of this.providers) { | ||
const r = await p.project(name); | ||
const r = await p.repositoryGroup(name); | ||
if (r !== undefined) { | ||
@@ -26,0 +26,0 @@ return r; |
{ | ||
"name": "aggregation-repository-provider", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"publishConfig": { | ||
@@ -33,10 +33,10 @@ "access": "public" | ||
"dependencies": { | ||
"repository-provider": "^3.0.0" | ||
"repository-provider": "^3.0.3" | ||
}, | ||
"devDependencies": { | ||
"ava": "0.25.0", | ||
"ava": "^1.0.0-beta.7", | ||
"bitbucket-repository-provider": "^1.5.1", | ||
"documentation": "^8.1.0", | ||
"github-repository-provider": "^2.1.3", | ||
"local-repository-provider": "^1.2.18", | ||
"github-repository-provider": "^2.1.9", | ||
"local-repository-provider": "^1.2.22", | ||
"markdown-doctest": "^0.9.1", | ||
@@ -43,0 +43,0 @@ "nyc": "^13.0.1", |
@@ -34,3 +34,3 @@ [![npm](https://img.shields.io/npm/v/aggregation-repository-provider.svg)](https://www.npmjs.com/package/aggregation-repository-provider) | ||
- [Parameters](#parameters-1) | ||
- [project](#project) | ||
- [repositoryGroup](#repositorygroup) | ||
- [Parameters](#parameters-2) | ||
@@ -82,5 +82,5 @@ | ||
### project | ||
### repositoryGroup | ||
Retrieve named project in one of the given providers. | ||
Retrieve named repository group in one of the given providers. | ||
They are consulted in the order of the propviders given to the constructor | ||
@@ -92,3 +92,3 @@ | ||
Returns **Primise<Project>** | ||
Returns **Primise<RepositoryGroup>** | ||
@@ -95,0 +95,0 @@ # install |
@@ -46,10 +46,10 @@ import { Provider } from 'repository-provider'; | ||
/** | ||
* Retrieve named project in one of the given providers. | ||
* Retrieve named repository group in one of the given providers. | ||
* They are consulted in the order of the propviders given to the constructor | ||
* @param {string} name | ||
* @return {Primise<Project>} | ||
* @return {Primise<RepositoryGroup>} | ||
*/ | ||
async project(name) { | ||
async repositoryGroup(name) { | ||
for (const p of this.providers) { | ||
const r = await p.project(name); | ||
const r = await p.repositoryGroup(name); | ||
if (r !== undefined) { | ||
@@ -56,0 +56,0 @@ return r; |
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
10750
Updatedrepository-provider@^3.0.3