New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

razorleaf

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

razorleaf - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

14

compiler.js

@@ -108,2 +108,6 @@ "use strict";

element: function(node, context) {
if(!context.content) {
throw node.unexpected;
}
var isVoid = voidTags.indexOf(node.name) !== -1;

@@ -118,3 +122,3 @@

]),
content: new OutputBuffer(),
content: isVoid ? null : new OutputBuffer(),
scope: context.scope,

@@ -126,5 +130,3 @@ parent: context,

if(isVoid) {
console.log(this.content);
} else {
if(!isVoid) {
this.parent.content.addBuffer(this.content);

@@ -137,2 +139,6 @@ this.parent.content.addText("</" + node.name + ">");

string: function(node, context) {
if(!context.content) {
throw node.unexpected;
}
context.content.addInterpolated(node.content.code);

@@ -139,0 +145,0 @@ },

{
"name": "razorleaf",
"version": "1.2.1",
"version": "1.2.2",
"main": "razorleaf.js",

@@ -5,0 +5,0 @@ "files": [

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