@icetee/ftp
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,4 +8,4 @@ const XRegExp = require('xregexp'); | ||
(?<inodes>\\d+)\\s+ | ||
(?<owner>\\d+|\\w+\\s+\\w+|\\w+)\\s+ | ||
(?<group>\\d+|\\w+\\s+\\w+|\\w+)\\s+ | ||
(?<owner>\\d+|\\w+\\s+\\w+|\\w+|\\S+)\\s+ | ||
(?<group>\\d+|\\w+\\s+\\w+|\\w+|\\S+)\\s+ | ||
(?<size>\\d+)\\s+ | ||
@@ -12,0 +12,0 @@ (?<timestamp>((?<month1>\\w{3})\\s+ |
{ | ||
"name": "@icetee/ftp", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Tamás András Horváth <htomy92@gmail.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -203,2 +203,42 @@ const entires = [ | ||
{ | ||
source: '-rw------- 1 33 www-data 14 May 15 01:52 .ftpquota', | ||
expected: { | ||
type: '-', | ||
name: '.ftpquota', | ||
target: undefined, | ||
sticky: false, | ||
rights: { | ||
user: 'rw', | ||
group: '', | ||
other: '', | ||
}, | ||
acl: false, | ||
owner: '33', | ||
group: 'www-data', | ||
size: 14, | ||
date: new Date('2018-05-14T23:52:00.000Z'), | ||
}, | ||
what: 'File with number owner and hyphen groupname', | ||
}, | ||
{ | ||
source: '-rw------- 1 www-data 33 14 May 15 01:52 .ftpquota', | ||
expected: { | ||
type: '-', | ||
name: '.ftpquota', | ||
target: undefined, | ||
sticky: false, | ||
rights: { | ||
user: 'rw', | ||
group: '', | ||
other: '', | ||
}, | ||
acl: false, | ||
owner: 'www-data', | ||
group: '33', | ||
size: 14, | ||
date: new Date('2018-05-14T23:52:00.000Z'), | ||
}, | ||
what: 'File with hyphen owner and number groupname', | ||
}, | ||
{ | ||
source: '-rw-rw-rw-+ 1 owner group 7045120 Sep 02 2012 music.mp3', | ||
@@ -205,0 +245,0 @@ expected: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68590
1801