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

@koopjs/output-geoservices

Package Overview
Dependencies
Maintainers
7
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koopjs/output-geoservices - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

4

package.json
{
"name": "@koopjs/output-geoservices",
"version": "5.0.0",
"version": "5.1.0",
"description": "Wraps FeatureServer as a Koop output plugin",

@@ -34,4 +34,4 @@ "main": "src/index.js",

"@koopjs/featureserver": "5.0.1",
"@koopjs/logger": "3.0.1"
"@koopjs/logger": "4.0.0"
}
}
const FeatureServer = require('@koopjs/featureserver');
const koopConfig = require('config');
const Logger = require('../../logger/src');
const log = new Logger();
console.log('WARNING: "/MapServer" routes will be registered, but only for specialized 404 handling in FeatureServer.');
const Logger = require('@koopjs/logger');
let logger = new Logger();
function Geoservices () {}
function Geoservices (model, options) {
this.model = model;
if (options.logger) {
logger = options.logger;
}
}

@@ -118,3 +122,3 @@ /**

// Log error then make generic for response
log.error('error', error);
logger.error('error', error);
return { message: 'Internal Server Error', code: 500};

@@ -121,0 +125,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