Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

googleapis-common

Package Overview
Dependencies
Maintainers
1
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 4.4.3 to 5.0.0

6

build/src/apirequest.js

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

const h2 = require("./http2");
const resolve = require("url");
// eslint-disable-next-line @typescript-eslint/no-var-requires

@@ -130,4 +129,5 @@ const pkg = require('../../package.json');

options.url !== undefined) {
const path = options.url.slice(parameters.context._options.rootUrl.length);
options.url = resolve.resolve(parameters.context._options.rootUrl, path);
const originalUrl = new URL(options.url);
const path = originalUrl.href.substr(originalUrl.origin.length);
options.url = new URL(path, parameters.context._options.rootUrl).href;
}

@@ -134,0 +134,0 @@ // When forming the querystring, override the serializer so that array

@@ -7,2 +7,13 @@ # Changelog

## [5.0.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.4.3...v5.0.0) (2021-01-08)
### ⚠ BREAKING CHANGES
* use WHATWG URL API to rewrite rootUrl correctly (#352)
### Bug Fixes
* use WHATWG URL API to rewrite rootUrl correctly ([#352](https://www.github.com/googleapis/nodejs-googleapis-common/issues/352)) ([4c59147](https://www.github.com/googleapis/nodejs-googleapis-common/commit/4c59147fc62cc3a2098d4ce5e21555e15e946147))
### [4.4.3](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.4.2...v4.4.3) (2020-10-29)

@@ -9,0 +20,0 @@

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

@@ -62,3 +62,3 @@ "repository": "googleapis/nodejs-googleapis-common",

"codecov": "^3.5.0",
"execa": "^4.0.0",
"execa": "^5.0.0",
"gts": "^2.0.0",

@@ -70,3 +70,3 @@ "http2spy": "^2.0.0",

"karma-coverage": "^2.0.0",
"karma-firefox-launcher": "^1.1.0",
"karma-firefox-launcher": "^2.0.0",
"karma-mocha": "^2.0.0",

@@ -73,0 +73,0 @@ "karma-remap-coverage": "^0.1.5",

@@ -59,3 +59,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

Client libraries targetting some end-of-life versions of Node.js are available, and
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed via npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).

@@ -62,0 +62,0 @@ The dist-tags follow the naming convention `legacy-(version)`.

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