From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/diff/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node_modules/diff/README.md') diff --git a/node_modules/diff/README.md b/node_modules/diff/README.md index 007bffb0b..5747fe367 100644 --- a/node_modules/diff/README.md +++ b/node_modules/diff/README.md @@ -107,7 +107,7 @@ bower install jsdiff --save The optional `options` object may have the following keys: - `fuzzFactor`: Number of lines that are allowed to differ before rejecting a patch. Defaults to 0. - - `compareLine(lineNumber, line, operation, patchContent)`: Callback used to compare to given lines to determine if they should be considered equal when patching. Defaults to strict equality but may be overriden to provide fuzzier comparison. Should return false if the lines should be rejected. + - `compareLine(lineNumber, line, operation, patchContent)`: Callback used to compare to given lines to determine if they should be considered equal when patching. Defaults to strict equality but may be overridden to provide fuzzier comparison. Should return false if the lines should be rejected. * `JsDiff.applyPatches(patch, options)` - applies one or more patches. @@ -141,7 +141,7 @@ Note that some cases may omit a particular flag field. Comparison on the flag fi Basic example in Node ```js -require('colors') +require('colors'); var jsdiff = require('diff'); var one = 'beep boop'; @@ -157,7 +157,7 @@ diff.forEach(function(part){ process.stderr.write(part.value[color]); }); -console.log() +console.log(); ``` Running the above program should yield -- cgit v1.2.3