Comparing version 0.1.3-beta.1 to 0.1.3-beta.2
@@ -134,2 +134,3 @@ "use strict"; | ||
var LICENSE = LICENSEText.replace(/\n/g, '<br>'); | ||
var projectName = JSON.parse(String(fs_1.default.readFileSync(path_1.default.join(process.cwd(), 'package.json')))).name; | ||
var view = { | ||
@@ -140,2 +141,3 @@ LICENSE: LICENSE, | ||
hasLICENSE: true, | ||
projectName: projectName, | ||
}; | ||
@@ -242,2 +244,3 @@ var outputLicense = mustache_1.render(templateContent, view); | ||
var pureREADME = String(fs_1.default.readFileSync(path_1.default.join(process.cwd(), 'README.md'))).trim(); | ||
var projectName = JSON.parse(String(fs_1.default.readFileSync(path_1.default.join(process.cwd(), 'package.json')))).name; | ||
var view = { | ||
@@ -248,2 +251,3 @@ README: md.render(pureREADME), | ||
hasLICENSE: this.hasLICENSE, | ||
projectName: projectName, | ||
}; | ||
@@ -293,8 +297,10 @@ outputReadme = mustache_1.render(templateContent, view); | ||
var templateContent = String(fs_1.default.readFileSync(templateFilePath)); | ||
var projectName = JSON.parse(String(fs_1.default.readFileSync(path_1.default.join(process.cwd(), 'package.json')))).name; | ||
var view = { | ||
contract: contract, | ||
contracts: this.contracts, | ||
currentDate: new Date(), | ||
currentDate: new Date().getTime(), | ||
folderStructure: JSON.stringify(this.inputPathStructure), | ||
hasLICENSE: this.hasLICENSE, | ||
projectName: projectName, | ||
}; | ||
@@ -301,0 +307,0 @@ var output = mustache_1.render(templateContent, view); |
{ | ||
"name": "soldoc", | ||
"version": "0.1.3-beta.1", | ||
"version": "0.1.3-beta.2", | ||
"description": "An solidity documentation generator, based in NatSpec format.", | ||
@@ -63,3 +63,3 @@ "main": "dist/index.js", | ||
"@hq20/solidity-parser-antlr": "0.4.12-alpha.0", | ||
"@typescript-eslint/typescript-estree": "2.31.0" | ||
"@typescript-eslint/typescript-estree": "2.32.0" | ||
}, | ||
@@ -73,5 +73,5 @@ "devDependencies": { | ||
"@types/node-emoji": "1.8.1", | ||
"@typescript-eslint/eslint-plugin": "2.31.0", | ||
"@typescript-eslint/eslint-plugin-tslint": "2.31.0", | ||
"@typescript-eslint/parser": "2.31.0", | ||
"@typescript-eslint/eslint-plugin": "2.32.0", | ||
"@typescript-eslint/eslint-plugin-tslint": "2.32.0", | ||
"@typescript-eslint/parser": "2.32.0", | ||
"coveralls": "3.1.0", | ||
@@ -82,7 +82,7 @@ "directory-tree": "2.2.4", | ||
"expect.js": "0.3.1", | ||
"highlight.js": "10.0.2", | ||
"highlight.js": "10.0.3", | ||
"jest": "26.0.1", | ||
"markdown-it": "10.0.0", | ||
"markdown-it-emoji": "1.4.0", | ||
"meow": "7.0.0", | ||
"meow": "7.0.1", | ||
"mustache": "4.0.1", | ||
@@ -92,3 +92,4 @@ "node-emoji": "1.10.0", | ||
"pdf-to-text": "0.0.7", | ||
"puppeteer": "3.0.3", | ||
"puppeteer": "3.0.4", | ||
"tslint": "^6.0.0", | ||
"typedoc": "0.17.6", | ||
@@ -95,0 +96,0 @@ "typescript": "3.8.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
5
100504
27
11
671
+ Added@typescript-eslint/typescript-estree@2.32.0(transitive)
+ Addedsemver@7.6.3(transitive)
- Removed@typescript-eslint/typescript-estree@2.31.0(transitive)
- Removedsemver@6.3.1(transitive)