Socket
Socket
Sign inDemoInstall

stack-graph

Package Overview
Dependencies
1
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 1.7.0

8

example/stackdef.md

@@ -61,5 +61,5 @@ ## Todo list to create your stack

- [ ] expose arn for API `POST /user`
- [ ] expose arn for function `getUser.js`
- [ ] expose arn for function `getUserByEmail.js`
- [ ] expose function `getUser.js`to query `get.js`
- [ ] expose function `getUserByEmail.js`to query `getByEmail.js`
- [ ] expose arn of `get.js` for permission to invoke function `getUser.js`
- [ ] expose arn of `getByEmail.js` for permission to invoke function `getUserByEmail.js`
- [ ] expose function `getUser.js` to query `get.js`
- [ ] expose function `getUserByEmail.js` to query `getByEmail.js`

@@ -111,9 +111,14 @@ // libs to create checklist from structObj

case "function":
const arnName = (node.pubs) ?
node.pubs[0].name
: (node.queries) ?
node.queries[0].name
: ' (something?)'
const specs = (node.pubs) ?
`to invoke \`${node.pubs[0].name}\``
` to invoke \`${node.pubs[0].name}\``
: (node.queries) ?
`to query \`${node.queries[0].name}\``
: ''
` to query \`${node.queries[0].name}\``
: ' (something?)'
output.push(` - [ ] expose function \`${node.name}\`${specs}`)
output.push(` - [ ] expose arn for function \`${node.name}\``)
output.push(` - [ ] expose arn of \`${arnName}\` for permission to invoke function \`${node.name}\``)
break

@@ -120,0 +125,0 @@

{
"name": "stack-graph",
"version": "1.6.0",
"version": "1.7.0",
"description": "Build graphviz from stack definition file. Outputs .dot file, .json file (structure), .md file (todo list), and .png or .svg graph. Companion to sst-serverless microservice stack",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc