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

node-gitlab

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gitlab - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

History.md
0.0.5 / 2013-05-06
==================
* move requestData to data when error
* fixed test case for gitlab@0.5; add debug;
0.0.4 / 2013-03-27

@@ -3,0 +9,0 @@ ==================

8

lib/gitlab.js

@@ -13,2 +13,3 @@ /*!

var debug = require('debug')('gitlab');
var urllib = require('urllib');

@@ -62,2 +63,3 @@ var Milestone = require('./milestone');

}, function (err, result, res) {
debug('%s %s %j: result: %j, err: %j', method, url, data, result, err);
if (err) {

@@ -73,7 +75,6 @@ if (err.name === 'SyntaxError') {

err.headers = res && res.headers;
err.data = Buffer.isBuffer(result) ? result.toString() : result;
err.data = { resBody: Buffer.isBuffer(result) ? result.toString() : result, requestData: data };
err.statusCode = res && res.statusCode;
err.method = method;
err.url = url;
err.requestData = data;
return callback(err);

@@ -84,3 +85,3 @@ }

err.name = 'Gitlab' + res.statusCode + 'Error';
err.data = result;
err.data = { resBody: result, requestData: data };
err.headers = res.headers;

@@ -90,3 +91,2 @@ err.statusCode = res.statusCode;

err.url = url;
err.requestData = data;
return callback(err);

@@ -93,0 +93,0 @@ }

{
"name": "node-gitlab",
"version": "0.0.4",
"version": "0.0.5",
"description": "gitlab",

@@ -10,3 +10,4 @@ "main": "index.js",

"dependencies": {
"urllib": "0.3.4"
"urllib": "0.3.4",
"debug": "0.7.x"
},

@@ -13,0 +14,0 @@ "devDependencies": {

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