Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

restjs-api

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restjs-api - npm Package Compare versions

Comparing version 0.1.8 to 1.0.0

13

index.js

@@ -6,3 +6,6 @@ var request = require("request");

"timeout", "proxy", "jar", "auth", "oauth", "aws",
"strictSSL"
"strictSSL", "useQuerystring", "form", "formData",
"multipart", "preambleCRLF", "postambleCRLF", "hawk",
"agentOptions", "httpSignature", "gzip", "tunnel",
"proxyHeaderWhiteList", "proxyHeaderExclusiveList"
];

@@ -120,3 +123,9 @@

// send request and pipe the response
cb(null, request(optionsToUse));
request(optionsToUse)
.on('response', function (response) {
cb(null, response, response.headers);
})
.once('error', function (err) {
cb(err);
});

@@ -123,0 +132,0 @@ } else {

4

package.json
{
"name": "restjs-api",
"version": "0.1.8",
"version": "1.0.0",
"description": "Kidozen's connector to invoke REST services",
"main": "index.js",
"scripts": {
"test": "mocha -R spec"
"test": "istanbul cover _mocha -- -R spec"
},

@@ -9,0 +9,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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