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 2.3.2 to 3.0.0

2

build/src/common.js

@@ -15,3 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
// tslint:disable no-any
/* eslint-disable @typescript-eslint/no-explicit-any */
class GaxiosError extends Error {

@@ -18,0 +18,0 @@ constructor(message, options, response) {

@@ -25,3 +25,4 @@ "use strict";

const retry_1 = require("./retry");
// tslint:disable no-any
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable node/no-unsupported-features/node-builtins */
const URL = hasURL() ? window.URL : url_1.default.URL;

@@ -38,3 +39,2 @@ const fetch = hasFetch() ? window.fetch : node_fetch_1.default;

}
// tslint:disable-next-line variable-name
let HttpsProxyAgent;

@@ -106,3 +106,3 @@ // Figure out if we should be using a proxy. Only if it's required, load

return res.body;
case 'json':
case 'json': {
let data = await res.text();

@@ -112,4 +112,7 @@ try {

}
catch (e) { }
catch (_a) {
// continue
}
return data;
}
case 'arraybuffer':

@@ -116,0 +119,0 @@ return res.arrayBuffer();

# Changelog
## [3.0.0](https://www.github.com/googleapis/gaxios/compare/v2.3.2...v3.0.0) (2020-03-19)
### ⚠ BREAKING CHANGES
* **deps:** TypeScript introduced breaking changes in generated code in 3.7.x
* drop Node 8 from engines field (#254)
### Features
* drop Node 8 from engines field ([#254](https://www.github.com/googleapis/gaxios/issues/254)) ([8c9fff7](https://www.github.com/googleapis/gaxios/commit/8c9fff7f92f70f029292c906c62d194c1d58827d))
* **deps:** updates to latest TypeScript ([#253](https://www.github.com/googleapis/gaxios/issues/253)) ([054267b](https://www.github.com/googleapis/gaxios/commit/054267bf12e1801c134e3b5cae92dcc5ea041fab))
### [2.3.2](https://www.github.com/googleapis/gaxios/compare/v2.3.1...v2.3.2) (2020-02-28)

@@ -4,0 +17,0 @@

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

@@ -15,3 +15,2 @@ "main": "build/src/index.js",

"system-test": "mocha build/system-test --timeout 40000",
"clean": "gts clean",
"compile": "tsc -p .",

@@ -35,3 +34,3 @@ "fix": "gts fix",

"engines": {
"node": ">=8.10.0"
"node": ">=10"
},

@@ -58,3 +57,3 @@ "author": "Google, LLC",

"express": "^4.16.4",
"gts": "^1.0.0",
"gts": "2.0.0-alpha.4",
"is-docker": "^2.0.0",

@@ -79,3 +78,3 @@ "karma": "^4.0.0",

"ts-loader": "^6.0.0",
"typescript": "3.6.4",
"typescript": "^3.8.3",
"webpack": "^4.29.5",

@@ -82,0 +81,0 @@ "webpack-cli": "^3.2.3"

Sorry, the diff of this file is not supported yet

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