contributors
Advanced tools
Comparing version 0.2.3 to 0.3.0
@@ -74,3 +74,9 @@ | ||
var userAgent = 'node-contributors/' + require('../package.json').version | ||
request(url, { dataType: 'json', headers: { 'user-agent': userAgent } }, function(err, data, res) { | ||
var args = { | ||
dataType: 'json', | ||
headers: { 'user-agent': userAgent }, | ||
timeout: 15000, // network too bad in China | ||
gzip: true | ||
} | ||
request(url, args, function(err, data, res) { | ||
if (err) return fn(err) | ||
@@ -77,0 +83,0 @@ |
{ | ||
"name": "contributors", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "Generate a Markdown list of contributors to your GitHub repository.", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"bin": { | ||
@@ -10,3 +13,3 @@ "contributors": "./bin/contributors" | ||
"scripts": { | ||
"test": "mocha -R spec" | ||
"test": "mocha -R spec --timeout 15000" | ||
}, | ||
@@ -17,14 +20,18 @@ "repository": { | ||
}, | ||
"author": "XiNGRZ <chenxingyu92@gmail.com>", | ||
"author": "XiNGRZ <chenxingyu92@gmail.com> (http://xingrz.me/)", | ||
"contributors": [ | ||
"XiNGRZ <chenxingyu92@gmail.com> (http://xingrz.me/)", | ||
"fengmk2 <fengmk2@gmail.com> (http://fengmk2.cnpmjs.org/)" | ||
], | ||
"license": "MIT", | ||
"readmeFilename": "README.md", | ||
"dependencies": { | ||
"commander": "*", | ||
"progress": "*", | ||
"urllib": "*" | ||
"commander": ">=2.2.0", | ||
"progress": ">=1.1.5", | ||
"urllib": ">=0.5.13" | ||
}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"should": "*" | ||
"should": ">=3.3.0" | ||
} | ||
} |
@@ -1,4 +0,19 @@ | ||
contributors [](https://travis-ci.org/xingrz/node-contributors) | ||
contributors | ||
========== | ||
[![][travis-img]][travis-url] [![][npm-img-dm]][npm-url] [![][npm-img-v]][npm-url] [![][deps-img]][deps-url] [![][license-img]][license-url] [![][issues-img]][issues-url] | ||
[travis-url]: https://travis-ci.org/xingrz/node-contributors | ||
[travis-img]: https://img.shields.io/travis/xingrz/node-contributors.svg?style=flat-square | ||
[npm-url]: https://www.npmjs.org/package/contributors | ||
[npm-img-dm]: https://img.shields.io/npm/dm/contributors.svg?style=flat-square | ||
[npm-img-v]: https://img.shields.io/npm/v/contributors.svg?style=flat-square | ||
[deps-url]: https://david-dm.org/xingrz/node-contributors | ||
[deps-img]: https://img.shields.io/david/xingrz/node-contributors.svg?style=flat-square | ||
[license-url]: LICENSE | ||
[license-img]: https://img.shields.io/npm/l/contributors.svg?style=flat-square | ||
[issues-url]: https://github.com/xingrz/node-contributors/issues | ||
[issues-img]: https://img.shields.io/github/issues/xingrz/node-contributors.svg?style=flat-square | ||
Generate a Markdown list of contributors to your GitHub repository. | ||
@@ -5,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 3 instances in 1 package
14689
221
1
57
Updatedcommander@>=2.2.0
Updatedprogress@>=1.1.5
Updatedurllib@>=0.5.13