@vivliostyle/cli
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -0,13 +1,20 @@ | ||
# [3.5.0](https://github.com/vivliostyle/vivliostyle-cli/compare/v3.4.0...v3.5.0) (2021-05-03) | ||
### Features | ||
* Update @vivliostyle/vfm to v1.0.0-alpha.19 ([8979762](https://github.com/vivliostyle/vivliostyle-cli/commit/8979762b002209cf74e79b088db9444b509de346)) | ||
* Update @vivliostyle/vfm to v1.0.0-alpha.21 ([e66190b](https://github.com/vivliostyle/vivliostyle-cli/commit/e66190b62acaef94f52db4d3f02627b4bd8257fe)) | ||
* Update puppeteer to 9.0.0 ([af39584](https://github.com/vivliostyle/vivliostyle-cli/commit/af39584f6d64e72b4079a7d453fd6c1fade07edc)) | ||
# [3.4.0](https://github.com/vivliostyle/vivliostyle-cli/compare/v3.3.0...v3.4.0) (2021-04-16) | ||
### Bug Fixes | ||
* extract function that reloads the configuration file ([40b5b83](https://github.com/vivliostyle/vivliostyle-cli/commit/40b5b83220a54e17a925bc28046cced988bc121e)) | ||
- extract function that reloads the configuration file ([40b5b83](https://github.com/vivliostyle/vivliostyle-cli/commit/40b5b83220a54e17a925bc28046cced988bc121e)) | ||
### Features | ||
* Update vivliostyle (core@2.8.0, vfm@v1.0.0-alpha.18) ([23f940d](https://github.com/vivliostyle/vivliostyle-cli/commit/23f940d2e13a5588bc06aa11f104732800856d9e)) | ||
* vivliostyle preview reload when vivliostyle.config.js updated ([3079688](https://github.com/vivliostyle/vivliostyle-cli/commit/30796886124136332b08a3776cccaf2ba6fc7c26)) | ||
- Update vivliostyle (core@2.8.0, vfm@v1.0.0-alpha.18) ([23f940d](https://github.com/vivliostyle/vivliostyle-cli/commit/23f940d2e13a5588bc06aa11f104732800856d9e)) | ||
- vivliostyle preview reload when vivliostyle.config.js updated ([3079688](https://github.com/vivliostyle/vivliostyle-cli/commit/30796886124136332b08a3776cccaf2ba6fc7c26)) | ||
@@ -14,0 +21,0 @@ # [3.3.0](https://github.com/vivliostyle/vivliostyle-cli/compare/v3.2.1...v3.3.0) (2021-04-07) |
@@ -64,6 +64,8 @@ "use strict"; | ||
}); | ||
util_1.debug(`Executing Chromium path: ${config.executableChromium || puppeteer_1.default.executablePath()}`); | ||
util_1.debug(`Executing Chromium path: ${config.executableChromium || | ||
puppeteer_1.default.executablePath()}`); | ||
const browser = await util_1.launchBrowser({ | ||
headless: false, | ||
executablePath: config.executableChromium || puppeteer_1.default.executablePath(), | ||
executablePath: config.executableChromium || | ||
puppeteer_1.default.executablePath(), | ||
args: [ | ||
@@ -70,0 +72,0 @@ '--allow-file-access-from-files', |
@@ -45,5 +45,6 @@ "use strict"; | ||
page.on('console', (msg) => { | ||
var _a; | ||
switch (msg.type()) { | ||
case 'error': | ||
if (/\/vivliostyle-viewer\.js$/.test(msg.location().url)) { | ||
if (/\/vivliostyle-viewer\.js$/.test((_a = msg.location().url) !== null && _a !== void 0 ? _a : '')) { | ||
util_1.logError(msg.text()); | ||
@@ -50,0 +51,0 @@ throw msg.text(); |
{ | ||
"name": "@vivliostyle/cli", | ||
"description": "Save the pdf file via Headless Chrome and Vivliostyle.", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"author": "spring_raining <harusamex.com@gmail.com>", | ||
@@ -22,23 +22,23 @@ "scripts": { | ||
"dependencies": { | ||
"@vivliostyle/vfm": "v1.0.0-alpha.18", | ||
"@vivliostyle/vfm": "v1.0.0-alpha.21", | ||
"@vivliostyle/viewer": "2.8.0", | ||
"ajv": "^7.0.4", | ||
"ajv-formats": "^1.5.1", | ||
"chalk": "^4.1.0", | ||
"cheerio": "^1.0.0-rc.5", | ||
"chalk": "^4.1.1", | ||
"cheerio": "^1.0.0-rc.6", | ||
"chokidar": "^3.5.1", | ||
"commander": "^7.1.0", | ||
"commander": "^7.2.0", | ||
"debug": "^4.3.1", | ||
"fast-xml-parser": "^3.18.0", | ||
"globby": "^11.0.2", | ||
"hast-util-to-html": "^7.1.2", | ||
"fast-xml-parser": "^3.19.0", | ||
"globby": "^11.0.3", | ||
"hast-util-to-html": "^7.1.3", | ||
"hastscript": "^6.0.0", | ||
"image-size": "^0.9.4", | ||
"mime-types": "^2.1.29", | ||
"node-stream-zip": "^1.13.2", | ||
"ora": "^5.3.0", | ||
"mime-types": "^2.1.30", | ||
"node-stream-zip": "^1.13.3", | ||
"ora": "^5.4.0", | ||
"pdf-lib": "^1.16.0", | ||
"press-ready": "^4.0.3", | ||
"prettier": "^2.2.1", | ||
"puppeteer": "7.0.1", | ||
"puppeteer": "9.0.0", | ||
"resolve-pkg": "^2.0.0", | ||
@@ -56,17 +56,15 @@ "shelljs": "^0.8.4", | ||
"@types/debug": "^4.1.5", | ||
"@types/jest": "^26.0.20", | ||
"@types/jsdom": "^16.2.6", | ||
"@types/jest": "^26.0.23", | ||
"@types/jsdom": "^16.2.10", | ||
"@types/mime-types": "^2.1.0", | ||
"@types/node": "^14.14.31", | ||
"@types/node": "^15.0.1", | ||
"@types/tmp": "^0.2.0", | ||
"@types/uuid": "^8.3.0", | ||
"esbuild": "^0.8.53", | ||
"execa": "^5.0.0", | ||
"file-type": "^16.2.0", | ||
"file-type": "^16.3.0", | ||
"husky": "^4.3.8", | ||
"jest": "^26.6.3", | ||
"jsdom": "^16.4.0", | ||
"json-schema-to-typescript": "^10.1.3", | ||
"jsdom": "^16.5.3", | ||
"json-schema-to-typescript": "^10.1.4", | ||
"lint-staged": "^10.5.4", | ||
"mathjax": "3.1.2", | ||
"nodemon": "^2.0.7", | ||
@@ -76,6 +74,6 @@ "npm-run-all": "^4.1.5", | ||
"pretty-quick": "^3.1.0", | ||
"release-it": "^14.4.1", | ||
"release-it": "^14.6.1", | ||
"shx": "^0.3.3", | ||
"ts-jest": "^26.5.2", | ||
"typescript": "^4.2.2" | ||
"ts-jest": "^26.5.5", | ||
"typescript": "^4.2.4" | ||
}, | ||
@@ -82,0 +80,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
281062
23
3512
+ Addeddevtools-protocol@0.0.869402(transitive)
+ Addedpuppeteer@9.0.0(transitive)
- Removeddevtools-protocol@0.0.847576(transitive)
- Removedpuppeteer@7.0.1(transitive)
Updatedchalk@^4.1.1
Updatedcheerio@^1.0.0-rc.6
Updatedcommander@^7.2.0
Updatedfast-xml-parser@^3.19.0
Updatedglobby@^11.0.3
Updatedhast-util-to-html@^7.1.3
Updatedmime-types@^2.1.30
Updatednode-stream-zip@^1.13.3
Updatedora@^5.4.0
Updatedpuppeteer@9.0.0