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.5 to 0.0.6

lib/user.js

7

History.md
0.0.6 / 2013-07-25
==================
* added user(s) ressource (@Ondrej)
* Create user.js
* fixed test cases
0.0.5 / 2013-05-06

@@ -3,0 +10,0 @@ ==================

13

lib/gitlab.js

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

var Issue = require('./issue');
var User = require('./user');

@@ -38,2 +39,3 @@ /**

this.issues = new Issue(this);
this.users = new User(this);
}

@@ -64,3 +66,6 @@

}, function (err, result, res) {
debug('%s %s %j: result: %j, err: %j', method, url, data, result, err);
if (Buffer.isBuffer(result)) {
result = result.toString();
}
debug('%s %s %j: status: %s, result: %j, err: %j', method, url, data, res.statusCode, result, err);
if (err) {

@@ -70,3 +75,3 @@ if (err.name === 'SyntaxError') {

if (res) {
err.message = res.headers.status;
err.message = res.headers.status || 'Unknow Error ' + res.statusCode;
}

@@ -77,3 +82,3 @@ } else {

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

@@ -100,2 +105,2 @@ err.method = method;

return new Client(options);
};
};
{
"name": "node-gitlab",
"version": "0.0.5",
"version": "0.0.6",
"description": "gitlab",
"main": "index.js",
"scripts": {
"test": "make test"
"test": "make test-all",
"blanket": { "pattern": "gitlab/lib" },
"travis-cov": { "threshold": 98 }
},
"dependencies": {
"urllib": "0.3.4",
"urllib": ">=0.3.4",
"debug": "0.7.x"

@@ -15,3 +17,6 @@ },

"should": "*",
"jscover": "*",
"blanket": "*",
"travis-cov": "*",
"coveralls": "*",
"mocha-lcov-reporter": "*",
"mocha": "*"

@@ -18,0 +23,0 @@ },

@@ -1,2 +0,4 @@

gitlab [![Build Status](https://secure.travis-ci.org/fengmk2/gitlab.png)](http://travis-ci.org/fengmk2/gitlab) [![Dependencies](http://david-dm.org/fengmk2/gitlab.png)](http://david-dm.org/fengmk2/gitlab)
gitlab [![Build Status](https://secure.travis-ci.org/fengmk2/gitlab.png)](http://travis-ci.org/fengmk2/gitlab)
[![Dependencies](http://david-dm.org/fengmk2/gitlab.png)](http://david-dm.org/fengmk2/gitlab)
[![Coverage Status](https://coveralls.io/repos/fengmk2/gitlab/badge.png)](https://coveralls.io/r/fengmk2/gitlab)
=======

@@ -9,3 +11,2 @@

* [Gitlab API document](https://github.com/gitlabhq/gitlabhq/tree/master/doc/api)
* jscoverage: [98%](http://fengmk2.github.com/coverage/gitlab.html)

@@ -86,2 +87,17 @@ ## Install

## Authors
```bash
$ git summary
project : gitlab
repo age : 4 months
active : 8 days
commits : 17
files : 25
authors :
15 fengmk2 88.2%
2 Ondrej 11.8%
```
## License

@@ -110,2 +126,2 @@

TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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