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

serverless-leo

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

serverless-leo - npm Package Compare versions

Comparing version 1.3.14 to 1.3.15

4

lib/leo.js

@@ -69,4 +69,4 @@ 'use strict'

}
// Only add the queue to the bot name if there are multiple events
if (sourceQueue && leoEvents.length > 1) {
// Only add the queue to the bot name if there are multiple events and no prefix
if (sourceQueue && !botPrefix && leoEvents.length > 1) {
botId = `${this.serverless.service.service}-${stage}-${botPrefix}${sourceQueue}-${ymlFunctionName}${botSuffix}`

@@ -73,0 +73,0 @@ } else {

{
"name": "serverless-leo",
"version": "1.3.14",
"version": "1.3.15",
"description": "Serverless plugin for leo microservices",

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

@@ -176,3 +176,3 @@ 'use strict'

'cron': '* * * * * *',
'prefix': 'prename'
'prefix': 'prename2'
}

@@ -184,5 +184,5 @@ }

expect(sls.serverless.service.provider.compiledCloudFormationTemplate.Resources['LeoRegister0']
.Properties['hello-serverless-leo-world-dev-prename-test_hello-helloNodeWorld'].name).to.equal('prename-test_hello-helloNodeWorld')
.Properties['hello-serverless-leo-world-dev-prename-helloNodeWorld'].name).to.equal('prename-helloNodeWorld')
expect(sls.serverless.service.provider.compiledCloudFormationTemplate.Resources['LeoRegister0']
.Properties['hello-serverless-leo-world-dev-prename-helloNodeWorld'].name).to.equal('prename-helloNodeWorld')
.Properties['hello-serverless-leo-world-dev-prename2-helloNodeWorld'].name).to.equal('prename2-helloNodeWorld')
})

@@ -189,0 +189,0 @@ it('names the bot using lambda name if there is only one cron event', async () => {

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