@koopjs/winnow
Advanced tools
Comparing version 4.2.0 to 4.2.1
{ | ||
"name": "@koopjs/winnow", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Apply sql-like filters to GeoJSON", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -14,3 +14,3 @@ const _ = require('lodash'); | ||
} else if (requiresObjectId && shouldLogIdFieldWarning(properties[idField])) { | ||
logManager.logger.debug(`Unique-identifier (\`${idField}\`) has a value (${properties[idField]}) that is not a valid integer (0 to 2147483647); this may cause problems in some clients.`); | ||
logManager.logger.debug(`Unique-identifier (\`${idField}\`) has a value (${properties[idField]}) that is not a valid integer (0 to ${Number.MAX_SAFE_INTEGER}); this may cause problems in some clients.`); | ||
} | ||
@@ -31,3 +31,3 @@ | ||
function shouldLogIdFieldWarning (idFieldValue) { | ||
return idFieldValue && (!Number.isInteger(idFieldValue) || idFieldValue > 2147483647); | ||
return idFieldValue && (!Number.isInteger(idFieldValue) || idFieldValue > Number.MAX_SAFE_INTEGER); | ||
} | ||
@@ -34,0 +34,0 @@ |
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
86947