Socket
Socket
Sign inDemoInstall

jade

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jade - npm Package Compare versions

Comparing version 0.27.0 to 0.27.1

2

lib/jade.js

@@ -23,3 +23,3 @@ /*!

exports.version = '0.27.0';
exports.version = '0.27.1';

@@ -26,0 +26,0 @@ /**

@@ -8,2 +8,4 @@

var utils = require('./utils');
/**

@@ -506,8 +508,2 @@ * Initialize `Lexer` with the given `str`.

function interpolate(attr) {
return attr.replace(/#\{([^}]+)\}/g, function(_, expr){
return quote + " + (" + expr + ") + " + quote;
});
}
this.consume(index + 1);

@@ -540,3 +536,3 @@ tok.attrs = {};

? true
: interpolate(val);
: utils.interpolate(val);
key = val = '';

@@ -543,0 +539,0 @@ }

@@ -19,3 +19,3 @@

return escape
? str
? flag + "{" + code + "}"
: "' + "

@@ -22,0 +22,0 @@ + ('!' == flag ? '' : 'escape')

{
"name": "jade",
"description": "Jade template engine",
"version": "0.27.0",
"version": "0.27.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "repository": "git://github.com/visionmedia/jade",

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