@googlemaps/google-maps-services-js
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -1,2 +0,2 @@ | ||
## [3.1.3](https://github.com/googlemaps/google-maps-services-js/compare/v3.1.2...v3.1.3) (2020-07-06) | ||
## [3.1.4](https://github.com/googlemaps/google-maps-services-js/compare/v3.1.3...v3.1.4) (2020-07-09) | ||
@@ -6,3 +6,3 @@ | ||
* export PlaceAutocompleteType from main module ([#421](https://github.com/googlemaps/google-maps-services-js/issues/421)) ([f179a0c](https://github.com/googlemaps/google-maps-services-js/commit/f179a0ca68b5e4e026bed2a2e913651991c76198)), closes [#420](https://github.com/googlemaps/google-maps-services-js/issues/420) | ||
* add support for now ([#424](https://github.com/googlemaps/google-maps-services-js/issues/424)) ([53ef591](https://github.com/googlemaps/google-maps-services-js/commit/53ef591b7d6a9ac3bed4803adfab2f336d17ccf0)) | ||
@@ -9,0 +9,0 @@ ## [2.0.2](https://github.com/googlemaps/google-maps-services-js/compare/v2.0.1...v2.0.2) (2020-02-08) |
@@ -29,2 +29,2 @@ /** | ||
}) => string; | ||
export declare function toTimestamp(o: number | Date): number; | ||
export declare function toTimestamp(o: "now" | number | Date): number | "now"; |
@@ -38,3 +38,3 @@ "use strict"; | ||
return o | ||
.map(x => { | ||
.map((x) => { | ||
return x.toString(); | ||
@@ -52,3 +52,3 @@ }) | ||
keys.sort(); | ||
return keys.map(k => k + ":" + o[k]).join(separator); | ||
return keys.map((k) => k + ":" + o[k]).join(separator); | ||
} | ||
@@ -102,3 +102,3 @@ } | ||
arrayFormat: "separator", | ||
arrayFormatSeparator: separator | ||
arrayFormatSeparator: separator, | ||
}) { | ||
@@ -116,2 +116,5 @@ return (params) => { | ||
function toTimestamp(o) { | ||
if (o === "now") { | ||
return o; | ||
} | ||
if (o instanceof Date) { | ||
@@ -118,0 +121,0 @@ return Number(o) / 1000; |
{ | ||
"name": "@googlemaps/google-maps-services-js", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "Node.js client library for Google Maps API Web Services", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
313603
5074