Socket
Socket
Sign inDemoInstall

googleapis-common

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleapis-common - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0-webpack

7

build/src/apirequest.js

@@ -28,2 +28,3 @@ "use strict";

const uuid = require("uuid");
const isbrowser_1 = require("./isbrowser");
const maxContentLength = Math.pow(2, 31);

@@ -206,4 +207,6 @@ // tslint:disable-next-line no-var-requires

options.maxContentLength = options.maxContentLength || maxContentLength;
options.headers['Accept-Encoding'] = 'gzip';
options.headers['User-Agent'] = USER_AGENT;
if (!isbrowser_1.isBrowser()) {
options.headers['Accept-Encoding'] = 'gzip';
options.headers['User-Agent'] = USER_AGENT;
}
// By default Axios treats any 2xx as valid, and all non 2xx status

@@ -210,0 +213,0 @@ // codes as errors. This is a problem for HTTP 304s when used along

@@ -0,1 +1,2 @@

export { OAuth2Client } from 'google-auth-library';
export { APIEndpoint, APIRequestContext, APIRequestParams, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions, ServiceOptions } from './api';

@@ -2,0 +3,0 @@ export { getAPI } from './apiIndex';

@@ -15,2 +15,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var google_auth_library_1 = require("google-auth-library");
exports.OAuth2Client = google_auth_library_1.OAuth2Client;
var apiIndex_1 = require("./apiIndex");

@@ -17,0 +19,0 @@ exports.getAPI = apiIndex_1.getAPI;

{
"name": "googleapis-common",
"version": "0.5.0",
"version": "0.6.0-webpack",
"description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.",

@@ -44,9 +44,13 @@ "repository": "googleapis/nodejs-googleapis-common",

"nock": "^10.0.0",
"null-loader": "^0.1.1",
"nyc": "^13.1.0",
"source-map-support": "^0.5.8",
"typescript": "~3.2.0"
"ts-loader": "^5.3.2",
"typescript": "~3.2.0",
"webpack": "^4.28.3",
"webpack-cli": "^3.2.0"
},
"dependencies": {
"axios": "^0.18.0",
"google-auth-library": "^2.0.0",
"google-auth-library": "3.0.0-pre2",
"pify": "^4.0.0",

@@ -53,0 +57,0 @@ "qs": "^6.5.2",

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