Socket
Socket
Sign inDemoInstall

@react-google-maps/api

Package Overview
Dependencies
11
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.3-alpha.10 to 1.2.3-alpha.11

4

lib/utils/instance-persistance.js

@@ -56,6 +56,6 @@ "use strict";

var mapContainer = document.getElementById(id);
if (mapContainer && mapContainer.children && mapContainer.children[0]) {
hiddenContainer.appendChild(mapContainer.children[0]);
if (mapContainer) {
hiddenContainer.appendChild(mapContainer);
}
window[getMapInstanceId(id)] = map;
};
{
"name": "@react-google-maps/api",
"version": "1.2.3-alpha.10",
"version": "1.2.3-alpha.11",
"description": "React.js Google Maps API integration",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -94,4 +94,4 @@ export interface RestoreInstanceArg {

if (mapContainer && mapContainer.children && mapContainer.children[0]) {
hiddenContainer.appendChild(mapContainer.children[0])
if (mapContainer) {
hiddenContainer.appendChild(mapContainer)
}

@@ -98,0 +98,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc