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.5.2 to 8.5.3

4

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

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

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

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

@@ -25,3 +25,3 @@ const _ = require('lodash');

*/
function renderFeaturesResponse(data = {}, params = {}) {
function renderFeaturesResponse(data, params) {
const template = _.cloneDeep(featureResponseTemplate);

@@ -34,3 +34,5 @@

const { metadata: { limitExceeded, transform, idField, hasZ } = {} } = data;
const {
metadata: { exceededTransferLimit = false, transform, idField, hasZ } = {},
} = data;

@@ -42,3 +44,3 @@ const computedProperties = {

features: data.features || [],
exceededTransferLimit: !!limitExceeded,
exceededTransferLimit,
objectIdFieldName: idField || objectIdFieldNameDefault,

@@ -45,0 +47,0 @@ uniqueIdField: {

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