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

webdav-tulip-2

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdav-tulip-2 - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

2

package.json
{
"name": "webdav-tulip-2",
"version": "1.0.10",
"version": "1.0.11",
"description": "WebDAV client for NodeJS",

@@ -5,0 +5,0 @@ "main": "source/index.js",

@@ -65,2 +65,4 @@ var path = require("path");

.length;
console.log('sanitisedFilePath: ');
console.log(sanitisedFilePath);
console.log("dirPath");

@@ -73,4 +75,4 @@ console.log(dirPath);

"directory" : "file";
console.log('filename');
console.log(filename);
// console.log('filename');
// console.log(filename);
if (filename.length <= 0) {

@@ -108,4 +110,7 @@ console.log('filename.length <= 0');

if (resultFilename[resultFLen - 1] === "/") {
// If this is a directory (last character is /) then strip the last /
resultFilename = resultFilename.substr(0, resultFLen - 1);
}
console.log("dirPath === '/'???");
console.log(dirPath);
if (dirPath === "/" || dirPath === "") {

@@ -119,2 +124,3 @@ var resultParts = resultFilename.split("/");

}
console.log("DID NOT MEET CRITERIA");
return "";

@@ -121,0 +127,0 @@ }

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