You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

winnow

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winnow - npm Package Compare versions

Comparing version

to
1.7.0

5

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## [1.7.0] - 02-27-2017
### Added
* Support for geometry filters specified as strings
## [1.6.0] - 02-27-2017

@@ -98,2 +102,3 @@ ### Added

[1.6.0]: https://github.com/dmfenton/winnow/compare/v1.6.0...v1.7.0
[1.6.0]: https://github.com/dmfenton/winnow/compare/v1.6.0...v1.5.4

@@ -100,0 +105,0 @@ [1.5.4]: https://github.com/dmfenton/winnow/compare/v1.5.3...v1.5.4

3

dist/options.js

@@ -79,2 +79,5 @@ var transformEnvelope = require('./geometry/transform-envelope')

var geometry = options.geometry
if (typeof geometry === 'string') {
geometry = geometry.split(',').map(parseFloat)
}
if (Array.isArray(geometry)) {

@@ -81,0 +84,0 @@ geometry = transformArray(geometry)

8

package.json
{
"name": "winnow",
"version": "1.6.0",
"version": "1.7.0",
"description": "Apply sql-like filters to GeoJSON",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"type": "git",
"url": "git+https://github.com/dmfenton/winnow.git"
"url": "git+https://github.com/FeatureServer/winnow.git"
},

@@ -30,5 +30,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/dmfenton/winnow/issues"
"url": "https://github.com/FeatureServer/winnow/issues"
},
"homepage": "https://github.com/dmfenton/winnow#readme",
"homepage": "https://github.com/FeatureServer/winnow#readme",
"dependencies": {

@@ -35,0 +35,0 @@ "@turf/bbox-polygon": "^3.10.3",