libreoffice-convert
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -7,3 +7,3 @@ 'use strict'; | ||
const tmp = require('tmp'); | ||
const { exec } = require('child_process'); | ||
const { execFile } = require('child_process'); | ||
@@ -50,4 +50,4 @@ exports.convert = (document, format, filter, callback) => { | ||
command += ` --outdir ${tempDir.name} ${path.join(tempDir.name, 'source')}`; | ||
return exec(command, callback); | ||
command = command.split(' '); | ||
return execFile(command[0], command.slice(1), callback); | ||
}], | ||
@@ -54,0 +54,0 @@ loadDestination: ['convert', (results, callback) => |
{ | ||
"name": "libreoffice-convert", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"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
17141
92