diff2html-cli
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "diff2html-cli", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"homepage": "https://www.github.com/rtfpessoa/diff2html-cli", | ||
@@ -39,6 +39,7 @@ "description": "Fast Diff to colorized HTML", | ||
"scripts": { | ||
"style": "eslint src/*.js", | ||
"style": "eslint .", | ||
"coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*", | ||
"check-coverage": "istanbul check-coverage --statements 90 --functions 90 --branches 85 --lines 90 ./coverage/coverage.json", | ||
"test": "npm run coverage", | ||
"codacy": "npm run coverage && cat ./coverage/lcov.info | codacy-coverage", | ||
"codacy": "cat ./coverage/lcov.info | codacy-coverage", | ||
"preversion": "npm test", | ||
@@ -53,15 +54,15 @@ "postversion": "git push && git push --tags" | ||
"copy-paste": "^1.3.0", | ||
"diff2html": "^2.0.1", | ||
"diff2html": "^2.0.6", | ||
"extend": "^3.0.0", | ||
"open": "0.0.5", | ||
"request": "^2.73.0", | ||
"yargs": "^4.8.0" | ||
"request": "^2.74.0", | ||
"yargs": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"codacy-coverage": "^1.1.3", | ||
"eslint": "^3.0.1", | ||
"eslint-plugin-promise": "^1.3.2", | ||
"eslint-plugin-standard": "^1.3.2", | ||
"istanbul": "^0.4.4", | ||
"mocha": "^2.5.3" | ||
"codacy-coverage": "^2.0.0", | ||
"eslint": "^3.5.0", | ||
"eslint-plugin-promise": "^2.0.1", | ||
"eslint-plugin-standard": "^2.0.0", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.0.2" | ||
}, | ||
@@ -68,0 +69,0 @@ "license": "MIT", |
@@ -86,2 +86,4 @@ /* | ||
config.synchronisedScroll = (baseConfig.synchronisedScroll === 'enabled'); | ||
var htmlContent = diff2Html.getPrettyHtml(jsonContent, config); | ||
@@ -88,0 +90,0 @@ return callback(null, that._prepareHTML(htmlContent, config.showFilesOpen)); |
@@ -28,2 +28,11 @@ #!/usr/bin/env node | ||
.options({ | ||
'sc': { | ||
alias: 'synchronisedScroll', | ||
describe: 'Synchronised horizontal scroll', | ||
type: 'string', | ||
choices: ['enabled', 'disabled'], | ||
default: 'enabled' | ||
} | ||
}) | ||
.options({ | ||
'su': { | ||
@@ -30,0 +39,0 @@ alias: 'summary', |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
19285
10
395
0
104
+ Addedyargs@5.0.0(transitive)
+ Addedyargs-parser@3.2.0(transitive)
- Removedyargs@4.8.1(transitive)
- Removedyargs-parser@2.4.1(transitive)
Updateddiff2html@^2.0.6
Updatedrequest@^2.74.0
Updatedyargs@^5.0.0