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

get-promise

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-promise - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

3

index.js

@@ -21,2 +21,3 @@ 'use strict';

var binary = options.binary;
var redirect = options.redirect;

@@ -54,3 +55,3 @@ return Q.Promise(function (resolve, reject, notify) {

});
} else if (response.statusCode < 400) {
} else if (redirect && response.statusCode < 400) {
notify({

@@ -57,0 +58,0 @@ url: url,

{
"name": "get-promise",
"version": "1.3.1",
"version": "1.4.0",
"description": "HTTP(S) GET with promises, supports redirects",

@@ -5,0 +5,0 @@ "main": "index.js",

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