Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@icetee/ftp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icetee/ftp - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/expressions.js

@@ -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: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc