Socket
Socket
Sign inDemoInstall

swagger-stats

Package Overview
Dependencies
58
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.95.1 to 0.95.2

.nyc_output/4afe5c3a55c37bb83bc74f0ae1ea1352.json

8

lib/swsElasticEmitter.js

@@ -56,2 +56,8 @@ /**

this.elasticURL = swsOptions[swsUtil.supportedOptions.elasticsearch];
if (!this.elasticURL) {
debug('Elasticsearch url is invalid');
return;
}
this.elasticURLBulk = this.elasticURL +'/_bulk';

@@ -158,3 +164,3 @@

}
if (('statusCode' in response) && (response.statusCode !== 200)) {
if (response && ('statusCode' in response) && (response.statusCode !== 200)) {
debug('Indexing Error: %d %s',response.statusCode, response.message);

@@ -161,0 +167,0 @@ }

2

package.json
{
"name": "swagger-stats",
"version": "0.95.1",
"version": "0.95.2",
"description": "API Telemetry and APM. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices, based on express routes and Swagger (Open API) specification",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

{
"template": "api-*",
"settings": {
"index.refresh_interval": "1s",
"analysis": {

@@ -14,3 +15,3 @@ "analyzer": {

"version": 103,
"version": 104,
"mappings": {

@@ -17,0 +18,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc