turf
Advanced tools
Comparing version 0.1.7 to 0.2.0
106
package.json
{ | ||
"name": "turf", | ||
"version": "0.1.7", | ||
"version": "0.2.0", | ||
"description": "a node.js library for performing geospatial operations with geojson", | ||
@@ -46,61 +46,59 @@ "main": "index.js", | ||
"dependencies": { | ||
"poly-extractor": "0.0.3", | ||
"turf-average": "0.0.1", | ||
"turf-quantile": "0.0.2", | ||
"turf-square": "~0.1.1", | ||
"turf-jenks": "0.0.2", | ||
"turf-sum": "0.0.1", | ||
"turf-tag": "~0.1.0", | ||
"turf-filter": "~0.1.0", | ||
"turf-extent": "~0.1.1", | ||
"turf-distance": "~0.1.1", | ||
"turf-centroid": "~0.1.0", | ||
"turf-center": "~0.1.0", | ||
"turf-point": "~0.1.0", | ||
"turf-min": "0.0.1", | ||
"turf-max": "0.0.1", | ||
"turf-median": "0.0.1", | ||
"turf-aggregate": "0.0.1", | ||
"turf-flip": "0.0.1", | ||
"turf-size": "~0.1.1", | ||
"turf-sample": "~0.1.0", | ||
"turf-envelope": "~0.1.0", | ||
"turf-planepoint": "0.0.1", | ||
"turf-remove": "~0.1.0", | ||
"turf-reclass": "0.0.1", | ||
"turf-explode": "~0.1.1", | ||
"turf-midpoint": "~0.1.1", | ||
"turf-variance": "0.0.1", | ||
"turf-deviation": "0.0.1", | ||
"turf-count": "0.0.1", | ||
"turf-linestring": "~0.1.0", | ||
"turf-combine": "0.0.1", | ||
"turf-polygon": "~0.1.0", | ||
"turf-grid": "0.0.1", | ||
"turf-isobands": "0.0.2", | ||
"turf-nearest": "~0.1.0", | ||
"turf-within": "~0.1.0", | ||
"turf-tin": "0.0.1", | ||
"turf-inside": "~0.1.1", | ||
"turf-aggregate": "0.0.3", | ||
"turf-average": "0.0.2", | ||
"turf-bbox-polygon": "^0.1.1", | ||
"turf-bezier": "0.0.0", | ||
"turf-buffer": "0.0.2", | ||
"turf-center": "^0.1.0", | ||
"turf-centroid": "^0.1.1", | ||
"turf-combine": "0.1.0", | ||
"turf-concave": "0.0.1", | ||
"turf-convex": "0.0.1", | ||
"turf-count": "0.0.4", | ||
"turf-deviation": "0.0.2", | ||
"turf-distance": "^0.1.2", | ||
"turf-donuts": "0.0.2", | ||
"turf-envelope": "~0.1.1", | ||
"turf-erase": "0.1.3", | ||
"turf-explode": "^0.1.2", | ||
"turf-extent": "^0.1.2", | ||
"turf-featurecollection": "~0.1.0", | ||
"turf-isolines": "0.0.2", | ||
"turf-is-clockwise": "0.0.1", | ||
"turf-bbox-polygon": "~0.1.0", | ||
"turf-filter": "^0.1.1", | ||
"turf-flip": "0.1.0", | ||
"turf-grid": "0.0.2", | ||
"turf-inside": "^0.1.3", | ||
"turf-intersect": "0.0.0", | ||
"turf-is-clockwise": "0.0.2", | ||
"turf-isobands": "0.1.0", | ||
"turf-isolines": "0.1.0", | ||
"turf-jenks": "0.1.0", | ||
"turf-linestring": "^0.1.1", | ||
"turf-max": "0.0.3", | ||
"turf-median": "0.0.2", | ||
"turf-merge": "0.0.2", | ||
"turf-midpoint": "^0.1.2", | ||
"turf-min": "0.0.2", | ||
"turf-nearest": "^0.1.1", | ||
"turf-planepoint": "0.0.2", | ||
"turf-point": "^0.1.1", | ||
"turf-polygon": "^0.1.1", | ||
"turf-quantile": "0.0.4", | ||
"turf-reclass": "0.0.2", | ||
"turf-remove": "^0.1.1", | ||
"turf-sample": "^0.1.1", | ||
"turf-simplify": "0.0.0", | ||
"turf-bezier": "0.0.0", | ||
"turf-intersect": "0.0.0", | ||
"turf-size": "^0.2.0", | ||
"turf-square": "^0.1.2", | ||
"turf-sum": "0.0.2", | ||
"turf-tag": "~0.1.1", | ||
"turf-tin": "0.0.2", | ||
"turf-union": "0.0.0", | ||
"turf-merge": "0.0.0", | ||
"turf-erase": "0.0.0", | ||
"turf-donuts": "0.0.0", | ||
"turf-concave": "0.0.0", | ||
"turf-convex": "0.0.0", | ||
"turf-buffer": "0.0.1" | ||
"turf-variance": "0.0.2", | ||
"turf-within": "^0.1.1" | ||
}, | ||
"devDependencies": { | ||
"should": "~3.1.2", | ||
"mocha": "~1.17.1", | ||
"browserify": "~3.28.1", | ||
"uglify-js": "~2.4.12" | ||
"browserify": "~4.1.8", | ||
"tape": "^2.13.2", | ||
"uglify-js": "~2.4.13" | ||
} | ||
} |
150
README.md
![turf](https://raw.githubusercontent.com/Turfjs/turf/9a1d5e8d99564d4080f1e2bf1517ed41d18012fa/logo.png) | ||
====== | ||
[![Build Status](https://travis-ci.org/atdrago/turf.png)](https://travis-ci.org/atdrago/turf) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf.svg?branch=master)](https://travis-ci.org/Turfjs/turf) | ||
@@ -24,3 +24,3 @@ | ||
```html | ||
<script src="turf.min.js"></script> | ||
<script src="turf.min.js" charset="utf-8"></script> | ||
``` | ||
@@ -42,72 +42,116 @@ | ||
####geometry | ||
- [point](https://github.com/Turfjs/turf-point) | ||
- [linestring](https://github.com/Turfjs/turf-linestring) | ||
- [polygon](https://github.com/Turfjs/turf-polygon) | ||
- [featurecollection](https://github.com/Turfjs/turf-featurecollection) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-point.svg?branch=master)](https://travis-ci.org/Turfjs/turf-point) [point](https://github.com/Turfjs/turf-point) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-linestring.svg?branch=master)](https://travis-ci.org/Turfjs/turf-linestring) [linestring](https://github.com/Turfjs/turf-linestring) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-polygon.svg?branch=master)](https://travis-ci.org/Turfjs/turf-polygon) [polygon](https://github.com/Turfjs/turf-polygon) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-featureCollection.svg?branch=master)](https://travis-ci.org/Turfjs/turf-featureCollection) [featurecollection](https://github.com/Turfjs/turf-featurecollection) | ||
####joins | ||
- [inside](https://github.com/Turfjs/turf-inside) | ||
- [within](https://github.com/Turfjs/turf-within) | ||
- [tag](https://github.com/Turfjs/turf-tag) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-inside.svg?branch=master)](https://travis-ci.org/Turfjs/turf-inside) [inside](https://github.com/Turfjs/turf-inside) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-within.svg?branch=master)](https://travis-ci.org/Turfjs/turf-within) [within](https://github.com/Turfjs/turf-within) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-tag.svg?branch=master)](https://travis-ci.org/Turfjs/turf-tag) [tag](https://github.com/Turfjs/turf-tag) | ||
####data | ||
- [remove](https://github.com/Turfjs/turf-remove) | ||
- [filter](https://github.com/Turfjs/turf-filter) | ||
- [sample](https://github.com/Turfjs/turf-sample) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-remove.svg?branch=master)](https://travis-ci.org/Turfjs/turf-remove) [remove](https://github.com/Turfjs/turf-remove) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-filter.svg?branch=master)](https://travis-ci.org/Turfjs/turf-filter) [filter](https://github.com/Turfjs/turf-filter) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-sample.svg?branch=master)](https://travis-ci.org/Turfjs/turf-sample) [sample](https://github.com/Turfjs/turf-sample) | ||
####measurement | ||
- [distance](https://github.com/Turfjs/turf-distance) | ||
- [nearest](https://github.com/Turfjs/turf-nearest) | ||
- [bboxPolygon](https://github.com/Turfjs/turf-bboxPolygon) | ||
- [envelope](https://github.com/Turfjs/turf-envelope) | ||
- [extent](https://github.com/Turfjs/turf-extent) | ||
- [square](https://github.com/Turfjs/turf-square) | ||
- [size](https://github.com/Turfjs/turf-size) | ||
- [center](https://github.com/Turfjs/turf-center) | ||
- [centroid](https://github.com/Turfjs/turf-centroid) | ||
- [midpoint](https://github.com/Turfjs/turf-midpoint) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-distance.svg?branch=master)](https://travis-ci.org/Turfjs/turf-distance) [distance](https://github.com/Turfjs/turf-distance) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-nearest.svg?branch=master)](https://travis-ci.org/Turfjs/turf-nearest) [nearest](https://github.com/Turfjs/turf-nearest) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-bboxPolygon.svg?branch=master)](https://travis-ci.org/Turfjs/turf-bboxPolygon) [bboxPolygon](https://github.com/Turfjs/turf-bboxPolygon) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-envelope.svg?branch=master)](https://travis-ci.org/Turfjs/turf-envelope) [envelope](https://github.com/Turfjs/turf-envelope) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-extent.svg?branch=master)](https://travis-ci.org/Turfjs/turf-extent) [extent](https://github.com/Turfjs/turf-extent) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-square.svg?branch=master)](https://travis-ci.org/Turfjs/turf-square) [square](https://github.com/Turfjs/turf-square) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-size.svg?branch=master)](https://travis-ci.org/Turfjs/turf-size) [size](https://github.com/Turfjs/turf-size) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-center.svg?branch=master)](https://travis-ci.org/Turfjs/turf-center) [center](https://github.com/Turfjs/turf-center) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-centroid.svg?branch=master)](https://travis-ci.org/Turfjs/turf-centroid) [centroid](https://github.com/Turfjs/turf-centroid) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-midpoint.svg?branch=master)](https://travis-ci.org/Turfjs/turf-midpoint) [midpoint](https://github.com/Turfjs/turf-midpoint) | ||
####interpolation | ||
- [tin](https://github.com/Turfjs/turf-tin) | ||
- [grid](https://github.com/Turfjs/turf-grid) | ||
- [planepoint](https://github.com/Turfjs/turf-planepoint) | ||
- [isolines](https://github.com/Turfjs/turf-isolines) | ||
- [isobands](https://github.com/Turfjs/turf-isolines) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-tin.svg?branch=master)](https://travis-ci.org/Turfjs/turf-tin) [tin](https://github.com/Turfjs/turf-tin) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-grid.svg?branch=master)](https://travis-ci.org/Turfjs/turf-grid) [grid](https://github.com/Turfjs/turf-grid) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-planepoint.svg?branch=master)](https://travis-ci.org/Turfjs/turf-planepoint) [planepoint](https://github.com/Turfjs/turf-planepoint) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-isolines.svg?branch=master)](https://travis-ci.org/Turfjs/turf-isolines) [isolines](https://github.com/Turfjs/turf-isolines) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-isobands.svg?branch=master)](https://travis-ci.org/Turfjs/turf-isobands) [isobands](https://github.com/Turfjs/turf-isolines) | ||
####classification | ||
- [quantile](https://github.com/Turfjs/turf-quantile) | ||
- [jenks](https://github.com/Turfjs/turf-jenks) | ||
- [reclass](https://github.com/Turfjs/turf-reclass) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-quantile.svg?branch=master)](https://travis-ci.org/Turfjs/turf-quantile) [quantile](https://github.com/Turfjs/turf-quantile) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-jenks.svg?branch=master)](https://travis-ci.org/Turfjs/turf-jenks) [jenks](https://github.com/Turfjs/turf-jenks) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-reclass.svg?branch=master)](https://travis-ci.org/Turfjs/turf-reclass) [reclass](https://github.com/Turfjs/turf-reclass) | ||
####aggregation | ||
- [average](https://github.com/Turfjs/turf-average) | ||
- [median](https://github.com/Turfjs/turf-median) | ||
- [sum](https://github.com/Turfjs/turf-sum) | ||
- [min](https://github.com/Turfjs/turf-min) | ||
- [max](https://github.com/Turfjs/turf-max) | ||
- [count](https://github.com/Turfjs/turf-count) | ||
- [deviation](https://github.com/Turfjs/turf-deviation) | ||
- [variance](https://github.com/Turfjs/turf-variance) | ||
- [aggregate](https://github.com/Turfjs/turf-aggregate) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-average.svg?branch=master)](https://travis-ci.org/Turfjs/turf-average) [average](https://github.com/Turfjs/turf-average) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-median.svg?branch=master)](https://travis-ci.org/Turfjs/turf-median) [median](https://github.com/Turfjs/turf-median) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-sum.svg?branch=master)](https://travis-ci.org/Turfjs/turf-sum) [sum](https://github.com/Turfjs/turf-sum) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-min.svg?branch=master)](https://travis-ci.org/Turfjs/turf-min) [min](https://github.com/Turfjs/turf-min) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-max.svg?branch=master)](https://travis-ci.org/Turfjs/turf-max) [max](https://github.com/Turfjs/turf-max) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-count.svg?branch=master)](https://travis-ci.org/Turfjs/turf-count) [count](https://github.com/Turfjs/turf-count) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-deviation.svg?branch=master)](https://travis-ci.org/Turfjs/turf-deviation) [deviation](https://github.com/Turfjs/turf-deviation) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-variance.svg?branch=master)](https://travis-ci.org/Turfjs/turf-variance) [variance](https://github.com/Turfjs/turf-variance) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-aggregate.svg?branch=master)](https://travis-ci.org/Turfjs/turf-aggregate) [aggregate](https://github.com/Turfjs/turf-aggregate) | ||
####transformation | ||
- [buffer](https://github.com/Turfjs/turf-buffer) | ||
- [bezier](https://github.com/Turfjs/turf-bezier) | ||
- [simplify](https://github.com/Turfjs/turf-simplify) | ||
- [union](https://github.com/Turfjs/turf-union) | ||
- [merge](https://github.com/Turfjs/turf-merge) | ||
- [intersect](https://github.com/Turfjs/turf-intersect) | ||
- [erase](https://github.com/Turfjs/turf-erase) | ||
- [donuts](https://github.com/Turfjs/turf-donuts) | ||
- [convex](https://github.com/Turfjs/turf-convex) | ||
- [concave](https://github.com/Turfjs/turf-concave) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-buffer.svg?branch=master)](https://travis-ci.org/Turfjs/turf-buffer) [buffer](https://github.com/Turfjs/turf-buffer) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-bezier.svg?branch=master)](https://travis-ci.org/Turfjs/turf-bezier) [bezier](https://github.com/Turfjs/turf-bezier) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-simplify.svg?branch=master)](https://travis-ci.org/Turfjs/turf-simplify) [simplify](https://github.com/Turfjs/turf-simplify) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-union.svg?branch=master)](https://travis-ci.org/Turfjs/turf-union) [union](https://github.com/Turfjs/turf-union) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-merge.svg?branch=master)](https://travis-ci.org/Turfjs/turf-merge) [merge](https://github.com/Turfjs/turf-merge) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-intersect.svg?branch=master)](https://travis-ci.org/Turfjs/turf-intersect) [intersect](https://github.com/Turfjs/turf-intersect) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-erase.svg?branch=master)](https://travis-ci.org/Turfjs/turf-erase) [erase](https://github.com/Turfjs/turf-erase) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-donuts.svg?branch=master)](https://travis-ci.org/Turfjs/turf-donuts) [donuts](https://github.com/Turfjs/turf-donuts) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-convex.svg?branch=master)](https://travis-ci.org/Turfjs/turf-convex) [convex](https://github.com/Turfjs/turf-convex) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-concave.svg?branch=master)](https://travis-ci.org/Turfjs/turf-concave) [concave](https://github.com/Turfjs/turf-concave) | ||
####misc | ||
- [flip](https://github.com/Turfjs/turf-flip) | ||
- [explode](https://github.com/Turfjs/turf-explode) | ||
- [combine](https://github.com/Turfjs/turf-combine) | ||
- [isClockwise](https://github.com/Turfjs/turf-isClockwise) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-flip.svg?branch=master)](https://travis-ci.org/Turfjs/turf-flip) [flip](https://github.com/Turfjs/turf-flip) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-explode.svg?branch=master)](https://travis-ci.org/Turfjs/turf-explode) [explode](https://github.com/Turfjs/turf-explode) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-combine.svg?branch=master)](https://travis-ci.org/Turfjs/turf-combine) [combine](https://github.com/Turfjs/turf-combine) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-isClockwise.svg?branch=master)](https://travis-ci.org/Turfjs/turf-isClockwise) [isClockwise](https://github.com/Turfjs/turf-isClockwise) | ||
--- | ||
Created by [@morganherlocker](https://twitter.com/morganherlocker) :) |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
51
3
156
6
1787576
14
19927
+ Addedclone@0.1.19(transitive)
+ Addedturf-aggregate@0.0.3(transitive)
+ Addedturf-average@0.0.2(transitive)
+ Addedturf-buffer@0.0.2(transitive)
+ Addedturf-combine@0.1.0(transitive)
+ Addedturf-concave@0.0.1(transitive)
+ Addedturf-convex@0.0.1(transitive)
+ Addedturf-count@0.0.4(transitive)
+ Addedturf-deviation@0.0.2(transitive)
+ Addedturf-donuts@0.0.2(transitive)
+ Addedturf-erase@0.1.3(transitive)
+ Addedturf-flip@0.1.0(transitive)
+ Addedturf-grid@0.0.2(transitive)
+ Addedturf-is-clockwise@0.0.2(transitive)
+ Addedturf-isobands@0.1.0(transitive)
+ Addedturf-isolines@0.1.0(transitive)
+ Addedturf-jenks@0.1.0(transitive)
+ Addedturf-max@0.0.3(transitive)
+ Addedturf-median@0.0.2(transitive)
+ Addedturf-merge@0.0.2(transitive)
+ Addedturf-min@0.0.2(transitive)
+ Addedturf-planepoint@0.0.2(transitive)
+ Addedturf-quantile@0.0.4(transitive)
+ Addedturf-reclass@0.0.2(transitive)
+ Addedturf-size@0.2.0(transitive)
+ Addedturf-sum@0.0.2(transitive)
+ Addedturf-tin@0.0.2(transitive)
+ Addedturf-variance@0.0.2(transitive)
- Removedpoly-extractor@0.0.3
- Removedpoly-extractor@0.0.3(transitive)
- Removedturf-aggregate@0.0.1(transitive)
- Removedturf-concave@0.0.0(transitive)
- Removedturf-convex@0.0.0(transitive)
- Removedturf-donuts@0.0.0(transitive)
- Removedturf-flip@0.0.1(transitive)
- Removedturf-is-clockwise@0.0.1(transitive)
- Removedturf-isobands@0.0.2(transitive)
- Removedturf-isolines@0.0.2(transitive)
- Removedturf-jenks@0.0.2(transitive)
- Removedturf-quantile@0.0.2(transitive)
- Removedturf-reclass@0.0.1(transitive)
Updatedturf-aggregate@0.0.3
Updatedturf-average@0.0.2
Updatedturf-bbox-polygon@^0.1.1
Updatedturf-buffer@0.0.2
Updatedturf-center@^0.1.0
Updatedturf-centroid@^0.1.1
Updatedturf-combine@0.1.0
Updatedturf-concave@0.0.1
Updatedturf-convex@0.0.1
Updatedturf-count@0.0.4
Updatedturf-deviation@0.0.2
Updatedturf-distance@^0.1.2
Updatedturf-donuts@0.0.2
Updatedturf-envelope@~0.1.1
Updatedturf-erase@0.1.3
Updatedturf-explode@^0.1.2
Updatedturf-extent@^0.1.2
Updatedturf-filter@^0.1.1
Updatedturf-flip@0.1.0
Updatedturf-grid@0.0.2
Updatedturf-inside@^0.1.3
Updatedturf-is-clockwise@0.0.2
Updatedturf-isobands@0.1.0
Updatedturf-isolines@0.1.0
Updatedturf-jenks@0.1.0
Updatedturf-linestring@^0.1.1
Updatedturf-max@0.0.3
Updatedturf-median@0.0.2
Updatedturf-merge@0.0.2
Updatedturf-midpoint@^0.1.2
Updatedturf-min@0.0.2
Updatedturf-nearest@^0.1.1
Updatedturf-planepoint@0.0.2
Updatedturf-point@^0.1.1
Updatedturf-polygon@^0.1.1
Updatedturf-quantile@0.0.4
Updatedturf-reclass@0.0.2
Updatedturf-remove@^0.1.1
Updatedturf-sample@^0.1.1
Updatedturf-size@^0.2.0
Updatedturf-square@^0.1.2
Updatedturf-sum@0.0.2
Updatedturf-tag@~0.1.1
Updatedturf-tin@0.0.2
Updatedturf-variance@0.0.2
Updatedturf-within@^0.1.1