Skip to content

Commit cf75996

Browse files
committed
v1.0.6
1 parent d3d1c81 commit cf75996

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const hashRegex = /^From (\S*)/
22
const authorRegex = /^From:\s?([^<].*[^>])?\s+(<(.*)>)?/
3-
const fileNameRegex = /^diff --git "?a\/(.*)"?\s*"?\sb\/(.*)"?/
3+
const fileNameRegex = /^diff --git "?a\/(.*)"?\s*"?b\/(.*)"?/
44
const fileLinesRegex = /^@@ -([0-9]*),?\S* \+([0-9]*),?/
55
const similarityIndexRegex = /^similarity index /
66
const addedFileModeRegex = /^new file mode /

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-git-patch",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Parse git patches with ease",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)