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.4 to 1.2.5

27

dist/repository-provider.js

@@ -7,21 +7,2 @@ 'use strict';

/**
* <!-- skip-example -->
* Combines several repository providers into one
* @param {Provider[]} providers
* @property {Provider[]} providers
* @example
* const provider = new AggregationProvider([
* new GithubProvider(),
* new BitbucketProvider()
* ]);
* const repository1 = await provider.repository(
* 'https://github.com/arlac77/aggregation-repository-provider'
* );
* const repository2 = await provider.repository(
* 'https://arlac77@bitbucket.org/arlac77/sync-test-repository.git'
* );
* // repository1 -> github
* // repository2 -> bitbucket
*/
class AggregationProvider extends repositoryProvider.Provider {

@@ -32,9 +13,2 @@ constructor(providers = []) {

}
/**
* Retrieve named repository in one of the given providers.
* They are consulted in the order of the propviders given to the constructor
* @param {string} name
* @return {Primise<Repository>}
*/
async repository(name) {

@@ -47,3 +21,2 @@ for (const p of this.providers) {

}
return undefined;

@@ -50,0 +23,0 @@ }

7

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

@@ -45,3 +45,3 @@ "access": "public"

"rollup-plugin-multi-entry": "^2.0.2",
"semantic-release": "^15.9.3",
"semantic-release": "^15.9.5",
"travis-deploy-once": "^5.0.2",

@@ -51,3 +51,4 @@ "rollup-plugin-commonjs": "^9.1.4",

"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-executable": "^1.2.0"
"rollup-plugin-executable": "^1.2.0",
"rollup-plugin-cleanup": "^3.0.0"
},

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

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