Release version 2.0.10
This commit is contained in:
parent
bea194cee0
commit
1b9200b201
4 changed files with 9 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "diff2html",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.10",
|
||||
"homepage": "https://diff2html.xyz",
|
||||
"description": "Fast Diff to colorized HTML",
|
||||
"keywords": [
|
||||
|
|
|
|||
5
dist/diff2html.js
vendored
5
dist/diff2html.js
vendored
|
|
@ -2810,6 +2810,11 @@ process.umask = function() { return 0; };
|
|||
// Remove prefix if exists
|
||||
filename = filename.slice(matchingPrefixes[0].length);
|
||||
}
|
||||
|
||||
// Cleanup timestamps generated by the unified diff (diff command) as specified in
|
||||
// https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html
|
||||
// Ie: 2016-10-25 11:37:14.000000000 +0200
|
||||
filename = filename.replace(/\s+\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)? \+\d{4}.*$/, '');
|
||||
}
|
||||
|
||||
return filename;
|
||||
|
|
|
|||
5
dist/diff2html.min.js
vendored
5
dist/diff2html.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "diff2html",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.10",
|
||||
"homepage": "https://diff2html.xyz",
|
||||
"description": "Fast Diff to colorized HTML",
|
||||
"keywords": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue