@storyteller-platform/epub 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. package/README.md +2780 -35
  2. package/dist/index.js +0 -2
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1781,8 +1781,6 @@ export class Epub {
1781
1781
  Use if resolving a relative href from a file other than the package document.
1782
1782
  */
1783
1783
  async resolveHref(href, relativeTo, { toRoot } = {}) {
1784
- if (href.startsWith("#"))
1785
- return href;
1786
1784
  const rootfile = await this.getRootfile();
1787
1785
  const from = relativeTo
1788
1786
  ? await this.resolveEntry(rootfile, relativeTo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyteller-platform/epub",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",