Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

winnow

Package Overview
Dependencies
Maintainers
4
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 2.2.2 to 2.2.3

lib/calculate-class-breaks/calculate-std-dev-intervals.js

5

CHANGELOG.md

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

## [2.2.3] - 01-25-2021
### Changed
* Refactored class break generation
## [2.2.2] - 12-16-2020

@@ -375,2 +379,3 @@ ### Fixed

[2.2.3]: https://github.com/featureserver/winnow/compare/v2.2.2...v2.2.3
[2.2.2]: https://github.com/featureserver/winnow/compare/v2.2.1...v2.2.2

@@ -377,0 +382,0 @@ [2.2.1]: https://github.com/featureserver/winnow/compare/v2.2.0...v2.2.1

6

lib/query/classification-query.js
const standardQuery = require('./standard-query')
const { calculateClassBreaks, calculateUniqueValueBreaks } = require('../generateBreaks/index')
const calculateClassBreaks = require('../calculate-class-breaks')
const uniqueValueQuery = require('./unique-value-query')

@@ -17,4 +18,3 @@ function classificationQuery (features, sqlstatement, options) {

if (type === 'unique') {
const { options, query: sqlBreaksStatement } = calculateUniqueValueBreaks(filtered, classification)
return standardQuery(filtered, sqlBreaksStatement, { ...options, skipLimitHandling: true })
return uniqueValueQuery(filtered, classification)
}

@@ -21,0 +21,0 @@

{
"name": "winnow",
"version": "2.2.2",
"version": "2.2.3",
"description": "Apply sql-like filters to GeoJSON",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc