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.4.0 to 1.4.1

11

compiler.js

@@ -266,2 +266,13 @@ "use strict";

nodeHandlers.else = function(node, context) {
// The parser has already taken care of it.
return {
content: new utilities.CodeContext(),
attributes: new utilities.CodeContext(),
scope: context.scope,
parent: context,
done: function() {}
};
};
nodeHandlers.for = function(node, context) {

@@ -268,0 +279,0 @@ var indexName = context.scope.createName("index");

2

package.json
{
"name": "razorleaf",
"version": "1.4.0",
"version": "1.4.1",
"main": "razorleaf.js",

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

@@ -356,7 +356,7 @@ "use strict";

begin: function() {
this.context.parent.children.splice(-1, 1);
this.context.parent.children.pop();
var previous = this.context.parent.children[this.context.parent.children.length - 1];
var previous = this.context.parent.children[this.context.parent.children.length - 2];
if(previous.type !== "if") {
if(!previous || previous.type !== "if" || previous.else) {
throw this.error("Unexpected else");

@@ -363,0 +363,0 @@ }

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