@xapp/dynamo-service
Advanced tools
Comparing version 0.0.38 to 0.0.39
@@ -64,3 +64,3 @@ "use strict"; | ||
if (!code) { | ||
code = "#NC" + this.nameCount; | ||
code = `#${this.prefix}NC${this.nameCount}`; | ||
this.cachedNames[key] = code; | ||
@@ -75,3 +75,3 @@ this.ExpressionAttributeNames[code] = key; | ||
addValue(value) { | ||
const code = ":VC" + this.valueCount; | ||
const code = `:${this.prefix}VC${this.valueCount}`; | ||
if (!this.ExpressionAttributeValues) { | ||
@@ -96,2 +96,3 @@ this.ExpressionAttributeValues = {}; | ||
super(query); | ||
this.prefix = "___scan_"; | ||
if (query) { | ||
@@ -124,2 +125,3 @@ if (inclusive) { | ||
super(query); | ||
this.prefix = "___cond_"; | ||
if (query) { | ||
@@ -152,2 +154,3 @@ if (inclusive) { | ||
super(); | ||
this.prefix = "___index_"; | ||
this.IndexName = indexName; | ||
@@ -266,3 +269,3 @@ this.KeyConditionExpression = ""; | ||
let filterExpression = getExpression(query); | ||
const regex = /((:|#)[a-z0-9]*)/gi; | ||
const regex = /((:|#)[a-z0-9-_]*)/gi; | ||
const split = filterExpression.split(" "); | ||
@@ -269,0 +272,0 @@ const conjunctRegex = /AND|OR/gi; |
{ | ||
"name": "@xapp/dynamo-service", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"description": "A dynamo help class which will help maintain data integrity.", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
119827
3243