serverless-leo
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -161,3 +161,4 @@ 'use strict' | ||
this.serverless.cli.log(`Invoking local lambda ${functionKey} with data: ${JSON.stringify(event)}`) | ||
return execSync(`serverless invoke local -f ${functionKey} -d ${JSON.stringify(JSON.stringify(event))}`, { stdio: 'inherit' }) | ||
const environmentSetString = Object.entries(process.env).filter(i => !/ /.test(i[1])).map(([key, value]) => ` -e ${key}="${value}"`).join('') | ||
return execSync(`serverless invoke local -f ${functionKey} -d ${JSON.stringify(JSON.stringify(event))}${environmentSetString}`, { stdio: 'inherit' }) | ||
} | ||
@@ -164,0 +165,0 @@ } |
@@ -16,4 +16,3 @@ 'use strict' | ||
Type: 'Custom::Install', | ||
Properties: {}, | ||
LastUpdated: Date.now() | ||
Properties: {} | ||
} | ||
@@ -20,0 +19,0 @@ |
{ | ||
"name": "serverless-leo", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Serverless plugin for leo microservices", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
58737
11