Comparing version 1.0.29 to 1.0.30
{ | ||
"name": "manyfest", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "JSON Object Manifest for Data Description and Parsing", | ||
@@ -5,0 +5,0 @@ "main": "source/Manyfest.js", |
@@ -36,3 +36,3 @@ // Given a string, parse out any conditional expressions and set whether or not to keep the record. | ||
case 'LENGTH_GREATER_THAN': | ||
switch(typeof(typeof(pManyfest.getValueAtAddress(pRecord, pSearchAddress)))) | ||
switch(typeof(pManyfest.getValueAtAddress(pRecord, pSearchAddress))) | ||
{ | ||
@@ -52,3 +52,3 @@ case 'string': | ||
case 'LENGTH_LESS_THAN': | ||
switch(typeof(typeof(pManyfest.getValueAtAddress(pRecord, pSearchAddress)))) | ||
switch(typeof(pManyfest.getValueAtAddress(pRecord, pSearchAddress))) | ||
{ | ||
@@ -113,3 +113,2 @@ case 'string': | ||
*/ | ||
let tmpStartIndex = pAddress.indexOf(_ConditionalStanzaStart); | ||
@@ -116,0 +115,0 @@ |
@@ -67,3 +67,4 @@ /** | ||
'files[]<<~?thumbnail,TRUE?~>>': {Name:'Thumbnail Files', Hash:'ThumbnailFiles'}, | ||
'files[]<<~?thumbnail,FALSE?~>>': {Name:'Not Thumbnail Files', Hash:'NotThumbnailFiles'} | ||
'files[]<<~?thumbnail,FALSE?~>>': {Name:'Not Thumbnail Files', Hash:'NotThumbnailFiles'}, | ||
'files[]<<~?format,LENGTH_LESS_THAN,8?~>>': {Name:'Short Format Files', Hash:'ShortFormatFiles'} | ||
} | ||
@@ -98,2 +99,6 @@ }); | ||
let tmpShortFormatFiles = _Manyfest.getValueByHash(_SampleDataArchiveOrgFrankenberry, 'ShortFormatFiles'); | ||
Expect(tmpShortFormatFiles).to.be.an('array'); | ||
Expect(tmpShortFormatFiles.length).to.equal(1); | ||
fTestComplete(); | ||
@@ -100,0 +105,0 @@ } |
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
980801
8779