libreoffice-convert
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -5,2 +5,3 @@ 'use strict'; | ||
const path = require('path'); | ||
const url = require('url'); | ||
const async = require('async'); | ||
@@ -47,3 +48,3 @@ const tmp = require('tmp'); | ||
convert: ['soffice', 'saveSource', (results, callback) => { | ||
let command = `-env:UserInstallation=file://${installDir.name} --headless --convert-to ${format}`; | ||
let command = `-env:UserInstallation=${url.pathToFileURL(installDir.name)} --headless --convert-to ${format}`; | ||
if (filter !== undefined) { | ||
@@ -50,0 +51,0 @@ command += `:"${filter}"`; |
{ | ||
"name": "libreoffice-convert", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "A simple and fast node.js module for converting office documents to different formats", | ||
@@ -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
18799
102