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

api-http

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-http - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

3

index.js

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

proto.error = function (res) {
var message = res.body.message || res.body.msg
var message = res.body.message || res.body.msg || res.body.title
var name = res.body.name

@@ -99,2 +99,3 @@ var code = res.body.code

json: true,
gzip: true,
body: body

@@ -101,0 +102,0 @@ }, function (err, res, responseBody) {

{
"name": "api-http",
"version": "1.1.1",
"version": "1.1.2",
"description": "Simple Node.js class for performing HTTP API requests.",

@@ -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