repository-provider
Advanced tools
Comparing version 3.5.1 to 3.6.0
{ | ||
"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; | ||
} | ||
} | ||
); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52369
1277
1