Socket
Socket
Sign inDemoInstall

@agm/core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agm/core - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0-beta.5

7

directives/map.js

@@ -337,3 +337,3 @@ import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';

AgmMap.prototype._updateBounds = function (bounds) {
if (this._isLatLngBoundsLiteral(bounds)) {
if (this._isLatLngBoundsLiteral(bounds) && google && google.maps) {
var newBounds = google.maps.LatLngBounds();

@@ -343,5 +343,2 @@ newBounds.union(bounds);

}
if (bounds.isEmpty()) {
return;
}
if (this.usePanning) {

@@ -354,3 +351,3 @@ this._mapsWrapper.panToBounds(bounds);

AgmMap.prototype._isLatLngBoundsLiteral = function (bounds) {
return bounds.extend === undefined;
return bounds != null && bounds.extend === undefined;
};

@@ -357,0 +354,0 @@ AgmMap.prototype._handleMapCenterChange = function () {

{
"name": "@agm/core",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "Angular components for Google Maps",

@@ -5,0 +5,0 @@ "repository": {

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