You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

solidity-browser-compiler

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solidity-browser-compiler - npm Package Compare versions

Comparing version

to
1.1.0

7

browser.solidity.worker.js

@@ -10,7 +10,9 @@ (function () {

function browserSolidityCompiler() {
// eslint-disable-next-line no-restricted-globals
var ctx = self;
ctx.addEventListener('message', ({ data }) => {
const { id, input, version } = data;
if (input === 'fetch-compiler-versions') {
const { id, input, version, command } = data;
if (command === 'fetch-compiler-versions') {
fetch('https://binaries.soliditylang.org/bin/list.json')

@@ -35,2 +37,3 @@ .then(response => response.json())

}
function importScripts(_arg0) {

@@ -37,0 +40,0 @@ throw new Error("Function not implemented.");

{
"name": "solidity-browser-compiler",
"version": "1.0.3",
"version": "1.1.0",
"description": "Package for compiling solidity code in the browser.",

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