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

requestify

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requestify - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

lib/Requestify.js

@@ -99,3 +99,3 @@ /**

if (isSuccessful(response.code)) {
storeCache(request.getFullUrl(), request.getCode(), request.getHeaders(), request.body);
storeCache(request.getFullUrl(), response.getCode(), response.getHeaders(), response.body);
defer.resolve(response);

@@ -102,0 +102,0 @@ return;

@@ -45,3 +45,3 @@ var url = require('url'),

if (responseType.indexOf('application/json') !== -1) {
if (responseType.indexOf('application/json') !== -1 && _.isString(this.body)) {
try {

@@ -48,0 +48,0 @@ return JSON.parse(this.body);

{
"name": "requestify",
"description": "Simplifies node HTTP request making.",
"version": "0.1.7",
"version": "0.1.8",
"scripts": {

@@ -6,0 +6,0 @@ "test": "mocha -R spec"

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