Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "nunjucks", | ||
"description": "A jinja inspired templating engine", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"author": { | ||
@@ -9,3 +9,3 @@ "name": "James Long", | ||
}, | ||
"dependencies": { | ||
"devDependencies": { | ||
"should": "1.1.0" | ||
@@ -12,0 +12,0 @@ }, |
@@ -96,2 +96,4 @@ | ||
nodes.Compare, | ||
nodes.And, | ||
nodes.Or, | ||
nodes.Not); | ||
@@ -98,0 +100,0 @@ this.compile(node, frame); |
@@ -499,2 +499,14 @@ | ||
s.should.equal('good'); | ||
s = render('{% if hungry and like_pizza %}good{% endif %}', | ||
{ hungry: true, like_pizza: true }); | ||
s.should.equal('good'); | ||
s = render('{% if hungry or like_pizza %}good{% endif %}', | ||
{ hungry: false, like_pizza: true }); | ||
s.should.equal('good'); | ||
s = render('{% if (hungry or like_pizza) and anchovies %}good{% endif %}', | ||
{ hungry: false, like_pizza: true, anchovies: true }); | ||
s.should.equal('good'); | ||
}); | ||
@@ -621,2 +633,2 @@ | ||
}); | ||
}); | ||
}); |
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
328190
0
9282
1
- Removedshould@1.1.0
- Removedshould@1.1.0(transitive)