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.10.0 to 1.10.1

18

example/stackdef.md

@@ -7,3 +7,3 @@ ## Todo list to create your stack

- [ ] add permissions for `dbConsumer.js` to access `topic`
- [ ] add permissions for `dbConsumer.js` to access `failover-db-queue`
- [ ] add `failover-db-queue` as dlq/ failover for `dbConsumer.js`
- [ ] add queue stack for `cover-dlq-queue`

@@ -30,3 +30,3 @@ - [ ] add auth stack for `auth`

- [ ] add permissions for `updateCover.js` to access `table`
- [ ] add permissions for `updateCover.js` to access `cover-dlq-queue`
- [ ] add `cover-dlq-queue` as dlq/ failover for `updateCover.js`
- [ ] add queue stack for `failover-db-queue`

@@ -42,3 +42,2 @@ - [ ] add API stack for `GET /user`

- [ ] add update for `table` to update cover
- [ ] add update for `cover-dlq-queue` to failed cover calls
- [ ] create `createUser.js` handler

@@ -59,3 +58,2 @@ - [ ] add update for `table` to create new user

- [ ] add update for `topic`
- [ ] add update for `failover-db-queue`
- [ ] create `get.js` handler to user details upon login

@@ -65,8 +63,12 @@ - [ ] add query of `table`

### In `/npm` folder expose functions and arn info for client
- [ ] expose arn for queue `cover-dlq-queue`
- [ ] expose arn for queue `failover-db-queue`
- [ ] 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 endppint url for API `DELETE /user`
- [ ] expose endppint url for API `GET /user`
- [ ] expose endppint url for API `POST /user`
- [ ] expose function `getUser.js` to query `get.js`
- [ ] expose function `getUserByEmail.js` to query `getByEmail.js`
- [ ] expose function `getUserByEmail.js` to query `getByEmail.js`
- [ ] expose url endpoint for API `DELETE /user`
- [ ] expose url endpoint for API `GET /user`
- [ ] expose url endpoint for API `POST /user`
- [ ] expose url endpoint for queue `cover-dlq-queue`
- [ ] expose url endpoint for queue `failover-db-queue`

@@ -31,3 +31,6 @@ // libs to create checklist from structObj

for (const item of list) {
const newTodo = `${indent} - [ ] add permissions for \`${name}\` to access ${niceName(item)}`
const isDlq = (item.name.includes('dlq') || item.name.includes('failover'))
const newTodo = (isDlq) ?
`${indent} - [ ] add ${niceName(item)} as dlq/ failover for \`${name}\``
: `${indent} - [ ] add permissions for \`${name}\` to access ${niceName(item)}`
output.push(newTodo)

@@ -90,2 +93,4 @@ }

for (const pub of pubs) {
const isDlq = (pub.name.includes('dlq') || pub.name.includes('failover'))
if (isDlq) continue
const desc = (pub.description) ? ` to ${pub.description}` : ''

@@ -92,0 +97,0 @@ const newTodo = ` - [ ] add update for ${niceName(pub)}${desc}`

{
"name": "stack-graph",
"version": "1.10.0",
"version": "1.10.1",
"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