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.10.2 to 0.10.3

5

History.md
0.10.3 / 2011-03-30
==================
* Fixed support for quoted attribute keys ex `rss("xmlns:atom"="atom")`
0.10.2 / 2011-03-30

@@ -3,0 +8,0 @@ ==================

2

lib/jade.js

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

exports.version = '0.10.2';
exports.version = '0.10.3';

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

@@ -328,2 +328,5 @@

switch (state()) {
case 'key char':
key += c;
break;
case 'val':

@@ -366,7 +369,17 @@ case 'expr':

case "'":
if ('key' == state()) break;
'string' == state()
? states.pop()
: states.push('string');
val += c;
switch (state()) {
case 'key':
states.push('key char');
break;
case 'key char':
states.pop();
break;
case 'string':
states.pop();
val += c;
break;
default:
states.push('string');
val += c;
}
break;

@@ -376,6 +389,9 @@ case '':

default:
if ('key' == state()) {
key += c;
} else {
val += c;
switch (state()) {
case 'key':
case 'key char':
key += c;
break;
default:
val += c;
}

@@ -382,0 +398,0 @@ }

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

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

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