New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

request-micro

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request-micro - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

4

CHANGELOG.md

@@ -7,4 +7,8 @@ # Change Log / Release Notes

## [1.5.1] - 2019-02-20
## Changed
Use uppercase version of headers to reduce application header collisions
## [1.3.0] - 2018-05-09
## Added
Stream support for body

4

index.js

@@ -57,4 +57,4 @@ module.exports = request

if (opts.method) opts.method = opts.method.toUpperCase()
if (opts.json) opts.headers.accept = 'application/json'
if (opts.json && body) opts.headers['content-type'] = 'application/json'
if (opts.json) opts.headers['Accept'] = 'application/json'
if (opts.json && body) opts.headers['Content-Type'] = 'application/json'

@@ -61,0 +61,0 @@ // Support http: and https: urls

{
"name": "request-micro",
"description": "A tiny request library with no dependencies. Supports Http(s) and follows redirects",
"version": "1.5.0",
"version": "1.5.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Timothy Kye",

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