Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jade

Package Overview
Dependencies
Maintainers
0
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.9.1 to 0.9.2

6

History.md
0.9.2 / 2011-03-23
==================
* Added jade `--version`
* Removed `${}` interpolation support, use `#{}`
0.9.1 / 2011-03-16

@@ -3,0 +9,0 @@ ==================

2

lib/jade.js

@@ -22,3 +22,3 @@

exports.version = '0.9.1';
exports.version = '0.9.2';

@@ -25,0 +25,0 @@ /**

@@ -390,8 +390,2 @@

// Assume newline when tag followed by text
if (this.peek().type === 'text') {
if (tag.text) tag.text.push('\\n');
else tag.text = new nodes.Text('\\n');
}
tag.textOnly = tag.textOnly || ~textOnly.indexOf(tag.name);

@@ -398,0 +392,0 @@

@@ -17,3 +17,3 @@

var interpolate = exports.interpolate = function(str){
return str.replace(/(\\)?([#$!]){(.*?)}/g, function(str, escape, flag, code){
return str.replace(/(\\)?([#!]){(.*?)}/g, function(str, escape, flag, code){
return escape

@@ -20,0 +20,0 @@ ? str

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

@@ -6,0 +6,0 @@ "main": "./index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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