hdoc-tools 0.17.33 → 0.17.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hdoc-build.js +1 -1
- package/hdoc-module.js +2 -2
- package/hdoc.js +1 -1
- package/package.json +15 -19
package/hdoc-build.js
CHANGED
@@ -1297,7 +1297,7 @@
|
|
1297
1297
|
|
1298
1298
|
if (pdf_enable) {
|
1299
1299
|
// Create a Chromium browser instance generate PDFs with
|
1300
|
-
browser = await puppeteer.launch({ headless:
|
1300
|
+
browser = await puppeteer.launch({ headless: 'shell' });
|
1301
1301
|
}
|
1302
1302
|
|
1303
1303
|
// Work through MD files and convert to HTML
|
package/hdoc-module.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
const axios = require('axios'),
|
5
|
-
axiosRetry = require('axios-retry'),
|
5
|
+
axiosRetry = require('axios-retry').default,
|
6
6
|
cheerio = require('cheerio'),
|
7
7
|
fs = require('fs'),
|
8
|
-
html2text = require('html-to-text'),
|
9
8
|
https = require('https'),
|
10
9
|
htmlentities = require('html-entities'),
|
10
|
+
html2text = require('html-to-text'),
|
11
11
|
path = require('path'),
|
12
12
|
wordsCount = require('words-count').default;
|
13
13
|
|
package/hdoc.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hdoc-tools",
|
3
|
-
"version": "0.17.
|
3
|
+
"version": "0.17.34",
|
4
4
|
"description": "Hornbill HDocBook Development Support Tool",
|
5
5
|
"main": "hdoc.js",
|
6
6
|
"bin": {
|
@@ -37,29 +37,25 @@
|
|
37
37
|
"dependencies": {
|
38
38
|
"american-british-english-translator": "^0.2.1",
|
39
39
|
"archiver": "7.0.1",
|
40
|
-
"axios": "^1.
|
41
|
-
"axios-retry": "^
|
42
|
-
"better-sqlite3": "^
|
43
|
-
"body-parser": "^1.20.1",
|
40
|
+
"axios": "^1.7.2",
|
41
|
+
"axios-retry": "^4.4.1",
|
42
|
+
"better-sqlite3": "^11.1.2",
|
44
43
|
"cheerio": "^1.0.0-rc.12",
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"html-
|
50
|
-
"html-to-text": "^8.2.1",
|
44
|
+
"dree": "^5.0.7",
|
45
|
+
"express": "^4.19.2",
|
46
|
+
"fs-extra": "^11.2.0",
|
47
|
+
"html-entities": "^2.5.2",
|
48
|
+
"html-to-text": "^9.0.5",
|
51
49
|
"js-yaml": "^4.1.0",
|
52
|
-
"markdown-it": "
|
53
|
-
"markdown-it-container": "^
|
54
|
-
"markdown-it-front-matter": "^0.2.
|
50
|
+
"markdown-it": "14.1.0",
|
51
|
+
"markdown-it-container": "^4.0.0",
|
52
|
+
"markdown-it-front-matter": "^0.2.4",
|
55
53
|
"mime-types": "^2.1.35",
|
56
|
-
"multer": "^1.4.5-lts.1",
|
57
54
|
"prompt": "^1.3.0",
|
58
|
-
"puppeteer": "22.
|
59
|
-
"
|
60
|
-
"stream": "0.0.2",
|
55
|
+
"puppeteer": "^22.12.1",
|
56
|
+
"stream": "0.0.3",
|
61
57
|
"true-case-path": "^2.2.1",
|
62
58
|
"words-count": "^2.0.2",
|
63
|
-
"xml-formatter": "^3.6.
|
59
|
+
"xml-formatter": "^3.6.2"
|
64
60
|
}
|
65
61
|
}
|