@koopjs/featureserver
Advanced tools
Comparing version 8.3.0 to 8.3.1
{ | ||
"name": "@koopjs/featureserver", | ||
"version": "8.3.0", | ||
"version": "8.3.1", | ||
"description": "*An open source implementation of the GeoServices specification*", | ||
@@ -11,7 +11,3 @@ "main": "src/index.js", | ||
"test": "mocha '**/*.spec.js' --recursive -t 5000", | ||
"test:cov": "nyc -r=json-summary mocha '**/*.spec.js' && npm run cov:badge && npm run test:cov:unit", | ||
"test:cov:unit": "nyc -r=json-summary --report-dir=coverage_unit --temp-dir=.nyc_output_unit mocha 'src/**/*.spec.js' && npm run cov:badge:unit", | ||
"test:cov:unit:loc": "nyc -r=html --report-dir=coverage_unit --temp-dir=.nyc_output_unit mocha 'src/**/*.spec.js' && npm run cov:badge:unit", | ||
"cov:badge": "coverage-badges-cli --output ./coverage.svg", | ||
"cov:badge:unit": "coverage-badges-cli --source coverage_unit/coverage-summary.json --output ./coverage-unit.svg" | ||
"test:unit": "mocha 'src/**/*.spec.js' --recursive -t 5000" | ||
}, | ||
@@ -37,6 +33,6 @@ "contributors": [ | ||
"iso-datestring-validator": "^2.2.2", | ||
"joi": "^17.12.0", | ||
"joi": "^17.12.1", | ||
"lodash": "^4.17.21", | ||
"postgres-date": "^2.1.0", | ||
"protobufjs": "^7.2.5", | ||
"protobufjs": "^7.2.6", | ||
"wkt-parser": "^1.3.3" | ||
@@ -46,3 +42,3 @@ }, | ||
"express": "^4.18.2", | ||
"mocha": "^10.0.0", | ||
"mocha": "^10.3.0", | ||
"nyc": "^15.1.0", | ||
@@ -49,0 +45,0 @@ "proxyquire": "^2.1.3", |
@@ -6,5 +6,7 @@ const joi = require('joi'); | ||
const MAX_RECORD_COUNT = 2000; | ||
const description = | ||
const SERVICE_DESCRIPTION = | ||
'This is a feature service exposed with Koop. For more information go to https://github.com/koopjs/koop.'; | ||
const copyrightText = | ||
const LAYER_DESCRIPTION = | ||
'This is a feature layer exposed with Koop. For more information go to https://github.com/koopjs/koop.'; | ||
const COPYRIGHT = | ||
'Copyright information varies by provider. For more information please contact the source of this data.'; | ||
@@ -28,5 +30,5 @@ const SPATIAL_REFERENCE = { | ||
server: { | ||
serviceDescription: description, | ||
description, | ||
copyrightText, | ||
serviceDescription: SERVICE_DESCRIPTION, | ||
description: SERVICE_DESCRIPTION, | ||
copyrightText: COPYRIGHT, | ||
fullExtent: EXTENT, | ||
@@ -38,4 +40,4 @@ initialExtent: EXTENT, | ||
layer: { | ||
description, | ||
copyrightText, | ||
description: LAYER_DESCRIPTION, | ||
copyrightText: COPYRIGHT, | ||
extent: EXTENT, | ||
@@ -42,0 +44,0 @@ }, |
@@ -19,3 +19,4 @@ const joi = require('joi'); | ||
tolerance: joi.number().optional(), | ||
extent: esriExtentSchema.optional() | ||
extent: esriExtentSchema.optional(), | ||
mode: joi.string().optional(), | ||
}); | ||
@@ -22,0 +23,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
5648
265031
Updatedjoi@^17.12.1
Updatedprotobufjs@^7.2.6