Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aggregation-repository-provider

Package Overview
Dependencies
Maintainers
1
Versions
497
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aggregation-repository-provider - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

9

dist/repository-provider.js

@@ -21,4 +21,13 @@ 'use strict';

}
async project(name) {
for (const p of this.providers) {
const r = await p.project(name);
if (r !== undefined) {
return r;
}
}
return undefined;
}
}
exports.AggregationProvider = AggregationProvider;

22

package.json
{
"name": "aggregation-repository-provider",
"version": "1.2.5",
"version": "1.2.6",
"publishConfig": {

@@ -33,21 +33,21 @@ "access": "public"

"dependencies": {
"repository-provider": "^2.23.1"
"repository-provider": "^3.0.0"
},
"devDependencies": {
"ava": "^0.25.0",
"ava": "0.25.0",
"bitbucket-repository-provider": "^1.5.1",
"documentation": "^8.1.0",
"github-repository-provider": "^2.1.3",
"local-repository-provider": "^1.2.17",
"local-repository-provider": "^1.2.18",
"markdown-doctest": "^0.9.1",
"nyc": "^13.0.1",
"rollup": "^0.63.5",
"rollup": "^0.64.1",
"rollup-plugin-cleanup": "^3.0.0",
"rollup-plugin-commonjs": "^9.1.5",
"rollup-plugin-executable": "^1.3.0",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-multi-entry": "^2.0.2",
"semantic-release": "^15.9.5",
"travis-deploy-once": "^5.0.2",
"rollup-plugin-commonjs": "^9.1.4",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-executable": "^1.2.0",
"rollup-plugin-cleanup": "^3.0.0"
"semantic-release": "^15.9.8",
"travis-deploy-once": "^5.0.2"
},

@@ -54,0 +54,0 @@ "engines": {

@@ -34,2 +34,4 @@ [![npm](https://img.shields.io/npm/v/aggregation-repository-provider.svg)](https://www.npmjs.com/package/aggregation-repository-provider)

- [Parameters](#parameters-1)
- [project](#project)
- [Parameters](#parameters-2)

@@ -80,2 +82,13 @@ ## AggregationProvider

### project
Retrieve named project in one of the given providers.
They are consulted in the order of the propviders given to the constructor
#### Parameters
- `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
Returns **Primise<Project>**
# install

@@ -82,0 +95,0 @@

@@ -44,2 +44,19 @@ import { Provider } from 'repository-provider';

}
/**
* Retrieve named project 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>}
*/
async project(name) {
for (const p of this.providers) {
const r = await p.project(name);
if (r !== undefined) {
return r;
}
}
return undefined;
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc