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

dynogels-promise

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynogels-promise - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

lib/createTables.js
'use strict'
const _ = require('lodash')
const async = require('async')
const _ = require('lodash')
const Promise = require('bluebird')

@@ -70,3 +71,3 @@ const internals = {}

module.exports = (models, config, callback) => {
module.exports = Promise.promisify((models, config, callback) => {
async.eachSeries(

@@ -83,2 +84,2 @@ _.keys(models),

)
}
})
const Promise = require('bluebird')
const dynogels = require('./dynamodb')
const dynogelsModel = dynogels.model
dynogels.model = function (name, model) {
if (model) {
Promise.promisifyAll(model)
}
return dynogelsModel.apply(dynogels, arguments)
}
Promise.promisifyAll(dynogels)
module.exports = dynogels
{
"name": "dynogels-promise",
"version": "1.0.3",
"version": "1.0.4",
"description": "Promisified dynogels module",

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

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