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.51 to 1.0.52

10

leaflet/index.d.ts

@@ -409,3 +409,3 @@ // Type definitions for Leaflet.js 1.0

// Popup methods
bindPopup(content: (layer: Layer) => Content | Content | Popup, options?: PopupOptions): this;
bindPopup(content: ((layer: Layer) => Content) | Content | Popup, options?: PopupOptions): this;
unbindPopup(): this;

@@ -420,3 +420,3 @@ openPopup(latlng?: LatLngExpression): this;

// Tooltip methods
bindTooltip(content: (layer: Layer) => Content | Tooltip | Content, options?: TooltipOptions): this;
bindTooltip(content: ((layer: Layer) => Content) | Tooltip | Content, options?: TooltipOptions): this;
unbindTooltip(): this;

@@ -1103,3 +1103,3 @@ openTooltip(latlng?: LatLngExpression): this;

getContent(): Content;
setContent(htmlContent: (source: Layer) => Content | Content): this;
setContent(htmlContent: ((source: Layer) => Content) | Content): this;
getElement(): HTMLElement;

@@ -1135,3 +1135,3 @@ update(): void;

getContent(): Content;
setContent(htmlContent: (source: Layer) => Content | Content): this;
setContent(htmlContent: ((source: Layer) => Content) | Content): this;
getElement(): HTMLElement;

@@ -1471,3 +1471,3 @@ update(): void;

options: DivIconOptions;
options?: DivIconOptions;
}

@@ -1474,0 +1474,0 @@

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

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

"peerDependencies": {},
"typesPublisherContentHash": "e1feb5b38df03bebb29f68da3660e424f58966501d2697192b9da1fa3b2f0311",
"typesPublisherContentHash": "80a51d07564bb5abcddd460222a8ceb133db243a417a09d5a955eaeb9b915409",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Tue, 07 Feb 2017 21:47:44 GMT
* Last updated: Thu, 09 Feb 2017 19:36:49 GMT
* Dependencies: geojson

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

@@ -28,5 +28,5 @@ {

"hasPackageJson": false,
"contentHash": "e1feb5b38df03bebb29f68da3660e424f58966501d2697192b9da1fa3b2f0311"
"contentHash": "80a51d07564bb5abcddd460222a8ceb133db243a417a09d5a955eaeb9b915409"
},
"isLatest": true
}
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