fredc
e10047b338
pagelist fixes
2022-07-01 15:23:47 -07:00
fredc
4458c7d584
Update location generation
2022-04-29 16:58:02 -07:00
fredc
ff2693af47
Update navigation import and export
2022-04-28 16:45:52 -07:00
fredc
ccab155e2e
Removed manifest output in Epub
2022-04-19 16:43:11 -07:00
fredc
9e13f62a89
Allow loading epub from container xml url
2022-04-08 13:52:15 -07:00
fredc
dce1d943a9
Fix rollup input
2022-04-08 11:27:12 -07:00
fredc
6c8f02db9f
Update deps, fix build and toJSON methods
2022-04-08 11:23:12 -07:00
Fred Chasen
4ae139f40a
set package main to src
2022-02-09 14:47:38 -08:00
Fred Chasen
c4bc21f4a4
Remove locations generation from epub
2022-02-09 13:22:57 -08:00
Fred Chasen
b02937a055
Fix package version
2022-02-09 13:10:51 -08:00
Fred Chasen
9388decbfd
Add location generation in utils
2022-02-08 21:43:58 -08:00
Fred Chasen
8c9c8250a1
Add locators parsing in Rendition
2022-02-07 21:51:33 -08:00
Fred Chasen
e714ac778e
Restructure Epub and Book into per format classes
2022-02-07 14:38:28 -08:00
Fred Chasen
f6fece4f88
Merge pull request #1239 from rafaelsaback/fix-locations-generate-type
...
Fix locations.generate's return type
2022-01-07 15:49:31 -08:00
Fred Chasen
f9b6a8a084
0.3.92
2022-01-07 14:31:03 -08:00
Fred Chasen
369fee5dbb
Merge pull request #1243 from futurepress/fix_addscript
...
Remove check for script properties
2022-01-07 14:30:39 -08:00
Fred Chasen
d86b375ec9
Remove check for script properties
2022-01-07 14:27:01 -08:00
Fred Chasen
9b1d290d21
0.3.91
2022-01-07 13:46:39 -08:00
Fred Chasen
256e1f584b
Merge pull request #1238 from rafaelsaback/patch-3
...
Add location and percentage to DisplayedLocation
2022-01-07 11:20:03 -08:00
Fred Chasen
e727bc85bc
Merge pull request #1233 from johnfactotum/fix-nav-span
...
Allow `span` in toc nav items
2022-01-07 11:19:39 -08:00
Fred Chasen
858c3a8f91
Merge pull request #1232 from kianmeng/fix-typos
...
Fix typos
2022-01-07 11:17:51 -08:00
Rafael Saback
33df7dd27e
Fix locations.generate's return type
2021-12-29 11:49:29 +01:00
Rafael Saback
2c29a61537
Add location and percentage to DIsplayedLocation
2021-12-29 11:39:25 +01:00
Fred Chasen
5c610143bf
Merge pull request #1237 from johnfactotum/fix-cfi-base
2021-12-27 11:58:21 -08:00
John Factotum
32afb79fd1
Fix ID assertion in section base CFI
...
XML ID assertions should contain the `id` attribute of the element itself.
Fixes #1236
2021-12-27 14:52:07 +08:00
John Factotum
1336e51c40
Allow span
in toc nav items
...
According to https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model :
"A child `a` element describes the target that the link points to, while a `span` element serves as a heading for breaking down lists into distinct groups (for example, a large list of illustrations can be segmented into several lists, one for each chapter)."
2021-12-16 15:11:55 +08:00
Kian-Meng, Ang
851304ff76
Fix typos
2021-12-16 15:03:30 +08:00
Fred Chasen
228d9913e0
0.3.90
2021-10-21 11:44:03 -07:00
Fred Chasen
819d3c3380
Update dependencies
2021-10-21 11:43:54 -07:00
Fred Chasen
f7c179ad7b
Merge pull request #1223 from maggie0002/xmldom
...
Import new @xmldom package
2021-10-21 11:32:23 -07:00
maggie0002
d0d557e398
Import new @xmldom package
2021-10-21 09:45:41 +01:00
Fred Chasen
9fd9177c48
0.3.89
2021-10-20 20:23:16 -07:00
Fred Chasen
e43c12832b
Merge pull request #1182 from Upstatement/remove-pane-if-iframe-unloads
...
Remove pane when iframe is destroyed to force redraw on render
2021-10-20 20:18:51 -07:00
Fred Chasen
9e729d693c
Merge pull request #1222 from futurepress/disable_scripts
...
Add iframe sandboxing and allowScriptedContent option
2021-10-20 20:18:09 -07:00
Fred Chasen
ab4dd46408
Add iframe sandboxing
2021-10-20 20:15:50 -07:00
Fred Chasen
f632df7cb3
Merge pull request #1184 from Upstatement/fix-marks-example
...
fix marks example
2021-10-18 22:47:19 -07:00
Fred Chasen
f1a3e01269
Merge pull request #1202 from tgv1975/patch-2
...
Fix xmldom DOMParser import
2021-10-18 22:46:25 -07:00
Fred Chasen
4f4155a891
Merge pull request #1206 from maggie0002/master
...
Fix XMLDOM package critical security vulnerability
2021-10-18 22:46:15 -07:00
maggie0002
4fdd85c0c6
Update XMLDOM Package
2021-09-22 14:50:17 -07:00
Tudor Gavan
9267148062
Fix xmldom DOMParser import
...
`xmldom` does not export `XMLDOMParser`, it exports `DOMParser` instead (https://www.npmjs.com/package/xmldom ).
With TypeScript, the following error occurs, which breaks the build:
```
./node_modules/epubjs/src/section.js💯 18-34 - Error: export 'XMLDOMParser' (imported as 'XMLDOMSerializer') was not found in 'xmldom' (possible exports: DOMImplementation, DOMParser, XMLSerializer)
```
Making the correction manually in the local node_modules fixes this, but it's obviously not a longterm solution.
2021-06-20 22:52:11 +03:00
Scott Batson
46eb851111
fix marks example
2021-03-25 16:32:27 -04:00
Scott Batson
057ed100f8
remove pane to force redraw on render
2021-03-18 15:15:55 -04:00
Fred Chasen
5c7f21d648
Merge pull request #1180 from futurepress/move_mime_to_utils
...
Build mime.js with babel
2021-03-09 11:43:00 -08:00
Fred Chasen
408873b8ac
Move mime.js to utils, remove libs folder
2021-03-09 11:18:02 -08:00
Fred Chasen
98fe63bc4e
Merge pull request #1160 from alikazemkhanloo/patch-1
...
add RTL support for moveTo function
2021-03-08 16:45:42 -08:00
Fred Chasen
952190e76f
Merge pull request #1140 from EduardoJM/master
...
fix the getRange in Book return type to Promise
2021-03-08 15:25:32 -08:00
Fred Chasen
7e04151e13
Merge pull request #1123 from rafaelsaback/patch-1
...
Fix cfirange type on selected event
2021-03-08 15:22:49 -08:00
Fred Chasen
9a9a32799f
Merge pull request #1104 from alikazemkhanloo/fixPageNumbers
...
update layout before calculating location
2021-03-08 11:56:14 -08:00
Fred Chasen
27691ac94d
Merge pull request #1121 from MrMYHuang/UpdateLayoutAcrossSection
...
Update layout after crossing a section boundary
2021-03-08 11:55:47 -08:00
Fred Chasen
d68919ff06
Merge pull request #1120 from MrMYHuang/FixMoveToForVertical
...
* Fix moveTo for vertical writing mode.
2021-03-08 11:55:17 -08:00