Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "req-then", | ||
"author": "Lloyd Brookes <75pound@gmail.com>", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Simple http(s) request function, returning a promise. ", | ||
@@ -23,5 +23,5 @@ "repository": "https://github.com/75lb/req-then", | ||
"scripts": { | ||
"test": "test-runner test/*.js", | ||
"docs": "jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo", | ||
"start": "node test/interactive/server.js" | ||
"test": "test-runner test.js", | ||
"docs": "jsdoc2md -t README.hbs index.js -l js > README.md; echo", | ||
"cover": "istanbul cover ./node_modules/.bin/test-runner test.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls" | ||
}, | ||
@@ -32,8 +32,10 @@ "dependencies": { | ||
"lodash.pick": "^4.4.0", | ||
"typical": "^2.6.0" | ||
"stream-read-all": "^0.1.0", | ||
"typical": "^2.6.1" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^2.13.1", | ||
"jsdoc-to-markdown": "^3.0.0", | ||
"test-runner": "^0.3.0" | ||
"test-runner": "^0.4.0" | ||
} | ||
} |
[![view on npm](http://img.shields.io/npm/v/req-then.svg)](https://www.npmjs.org/package/req-then) | ||
[![npm module downloads](http://img.shields.io/npm/dt/req-then.svg)](https://www.npmjs.org/package/req-then) | ||
[![Dependency Status](https://david-dm.org/75lb/req-then.svg)](https://david-dm.org/75lb/req-then) | ||
[![Coverage Status](https://coveralls.io/repos/github/75lb/req-then/badge.svg)](https://coveralls.io/github/75lb/req-then) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) | ||
@@ -53,3 +54,3 @@ | ||
| --- | --- | --- | | ||
| reqOptions | <code>string</code> | <code>object</code> | Target url string or a standard node.js http request options object. | | ||
| reqOptions | <code>string</code> \| <code>object</code> | Target url string or a standard node.js http request options object. | | ||
| [reqOptions.controller] | <code>object</code> | If supplied, an `.abort()` method will be created on it which, if invoked, will cancel the request. Cancelling will cause the returned promise to reject with an `'aborted'` error. | | ||
@@ -56,0 +57,0 @@ | [data] | <code>\*</code> | Data to send with the request. | |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
107245
21
568
62
5
3
+ Addedstream-read-all@^0.1.0
+ Addedstream-read-all@0.1.2(transitive)
Updatedtypical@^2.6.1