Socket
Socket
Sign inDemoInstall

googleapis

Package Overview
Dependencies
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleapis - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

11

lib/requests.js

@@ -116,3 +116,3 @@ /**

*/
var buildUri = function(root, paths, queryParams) {
var buildUri = function(root, paths, params) {
// create a path is starts with a slash and ends without it.

@@ -124,4 +124,11 @@ // Preventing double slashes along the way

fullPath = url.resolve(root, path);
// duplicate params so as not to mangle an object passed by reference
var queryParams = {};
if (params) {
Object.keys(params).forEach(function(key) {
queryParams[key] = params[key];
});
}
queryParams = queryParams || {};
// replace path query parameters, if there are on the path

@@ -128,0 +135,0 @@ for (var paramName in queryParams) {

2

package.json
{
"name": "googleapis",
"version": "0.6.0",
"version": "0.6.1",
"author": "Google Inc.",

@@ -5,0 +5,0 @@ "description": "Google APIs Client Library for Node.js",

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