Socket
Socket
Sign inDemoInstall

@types/leaflet

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet - npm Package Compare versions

Comparing version 1.2.14 to 1.4.0

11

leaflet/index.d.ts

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

// Type definitions for Leaflet.js 1.2
// Type definitions for Leaflet.js 1.4
// Project: https://github.com/Leaflet/Leaflet

@@ -326,3 +326,3 @@ // Definitions by: Alejandro Sánchez <https://github.com/alejo90>

*/
removeEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): this;
removeEventListener(type: string, fn?: LeafletEventHandlerFn, context?: any): this;

@@ -1185,2 +1185,8 @@ /**

export interface PanInsideOptions {
paddingTopLeft?: PointExpression;
paddingBottomRight?: PointExpression;
padding?: PointExpression;
}
export interface LocateOptions {

@@ -1360,2 +1366,3 @@ watch?: boolean;

setMaxZoom(zoom: number): this;
panInside(latLng: LatLngExpression, options?: PanInsideOptions): this;
panInsideBounds(bounds: LatLngBoundsExpression, options?: PanOptions): this;

@@ -1362,0 +1369,0 @@ /**

4

leaflet/package.json
{
"name": "@types/leaflet",
"version": "1.2.14",
"version": "1.4.0",
"description": "TypeScript definitions for Leaflet.js",

@@ -33,4 +33,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "e5a2f9479ae13cfdd3d54b25dd2e6fcf8f73910555fe6f6f7446db14f8f52d1c",
"typesPublisherContentHash": "c2f1af6c0a788df297b16dae61c7246b6744a22f7d84f02239ad5c1b9532322d",
"typeScriptVersion": "2.3"
}

@@ -11,4 +11,4 @@ # Installation

Additional Details
* Last updated: Tue, 06 Nov 2018 23:45:22 GMT
* Dependencies: geojson
* Last updated: Tue, 22 Jan 2019 17:41:21 GMT
* Dependencies: @types/geojson
* Global values: L

@@ -15,0 +15,0 @@

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