@turf/nearest-neighbor-analysis
Advanced tools
Comparing version 7.0.0-alpha.0 to 7.0.0-alpha.1
@@ -8,3 +8,3 @@ import area from "@turf/area"; | ||
import { featureEach } from "@turf/meta"; | ||
import { convertArea, featureCollection } from "@turf/helpers"; | ||
import { convertArea, featureCollection, } from "@turf/helpers"; | ||
/** | ||
@@ -11,0 +11,0 @@ * Nearest Neighbor Analysis calculates an index based the average distances |
import { FeatureCollection, Feature, Polygon, GeoJsonProperties } from "geojson"; | ||
import { Units } from "@turf/helpers"; | ||
import { Units, AreaUnits } from "@turf/helpers"; | ||
export interface NearestNeighborStatistics { | ||
units: Units; | ||
units: Units & AreaUnits; | ||
arealUnits: string; | ||
@@ -70,5 +70,5 @@ observedMeanDistance: number; | ||
studyArea?: Feature<Polygon>; | ||
units?: Units; | ||
units?: Units & AreaUnits; | ||
properties?: GeoJsonProperties; | ||
}): NearestNeighborStudyArea; | ||
export default nearestNeighborAnalysis; |
{ | ||
"name": "@turf/nearest-neighbor-analysis", | ||
"version": "7.0.0-alpha.0", | ||
"version": "7.0.0-alpha.1", | ||
"description": "turf nearest-neighbor-analysis module", | ||
@@ -31,2 +31,3 @@ "author": "Turf Authors", | ||
".": { | ||
"types": "./dist/js/index.d.ts", | ||
"import": "./dist/es/index.js", | ||
@@ -42,12 +43,12 @@ "require": "./dist/js/index.js" | ||
"scripts": { | ||
"bench": "ts-node bench.js", | ||
"bench": "tsx bench.js", | ||
"build": "npm-run-all build:*", | ||
"build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", | ||
"build:js": "tsc", | ||
"docs": "node ../../scripts/generate-readmes", | ||
"docs": "tsx ../../scripts/generate-readmes", | ||
"test": "npm-run-all test:*", | ||
"test:tape": "ts-node -r esm test.js" | ||
"test:tape": "tsx test.js" | ||
}, | ||
"devDependencies": { | ||
"@turf/truncate": "^7.0.0-alpha.0", | ||
"@turf/truncate": "^7.0.0-alpha.1", | ||
"@types/tape": "*", | ||
@@ -58,4 +59,4 @@ "benchmark": "*", | ||
"tape": "*", | ||
"ts-node": "*", | ||
"tslint": "*", | ||
"tsx": "*", | ||
"typescript": "*", | ||
@@ -65,13 +66,13 @@ "write-json-file": "*" | ||
"dependencies": { | ||
"@turf/area": "^7.0.0-alpha.0", | ||
"@turf/bbox": "^7.0.0-alpha.0", | ||
"@turf/bbox-polygon": "^7.0.0-alpha.0", | ||
"@turf/centroid": "^7.0.0-alpha.0", | ||
"@turf/distance": "^7.0.0-alpha.0", | ||
"@turf/helpers": "^7.0.0-alpha.0", | ||
"@turf/meta": "^7.0.0-alpha.0", | ||
"@turf/nearest-point": "^7.0.0-alpha.0", | ||
"@turf/area": "^7.0.0-alpha.1", | ||
"@turf/bbox": "^7.0.0-alpha.1", | ||
"@turf/bbox-polygon": "^7.0.0-alpha.1", | ||
"@turf/centroid": "^7.0.0-alpha.1", | ||
"@turf/distance": "^7.0.0-alpha.1", | ||
"@turf/helpers": "^7.0.0-alpha.1", | ||
"@turf/meta": "^7.0.0-alpha.1", | ||
"@turf/nearest-point": "^7.0.0-alpha.1", | ||
"tslib": "^2.3.0" | ||
}, | ||
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189" | ||
"gitHead": "cf7a0c507b017ca066acffd0ce23bda5b393fb5a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20131