New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

repository-provider

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repository-provider - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

17

dist/repository-provider.js

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

get type()
{
return this.provider.type;
}
/**

@@ -404,2 +409,5 @@ * Value delivered from the provider

* Lookup a branch
* First lookup repository then the branch
* If no branch was specified then the default branch will be delivered.
* @see {@link Repository#defaultBranch}
* @param {string} name

@@ -426,2 +434,11 @@ * @return {Promise<Branch>}

}
/**
* Deliver the repository type
* @return {string} 'git'
*/
get type()
{
return 'git';
}
}

@@ -428,0 +445,0 @@

2

package.json
{
"name": "repository-provider",
"version": "2.7.0",
"version": "2.8.0",
"main": "dist/repository-provider.js",

@@ -5,0 +5,0 @@ "module": "src/repository-provider.js",

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

- [rateLimitReached](#ratelimitreached)
- [type](#type)
- [defaultOptions](#defaultoptions)

@@ -145,3 +146,7 @@ - [options](#options)

- **See: [Repository#defaultBranch](#repositorydefaultbranch)**
Lookup a branch
First lookup repository then the branch
If no branch was specified then the default branch will be delivered.

@@ -161,2 +166,8 @@ **Parameters**

### type
Deliver the repository type
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 'git'
### defaultOptions

@@ -163,0 +174,0 @@

@@ -92,2 +92,5 @@ import { Branch } from './branch';

* Lookup a branch
* First lookup repository then the branch
* If no branch was specified then the default branch will be delivered.
* @see {@link Repository#defaultBranch}
* @param {string} name

@@ -114,2 +117,11 @@ * @return {Promise<Branch>}

}
/**
* Deliver the repository type
* @return {string} 'git'
*/
get type()
{
return 'git';
}
}

@@ -138,2 +138,7 @@ import { notImplementedError } from './util';

get type()
{
return this.provider.type;
}
/**

@@ -140,0 +145,0 @@ * Value delivered from the provider

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