mirror of
https://github.com/github/codeql-action
synced 2026-05-25 15:00:36 +03:00
Update checked-in dependencies
This commit is contained in:
+5
-2
@@ -73,7 +73,10 @@ npm install diff --save
|
||||
* `newStr` : New string value
|
||||
* `oldHeader` : Additional information to include in the old file header
|
||||
* `newHeader` : Additional information to include in the new file header
|
||||
* `options` : An object with options. Currently, only `context` is supported and describes how many lines of context should be included.
|
||||
* `options` : An object with options.
|
||||
- `context` describes how many lines of context should be included.
|
||||
- `ignoreWhitespace`: `true` to ignore leading and trailing whitespace.
|
||||
- `newlineIsToken`: `true` to treat newline characters as separate tokens. This allows for changes to the newline structure to occur independently of the line content and to be treated as such. In general this is the more human friendly form of `diffLines` and `diffLines` is better suited for patches and other computer friendly output.
|
||||
|
||||
* `Diff.createPatch(fileName, oldStr, newStr, oldHeader, newHeader)` - creates a unified diff patch.
|
||||
|
||||
@@ -195,7 +198,7 @@ Open the above .html file in a browser and you should see
|
||||
|
||||
<img src="images/web_example.png" alt="Node Example">
|
||||
|
||||
**[Full online demo](http://kpdecker.github.com/jsdiff)**
|
||||
**[Full online demo](https://kpdecker.github.io/jsdiff)**
|
||||
|
||||
## Compatibility
|
||||
|
||||
|
||||
Reference in New Issue
Block a user