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

dynalite

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynalite - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

7

actions/listTables.js

@@ -1,3 +0,2 @@

var lazy = require('lazy'),
once = require('once'),
var once = require('once'),
db = require('../db'),

@@ -8,3 +7,3 @@ tableDb = db.tableDb

cb = once(cb)
var opts
var opts, keys

@@ -14,3 +13,3 @@ if (data.ExclusiveStartTableName)

var keys = lazy(tableDb.createKeyStream(opts)).on('error', cb)
keys = db.lazy(tableDb.createKeyStream(opts), cb)

@@ -17,0 +16,0 @@ if (data.Limit) keys = keys.take(data.Limit)

@@ -1,2 +0,4 @@

var levelup = require('levelup'),
var Readable = require('stream').Readable,
lazy = require('lazy'),
levelup = require('levelup'),
MemDown = require('memdown'),

@@ -10,2 +12,3 @@ sublevel = require('level-sublevel'),

exports.lazy = lazyStream
exports.tableDb = tableDb

@@ -34,1 +37,11 @@ exports.itemDb = itemDb

}
function lazyStream(stream, errHandler) {
if (Readable) {
stream = new Readable().wrap(stream)
stream.setEncoding('utf8')
}
if (errHandler) stream.on('error', errHandler)
return lazy(stream)
}
{
"name": "dynalite",
"version": "0.0.3",
"version": "0.0.4",
"description": "A mock implementation of Amazon's DynamoDB",

@@ -5,0 +5,0 @@ "main": "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