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

leaflet-control-geocoder

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-control-geocoder - npm Package Versions

2345

3.1.0

Diff

Changelog

Source

3.1.0 (2024-12-21)

  • Implement Azure Maps Geocoder (#351) (bf04a88), closes #351
  • azure: add to README (8e1da50)
  • azure: add types, add unit test (d1183f4)
  • azure: update to leaflet-control-geocoder 3.0.0 (0951831)
  • build: fix tsc --target ES2020 (51ed3ea)
  • CHANGELOG: clarify "Migrate from callbacks to async-await" (6e869c8)
  • demo: modernize code (756dc27)
  • GitHub Actions: Node.js 22 (9ba93ff)
  • nominatim: use shorthand property for htmlTemplate (04031ac)
  • tsc: --skipLibCheck (4edf909)
simon04
published 3.0.1 •

Changelog

Source

<small>3.0.1 (2024-12-17)</small>

  • build: fix Control.Geocoder.css (9bfaa0f), closes #355
  • demo: fix geocoder.reverse usage (503e6fc)
simon04
published 3.0.0 •

Changelog

Source

3.0.0 (2024-12-15)

  • GitHub Actions: Node.js 20.x (89bb618)
  • Migrate from callbacks to async-await (6f7ccf5)
  • Migrate from XMLHttpRequest to fetch API (fe751be)
  • Migrate to URLSearchParams (fa13fcb)
  • package: Migrate build to vite (0e6ed14)
  • package: build types using tsc (2211a73)
  • Add response types to geocoders (2232046)
  • npm i --lockfile-version 3 --frozen-lockfile (471932c)
  • Run Prettier on codebase (fbcdad6)
  • Use a more precise input type (#331) (44cd093), closes #331
  • bing: deprecated notice (ce88eab)
  • bing: fix serviceUrl (053e5a2)
  • bing: replace jsonp with AJAX (09f6a4e)
  • ESLint: prefer-arrow-callback (b41a7fb)
  • build: remove bower.json file (6259608)
  • package: npm audit fix (5032da9)
  • package: update devDependencies (dee11f3)
  • tests: Migrate unit tests to Vitest (d997740)
  • fix: bingMaps uri (#342) (be056ab), closes #342
Migrate from callbacks to Promise

-geocoder.geocode(query, callback);
+geocoder.geocode(query).then(callback);

-geocoder.reverse(latlng, scale, callback);
+geocoder.reverse(latlng, scale).then(callback);

Migrate from callbacks to async-await

-geocoder.geocode(query, callback);
+const results = await geocoder.geocode(query);

-geocoder.reverse(latlng, scale, callback);
+const results = await geocoder.reverse(latlng, scale);
simon04
published 2.4.0 •

Changelog

Source

2.4.0 (2022-02-06)

  • export { Geocoder, geocoder, geocoders } (ec17333)
simon04
published 2.3.0 •

Changelog

Source

2.3.0 (2021-05-25)

  • Specify TypeScript declaration file (1183518)
simon04
published 2.2.0 •

Changelog

Source

2.2.0 (2021-03-08)

  • HERE: adding maxResults option (#317) (3847008), closes #317
  • TypeScript: add event handler types (2ffacc3)
simon04
published 2.1.0 •

Changelog

Source

2.1.0 (2020-12-10)

simon04
published 2.0.1 •

Changelog

Source

2.0.1 (2020-11-30)

simon04
published 2.0.0 •

Changelog

Source

2.0.0 (2020-11-28)

  • Migrate to TypeScript
  • Generate API documentation using TypeDoc (756ae93)
  • Harmonize options constructor for all geocoders (e4659b5)
  • Use geocodingQueryParams in all geocoders (84d764a)
  • Use reverseQueryParams in all geocoders (9240331)
  • Replace PNG and GIF files with SVG URIs (#298) (1ec9ab5), closes #298
  • photon: update to photon.komoot.io (e4b3082)
  • mapbox: add location properties to reverse geocode (#286) (3398c8c), closes #286
  • demos: add unpkg.com demo (2418679)
  • demos: add esbuild demo (2e0553f)
  • demos: upgrade to webpack 5 (b600cad)
  • tests: Migrate unit tests to Jest (5b64c34)
  • package: Enable compressed-size-action for PRs (fdf6df0), closes #283
  • package: Enable GitHub Actions (c98745e)
  • package: Migrate build to microbundle (fc0eff9)

BREAKING CHANGE

  • All geocoders accept a single options object as constructor parameter. The options objects extends the interface GeocoderOptions. The apiKey string constructors of some geocoders have been removed.
  • reverse now returns bbox in field called bbox (previously bounds)
simon04
published 1.13.0 •

Changelog

Source

1.13.0 (2020-04-13)

  • Check touch for event type instead of expand option (b8ebba1), closes #255 #272
  • package: simplify npm publish process (95dc7d1)
  • Mapbox: add country code to properties when available (302cf85), closes #278
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