Socket
Socket
Sign inDemoInstall

jade

Package Overview
Dependencies
Maintainers
2
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 1.1.1 to 1.1.2

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Jade template runtime",
"version": "1.1.1",
"version": "1.1.2",
"keywords": [

@@ -8,0 +8,0 @@ "template"

@@ -631,5 +631,3 @@ 'use strict';

if (escaped && !(key.indexOf('data') === 0 && typeof val !== 'string')) {
var temp = runtime.escape(val);
if (temp !== '' + val)
val = temp;
val = runtime.escape(val);
}

@@ -636,0 +634,0 @@ buf.push(JSON.stringify(key) + ': ' + JSON.stringify(val));

@@ -154,3 +154,3 @@ 'use strict';

exports.escape = function escape(html){
return String(html)
var result = String(html)
.replace(/&/g, '&')

@@ -160,2 +160,4 @@ .replace(/</g, '&lt;')

.replace(/"/g, '&quot;');
if (result === '' + html) return html;
else return result;
};

@@ -162,0 +164,0 @@

{
"name": "jade",
"description": "Jade template engine",
"version": "1.1.1",
"version": "1.1.2",
"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