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.8 to 1.3.0

5

build/src/common.d.ts

@@ -30,2 +30,6 @@ import { Agent } from 'https';

body?: any;
/**
* The maximum size of the http response content in bytes allowed.
*/
maxContentLength?: number;
params?: any;

@@ -42,2 +46,3 @@ paramsSerializer?: (params: {

retry?: boolean;
size?: number;
}

@@ -44,0 +49,0 @@ /**

3

build/src/gaxios.js

@@ -117,2 +117,5 @@ "use strict";

}
if (typeof options.maxContentLength === 'number') {
opts.size = options.maxContentLength;
}
opts.headers = opts.headers || {};

@@ -119,0 +122,0 @@ if (opts.data) {

2

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

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

@@ -59,2 +59,6 @@ # gaxios

// The max size of the http response content in bytes allowed.
// Defaults to `0`, which is the same as unset.
maxContentLength: 2000,
// The querystring parameters that will be encoded using `qs` and

@@ -61,0 +65,0 @@ // appended to the url

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc