🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@codefresh-io/cf-git-providers

Package Overview
Dependencies
Maintainers
30
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codefresh-io/cf-git-providers - npm Package Compare versions

Comparing version

to
0.4.6

3

lib/providers/bitbucket-server.d.ts

@@ -18,3 +18,4 @@ import { Provider, Repository, Branch, Webhook, ProviderName, User, PullRequest, RepositoryPermission, PermissionScopes } from './types';

repo: string;
autoInit: boolean;
autoInit?: boolean;
private?: boolean;
}): Promise<Repository>;

@@ -21,0 +22,0 @@ private performAPICall;

@@ -20,3 +20,4 @@ import { ProviderName, Provider, Branch, Repository, Webhook, User, PullRequest, RepositoryPermission, PermissionScopes } from './types';

repo: string;
autoInit: boolean;
autoInit?: boolean;
private?: boolean;
}): Promise<Repository>;

@@ -23,0 +24,0 @@ getName(): ProviderName;

@@ -31,3 +31,4 @@ import { ProviderName, Provider, Branch, Repository, Webhook, CommitStatus, User, PullRequest, RepositoryPermission, PermissionScopes } from './types';

repo: string;
autoInit: boolean;
autoInit?: boolean;
private?: boolean;
}): Promise<Repository>;

@@ -34,0 +35,0 @@ listBranches(opt: {

@@ -223,6 +223,6 @@ "use strict";

if (login === opt.owner) {
[err, res] = await helpers_1.to(this.githubClient.repos.createForAuthenticatedUser({ name: opt.repo, auto_init: opt.autoInit }));
[err, res] = await helpers_1.to(this.githubClient.repos.createForAuthenticatedUser({ name: opt.repo, auto_init: opt.autoInit, private: opt.private }));
}
else {
[err, res] = await helpers_1.to(this.githubClient.repos.createInOrg({ org: opt.owner, name: opt.repo, auto_init: opt.autoInit }));
[err, res] = await helpers_1.to(this.githubClient.repos.createInOrg({ org: opt.owner, name: opt.repo, auto_init: opt.autoInit, private: opt.private }));
}

@@ -229,0 +229,0 @@ if (err) {

@@ -16,3 +16,4 @@ import { Provider, Branch, Repository, Webhook, ProviderName, User, PullRequest, RepositoryPermission, PermissionScopes } from './types';

repo: string;
autoInit: boolean;
autoInit?: boolean;
private?: boolean;
}): Promise<Repository>;

@@ -19,0 +20,0 @@ private performAPICall;

@@ -84,3 +84,4 @@ export declare type ProviderConstructor = new (opt: {

repo: string;
autoInit: boolean;
autoInit?: boolean;
private?: boolean;
}): Promise<Repository>;

@@ -87,0 +88,0 @@ createCommitStatus(opt: {

{
"name": "@codefresh-io/cf-git-providers",
"version": "0.4.5",
"version": "0.4.6",
"description": "An NPM module/CLI for interacting with various git providers",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet