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

volos-analytics-apigee

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volos-analytics-apigee - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

npm-shrinkwrap.json

10

lib/apigeeanalytics.js

@@ -86,5 +86,7 @@ /****************************************************************************

if (err || resp.statusCode !== 200) {
cb(err || new Error('error from server: ' + resp.statusCode), recordsToBeUploaded);
cb(err || new Error('error from server: ' + resp.statusCode), recordsQueue);
} else if( resp.body ) {
resp.body.rejected > 0 ? cb(undefined, recordsQueue.slice(recordsQueue.length - resp.body.rejected)) : cb();
} else {
resp.body.rejected > 0 ? cb(undefined, recordsQueue.slice(recordsQueue.length - resp.body.rejected)) : cb();
cb(new Error('Empty response from server: ' + resp.statusCode));
}

@@ -151,3 +153,5 @@ }

ApigeeAnalyticsSpi.prototype.send = function send(data, cb) {
if ( !data ) { // add null check to payload
return;
}
var options = {

@@ -154,0 +158,0 @@ url: this.uri,

{
"name": "volos-analytics-apigee",
"version": "0.4.2",
"version": "0.4.3",
"main": "lib/apigeeanalytics.js",

@@ -16,3 +16,3 @@ "license": "MIT",

"request": "^2.6.0",
"volos-analytics-common": "0.2.x"
"volos-analytics-common": "^0.2.5"
},

@@ -19,0 +19,0 @@ "devDependencies": {},

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