1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00
Commit graph

1313 commits

Author SHA1 Message Date
Fred Chasen
a32cc0b56d 0.5.0-alpha.3 2023-09-26 15:19:58 -07:00
Fred Chasen
b826815511 Fix spelling of item.properties 2023-09-26 15:19:06 -07:00
Fred Chasen
dc6e37dad2 0.5.0-alpha.2 2023-06-28 23:07:39 -07:00
Fred Chasen
d51432f57a Update id generation to count repeats 2023-06-28 23:06:48 -07:00
Fred Chasen
66b439664a 0.5.0-alpha.1 2023-05-19 16:47:34 -07:00
Fred Chasen
ef8e7104c7 Parse cover entry in manifest 2023-05-19 16:43:52 -07:00
Fred Chasen
de1861ba86 Update Id generation to use full URL instead of just the filename 2023-05-17 22:00:53 -07:00
Fred Chasen
dc23a53f62 Version 0.5.0-alpha.0 2023-01-25 08:26:35 -08:00
Fred Chasen
7cf8dc151b Resource loading fixes 2022-12-05 12:00:30 -08: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