Sign In

@squawk/geo

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squawk/geo - npm Package Compare versions

Comparing version
0.4.3
to
0.4.9
+3
-3
dist/geojson.d.ts

@@ -5,3 +5,3 @@ /**

* unpack rings into `number[][]` first. The raw-coordinates API in
* {@link ./polygon.js} remains the right level for indexing-heavy paths
* {@link polygon} remains the right level for indexing-heavy paths
* (e.g. `@squawk/airspace`); these helpers are for app-level rendering

@@ -51,3 +51,3 @@ * and selection logic.

* query point - the same defensive behavior as
* {@link ./polygon.js#boundingBox}.
* {@link polygon.boundingBox}.
*

@@ -102,3 +102,3 @@ * @param polygon - GeoJSON Polygon.

* Tests whether a point lies inside (or on the boundary of) a bounding
* box. Tuple-shape sibling to {@link ./polygon.js#pointInBoundingBox},
* box. Tuple-shape sibling to {@link polygon.pointInBoundingBox},
* which takes separate `lon, lat` arguments and is intended for hot-path

@@ -105,0 +105,0 @@ * callers where the unpacked form avoids tuple allocation.

@@ -5,3 +5,3 @@ /**

* unpack rings into `number[][]` first. The raw-coordinates API in
* {@link ./polygon.js} remains the right level for indexing-heavy paths
* {@link polygon} remains the right level for indexing-heavy paths
* (e.g. `@squawk/airspace`); these helpers are for app-level rendering

@@ -104,3 +104,3 @@ * and selection logic.

* query point - the same defensive behavior as
* {@link ./polygon.js#boundingBox}.
* {@link polygon.boundingBox}.
*

@@ -222,3 +222,3 @@ * @param polygon - GeoJSON Polygon.

* Tests whether a point lies inside (or on the boundary of) a bounding
* box. Tuple-shape sibling to {@link ./polygon.js#pointInBoundingBox},
* box. Tuple-shape sibling to {@link polygon.pointInBoundingBox},
* which takes separate `lon, lat` arguments and is intended for hot-path

@@ -225,0 +225,0 @@ * callers where the unpacked form avoids tuple allocation.

{
"name": "@squawk/geo",
"version": "0.4.3",
"version": "0.4.9",
"type": "module",

@@ -36,3 +36,5 @@ "description": "Geospatial utilities: great-circle distance, bearing, midpoint, destination point, and polygon containment",

"lint": "tsc --noEmit && eslint src",
"lint:pack": "publint && attw --pack . --profile esm-only"
"lint:pack": "publint && attw --pack . --profile esm-only",
"api:check": "api-extractor run --verbose",
"api:report": "api-extractor run --local --verbose"
},

@@ -56,4 +58,4 @@ "keywords": [

"devDependencies": {
"@types/node": "^25.6.0"
"@types/node": "^25.9.3"
}
}