Socket
Socket
Sign inDemoInstall

req-then

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

req-then - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

.coveralls.yml

14

package.json
{
"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> &#124; <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. |

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