Socket
Socket
Sign inDemoInstall

gaxios

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gaxios - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

build/src/gaxios.js

@@ -158,3 +158,7 @@ "use strict";

opts.body = JSON.stringify(opts.data);
opts.headers['Content-Type'] = 'application/json';
// Allow the user to specifiy their own content type,
// such as application/json-patch+json:
if (!opts.headers['Content-Type']) {
opts.headers['Content-Type'] = 'application/json';
}
}

@@ -161,0 +165,0 @@ else {

# Changelog
### [3.0.1](https://www.github.com/googleapis/gaxios/compare/v3.0.0...v3.0.1) (2020-03-23)
### Bug Fixes
* allow an alternate JSON content-type to be set ([#257](https://www.github.com/googleapis/gaxios/issues/257)) ([698a29f](https://www.github.com/googleapis/gaxios/commit/698a29ff3b22f30ea99ad190c4592940bef88f1f))
## [3.0.0](https://www.github.com/googleapis/gaxios/compare/v2.3.2...v3.0.0) (2020-03-19)

@@ -4,0 +11,0 @@

2

package.json
{
"name": "gaxios",
"version": "3.0.0",
"version": "3.0.1",
"description": "A simple common HTTP client specifically for Google APIs and services.",

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

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