@ridi/epub-parser
Advanced tools
Comparing version 0.3.0-alpha.12 to 0.3.0-alpha.13
@@ -1048,2 +1048,3 @@ 'use strict'; | ||
* @throws {Errors.ENOFILE} no such file | ||
* @see EpubParser.readDefaultOptions.force | ||
*/ | ||
@@ -1083,3 +1084,3 @@ | ||
if ((0, _parserCore.isExists)(entry)) { | ||
if (!(!options.force && !(0, _parserCore.isExists)(entry))) { | ||
_context9.next = 6; | ||
@@ -1086,0 +1087,0 @@ break; |
{ | ||
"name": "@ridi/epub-parser", | ||
"version": "0.3.0-alpha.12", | ||
"version": "0.3.0-alpha.13", | ||
"description": "Common EPUB2 data parser for Ridibooks services", | ||
@@ -31,3 +31,3 @@ "author": { | ||
"dependencies": { | ||
"@ridi/parser-core": "^0.3.0-alpha.12", | ||
"@ridi/parser-core": "^0.3.0-alpha.13", | ||
"css-tree": "^1.0.0-alpha.29", | ||
@@ -34,0 +34,0 @@ "fast-xml-parser": "^3.11.2", |
@@ -396,2 +396,3 @@ # @ridi/epub-parser | ||
* [force](#force) | ||
* [basePath](#basePath) | ||
@@ -407,2 +408,12 @@ * [extractBody](#extractBody) | ||
<a id="force"></a> | ||
### force: *boolean* | ||
If true, ignore any exceptions that occur within parser. | ||
**Default:** `false` | ||
--- | ||
<a id="basePath"></a> | ||
@@ -409,0 +420,0 @@ |
110663
2359
560