New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-leaflet

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-leaflet - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

2

lib/GeoJSON.d.ts

@@ -9,2 +9,2 @@ /// <reference types="react" />

}
export declare const GeoJSON: import("react").ForwardRefExoticComponent<GeoJSONProps & import("react").RefAttributes<LeafletGeoJSON<any>>>;
export declare const GeoJSON: import("react").ForwardRefExoticComponent<GeoJSONProps & import("react").RefAttributes<LeafletGeoJSON<any, import("geojson").Geometry>>>;

@@ -10,3 +10,3 @@ import { createElementObject, createLayerComponent, extendContext, updateMediaOverlay } from '@react-leaflet/core';

updateMediaOverlay(overlay, props, prevProps);
if (props.bounds !== props.bounds) {
if (props.bounds !== prevProps.bounds) {
const bounds = props.bounds instanceof LatLngBounds ? props.bounds : new LatLngBounds(props.bounds);

@@ -13,0 +13,0 @@ overlay.setBounds(bounds);

{
"name": "react-leaflet",
"version": "4.2.0",
"version": "4.2.1",
"description": "React components for Leaflet maps",

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

"@types/geojson": "^7946.0.10",
"@types/leaflet": "^1.9.0",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9"
"@types/leaflet": "^1.9.1",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11"
},

@@ -47,0 +47,0 @@ "jest": {

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