Comparing version 0.6.0 to 0.6.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130594
3252