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

jsftp

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsftp - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

15

lib/jsftp.js

@@ -20,2 +20,3 @@ /* vim:set ts=2 sw=2 sts=2 expandtab */

var once = require('once');
var unorm = require('unorm');

@@ -387,4 +388,5 @@ var debug = require('debug')('jsftp:general');

socket.setEncoding('utf8');
socket.on('data', function(data) {
listing += data.toString('binary');
listing += data;
});

@@ -674,3 +676,12 @@

ListingParser.parseFtpEntries(entries.text || entries, callback);
ListingParser.parseFtpEntries(entries.text || entries, function(err, files) {
if (err) return callback(err);
files.forEach(function(file) {
// Normalize UTF8 doing canonical decomposition, followed by
// canonical Composition
file.name = unorm.nfc(file.name);
});
callback(null, files);
});
}

@@ -677,0 +688,0 @@

5

package.json
{
"name": "jsftp",
"id": "jsftp",
"version": "1.5.1",
"version": "1.5.2",
"description": "A sane FTP client implementation for NodeJS",

@@ -28,3 +28,4 @@ "keywords": [

"once": "1.3.0",
"parse-listing": "1.1.2"
"parse-listing": "1.1.2",
"unorm": "^1.3.3"
},

@@ -31,0 +32,0 @@ "devDependencies": {

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