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

aqua-compiler

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aqua-compiler - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

19

build/code-generator.js

@@ -194,2 +194,15 @@ "use strict";

},
itxn_begin: (node) => {
this.codeEmitter.add(`itxn_begin`);
this.codeEmitter.add(`int 0`); // Need to balance the stack here even though this value should never be used.
},
itxn_field: (node) => {
//todo: this should really remove the first argument from the code generator.
this.codeEmitter.add(`itxn_field ${unquote(node.children[0].args[0])}`);
this.codeEmitter.add(`int 0`); // Need to balance the stack here even though this value should never be used.
},
itxn_submit: (node) => {
this.codeEmitter.add(`itxn_submit`);
this.codeEmitter.add(`int 0`); // Need to balance the stack here even though this value should never be used.
},
};

@@ -330,2 +343,8 @@ }

exports.CodeGenerator = CodeGenerator;
//
// Removes quotes from a string.
//
function unquote(input) {
return input.substring(1, input.length - 1);
}
//# sourceMappingURL=code-generator.js.map

2

package.json
{
"name": "aqua-compiler",
"version": "0.0.15",
"version": "0.0.16",
"description": "An expressive high level language for the Algorand block chain that compiles to TEAL code.",

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

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