solidity-docgen
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -17,2 +17,3 @@ #!/usr/bin/env node | ||
const path_1 = __importDefault(require("path")); | ||
const json5_1 = __importDefault(require("json5")); | ||
const docgen_1 = require("./docgen"); | ||
@@ -62,3 +63,3 @@ class Docgen extends command_1.Command { | ||
parse: s => { | ||
const settings = JSON.parse(s); | ||
const settings = json5_1.default.parse(s); | ||
if (typeof settings !== 'object' || settings === null) { | ||
@@ -65,0 +66,0 @@ throw new Error('--solc-settings must be an object'); |
{ | ||
"name": "solidity-docgen", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Solidity API documentation automatic generator.", | ||
@@ -29,2 +29,3 @@ "bin": { | ||
"handlebars": "^4.1.2", | ||
"json5": "^2.1.0", | ||
"lodash": "^4.17.14", | ||
@@ -38,2 +39,3 @@ "minimatch": "^3.0.4", | ||
"@types/fs-extra": "^8.0.0", | ||
"@types/json5": "0.0.30", | ||
"@types/lodash": "^4.14.136", | ||
@@ -40,0 +42,0 @@ "@types/minimatch": "^3.0.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
224945
979
14
8
+ Addedjson5@^2.1.0
+ Addedjson5@2.2.3(transitive)