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 1.2.0 to 1.2.1

9

build/src/gaxios.js

@@ -105,4 +105,9 @@ "use strict";

if (opts.data) {
opts.body = JSON.stringify(opts.data);
opts.headers['Content-Type'] = 'application/json';
if (typeof opts.data === 'object') {
opts.body = JSON.stringify(opts.data);
opts.headers['Content-Type'] = 'application/json';
}
else {
opts.body = opts.data;
}
}

@@ -109,0 +114,0 @@ opts.validateStatus = opts.validateStatus || this.validateStatus;

{
"name": "gaxios",
"version": "1.2.0",
"version": "1.2.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