turf
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -1,30 +0,24 @@ | ||
## Want to Contribute? | ||
## How To Contribute | ||
Pull requests, feature requests, comments on issues, testing, documentation, or any other type of support is welcome and encouraged. This is a big project, and I appreciate any help I can get. Let's go build a better geospatial engine for the web! Not sure where to start? Shoot me an email at morgan.herlocker [at] gmail.com or [@morganherlocker](https://twitter.com/morganherlocker). | ||
- Most work happens in sub modules. These are modules prefixed with "turf-". | ||
- If you would like to propose a new feature, open an issue in Turfjs/turf. | ||
- Always include tests. We use [tape](https://github.com/substack/tape). | ||
- Turf modules are small, containing a single exported function. | ||
- GeoJSON is the lingua franca of Turf. It should be used as the data structure for anything that can be represented as geography. | ||
- Avoid large dependencies at all costs. | ||
- Turf is used in a wide range of places. Make sure that your code can run in the browser (ie: don't make calls to external services, don't hit the filesystem, etc.). | ||
**A few notes before diving in:** | ||
## Structure of a turf module | ||
- The focus of the project is on building a core geospatial engine. Vendor specific stuff belongs in a seperate module. | ||
- Geojson is the primary format. Topojson can be used as an intermediate format. | ||
- No pull requests will be accepted that provide only style changes. | ||
- Never add an external dependency unless you absolutely have to. Even then, please ask first, because there may be a work around. | ||
- Do not make calls to web services. | ||
- Simplicity is the name of the game. Every feature should be a simple file in /lib with a corresponding file in /test. Reference the new module in index.js and you are all set. | ||
- Testing is absolutely required 100% of the time. Look at the existing tests for examples. | ||
- This is a functional library. Ensure that your functions never have side effects. | ||
- **Always create an issue before starting a new feature. This will allow us to discuss how something is being implemented and integrated. Turned down pull requests are no fun for anyone.** | ||
## Development | ||
### Run Tests | ||
```shell | ||
cd test | ||
mocha . | ||
``` | ||
### Build | ||
```shell | ||
sh build | ||
turf-hello | ||
| | ||
|-tests | ||
| | ||
|-fixtures | ||
| | ||
|-points.geojson | ||
|-test.js | ||
|-index.js | ||
|-README.md | ||
``` |
@@ -52,5 +52,3 @@ module.exports = { | ||
tin: require('turf-tin'), | ||
union: require('turf-union'), | ||
bearing: require('turf-bearing'), | ||
destination: require('turf-destination') | ||
union: require('turf-union') | ||
} |
{ | ||
"name": "turf", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "a node.js library for performing geospatial operations with geojson", | ||
@@ -46,61 +46,59 @@ "main": "index.js", | ||
"dependencies": { | ||
"turf-aggregate": "0.0.3", | ||
"turf-average": "0.0.2", | ||
"turf-bbox-polygon": "^0.1.1", | ||
"turf-bearing": "0.0.2", | ||
"turf-aggregate": "0.1.1", | ||
"turf-average": "0.1.0", | ||
"turf-bbox-polygon": "^0.1.5", | ||
"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-destination": "0.0.5", | ||
"turf-deviation": "0.0.2", | ||
"turf-distance": "^0.1.2", | ||
"turf-donuts": "0.0.2", | ||
"turf-buffer": "0.1.0", | ||
"turf-center": "^0.1.1", | ||
"turf-centroid": "^0.1.2", | ||
"turf-combine": "0.1.1", | ||
"turf-concave": "0.1.1", | ||
"turf-convex": "0.1.1", | ||
"turf-count": "0.1.0", | ||
"turf-deviation": "0.1.0", | ||
"turf-distance": "^0.1.5", | ||
"turf-donuts": "0.1.0", | ||
"turf-envelope": "~0.1.1", | ||
"turf-erase": "0.1.3", | ||
"turf-explode": "^0.1.2", | ||
"turf-extent": "^0.1.2", | ||
"turf-explode": "^0.1.3", | ||
"turf-extent": "^0.1.4", | ||
"turf-featurecollection": "~0.1.0", | ||
"turf-filter": "^0.1.1", | ||
"turf-flip": "0.1.0", | ||
"turf-grid": "0.0.2", | ||
"turf-inside": "^0.1.3", | ||
"turf-filter": "^0.1.2", | ||
"turf-flip": "0.1.2", | ||
"turf-grid": "0.1.0", | ||
"turf-inside": "^0.1.4", | ||
"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-is-clockwise": "0.1.2", | ||
"turf-isobands": "0.1.1", | ||
"turf-isolines": "0.1.1", | ||
"turf-jenks": "0.1.1", | ||
"turf-linestring": "^0.1.1", | ||
"turf-max": "0.0.3", | ||
"turf-median": "0.0.2", | ||
"turf-max": "0.1.2", | ||
"turf-median": "0.1.1", | ||
"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-midpoint": "^0.1.3", | ||
"turf-min": "0.1.2", | ||
"turf-nearest": "^0.1.3", | ||
"turf-planepoint": "0.1.0", | ||
"turf-point": "^0.1.6", | ||
"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-quantile": "0.1.1", | ||
"turf-reclass": "0.1.1", | ||
"turf-remove": "^0.1.2", | ||
"turf-sample": "^0.1.2", | ||
"turf-simplify": "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-size": "^0.1.3", | ||
"turf-square": "^0.1.3", | ||
"turf-sum": "0.1.2", | ||
"turf-tag": "~0.1.2", | ||
"turf-tin": "0.1.0", | ||
"turf-union": "0.0.0", | ||
"turf-variance": "0.0.2", | ||
"turf-within": "^0.1.1" | ||
"turf-variance": "0.1.2", | ||
"turf-within": "^0.1.2" | ||
}, | ||
"devDependencies": { | ||
"browserify": "~4.1.8", | ||
"tape": "^2.13.2", | ||
"uglify-js": "~2.4.13" | ||
"browserify": "~5.10.0", | ||
"tape": "^2.14.0", | ||
"uglify-js": "~2.4.15" | ||
} | ||
} |
@@ -86,6 +86,2 @@ ![turf](https://raw.githubusercontent.com/Turfjs/turf/9a1d5e8d99564d4080f1e2bf1517ed41d18012fa/logo.png) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-bearing.svg?branch=master)](https://travis-ci.org/Turfjs/turf-bearing) [bearing](https://github.com/Turfjs/turf-bearing) | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-destination.svg?branch=master)](https://travis-ci.org/Turfjs/turf-destination) [destination](https://github.com/Turfjs/turf-destination) | ||
####interpolation | ||
@@ -157,1 +153,5 @@ [![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-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) :) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1803220
51
20053
4
+ Addedturf-aggregate@0.1.1(transitive)
+ Addedturf-average@0.1.0(transitive)
+ Addedturf-buffer@0.1.0(transitive)
+ Addedturf-combine@0.1.1(transitive)
+ Addedturf-concave@0.1.1(transitive)
+ Addedturf-convex@0.1.1(transitive)
+ Addedturf-count@0.1.0(transitive)
+ Addedturf-deviation@0.1.0(transitive)
+ Addedturf-donuts@0.1.0(transitive)
+ Addedturf-flip@0.1.2(transitive)
+ Addedturf-grid@0.1.0(transitive)
+ Addedturf-is-clockwise@0.1.2(transitive)
+ Addedturf-isobands@0.1.1(transitive)
+ Addedturf-isolines@0.1.1(transitive)
+ Addedturf-jenks@0.1.1(transitive)
+ Addedturf-max@0.1.2(transitive)
+ Addedturf-median@0.1.1(transitive)
+ Addedturf-min@0.1.2(transitive)
+ Addedturf-planepoint@0.1.0(transitive)
+ Addedturf-quantile@0.1.1(transitive)
+ Addedturf-reclass@0.1.1(transitive)
+ Addedturf-sum@0.1.2(transitive)
+ Addedturf-tin@0.1.0(transitive)
+ Addedturf-variance@0.1.2(transitive)
- Removedturf-bearing@0.0.2
- Removedturf-destination@0.0.5
- Removedturf-aggregate@0.0.3(transitive)
- Removedturf-average@0.0.1(transitive)
- Removedturf-bearing@0.0.2(transitive)
- Removedturf-buffer@0.0.10.0.2(transitive)
- Removedturf-combine@0.0.1(transitive)
- Removedturf-concave@0.0.1(transitive)
- Removedturf-convex@0.0.1(transitive)
- Removedturf-count@0.0.1(transitive)
- Removedturf-destination@0.0.5(transitive)
- Removedturf-deviation@0.0.1(transitive)
- Removedturf-donuts@0.0.2(transitive)
- Removedturf-erase@0.0.0(transitive)
- Removedturf-flip@0.1.0(transitive)
- Removedturf-grid@0.0.10.0.2(transitive)
- Removedturf-is-clockwise@0.0.2(transitive)
- Removedturf-isobands@0.1.0(transitive)
- Removedturf-isolines@0.1.0(transitive)
- Removedturf-jenks@0.1.0(transitive)
- Removedturf-max@0.0.1(transitive)
- Removedturf-median@0.0.1(transitive)
- Removedturf-merge@0.0.0(transitive)
- Removedturf-min@0.0.1(transitive)
- Removedturf-planepoint@0.0.10.0.2(transitive)
- Removedturf-quantile@0.0.4(transitive)
- Removedturf-reclass@0.0.2(transitive)
- Removedturf-size@0.2.0(transitive)
- Removedturf-sum@0.0.1(transitive)
- Removedturf-tin@0.0.1(transitive)
- Removedturf-variance@0.0.1(transitive)
Updatedturf-aggregate@0.1.1
Updatedturf-average@0.1.0
Updatedturf-bbox-polygon@^0.1.5
Updatedturf-buffer@0.1.0
Updatedturf-center@^0.1.1
Updatedturf-centroid@^0.1.2
Updatedturf-combine@0.1.1
Updatedturf-concave@0.1.1
Updatedturf-convex@0.1.1
Updatedturf-count@0.1.0
Updatedturf-deviation@0.1.0
Updatedturf-distance@^0.1.5
Updatedturf-donuts@0.1.0
Updatedturf-explode@^0.1.3
Updatedturf-extent@^0.1.4
Updatedturf-filter@^0.1.2
Updatedturf-flip@0.1.2
Updatedturf-grid@0.1.0
Updatedturf-inside@^0.1.4
Updatedturf-is-clockwise@0.1.2
Updatedturf-isobands@0.1.1
Updatedturf-isolines@0.1.1
Updatedturf-jenks@0.1.1
Updatedturf-max@0.1.2
Updatedturf-median@0.1.1
Updatedturf-midpoint@^0.1.3
Updatedturf-min@0.1.2
Updatedturf-nearest@^0.1.3
Updatedturf-planepoint@0.1.0
Updatedturf-point@^0.1.6
Updatedturf-quantile@0.1.1
Updatedturf-reclass@0.1.1
Updatedturf-remove@^0.1.2
Updatedturf-sample@^0.1.2
Updatedturf-size@^0.1.3
Updatedturf-square@^0.1.3
Updatedturf-sum@0.1.2
Updatedturf-tag@~0.1.2
Updatedturf-tin@0.1.0
Updatedturf-variance@0.1.2
Updatedturf-within@^0.1.2