Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@evidenceai/gitlab

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evidenceai/gitlab - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

13

dist/gitlab.d.ts

@@ -7,3 +7,14 @@ export interface GitlabContactRequest {

}
export declare const isGitlabIntegrationConfigured: () => Promise<boolean>;
interface GitlabConfigurationResult {
isConfigured: boolean;
options: {
host?: string;
hasToken: boolean;
projectId: string;
};
}
export declare function isGitlabIntegrationConfigured(getDetails?: true): Promise<GitlabConfigurationResult>;
export declare function isGitlabIntegrationConfigured(getDetails?: false): Promise<boolean>;
export declare function isGitlabIntegrationConfigured(getDetails?: boolean): Promise<boolean | GitlabConfigurationResult>;
export declare const submitContactRequest: (contactRequest: GitlabContactRequest) => Promise<string>;
export {};

17

dist/gitlab.js

@@ -68,9 +68,16 @@ "use strict";

};
const isGitlabIntegrationConfigured = async () => {
async function isGitlabIntegrationConfigured(getDetails) {
const config = getGitlabConfiguration(false);
const isConfigured = Boolean(config.privateToken &&
config.gitlabHost &&
config.contactRequestsProjectId);
const isConfigured = Boolean(config.privateToken && config.gitlabHost && config.contactRequestsProjectId);
if (getDetails)
return {
isConfigured: isConfigured,
options: {
hasToken: Boolean(config.privateToken),
host: config.gitlabHost,
projectId: config.contactRequestsProjectId,
},
};
return isConfigured;
};
}
exports.isGitlabIntegrationConfigured = isGitlabIntegrationConfigured;

@@ -77,0 +84,0 @@ /*

{
"name": "@evidenceai/gitlab",
"version": "1.0.3",
"version": "1.0.4",
"description": "A package to manipulate Gitlab API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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