gitlab-olalonde
Advanced tools
Comparing version 1.7.1 to 2.0.0
@@ -94,4 +94,2 @@ (function() { | ||
return function(err, response, ret) { | ||
var arity; | ||
arity = fn.length; | ||
if (err) { | ||
@@ -102,12 +100,5 @@ if (!(err instanceof Error)) { | ||
err.response = response; | ||
fn(err); | ||
return fn(err); | ||
} | ||
switch (arity) { | ||
case 1: | ||
return fn(ret); | ||
case 2: | ||
return fn(err, ret || maybeParse(response.body)); | ||
case 3: | ||
return fn(err, response, ret); | ||
} | ||
return fn(null, ret, response); | ||
}; | ||
@@ -114,0 +105,0 @@ })(this); |
{ | ||
"name": "gitlab-olalonde", | ||
"version": "1.7.1+dev", | ||
"version": "2.0.0", | ||
"description": "GitLab API Nodejs library.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
176466
3304