New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

oneday-core

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oneday-core - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

28

index.js

@@ -53,8 +53,3 @@ 'use strict';

};
await db.create(params).then(
(result) => {
},
(error) => {
console.log('Error when saving to EventLog table: ' + error);
});
return await db.create(params);
}

@@ -74,11 +69,7 @@

message: error.message,
responseCode: error.statusCode,
created: new Date().toISOString()
}
};
await db.create(params).then(
(result) => {
},
(error) => {
console.log('Error when saving to Error table: ' + error);
});
return await db.create(params);
}

@@ -139,3 +130,14 @@

function generateSuccessResponse(body) {
async function generateSuccessResponse(body, requestId) {
const params = {
TableName: process.env.incomingTable,
Key: {HashKey: requestId},
UpdateExpression: "set #responseCode = :code",
// ConditionExpression: '#a < :MAX',
ExpressionAttributeNames: {'#responseCode': 'responseCode'},
ExpressionAttributeValues: {':code': 200}
};
await db.update(params);
return {

@@ -142,0 +144,0 @@ statusCode: 200,

{
"name": "oneday-core",
"version": "1.0.23",
"version": "1.0.24",
"description": "Basic AWS util functions to ease development.",

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

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