@tmlmobilidade/utils 20250628.1802.3 → 20250628.2017.41
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* * */
|
|
2
2
|
import { EARTH_RADIUS } from './constants.js';
|
|
3
3
|
import { toFeatureFromObject, toPointFromPositions } from './conversions.js';
|
|
4
|
-
import { polygon } from '@turf/
|
|
4
|
+
import { polygon } from '@turf/turf';
|
|
5
5
|
/**
|
|
6
6
|
* Create a geofence around a given point with a given radius in meters (default is 50 meters).
|
|
7
7
|
* @param point A GeoJSON Point representation of the point to create the geofence around.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmlmobilidade/utils",
|
|
3
|
-
"version": "20250628.
|
|
3
|
+
"version": "20250628.2017.41",
|
|
4
4
|
"author": "João de Vasconcelos & Jusi Monteiro",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"homepage": "https://github.com/tmlmobilidade/services#readme",
|
|
@@ -40,7 +40,9 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@tmlmobilidade/lib": "*",
|
|
43
|
+
"@turf/turf": "7.2.0",
|
|
43
44
|
"extract-zip": "2.0.1",
|
|
45
|
+
"geojson": "0.5.0",
|
|
44
46
|
"jszip": "3.10.1",
|
|
45
47
|
"luxon": "3.6.1",
|
|
46
48
|
"mergekit": "3.0.6",
|