Socket
Socket
Sign inDemoInstall

@types/leaflet

Package Overview
Dependencies
Maintainers
1
Versions
137
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.0.59 to 1.0.60

18

leaflet/index.d.ts

@@ -427,7 +427,7 @@ // Type definitions for Leaflet.js 1.0

// Extension methods
onAdd?: (map: Map) => this;
onRemove?: (map: Map) => this;
getEvents?: () => {[name: string]: (event: Event) => void};
getAttribution?: () => string | null;
beforeAdd?: (map: Map) => this;
onAdd(map: Map): this;
onRemove(map: Map): this;
getEvents?(): {[name: string]: (event: Event) => void};
getAttribution?(): string | null;
beforeAdd?(map: Map): this;
}

@@ -996,4 +996,4 @@

// Extension methods
onAdd?: (map: Map) => HTMLElement;
onRemove?: (map: Map) => void;
onAdd?(map: Map): HTMLElement;
onRemove?(map: Map): void;

@@ -1180,4 +1180,4 @@ options: ControlOptions;

// Extension methods
addHooks?: () => void;
removeHooks?: () => void;
addHooks?(): void;
removeHooks?(): void;
}

@@ -1184,0 +1184,0 @@

{
"name": "@types/leaflet",
"version": "1.0.59",
"version": "1.0.60",
"description": "TypeScript definitions for Leaflet.js",

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

"peerDependencies": {},
"typesPublisherContentHash": "1ded9962d5b2e225efb726cc1adf7e80687c102ec3d3e114d2c3e6940f6af732",
"typesPublisherContentHash": "f38899edaebaa1e06e0135067dcee809b697eccfd6949b8c6a2eec2c48899788",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 31 Mar 2017 18:05:13 GMT
* Last updated: Tue, 04 Apr 2017 17:21:52 GMT
* Dependencies: geojson

@@ -14,0 +14,0 @@ * Global values: L

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