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-docgen

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solidity-docgen - npm Package Compare versions

Comparing version

to
0.3.6

15

dist/compile.js

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

}
solcOutput.sources = lodash_1.pick(solcOutput.sources, files);
return solcOutput;

@@ -76,3 +77,3 @@ });

const inputJSON = JSON.stringify(input);
const solcOutputString = this.solc.compileStandardWrapper(inputJSON);
const solcOutputString = this.solc.compileStandardWrapper(inputJSON, importCallback);
const solcOutput = JSON.parse(solcOutputString);

@@ -104,2 +105,14 @@ if (semver_1.default.satisfies(this.solc.version(), '^0.4')) {

}
function importCallback(path) {
try {
return {
contents: fs_extra_1.default.readFileSync(path, 'utf8'),
};
}
catch (e) {
return {
error: e.message,
};
}
}
//# sourceMappingURL=compile.js.map

2

package.json
{
"name": "solidity-docgen",
"version": "0.3.5",
"version": "0.3.6",
"description": "Solidity API documentation automatic generator.",

@@ -5,0 +5,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet