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 3.5.1 to 3.6.0

dist/provider.js

14

package.json
{
"name": "repository-provider",
"version": "3.5.1",
"version": "3.6.0",
"publishConfig": {
"access": "public"
},
"main": "dist/repository-provider.js",
"module": "src/repository-provider.js",
"main": "dist/provider.js",
"module": "src/provider.js",
"description": "abstract interface to git repository providers like github bitbucket",

@@ -27,6 +27,6 @@ "keywords": [

"posttest": "npm run prepare && markdown-doctest",
"docs": "documentation readme src/repository-provider.js --section=API",
"docs": "documentation readme src/provider.js --section=API",
"semantic-release": "semantic-release",
"prepare": "rollup -c",
"lint": "documentation lint src/repository-provider.js",
"lint": "documentation lint src/provider.js",
"travis-deploy-once": "travis-deploy-once"

@@ -48,6 +48,6 @@ },

"semantic-release": "^15.9.12",
"travis-deploy-once": "^5.0.4"
"travis-deploy-once": "^5.0.6"
},
"engines": {
"node": ">=8.11"
"node": ">=10.9"
},

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

@@ -170,3 +170,3 @@ import { notImplementedError } from "./util";

await branch.initialize();
this._branches.set(name, branch);
this._branches.set(branch.name, branch);
return branch;

@@ -265,3 +265,27 @@ }

async _initialize() {}
/**
* By default we use the providers implementation.
* @return {Class} as defined in the provider
*/
get repositoryClass() {
return this.provider.repositoryClass;
}
/**
* By default we use the providers implementation.
* @return {Class} as defined in the provider
*/
get branchClass() {
return this.provider.branchClass;
}
/**
* By default we use the providers implementation.
* @return {Class} as defined in the provider
*/
get contentClass() {
return this.provider.contentClass;
}
}
);
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