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.6.0 to 0.6.1

9

db/index.js

@@ -191,2 +191,3 @@ var crypto = require('crypto'),

if (keyPiece == null) return ''
if (type == 'B') return new Buffer(keyPiece, 'base64').toString('hex')
if (type != 'N') return keyPiece

@@ -410,3 +411,3 @@ var bigNum = Big(keyPiece), digits,

(attrType == 'N' && !Big(attrVal).lte(compVal)) ||
(attrType != 'N' && attrVal > compVal)) return false
(attrType != 'N' && toLexiStr(attrVal, attrType) > toLexiStr(compVal, attrType))) return false
break

@@ -416,3 +417,3 @@ case 'LT':

(attrType == 'N' && !Big(attrVal).lt(compVal)) ||
(attrType != 'N' && attrVal >= compVal)) return false
(attrType != 'N' && toLexiStr(attrVal, attrType) >= toLexiStr(compVal, attrType))) return false
break

@@ -422,3 +423,3 @@ case 'GE':

(attrType == 'N' && !Big(attrVal).gte(compVal)) ||
(attrType != 'N' && attrVal < compVal)) return false
(attrType != 'N' && toLexiStr(attrVal, attrType) < toLexiStr(compVal, attrType))) return false
break

@@ -428,3 +429,3 @@ case 'GT':

(attrType == 'N' && !Big(attrVal).gt(compVal)) ||
(attrType != 'N' && attrVal <= compVal)) return false
(attrType != 'N' && toLexiStr(attrVal, attrType) <= toLexiStr(compVal, attrType))) return false
break

@@ -431,0 +432,0 @@ case 'NOT_NULL':

{
"name": "dynalite",
"version": "0.6.0",
"version": "0.6.1",
"description": "A mock implementation of Amazon's DynamoDB built on LevelDB",

@@ -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