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 2.0.2 to 2.0.3

18

dist/repository-provider.js

@@ -10,9 +10,9 @@ 'use strict';

super(undefined);
Object.defineProperty(this, 'providers', { value: providers });
Object.defineProperty(this, "providers", { value: providers });
}
async repository(name) {
async repository(name, options) {
for (const p of this.providers) {
const r = await p.repository(name);
if (r !== undefined) {
return r;
const repository = await p.repository(name, options);
if (repository !== undefined) {
return repository;
}

@@ -22,7 +22,7 @@ }

}
async repositoryGroup(name) {
async repositoryGroup(name, options) {
for (const p of this.providers) {
const r = await p.repositoryGroup(name);
if (r !== undefined) {
return r;
const rg = await p.repositoryGroup(name, options);
if (rg !== undefined) {
return rg;
}

@@ -29,0 +29,0 @@ }

{
"name": "aggregation-repository-provider",
"version": "2.0.2",
"version": "2.0.3",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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

- `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
- `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**

@@ -90,2 +91,3 @@ Returns **Primise<Repository>**

- `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
- `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**

@@ -92,0 +94,0 @@ Returns **Primise<RepositoryGroup>**

@@ -1,2 +0,2 @@

import { Provider } from 'repository-provider';
import { Provider } from "repository-provider";

@@ -25,3 +25,3 @@ /**

super(undefined);
Object.defineProperty(this, 'providers', { value: providers });
Object.defineProperty(this, "providers", { value: providers });
}

@@ -33,9 +33,10 @@

* @param {string} name
* @param {Object} options
* @return {Primise<Repository>}
*/
async repository(name) {
async repository(name, options) {
for (const p of this.providers) {
const r = await p.repository(name);
if (r !== undefined) {
return r;
const repository = await p.repository(name, options);
if (repository !== undefined) {
return repository;
}

@@ -51,9 +52,10 @@ }

* @param {string} name
* @param {Object} options
* @return {Primise<RepositoryGroup>}
*/
async repositoryGroup(name) {
async repositoryGroup(name, options) {
for (const p of this.providers) {
const r = await p.repositoryGroup(name);
if (r !== undefined) {
return r;
const rg = await p.repositoryGroup(name, options);
if (rg !== undefined) {
return rg;
}

@@ -60,0 +62,0 @@ }

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