Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

soldoc

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soldoc - npm Package Compare versions

Comparing version 0.1.2-beta.4 to 0.1.2-beta.5

20

dist/organize.js

@@ -38,2 +38,17 @@ "use strict";

}
function extendsVisibility(node) {
return {
external: node.visibility === 'external',
internal: node.visibility === 'internal',
private: node.visibility === 'private',
public: node.visibility === 'public',
};
}
function extendsStateMutability(node) {
return {
payable: node.stateMutability === 'payable',
pure: node.stateMutability === 'pure',
view: node.stateMutability === 'view',
};
}
/**

@@ -76,5 +91,10 @@ * Prepare for the given file.

returnParameters: extendReturnParamsAstWithNatspec(node),
stateMutability: extendsStateMutability(node),
visibility: extendsVisibility(node),
});
}
},
InheritanceSpecifier: function (node) {
data = __assign({ inheritance: node.baseName }, data);
},
});

@@ -81,0 +101,0 @@ var name = ast.children.filter(function (child) { return child.type === 'ContractDefinition'; })[0].name;

5

package.json
{
"name": "soldoc",
"version": "0.1.2-beta.4",
"version": "0.1.2-beta.5",
"description": "An html page and pdf solidity documentation generator, based in NatSpec format.",

@@ -54,2 +54,3 @@ "main": "dist/index.js",

"peerDependencies": {
"directory-tree": "2.2.x",
"highlight.js": "9.17.x",

@@ -77,3 +78,3 @@ "markdown-it": "10.0.x",

"@types/mustache": "0.8.32",
"@types/node": "12.12.18",
"@types/node": "12.12.20",
"@types/node-emoji": "1.8.1",

@@ -80,0 +81,0 @@ "typescript": "3.7.3",

dist/template/html/index.html

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