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 3.1.13 to 3.1.14

4

CHANGELOG.md

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

## [3.1.13](https://github.com/googlemaps/google-maps-services-js/compare/v3.1.12...v3.1.13) (2020-10-02)
## [3.1.14](https://github.com/googlemaps/google-maps-services-js/compare/v3.1.13...v3.1.14) (2021-01-05)

@@ -6,2 +6,2 @@

* remove changelog plugin ([aa234db](https://github.com/googlemaps/google-maps-services-js/commit/aa234db33dacbfd62709728d58d4fdb10b22baf7))
* typo DirectionResponseStatus ([#532](https://github.com/googlemaps/google-maps-services-js/issues/532)) ([d9c1104](https://github.com/googlemaps/google-maps-services-js/commit/d9c11048d2c1397f2b37a46f4d70940c41173a54))

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.RadioType = exports.LocationType = exports.GeocodingAddressComponentType = exports.VehicleType = exports.Maneuver = exports.AddressType = exports.GeocodedWaypointStatus = exports.DirectionsReponseStatus = exports.TransitRoutingPreference = exports.TransitMode = exports.TrafficModel = exports.UnitSystem = exports.TravelRestriction = exports.TravelMode = exports.Language = exports.AspectRatingType = exports.PlaceType2 = exports.PlaceType1 = exports.PlaceInputType = exports.PlaceIdScope = exports.Status = void 0;
exports.RadioType = exports.LocationType = exports.GeocodingAddressComponentType = exports.VehicleType = exports.Maneuver = exports.AddressType = exports.GeocodedWaypointStatus = exports.DirectionsReponseStatus = exports.DirectionsResponseStatus = exports.TransitRoutingPreference = exports.TransitMode = exports.TrafficModel = exports.UnitSystem = exports.TravelRestriction = exports.TravelMode = exports.Language = exports.AspectRatingType = exports.PlaceType2 = exports.PlaceType1 = exports.PlaceInputType = exports.PlaceIdScope = exports.Status = void 0;
var Status;

@@ -458,2 +458,45 @@ (function (Status) {

*/
var DirectionsResponseStatus;
(function (DirectionsResponseStatus) {
/** indicates the response contains a valid `result`. */
DirectionsResponseStatus["OK"] = "OK";
/** indicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded. */
DirectionsResponseStatus["NOT_FOUND"] = "NOT_FOUND";
/** indicates no route could be found between the origin and destination. */
DirectionsResponseStatus["ZERO_RESULTS"] = "ZERO_RESULTS";
/**
* indicates that too many `waypoints` were provided in the request. For applications using the Directions API as a web service,
* or the [directions service in the Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/directions),
* the maximum allowed number of `waypoints` is 23, plus the origin and destination.
*/
DirectionsResponseStatus["MAX_WAYPOINTS_EXCEEDED"] = "MAX_WAYPOINTS_EXCEEDED";
/**
* indicates the requested route is too long and cannot be processed.
* This error occurs when more complex directions are returned.
* Try reducing the number of waypoints, turns, or instructions.
*/
DirectionsResponseStatus["MAX_ROUTE_LENGTH_EXCEEDED"] = "MAX_ROUTE_LENGTH_EXCEEDED";
/** indicates that the provided request was invalid. Common causes of this status include an invalid parameter or parameter value. */
DirectionsResponseStatus["INVALID_REQUEST"] = "INVALID_REQUEST";
/**
* indicates any of the following:
* - The API key is missing or invalid.
* - Billing has not been enabled on your account.
* - A self-imposed usage cap has been exceeded.
* - The provided method of payment is no longer valid (for example, a credit card has expired).
* See the [Maps FAQ](https://developers.google.com/maps/faq#over-limit-key-error) to learn how to fix this.
*/
DirectionsResponseStatus["OVER_DAILY_LIMIT"] = "OVER_DAILY_LIMIT";
/** indicates the service has received too many requests from your application within the allowed time period. */
DirectionsResponseStatus["OVER_QUERY_LIMIT"] = "OVER_QUERY_LIMIT";
/** indicates that the service denied use of the directions service by your application. */
DirectionsResponseStatus["REQUEST_DENIED"] = "REQUEST_DENIED";
/** indicates a directions request could not be processed due to a server error. The request may succeed if you try again. */
DirectionsResponseStatus["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
})(DirectionsResponseStatus = exports.DirectionsResponseStatus || (exports.DirectionsResponseStatus = {}));
/**
* The `status` field within the Directions response object contains the status of the request, and may contain debugging information
* to help you track down why the Directions service failed.
* @deprecated
*/
var DirectionsReponseStatus;

@@ -460,0 +503,0 @@ (function (DirectionsReponseStatus) {

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

@@ -39,3 +39,3 @@ "keywords": [

"scripts": {
"docs": "rm -rf docs/ && typedoc .",
"docs": "rm -rf docs/ && typedoc src/index.ts",
"prepare": "tsc",

@@ -65,3 +65,3 @@ "test": "jest src",

"ts-jest": "^25.2.1",
"typedoc": "^0.19.2",
"typedoc": "^0.20.10",
"typescript": "^3.7.4"

@@ -68,0 +68,0 @@ },

Sorry, the diff of this file is too big to display

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