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

gitlab

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

examples/reset-hooks.coffee

7

lib/ApiBaseHTTP.js

@@ -115,3 +115,6 @@ // Generated by CoffeeScript 1.6.3

path: this._translateUrl(path),
method: "DELETE"
method: "DELETE",
headers: {
'Content-Length': 0
}
};

@@ -203,3 +206,3 @@ return this._request(options, fn);

}
this.debug(options.path);
this.debug(options.method, options.path);
this._request_options(options);

@@ -206,0 +209,0 @@ if (options.protocol === 'http:') {

@@ -84,4 +84,3 @@ // Generated by CoffeeScript 1.6.3

ProjectHooks.prototype.remove = function(projectId, hookId, fn) {
var params,
_this = this;
var _this = this;
if (fn == null) {

@@ -91,6 +90,3 @@ fn = null;

this.debug("Projects::removeHook()");
params = {
hook_id: parseInt(hookId)
};
return this["delete"]("projects/" + (parseInt(projectId)) + "/hooks", params, function(data) {
return this["delete"]("projects/" + (parseInt(projectId)) + "/hooks/" + (parseInt(hookId)), function(data) {
if (fn) {

@@ -97,0 +93,0 @@ return fn(data);

{
"name": "gitlab",
"version": "0.2.5",
"version": "0.2.6",
"description": "gitlab api nodejs library",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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