react-leaflet-measure 2.1.1 → 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  react-leaflet-measure Changelog
2
2
  =========================
3
3
 
4
+ ## 3.0.0 (2025-11-28)
5
+
6
+ * Update Leaflet dependency to 1.9.4
7
+ * Update react-leaflet dependency to 5.0.0
8
+ * Update react dependency to 19.2.0
9
+ * NPM Audit Fix
10
+
4
11
  ## 2.1.1 (2019-02-07)
5
12
 
6
13
  * Add website
package/README.md CHANGED
@@ -1,19 +1,18 @@
1
1
  # react-leaflet-measure
2
2
 
3
- [![travis build](https://img.shields.io/travis/mhasbie/react-leaflet-measure.svg?style=plastic)](https://travis-ci.org/mhasbie/react-leaflet-measure)
4
3
  [![version](https://img.shields.io/npm/v/react-leaflet-measure.svg?style=plastic)](http://npm.im/react-leaflet-measure)
5
- [![MIT License](https://img.shields.io/npm/l/react-leaflet-measure.svg?style=plastic)](http://opensource.org/licenses/MIT)
6
- [![dependencies](https://img.shields.io/david/mhasbie/react-leaflet-measure.svg?style=plastic)](https://david-dm.org/mhasbie/react-leaflet-measure)
7
- [![peer dependencies](https://img.shields.io/david/peer/mhasbie/react-leaflet-measure.svg?style=plastic)](https://david-dm.org/mhasbie/react-leaflet-measure?type=peer)
8
- [![downloads](https://img.shields.io/npm/dt/react-leaflet-measure.svg?style=plastic)](http://npm-stat.com/charts.html?package=react-leaflet-measure&from=2018-01-01)
4
+ [![react-leaflet compatibility](https://img.shields.io/npm/dependency-version/react-leaflet-measure/peer/react-leaflet.svg?style=plastic)](https://github.com/mhasbie/react-leaflet-measure)
9
5
  [![issues](https://img.shields.io/github/issues/mhasbie/react-leaflet-measure.svg?style=plastic)](https://github.com/mhasbie/react-leaflet-measure/issues)
6
+ [![downloads](https://img.shields.io/npm/dt/react-leaflet-measure.svg?style=plastic)](http://npm-stat.com/charts.html?package=react-leaflet-measure&from=2018-01-01)
7
+ [![MIT License](https://img.shields.io/npm/l/react-leaflet-measure.svg?style=plastic)](http://opensource.org/licenses/MIT)
8
+
10
9
 
11
10
  React wrapper of [leaflet-measure](https://github.com/ljagis/leaflet-measure)
12
11
  for [react-leaflet](https://github.com/PaulLeCam/react-leaflet).
13
12
 
14
13
  Coordinate, linear, and area measure control for [Leaflet](http://leafletjs.com) maps. Extends [L.Control](http://leafletjs.com/reference.html#control).
15
14
 
16
- *Tested with Leaflet 1.3.4 and React-Leaflet 1.9.1, React-Leaflet 2.1.4*
15
+ *Tested with React 19.2.0, Leaflet 1.9.4, React-Leaflet 5.0.0, React-Leaflet 4.0.0*
17
16
 
18
17
 
19
18
  ## Demos
@@ -0,0 +1,20 @@
1
+ module.exports = {
2
+ presets: [
3
+ ['@babel/preset-env', { modules: false }],
4
+ '@babel/preset-react'
5
+ ],
6
+ plugins: [
7
+ '@babel/plugin-transform-class-properties'
8
+ ],
9
+ env: {
10
+ test: {
11
+ presets: [
12
+ '@babel/preset-env',
13
+ '@babel/preset-react'
14
+ ],
15
+ plugins: [
16
+ '@babel/plugin-transform-class-properties'
17
+ ],
18
+ },
19
+ },
20
+ };