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

gitlab-api-wrapper

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

gitlab-api-wrapper - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

9

lib/models/projectCommits.js

@@ -36,2 +36,11 @@ 'use strict';

/**
* Creates a new commit by posting JSON payload.
* @param id {number} - The ID of a project
* @param params {object} - FYI, https://docs.gitlab.com/ce/api/commits.html#create-a-commit-with-multiple-files-and-actions
*/
create (id, params) {
return this.http.post(`/projects/${id}/repository/commits`, params || {});
}
/**
* Get a specific commit identified by the commit hash or name of a branch or tag.

@@ -38,0 +47,0 @@ * @param id {number} - The ID of a project

2

package.json
{
"name": "gitlab-api-wrapper",
"version": "1.1.1",
"version": "1.2.0",
"description": "The most comprehensive GitLab API, almost covers all GitLab API endpoints. Also, we provide an isomorphic API which can be used in both browser and Node.js environments.",

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

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