Socket
Socket
Sign inDemoInstall

serverless-leo

Package Overview
Dependencies
10
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.10 to 1.3.11

7

lib/leo.js

@@ -57,3 +57,4 @@ 'use strict'

const config = leoEvent.leo instanceof Object ? leoEvent.leo : false
const prefix = config && config.prefix ? `${config.prefix}-` : ''
const prefix = config && config.prefix ? `${config.prefix}` : undefined
const botPrefix = prefix ? `${prefix}-` : ''
const sourceQueue = config ? config.queue : leoEvent.leo

@@ -63,3 +64,3 @@ const botNumbers = times((config && config.botCount) || 1, Number)

const botSuffix = botNumber > 0 ? '-' + botNumber : ''
let botId = `${this.serverless.service.service}-${stage}-${prefix}${ymlFunctionName}${botSuffix}`
let botId = `${this.serverless.service.service}-${stage}-${botPrefix}${ymlFunctionName}${botSuffix}`
const installProperty = {

@@ -80,3 +81,3 @@ id: botId,

if (sourceQueue) {
botId = `${this.serverless.service.service}-${stage}-${prefix}${sourceQueue}-${ymlFunctionName}${botSuffix}`
botId = `${this.serverless.service.service}-${stage}-${botPrefix}${sourceQueue}-${ymlFunctionName}${botSuffix}`
installProperty.id = botId

@@ -83,0 +84,0 @@ installProperty.settings.source = sourceQueue

{
"name": "serverless-leo",
"version": "1.3.10",
"version": "1.3.11",
"description": "Serverless plugin for leo microservices",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc