Comparing version 1.16.7 to 1.16.8
@@ -5,2 +5,9 @@ # Change Log | ||
## [1.16.8] - 06-21-2019 | ||
### Fixed | ||
* turf.js centroid function assignment | ||
### Changed | ||
* more descriptive message about `idField` value not conforming | ||
## [1.16.7] - 06-11-2019 | ||
@@ -305,2 +312,3 @@ ### Fixed | ||
[1.16.8]: https://github.com/featureserver/winnow/compare/v1.16.7...v1.16.8 | ||
[1.16.7]: https://github.com/featureserver/winnow/compare/v1.16.6...v1.16.7 | ||
@@ -307,0 +315,0 @@ [1.16.6]: https://github.com/featureserver/winnow/compare/v1.16.5...v1.16.6 |
@@ -7,3 +7,3 @@ var Terraformer = require('terraformer') | ||
var geohash = require('ngeohash') | ||
var centroid = require('@turf/centroid') | ||
var centroid = require('@turf/centroid').default | ||
var _ = require('lodash') | ||
@@ -159,3 +159,3 @@ var projectCoordinates = require('./geometry/project-coordinates') | ||
if (process.env.NODE_ENV !== 'production' && process.env.KOOP_WARNINGS !== 'suppress' && (!Number.isInteger(properties[idField]) || properties[idField] > 2147483647)) { | ||
console.warn("WARNING: OBJECTIDs created from provider's \"idField\" are not integers from 0 to 2147483647") | ||
console.warn(("WARNING: OBJECTIDs created from provider's \"idField\" (" + idField + ": " + (properties[idField]) + ") are not integers from 0 to 2147483647")) | ||
} | ||
@@ -162,0 +162,0 @@ } else { |
{ | ||
"name": "winnow", | ||
"version": "1.16.7", | ||
"version": "1.16.8", | ||
"description": "Apply sql-like filters to GeoJSON", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
97672