Huge News!Announcing our $40M Series B led by Abstract Ventures.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.8.0 to 2.9.0

21

dist/repository-provider.js

@@ -42,2 +42,12 @@ 'use strict';

/**
* Branch owner
* By default we provide the branch owner
* @see {@link Repository#owner}
* @return {string}
*/
get owner() {
return this.repository.owner;
}
/**
* Deliver repository and branch name combined

@@ -155,2 +165,10 @@ * @return {string} 'repo#branch'

/**
* Repository owner
* @return {string}
*/
get owner() {
return undefined;
}
/**
* Lookup branch by name

@@ -250,4 +268,3 @@ * @param {string} name

get type()
{
get type() {
return this.provider.type;

@@ -254,0 +271,0 @@ }

2

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

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

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

- [provider](#provider-1)
- [owner](#owner)
- [fullName](#fullname)

@@ -71,2 +72,3 @@ - [delete](#delete)

- [urls](#urls)
- [owner](#owner-1)
- [branch](#branch-2)

@@ -215,2 +217,11 @@ - [defaultBranch](#defaultbranch)

### owner
- **See: [Repository#owner](#repositoryowner)**
Branch owner
By default we provide the branch owner
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
### fullName

@@ -321,2 +332,8 @@

### owner
Repository owner
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
### branch

@@ -323,0 +340,0 @@

@@ -36,2 +36,12 @@ import { notImplementedError } from './util';

/**
* Branch owner
* By default we provide the branch owner
* @see {@link Repository#owner}
* @return {string}
*/
get owner() {
return this.repository.owner;
}
/**
* Deliver repository and branch name combined

@@ -38,0 +48,0 @@ * @return {string} 'repo#branch'

@@ -44,2 +44,10 @@ import { notImplementedError } from './util';

/**
* Repository owner
* @return {string}
*/
get owner() {
return undefined;
}
/**
* Lookup branch by name

@@ -139,4 +147,3 @@ * @param {string} name

get type()
{
get type() {
return this.provider.type;

@@ -143,0 +150,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