@jsreport/jsreport-html-to-xlsx
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -15,3 +15,3 @@ const path = require('path') | ||
module.exports = async function scriptHtmlToXlsxProcessing (inputs) { | ||
const { tmpDir, htmlEngine, html, xlsxTemplateContent, chromeOptions, phantomOptions, cheerioOptions, conversionOptions } = inputs | ||
const { timeout, tmpDir, htmlEngine, html, xlsxTemplateContent, chromeOptions, phantomOptions, cheerioOptions, conversionOptions } = inputs | ||
const logs = [] | ||
@@ -24,3 +24,3 @@ | ||
conversions.chrome = htmlToXlsx({ | ||
timeout: inputs.timeout, | ||
timeout, | ||
...chromeOptions.conversion, | ||
@@ -36,2 +36,3 @@ extract: browserBasedEval(tmpDir, chromeEval) | ||
conversions.phantom = htmlToXlsx({ | ||
timeout, | ||
...phantomOptions.conversion, | ||
@@ -46,2 +47,3 @@ extract: browserBasedEval(tmpDir, phantomEval) | ||
conversions.cheerio = htmlToXlsx({ | ||
timeout, | ||
...cheerioOptions.conversion, | ||
@@ -48,0 +50,0 @@ extract: cheerioPageEval(tmpDir, opentype.loadSync(defaultFontPath)) |
@@ -122,2 +122,3 @@ const fs = require('fs') | ||
{ | ||
timeout: reporter.getReportTimeout(req), | ||
tmpDir: definition.options.tmpDir, | ||
@@ -124,0 +125,0 @@ htmlEngine: htmlToXlsxOptions.htmlEngine, |
{ | ||
"name": "@jsreport/jsreport-html-to-xlsx", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "jsreport recipe capable of converting html into excel", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"chrome-page-eval": "1.3.0", | ||
"html-to-xlsx": "2.2.0", | ||
"html-to-xlsx": "2.2.1", | ||
"nanoid": "3.2.0", | ||
@@ -47,4 +47,4 @@ "node.extend.without.arrays": "1.1.6", | ||
"devDependencies": { | ||
"@jsreport/jsreport-core": "3.4.0", | ||
"@jsreport/jsreport-handlebars": "3.0.0", | ||
"@jsreport/jsreport-core": "3.5.0", | ||
"@jsreport/jsreport-handlebars": "3.1.0", | ||
"@jsreport/studio-dev": "3.1.0", | ||
@@ -51,0 +51,0 @@ "handlebars": "4.7.7", |
@@ -10,2 +10,6 @@ # @jsreport/jsreport-html-to-xlsx | ||
### 3.2.1 | ||
- fix not considering `reportTimeout` for the recipe execution | ||
### 3.2.0 | ||
@@ -12,0 +16,0 @@ |
877568
1061
25
+ Addedhtml-to-xlsx@2.2.1(transitive)
+ Addedmoment@2.29.3(transitive)
+ Addedtinycolor2@1.4.2(transitive)
- Removedhtml-to-xlsx@2.2.0(transitive)
- Removedmoment@2.29.1(transitive)
- Removedtinycolor2@1.4.1(transitive)
Updatedhtml-to-xlsx@2.2.1