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.3.3 to 0.3.4

es5/req-then.js

2

lib/req-then.js

@@ -10,3 +10,3 @@ 'use strict'

/**
* Wraps the built-in node `request` function with a few extras:
* Wraps node's built-in http(s) `request` function with a few extras:
*

@@ -13,0 +13,0 @@ * - Returns a promise, resolving to an object containing the data, node response and original request.

{
"name": "req-then",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.3.3",
"version": "0.3.4",
"description": "Simple http(s) request function, returning a promise. ",
"repository": "https://github.com/75lb/req-then",
"main": "./lib/req-then.js",
"main": "index",
"bin": {

@@ -28,3 +28,4 @@ "req-then": "bin/cli.js"

"docs": "jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo",
"start": "node test/interactive/server.js"
"start": "node test/interactive/server.js",
"es5": "rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"
},

@@ -34,2 +35,3 @@ "dependencies": {

"defer-promise": "^1.0.0",
"feature-detect-es6": "^1.3.1",
"lodash.pick": "^4.2.1",

@@ -39,4 +41,5 @@ "typical": "^2.4.2"

"devDependencies": {
"babel-preset-es2015": "^6.13.2",
"jsdoc-to-markdown": "^1.3.6"
}
}
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