Comparing version 0.1.2-beta.4 to 0.1.2-beta.5
@@ -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; |
{ | ||
"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", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
95101
579
0
9