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

gitlab-restapi

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-restapi - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "gitlab-restapi",
"version": "1.1.0",
"version": "1.1.1",
"description": "Integration with GitLab REST API",

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

@@ -94,4 +94,6 @@ # Integration with GitLab REST API

console.log('jobs:', jobs.list)
const _job = jobs.find({status: 'success'});
console.log('found:', _job)
const job = await gitLab.Jobs.job(_job.id);

@@ -136,3 +138,3 @@ console.log('Get a single job of a project by id:', job)

gitLab.add('groups').addMethods({
groups: new Method({method: 'get', class: GitLab.Responses,
groups: new GitLab.Method({method: 'get', class: GitLab.Responses,
url: () => `groups`})

@@ -151,3 +153,3 @@ })

gitLab.add('Releases').addMethods({
releases: new Method({method: 'get', class: GitLab.Responses,
releases: new GitLab.Method({method: 'get', class: GitLab.Responses,
url: () => `projects/${gitLab.projectId}/releases`})

@@ -154,0 +156,0 @@ })

@@ -24,2 +24,3 @@ /*

const Responses = require("./Responses");
const Method = require("./Method");
String.prototype.capitalize = function () {

@@ -41,2 +42,3 @@ return this.charAt(0).toUpperCase() + this.slice(1);

static Response = Response;
static Method = Method;
static JobVariablesAttributes = JobVariablesAttributes;

@@ -43,0 +45,0 @@ static Serializer = Serializer;

@@ -24,3 +24,3 @@ /*

gitLab.add('Releases').addMethods({
releases: new Method({method: 'get', class: GitLab.Responses, url: () => `projects/${gitLab.projectId}/releases`})
releases: new GitLab.Method({method: 'get', class: GitLab.Responses, url: () => `projects/${gitLab.projectId}/releases`})
})

@@ -27,0 +27,0 @@ console.log(gitLab.Releases.methods)

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