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

derby-jade

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

derby-jade - npm Package Compare versions

Comparing version 0.6.8 to 0.6.9

1

coffee.js

@@ -5,2 +5,3 @@ var coffeeScript = require("coffee-script");

if (!js) return '';
if (js === 'delete()') return js;
var original = js;

@@ -7,0 +8,0 @@ // Exclude Derby block alias

7

index.js

@@ -95,3 +95,3 @@ var jade = require('jade');

// Add colons
.replace(/^\s*(<([\w-]+))((?:\b[^>]+)?>)\n?([\s\S]*?)\n?<\/\2>$/, function (template, left, name, right, content) {
.replace(/^\s*(<([\w-:]+))((?:\b[^>]+)?>)\n?([\s\S]*?)\n?<\/\2>$/, function (template, left, name, right, content) {
return left + ':' + right + (content ? '\n' + content : '');

@@ -187,5 +187,6 @@ })

// it makes colons optional
statement = statement.replace(/^([^(]*):/, function(statement, tag) {
return tag;
statement = statement.replace(/:([\n\s(])/, function(statement, symbol) {
return symbol;
});
statement = statement.replace(/:$/, '');
// We add underscore to avoid problems when Derby tag name

@@ -192,0 +193,0 @@ // is same as non closing tags

{
"name": "derby-jade",
"description": "Jade for Derby.js",
"version": "0.6.8",
"version": "0.6.9",
"author": {

@@ -6,0 +6,0 @@ "name": "Vladimir Makhaev",

Sorry, the diff of this file is not supported yet

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