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

@architect/data

Package Overview
Dependencies
Maintainers
7
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@architect/data - npm Package Compare versions

Comparing version 2.0.16 to 2.0.17

2

package.json
{
"name": "@architect/data",
"version": "2.0.16",
"version": "2.0.17",
"description": "Dynamically generate a DynamoDB data access layer from an .arc file",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/arc-repos/arc-data",

@@ -84,10 +84,12 @@ var _db = require('./db')

// this creates the data.tablename namespace
var index = 0
var names = arc.tables.map(t=> Object.keys(t)[0])
names.forEach(table=> {
layer[table] = pfy(data[index])
index += 1
})
if (arc.tables) {
let index = 0
let names = arc.tables.map(t=> Object.keys(t)[0])
names.forEach(table=> {
layer[table] = pfy(data[index])
index += 1
})
}
return layer
}
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