Release version 2.0.10

This commit is contained in:
Rodrigo Fernandes 2016-10-29 16:53:20 +01:00
parent bea194cee0
commit 1b9200b201
4 changed files with 9 additions and 5 deletions

View file

@ -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
View file

@ -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;

File diff suppressed because one or more lines are too long

View file

@ -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": [