webdav-tulip-2
Advanced tools
Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "webdav-tulip-2", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "WebDAV client for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "source/index.js", |
@@ -65,17 +65,13 @@ var path = require("path"); | ||
.length; | ||
console.log('SanitisedFilePath'); | ||
console.log(sanitisedFilePath); | ||
console.log("dirPath"); | ||
console.log(dirPath); | ||
// dirPath = decodeURIComponent(dirPath); | ||
var filename = processDirectoryResultFilename( | ||
dirPath, | ||
sanitisedFilePath | ||
).trim(), | ||
var filename = processDirectoryResultFilename(dirPath, sanitisedFilePath).trim(), | ||
resourceType = processXMLStringValue(getOne(props, ["lp1:resourcetype", "d:resourcetype", "D:resourcetype", "resourcetype"])), | ||
itemType = (resourceType.indexOf("d:collection") >= 0 || resourceType.indexOf("D:collection") >= 0 || resourceType.indexOf("collection") >= 0) ? | ||
"directory" : "file"; | ||
// console.log('filename'); | ||
// console.log(filename); | ||
console.log('filename'); | ||
console.log(filename); | ||
if (filename.length <= 0) { | ||
console.log('filename.length <= 0'); | ||
return; | ||
@@ -85,2 +81,3 @@ } | ||
// skip self or only self | ||
console.log('skip self or only self'); | ||
return; | ||
@@ -87,0 +84,0 @@ } |
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
66831
1157