New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.3.9 to 0.3.10

2

dist/solidity.js

@@ -83,3 +83,3 @@ "use strict";

get functions() {
return lodash_1.uniqBy(lodash_1.flatten(this.inheritance.map(c => c.ownFunctions)), f => f.signature);
return lodash_1.uniqBy(lodash_1.flatten(this.inheritance.map(c => c.ownFunctions)), f => f.name === 'constructor' ? 'constructor' : f.signature);
}

@@ -86,0 +86,0 @@ get ownFunctions() {

@@ -90,2 +90,14 @@ "use strict";

});
ava_1.default('two inherited constructors', t => {
const solcOutput = new solc_1.SolcOutputBuilder()
.file('Foo.sol')
.contract('Foo')
.function('constructor', 'uint256')
.contract('FooFlavor', 'Foo')
.function('constructor', 'string');
const source = buildSource(solcOutput);
const foof = source.contracts[1];
t.is(foof.name, 'FooFlavor');
t.is(foof.functions.length, 1);
});
//# sourceMappingURL=solidity.test.js.map
{
"name": "solidity-docgen",
"version": "0.3.9",
"version": "0.3.10",
"description": "Solidity API documentation automatic generator.",

@@ -43,3 +43,3 @@ "bin": {

"@types/minimatch": "^3.0.3",
"@types/node": "^12.7.9",
"@types/node": "^12.12.5",
"@types/semver": "^6.0.2",

@@ -46,0 +46,0 @@ "ava": "^2.4.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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