Socket
Socket
Sign inDemoInstall

nunjucks

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nunjucks - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

package.json
{
"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 @@

});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc