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

@koopjs/featureserver

Package Overview
Dependencies
Maintainers
7
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koopjs/featureserver - npm Package Compare versions

Comparing version 8.1.7 to 8.1.8

4

package.json
{
"name": "@koopjs/featureserver",
"version": "8.1.7",
"version": "8.1.8",
"description": "*An open source implementation of the GeoServices specification*",

@@ -30,3 +30,3 @@ "main": "src/index.js",

"@koopjs/logger": "5.0.0",
"@koopjs/winnow": "4.2.0",
"@koopjs/winnow": "4.2.1",
"@terraformer/spatial": "^2.1.2",

@@ -33,0 +33,0 @@ "chroma-js": "^2.4.2",

@@ -9,5 +9,7 @@ const _ = require('lodash');

if (esriFormat && !metadata.idField) {
const properties = _.get(features, '[0].properties') || _.get(features, '[0].attributes');
if (esriFormat && !metadata.idField && properties?.OBJECTID === undefined) {
logManager.logger.debug(
'requested provider has no "idField" assignment. You will get the most reliable behavior from ArcGIS clients if the provider assigns the "idField" to a property that is an unchanging 32-bit integer. An OBJECTID field will be auto-generated in the absence of an "idField" assignment.',
`provider data has no OBJECTID and has no "idField" assignment. You will get the most reliable behavior from ArcGIS clients if the provider assigns the "idField" to a property that is an integer in range 0 - ${Number.MAX_SAFE_INTEGER}. An OBJECTID field will be auto-generated in the absence of an "idField" assignment.`,
);

@@ -22,6 +24,6 @@ }

if (metadata.fields && _.has(features, '[0].properties')) {
compareFieldDefintionsToFeature(metadata.fields, features[0].properties);
if (metadata.fields && properties) {
compareFieldDefintionsToFeature(metadata.fields, properties);
compareFeatureToFieldDefinitions(features[0].properties, metadata.fields);
compareFeatureToFieldDefinitions(properties, metadata.fields);
}

@@ -28,0 +30,0 @@ }

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