openrosa-xpath-evaluator
Advanced tools
Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "openrosa-xpath-evaluator", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Wrapper for browsers' XPath evaluator with added support for OpenRosa extensions.", | ||
@@ -5,0 +5,0 @@ "main": "src/openrosa-xpath.js", |
@@ -261,2 +261,3 @@ /* | ||
} else { | ||
if(cur.v) handleXpathExpr(); | ||
pushOp(c); | ||
@@ -263,0 +264,0 @@ } |
@@ -1196,2 +1196,31 @@ define(['src/openrosa-xpath-extensions', 'src/extended-xpath', 'src/translate', 'chai', 'lodash'], | ||
". <= 1": true, | ||
'1=1': true, | ||
'1=0': false, | ||
'0=1': false, | ||
'1 =1': true, | ||
'1 =0': false, | ||
'0 =1': false, | ||
'1= 1': true, | ||
'1= 0': false, | ||
'0= 1': false, | ||
'1 = 1': true, | ||
'1 = 0': false, | ||
'0 = 1': false, | ||
"../some-path='some-value'": false, | ||
'../some-path="some-value"': false, | ||
"../some-path= 'some-value'": false, | ||
"../some-path ='some-value'": false, | ||
"../some-path = 'some-value'": false, | ||
"'some-value'=../some-path": false, | ||
'"some-value"=../some-path': false, | ||
"'some-value'= ../some-path": false, | ||
"'some-value' =../some-path": false, | ||
"'some-value' = ../some-path": false, | ||
}, function(matcher, expression) { | ||
@@ -1198,0 +1227,0 @@ it('should convert "' + expression + '" to match "' + matcher + '"', function() { |
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
151240
2504