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.42 to 1.0.43

2

db.js

@@ -172,5 +172,5 @@ const aws = require('aws-sdk');

}
await resource.publishToTopic(topicName, enums.event_type.DELETE, result, requestId.Attributes, change);
await resource.publishToTopic(topicName, enums.event_type.DELETE, result.Attributes, change);
}
return result;
}
{
"name": "oneday-core",
"version": "1.0.42",
"version": "1.0.43",
"description": "Basic AWS util functions to ease development.",

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

@@ -36,3 +36,4 @@ 'use strict';

let params = null;
let params = {};
const entityType = topicName.split('-')[0];
try {

@@ -71,3 +72,3 @@ if (Object.keys(enums.event_type).indexOf(eventType.toUpperCase()) < 0) {

DataType: 'String',
StringValue: topicName.split('-')[0]
StringValue: entityType
}

@@ -89,3 +90,3 @@ },

requestId: requestId,
function: 'Publish_Topic_' + eventType,
function: 'Publish_Topic_' + eventType + '_' + entityType,
data: params,

@@ -98,3 +99,3 @@ error: error,

};
return await db.create(params, false, null);
await db.create(params, false, null);
}

@@ -101,0 +102,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