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 0.1.1 to 0.1.2

2

dist/httpie.js

@@ -33,3 +33,3 @@ const { parse } = require('url');

if (opts.body) {
let isObj = typeof opts.body === 'object';
let isObj = typeof opts.body === 'object' && !Buffer.isBuffer(opts.body);
let str = isObj ? JSON.stringify(opts.body) : opts.body;

@@ -36,0 +36,0 @@ isObj && req.setHeader('content-type', 'application/json');

{
"name": "httpie",
"version": "0.1.1",
"version": "0.1.2",
"repository": "lukeed/httpie",

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

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