hlx-file-writer
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -31,3 +31,8 @@ const fs = require('fs'); | ||
if (obj) { | ||
localPath = path.join(outputDir, obj.pathname); | ||
if (obj.protocol === 'file:') { | ||
const pathname = path.relative(inputDir, obj.pathname); | ||
localPath = path.join(outputDir, pathname); | ||
} else { | ||
localPath = path.join(outputDir, obj.pathname); | ||
} | ||
} else { | ||
@@ -34,0 +39,0 @@ const pathname = path.relative(inputDir, path.join(parentUri, uri)); |
{ | ||
"name": "hlx-file-writer", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "A writable stream to save HLS playlists/segments as local files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7782
104