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

krl-compiler

Package Overview
Dependencies
Maintainers
2
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

krl-compiler - npm Package Compare versions

Comparing version 0.32.1 to 0.32.2

2

package.json
{
"name": "krl-compiler",
"version": "0.32.1",
"version": "0.32.2",
"description": "KRL compiler",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -10,11 +10,22 @@ var _ = require("lodash");

body.push(e("return", comp(ast.action_block), ast.action_block.loc));
body.push(e(";", e("call", e("id", "processActionBlock", ast.action_block.loc), [
e("id", "ctx", ast.action_block),
comp(ast.action_block),
], ast.action_block.loc), ast.action_block.loc));
//TODO ast.returns
body.push(e("return", e("array", _.map(ast.returns, function(ret){
return comp(ret);
}))));
return e(";", e("call", e("id", "ctx.defaction"), [
e("id", "ctx"),
e("str", ast.id.value, ast.id.loc),
e("genfn", ["ctx", "getArg", "hasArg"], body),
e("genfn", [
"ctx",
"getArg",
"hasArg",
"processActionBlock",
], body),
]));
};
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