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

diff2html-cli

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff2html-cli - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

README.md

25

package.json
{
"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

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