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.35 to 1.0.36

10

db.js

@@ -98,3 +98,3 @@ const aws = require('aws-sdk');

async function create(params, topicName, requestId, isPublish = true) {
async function create(params, requestId, isPublish = true, topicName = process.env.eventTopic) {

@@ -110,5 +110,2 @@ const now = new Date().toISOString();

if (isPublish === true) {
if (topicName === null) {
topicName = process.env.eventTopic;
}
await resource.publishToTopic(topicName, enums.event_type.CREATE, params, requestId, []);

@@ -127,3 +124,3 @@ }

async function update(params, topicName, requestId, isPublish = true) {
async function update(params, requestId, isPublish = true, topicName = process.env.eventTopic) {
const now = new Date().toISOString();

@@ -143,5 +140,2 @@ const expr = params.UpdateExpression;

if (isPublish === true) {
if (topicName === null) {
topicName = process.env.eventTopic;
}
await resource.publishToTopic(topicName, enums.event_type.UPDATE, params, requestId, []);

@@ -148,0 +142,0 @@ }

2

package.json
{
"name": "oneday-core",
"version": "1.0.35",
"version": "1.0.36",
"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