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

lib-task-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-task-scheduler - npm Package Compare versions

Comparing version 2.0.82 to 2.0.85

18

dist/src/sqs_queue.js

@@ -39,2 +39,4 @@ "use strict";

this.log.error(`Message Body cannot be parsed as JSON (dropping): ${sqsMessage.Body}`);
// Drop the message.
yield this.sqsClient.deleteMessage(sqsMessage.ReceiptHandle);
}

@@ -45,10 +47,12 @@ else {

}
if (!message.id) {
message.id = sqsMessage.MessageId;
if (message) {
if (!message.id) {
message.id = sqsMessage.MessageId;
}
this.messageMeta[message.id] = {
receiptHandle: sqsMessage.ReceiptHandle,
receiveCount: parseInt(sqsMessage.Attributes['ApproximateReceiveCount']),
};
return message;
}
this.messageMeta[message.id] = {
receiptHandle: sqsMessage.ReceiptHandle,
receiveCount: parseInt(sqsMessage.Attributes['ApproximateReceiveCount']),
};
return message;
}

@@ -55,0 +59,0 @@ return null;

{
"name": "lib-task-scheduler",
"version": "2.0.82",
"version": "2.0.85",
"description": "A lightweight, modular task scheduler.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/convoyinc/lib-task-scheduler",

Sorry, the diff of this file is not supported yet

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