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

ligo-snippet

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ligo-snippet - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

7

dist/index.js

@@ -34,2 +34,3 @@ "use strict";

this.currentFlavour = flavour;
this.editorParams.editor.language = flavour;
// updates code

@@ -51,2 +52,7 @@ this.editorInputElement.value = this.currentCode;

}
else {
// sets the new flavour
this.currentFlavour = flavour;
this.editorParams.editor.language = flavour;
}
[...document.getElementsByClassName("flavour-button")].forEach(button => {

@@ -177,2 +183,3 @@ button.classList.remove("selected");

const entrypoint = "main", syntax = this.editorParams.editor.language, code = this.editorParams.editor.code;
console.log(syntax);
const response = yield fetch("https://ide-staging.ligolang.org/api/compile-contract", {

@@ -179,0 +186,0 @@ method: "post",

2

package.json
{
"name": "ligo-snippet",
"version": "1.2.0",
"version": "1.3.0",
"description": "Ligo code snippet",

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

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