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

@googlemaps/google-maps-services-js

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@googlemaps/google-maps-services-js - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

6

CHANGELOG.md

@@ -1,7 +0,7 @@

# [2.3.0](https://github.com/googlemaps/google-maps-services-js/compare/v2.2.1...v2.3.0) (2020-03-11)
## [2.3.1](https://github.com/googlemaps/google-maps-services-js/compare/v2.3.0...v2.3.1) (2020-03-12)
### Features
### Bug Fixes
* add support for elevation along path ([#360](https://github.com/googlemaps/google-maps-services-js/issues/360)) ([0a56948](https://github.com/googlemaps/google-maps-services-js/commit/0a5694834817a6b1d06ff1550d16c4b3a18666ba))
* config merge ([#362](https://github.com/googlemaps/google-maps-services-js/issues/362)) ([a111ffd](https://github.com/googlemaps/google-maps-services-js/commit/a111ffd9d4618a53148caefa9a418d7d6b6e902f))

@@ -8,0 +8,0 @@ ## [2.0.2](https://github.com/googlemaps/google-maps-services-js/compare/v2.0.1...v2.0.2) (2020-02-08)

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const axios_1 = require("axios");
const merge = require("deepmerge");
const index_1 = require("./index");

@@ -44,7 +43,8 @@ const agentkeepalive_1 = require("agentkeepalive");

this.axiosInstance = axiosInstance;
// Avoid changing this instance in any way that affects its behavior
this.axiosInstance.defaults.headers["User-Agent"] = exports.userAgent;
this.axiosInstance.defaults.headers = Object.assign(Object.assign({}, defaultConfig.headers), this.axiosInstance.defaults.headers);
}
else if (config) {
this.axiosInstance = axios_1.default.create(merge(defaultConfig, config));
config = Object.assign(Object.assign({}, defaultConfig), config);
config.headers = Object.assign(Object.assign({}, defaultConfig.headers), (config.headers || {}));
this.axiosInstance = axios_1.default.create(config);
}

@@ -51,0 +51,0 @@ else {

{
"name": "@googlemaps/google-maps-services-js",
"version": "2.3.0",
"version": "2.3.1",
"description": "Node.js client library for Google Maps API Web Services",

@@ -41,3 +41,4 @@ "keywords": [

"test": "jest src",
"test:e2e": "jest e2e"
"test:e2e": "jest e2e",
"test:all": "jest"
},

@@ -47,4 +48,3 @@ "dependencies": {

"axios": "^0.19.0",
"query-string": "^6.11.0",
"deepmerge": "^4.2.2"
"query-string": "^6.11.0"
},

@@ -51,0 +51,0 @@ "devDependencies": {

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