node-htmldiff
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -21,3 +21,3 @@ #!/usr/bin/env node | ||
function printUsage() { | ||
var usage = cli + " v0.9.0\n\nUsage: " + cli + " beforeFile afterFile diffedFile [Options]\n\nbeforeFile:\n An HTML input file in its original form.\n\nafterFile:\n An HTML input file, based on beforeFile but with changes.\n\ndiffedFile:\n Name of the diffed HTML output file. All differences between beforeFile\n and afterFile will be surrounded with <ins> and <del> tags. If diffedFile\n is - (minus) the result will be written with console.log() to stdout.\n\nOptions:\n\n-c className (optional):\n className will be added as a class attribute on every <ins> and <del> tag.\n\n-p dataPrefix (optional):\n The data prefix to use for data attributes. The operation index data\n attribute will be named \"data-${dataPrefix-}operation-index\". If not\n used, the default attribute name \"data-operation-index\" will be added\n on every <ins> and <del> tag. The value of this attribute is an auto\n incremented counter.\n\n-t atomicTags (optional):\n Comma separated list of tag names. The list has to be in the form\n \"tag1,tag2,...\" e. g. \"head,script,style\". An atomic tag is one whose\n child nodes should not be compared - the entire tag should be treated\n as one token. This is useful for tags where it does not make sense to\n insert <ins> and <del> tags. If not used, the default list will be used:\n \"iframe,object,math,svg,script,video,head,style\"."; | ||
var usage = cli + " v0.9.0\n\nUsage: " + cli + " beforeFile afterFile diffedFile [Options]\n\nbeforeFile:\n An HTML input file in its original form.\n\nafterFile:\n An HTML input file, based on beforeFile but with changes.\n\ndiffedFile:\n Name of the diffed HTML output file. All differences between beforeFile\n and afterFile will be surrounded with <ins> and <del> tags. If diffedFile\n is - (minus) the result will be written with console.log() to stdout.\n\nOptions:\n\n-c className (optional):\n className will be added as a class attribute on every <ins> and <del> tag.\n\n-p dataPrefix (optional):\n The data prefix to use for data attributes. The operation index data\n attribute will be named \"data-${dataPrefix-}operation-index\". If not\n used, the default attribute name \"data-operation-index\" will be added\n on every <ins> and <del> tag. The value of this attribute is an auto\n incremented counter.\n\n-t atomicTags (optional):\n Comma separated list of tag names. The list has to be in the form\n \"tag1,tag2,...\" e. g. \"head,script,style\". An atomic tag is one whose\n child nodes should not be compared - the entire tag should be treated\n as one token. This is useful for tags where it does not make sense to\n insert <ins> and <del> tags. If not used, this default list will be used:\n \"iframe,object,math,svg,script,video,head,style\"."; | ||
console.log(usage); | ||
@@ -24,0 +24,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"copyright": "©2018, idesis GmbH; ©2012 The Network Inc. and contributors", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"identifier": "de.idesis.node-htmldiff", | ||
@@ -56,3 +56,4 @@ "keywords": [ | ||
"chai": "*", | ||
"mocha": "*" | ||
"mocha": "*", | ||
"pkg": "4.3.1" | ||
}, | ||
@@ -59,0 +60,0 @@ "scripts": { |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
118864
6