Socket
Socket
Sign inDemoInstall

httpie

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpie - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

dist/httpie.js

@@ -23,3 +23,3 @@ const { request } = require('https');

let type = r.headers['content-type'];
if (type && type.includes('application/json')) {
if (type && out && type.includes('application/json')) {
out = JSON.parse(out);

@@ -26,0 +26,0 @@ }

{
"name": "httpie",
"version": "1.0.0",
"version": "1.0.1",
"repository": "lukeed/httpie",

@@ -5,0 +5,0 @@ "description": "A lightweight, Promise-based wrapper for Node.js HTTP requests~!",

@@ -27,3 +27,3 @@ <div align="center">

* Automatically handles JSON requests and responses
* Extremely lightweight with **no dependencies** – 632 bytes!
* Extremely lightweight with **no dependencies** – 634 bytes!
* Includes aliases for common HTTP verbs: `get`, `post`, `put`, `patch`, and `del`

@@ -30,0 +30,0 @@

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