epub-codec 1.3.1 → 1.3.3
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.
- package/dist/{codec-DnYJkaC9.d.ts → codec-DgJQ0rH2.d.ts} +36 -0
- package/dist/{codec-CLtyYaFH.d.cts → codec-ai1wiK-h.d.cts} +36 -0
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/model/package.d.cts +1 -1
- package/dist/model/package.d.ts +1 -1
- package/dist/package-io/read.d.cts +1 -1
- package/dist/package-io/read.d.ts +1 -1
- package/dist/package-io/write.d.cts +1 -1
- package/dist/package-io/write.d.ts +1 -1
- package/package.json +2 -2
|
@@ -215,6 +215,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
215
215
|
pdf: "pdf";
|
|
216
216
|
epub: "epub";
|
|
217
217
|
rtf: "rtf";
|
|
218
|
+
wpd: "wpd";
|
|
218
219
|
}>;
|
|
219
220
|
xml: z.ZodString;
|
|
220
221
|
}, z.core.$strict>>>;
|
|
@@ -363,6 +364,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
363
364
|
pdf: "pdf";
|
|
364
365
|
epub: "epub";
|
|
365
366
|
rtf: "rtf";
|
|
367
|
+
wpd: "wpd";
|
|
366
368
|
}>;
|
|
367
369
|
xml: z.ZodString;
|
|
368
370
|
}, z.core.$strict>>>;
|
|
@@ -511,6 +513,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
511
513
|
pdf: "pdf";
|
|
512
514
|
epub: "epub";
|
|
513
515
|
rtf: "rtf";
|
|
516
|
+
wpd: "wpd";
|
|
514
517
|
}>;
|
|
515
518
|
xml: z.ZodString;
|
|
516
519
|
}, z.core.$strict>>>;
|
|
@@ -659,6 +662,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
659
662
|
pdf: "pdf";
|
|
660
663
|
epub: "epub";
|
|
661
664
|
rtf: "rtf";
|
|
665
|
+
wpd: "wpd";
|
|
662
666
|
}>;
|
|
663
667
|
xml: z.ZodString;
|
|
664
668
|
}, z.core.$strict>>>;
|
|
@@ -758,6 +762,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
758
762
|
pdf: "pdf";
|
|
759
763
|
epub: "epub";
|
|
760
764
|
rtf: "rtf";
|
|
765
|
+
wpd: "wpd";
|
|
761
766
|
}>;
|
|
762
767
|
xml: z.ZodString;
|
|
763
768
|
}, z.core.$strict>>;
|
|
@@ -838,6 +843,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
838
843
|
pdf: "pdf";
|
|
839
844
|
epub: "epub";
|
|
840
845
|
rtf: "rtf";
|
|
846
|
+
wpd: "wpd";
|
|
841
847
|
}>;
|
|
842
848
|
xml: z.ZodString;
|
|
843
849
|
}, z.core.$strict>>>;
|
|
@@ -944,6 +950,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
944
950
|
pdf: "pdf";
|
|
945
951
|
epub: "epub";
|
|
946
952
|
rtf: "rtf";
|
|
953
|
+
wpd: "wpd";
|
|
947
954
|
}>;
|
|
948
955
|
xml: z.ZodString;
|
|
949
956
|
}, z.core.$strict>>;
|
|
@@ -1054,6 +1061,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1054
1061
|
pdf: "pdf";
|
|
1055
1062
|
epub: "epub";
|
|
1056
1063
|
rtf: "rtf";
|
|
1064
|
+
wpd: "wpd";
|
|
1057
1065
|
}>;
|
|
1058
1066
|
xml: z.ZodString;
|
|
1059
1067
|
}, z.core.$strict>>;
|
|
@@ -1083,6 +1091,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1083
1091
|
pdf: "pdf";
|
|
1084
1092
|
epub: "epub";
|
|
1085
1093
|
rtf: "rtf";
|
|
1094
|
+
wpd: "wpd";
|
|
1086
1095
|
}>;
|
|
1087
1096
|
xml: z.ZodString;
|
|
1088
1097
|
}, z.core.$strict>>;
|
|
@@ -1236,6 +1245,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1236
1245
|
pdf: "pdf";
|
|
1237
1246
|
epub: "epub";
|
|
1238
1247
|
rtf: "rtf";
|
|
1248
|
+
wpd: "wpd";
|
|
1239
1249
|
}>;
|
|
1240
1250
|
xml: z.ZodString;
|
|
1241
1251
|
}, z.core.$strict>>;
|
|
@@ -1446,6 +1456,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1446
1456
|
pdf: "pdf";
|
|
1447
1457
|
epub: "epub";
|
|
1448
1458
|
rtf: "rtf";
|
|
1459
|
+
wpd: "wpd";
|
|
1449
1460
|
}>;
|
|
1450
1461
|
xml: z.ZodString;
|
|
1451
1462
|
}, z.core.$strict>>;
|
|
@@ -1584,6 +1595,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1584
1595
|
pdf: "pdf";
|
|
1585
1596
|
epub: "epub";
|
|
1586
1597
|
rtf: "rtf";
|
|
1598
|
+
wpd: "wpd";
|
|
1587
1599
|
}>;
|
|
1588
1600
|
xml: z.ZodString;
|
|
1589
1601
|
}, z.core.$strict>>;
|
|
@@ -1697,6 +1709,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1697
1709
|
pdf: "pdf";
|
|
1698
1710
|
epub: "epub";
|
|
1699
1711
|
rtf: "rtf";
|
|
1712
|
+
wpd: "wpd";
|
|
1700
1713
|
}>;
|
|
1701
1714
|
xml: z.ZodString;
|
|
1702
1715
|
}, z.core.$strict>>;
|
|
@@ -1741,6 +1754,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1741
1754
|
pdf: "pdf";
|
|
1742
1755
|
epub: "epub";
|
|
1743
1756
|
rtf: "rtf";
|
|
1757
|
+
wpd: "wpd";
|
|
1744
1758
|
}>;
|
|
1745
1759
|
xml: z.ZodString;
|
|
1746
1760
|
}, z.core.$strict>>;
|
|
@@ -1769,6 +1783,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1769
1783
|
pdf: "pdf";
|
|
1770
1784
|
epub: "epub";
|
|
1771
1785
|
rtf: "rtf";
|
|
1786
|
+
wpd: "wpd";
|
|
1772
1787
|
}>;
|
|
1773
1788
|
xml: z.ZodString;
|
|
1774
1789
|
}, z.core.$strict>>;
|
|
@@ -1802,6 +1817,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1802
1817
|
pdf: "pdf";
|
|
1803
1818
|
epub: "epub";
|
|
1804
1819
|
rtf: "rtf";
|
|
1820
|
+
wpd: "wpd";
|
|
1805
1821
|
}>;
|
|
1806
1822
|
xml: z.ZodString;
|
|
1807
1823
|
}, z.core.$strict>>;
|
|
@@ -1830,6 +1846,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1830
1846
|
pdf: "pdf";
|
|
1831
1847
|
epub: "epub";
|
|
1832
1848
|
rtf: "rtf";
|
|
1849
|
+
wpd: "wpd";
|
|
1833
1850
|
}>;
|
|
1834
1851
|
xml: z.ZodString;
|
|
1835
1852
|
}, z.core.$strict>>;
|
|
@@ -1867,6 +1884,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1867
1884
|
pdf: "pdf";
|
|
1868
1885
|
epub: "epub";
|
|
1869
1886
|
rtf: "rtf";
|
|
1887
|
+
wpd: "wpd";
|
|
1870
1888
|
}>;
|
|
1871
1889
|
xml: z.ZodString;
|
|
1872
1890
|
}, z.core.$strict>>;
|
|
@@ -1895,6 +1913,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1895
1913
|
pdf: "pdf";
|
|
1896
1914
|
epub: "epub";
|
|
1897
1915
|
rtf: "rtf";
|
|
1916
|
+
wpd: "wpd";
|
|
1898
1917
|
}>;
|
|
1899
1918
|
xml: z.ZodString;
|
|
1900
1919
|
}, z.core.$strict>>;
|
|
@@ -1937,6 +1956,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1937
1956
|
pdf: "pdf";
|
|
1938
1957
|
epub: "epub";
|
|
1939
1958
|
rtf: "rtf";
|
|
1959
|
+
wpd: "wpd";
|
|
1940
1960
|
}>;
|
|
1941
1961
|
xml: z.ZodString;
|
|
1942
1962
|
}, z.core.$strict>>;
|
|
@@ -1965,6 +1985,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1965
1985
|
pdf: "pdf";
|
|
1966
1986
|
epub: "epub";
|
|
1967
1987
|
rtf: "rtf";
|
|
1988
|
+
wpd: "wpd";
|
|
1968
1989
|
}>;
|
|
1969
1990
|
xml: z.ZodString;
|
|
1970
1991
|
}, z.core.$strict>>;
|
|
@@ -2000,6 +2021,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2000
2021
|
pdf: "pdf";
|
|
2001
2022
|
epub: "epub";
|
|
2002
2023
|
rtf: "rtf";
|
|
2024
|
+
wpd: "wpd";
|
|
2003
2025
|
}>;
|
|
2004
2026
|
xml: z.ZodString;
|
|
2005
2027
|
}, z.core.$strict>>;
|
|
@@ -2028,6 +2050,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2028
2050
|
pdf: "pdf";
|
|
2029
2051
|
epub: "epub";
|
|
2030
2052
|
rtf: "rtf";
|
|
2053
|
+
wpd: "wpd";
|
|
2031
2054
|
}>;
|
|
2032
2055
|
xml: z.ZodString;
|
|
2033
2056
|
}, z.core.$strict>>;
|
|
@@ -2075,6 +2098,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2075
2098
|
pdf: "pdf";
|
|
2076
2099
|
epub: "epub";
|
|
2077
2100
|
rtf: "rtf";
|
|
2101
|
+
wpd: "wpd";
|
|
2078
2102
|
}>;
|
|
2079
2103
|
xml: z.ZodString;
|
|
2080
2104
|
}, z.core.$strict>>;
|
|
@@ -2103,6 +2127,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2103
2127
|
pdf: "pdf";
|
|
2104
2128
|
epub: "epub";
|
|
2105
2129
|
rtf: "rtf";
|
|
2130
|
+
wpd: "wpd";
|
|
2106
2131
|
}>;
|
|
2107
2132
|
xml: z.ZodString;
|
|
2108
2133
|
}, z.core.$strict>>;
|
|
@@ -2150,6 +2175,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2150
2175
|
pdf: "pdf";
|
|
2151
2176
|
epub: "epub";
|
|
2152
2177
|
rtf: "rtf";
|
|
2178
|
+
wpd: "wpd";
|
|
2153
2179
|
}>;
|
|
2154
2180
|
xml: z.ZodString;
|
|
2155
2181
|
}, z.core.$strict>>;
|
|
@@ -2207,6 +2233,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2207
2233
|
pdf: "pdf";
|
|
2208
2234
|
epub: "epub";
|
|
2209
2235
|
rtf: "rtf";
|
|
2236
|
+
wpd: "wpd";
|
|
2210
2237
|
}>;
|
|
2211
2238
|
xml: z.ZodString;
|
|
2212
2239
|
}, z.core.$strict>>;
|
|
@@ -2250,6 +2277,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2250
2277
|
pdf: "pdf";
|
|
2251
2278
|
epub: "epub";
|
|
2252
2279
|
rtf: "rtf";
|
|
2280
|
+
wpd: "wpd";
|
|
2253
2281
|
}>;
|
|
2254
2282
|
xml: z.ZodString;
|
|
2255
2283
|
}, z.core.$strict>>;
|
|
@@ -2271,6 +2299,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2271
2299
|
pdf: "pdf";
|
|
2272
2300
|
epub: "epub";
|
|
2273
2301
|
rtf: "rtf";
|
|
2302
|
+
wpd: "wpd";
|
|
2274
2303
|
}>;
|
|
2275
2304
|
xml: z.ZodString;
|
|
2276
2305
|
}, z.core.$strict>>;
|
|
@@ -2381,6 +2410,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2381
2410
|
pdf: "pdf";
|
|
2382
2411
|
epub: "epub";
|
|
2383
2412
|
rtf: "rtf";
|
|
2413
|
+
wpd: "wpd";
|
|
2384
2414
|
}>;
|
|
2385
2415
|
xml: z.ZodString;
|
|
2386
2416
|
}, z.core.$strict>>;
|
|
@@ -2493,6 +2523,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2493
2523
|
pdf: "pdf";
|
|
2494
2524
|
epub: "epub";
|
|
2495
2525
|
rtf: "rtf";
|
|
2526
|
+
wpd: "wpd";
|
|
2496
2527
|
}>;
|
|
2497
2528
|
xml: z.ZodString;
|
|
2498
2529
|
}, z.core.$strict>>;
|
|
@@ -2603,6 +2634,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2603
2634
|
pdf: "pdf";
|
|
2604
2635
|
epub: "epub";
|
|
2605
2636
|
rtf: "rtf";
|
|
2637
|
+
wpd: "wpd";
|
|
2606
2638
|
}>;
|
|
2607
2639
|
xml: z.ZodString;
|
|
2608
2640
|
}, z.core.$strict>>;
|
|
@@ -2663,6 +2695,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2663
2695
|
pdf: "pdf";
|
|
2664
2696
|
epub: "epub";
|
|
2665
2697
|
rtf: "rtf";
|
|
2698
|
+
wpd: "wpd";
|
|
2666
2699
|
}>;
|
|
2667
2700
|
xml: z.ZodString;
|
|
2668
2701
|
}, z.core.$strict>>;
|
|
@@ -2805,6 +2838,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2805
2838
|
pdf: "pdf";
|
|
2806
2839
|
epub: "epub";
|
|
2807
2840
|
rtf: "rtf";
|
|
2841
|
+
wpd: "wpd";
|
|
2808
2842
|
}>;
|
|
2809
2843
|
xml: z.ZodString;
|
|
2810
2844
|
}, z.core.$strict>>;
|
|
@@ -2832,6 +2866,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2832
2866
|
pdf: "pdf";
|
|
2833
2867
|
epub: "epub";
|
|
2834
2868
|
rtf: "rtf";
|
|
2869
|
+
wpd: "wpd";
|
|
2835
2870
|
}>;
|
|
2836
2871
|
xml: z.ZodString;
|
|
2837
2872
|
}, z.core.$strict>>;
|
|
@@ -2932,6 +2967,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2932
2967
|
pdf: "pdf";
|
|
2933
2968
|
epub: "epub";
|
|
2934
2969
|
rtf: "rtf";
|
|
2970
|
+
wpd: "wpd";
|
|
2935
2971
|
}>;
|
|
2936
2972
|
xml: z.ZodString;
|
|
2937
2973
|
}, z.core.$strict>>;
|
|
@@ -215,6 +215,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
215
215
|
pdf: "pdf";
|
|
216
216
|
epub: "epub";
|
|
217
217
|
rtf: "rtf";
|
|
218
|
+
wpd: "wpd";
|
|
218
219
|
}>;
|
|
219
220
|
xml: z.ZodString;
|
|
220
221
|
}, z.core.$strict>>>;
|
|
@@ -363,6 +364,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
363
364
|
pdf: "pdf";
|
|
364
365
|
epub: "epub";
|
|
365
366
|
rtf: "rtf";
|
|
367
|
+
wpd: "wpd";
|
|
366
368
|
}>;
|
|
367
369
|
xml: z.ZodString;
|
|
368
370
|
}, z.core.$strict>>>;
|
|
@@ -511,6 +513,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
511
513
|
pdf: "pdf";
|
|
512
514
|
epub: "epub";
|
|
513
515
|
rtf: "rtf";
|
|
516
|
+
wpd: "wpd";
|
|
514
517
|
}>;
|
|
515
518
|
xml: z.ZodString;
|
|
516
519
|
}, z.core.$strict>>>;
|
|
@@ -659,6 +662,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
659
662
|
pdf: "pdf";
|
|
660
663
|
epub: "epub";
|
|
661
664
|
rtf: "rtf";
|
|
665
|
+
wpd: "wpd";
|
|
662
666
|
}>;
|
|
663
667
|
xml: z.ZodString;
|
|
664
668
|
}, z.core.$strict>>>;
|
|
@@ -758,6 +762,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
758
762
|
pdf: "pdf";
|
|
759
763
|
epub: "epub";
|
|
760
764
|
rtf: "rtf";
|
|
765
|
+
wpd: "wpd";
|
|
761
766
|
}>;
|
|
762
767
|
xml: z.ZodString;
|
|
763
768
|
}, z.core.$strict>>;
|
|
@@ -838,6 +843,7 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
838
843
|
pdf: "pdf";
|
|
839
844
|
epub: "epub";
|
|
840
845
|
rtf: "rtf";
|
|
846
|
+
wpd: "wpd";
|
|
841
847
|
}>;
|
|
842
848
|
xml: z.ZodString;
|
|
843
849
|
}, z.core.$strict>>>;
|
|
@@ -944,6 +950,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
944
950
|
pdf: "pdf";
|
|
945
951
|
epub: "epub";
|
|
946
952
|
rtf: "rtf";
|
|
953
|
+
wpd: "wpd";
|
|
947
954
|
}>;
|
|
948
955
|
xml: z.ZodString;
|
|
949
956
|
}, z.core.$strict>>;
|
|
@@ -1054,6 +1061,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1054
1061
|
pdf: "pdf";
|
|
1055
1062
|
epub: "epub";
|
|
1056
1063
|
rtf: "rtf";
|
|
1064
|
+
wpd: "wpd";
|
|
1057
1065
|
}>;
|
|
1058
1066
|
xml: z.ZodString;
|
|
1059
1067
|
}, z.core.$strict>>;
|
|
@@ -1083,6 +1091,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1083
1091
|
pdf: "pdf";
|
|
1084
1092
|
epub: "epub";
|
|
1085
1093
|
rtf: "rtf";
|
|
1094
|
+
wpd: "wpd";
|
|
1086
1095
|
}>;
|
|
1087
1096
|
xml: z.ZodString;
|
|
1088
1097
|
}, z.core.$strict>>;
|
|
@@ -1236,6 +1245,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1236
1245
|
pdf: "pdf";
|
|
1237
1246
|
epub: "epub";
|
|
1238
1247
|
rtf: "rtf";
|
|
1248
|
+
wpd: "wpd";
|
|
1239
1249
|
}>;
|
|
1240
1250
|
xml: z.ZodString;
|
|
1241
1251
|
}, z.core.$strict>>;
|
|
@@ -1446,6 +1456,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1446
1456
|
pdf: "pdf";
|
|
1447
1457
|
epub: "epub";
|
|
1448
1458
|
rtf: "rtf";
|
|
1459
|
+
wpd: "wpd";
|
|
1449
1460
|
}>;
|
|
1450
1461
|
xml: z.ZodString;
|
|
1451
1462
|
}, z.core.$strict>>;
|
|
@@ -1584,6 +1595,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1584
1595
|
pdf: "pdf";
|
|
1585
1596
|
epub: "epub";
|
|
1586
1597
|
rtf: "rtf";
|
|
1598
|
+
wpd: "wpd";
|
|
1587
1599
|
}>;
|
|
1588
1600
|
xml: z.ZodString;
|
|
1589
1601
|
}, z.core.$strict>>;
|
|
@@ -1697,6 +1709,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1697
1709
|
pdf: "pdf";
|
|
1698
1710
|
epub: "epub";
|
|
1699
1711
|
rtf: "rtf";
|
|
1712
|
+
wpd: "wpd";
|
|
1700
1713
|
}>;
|
|
1701
1714
|
xml: z.ZodString;
|
|
1702
1715
|
}, z.core.$strict>>;
|
|
@@ -1741,6 +1754,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1741
1754
|
pdf: "pdf";
|
|
1742
1755
|
epub: "epub";
|
|
1743
1756
|
rtf: "rtf";
|
|
1757
|
+
wpd: "wpd";
|
|
1744
1758
|
}>;
|
|
1745
1759
|
xml: z.ZodString;
|
|
1746
1760
|
}, z.core.$strict>>;
|
|
@@ -1769,6 +1783,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1769
1783
|
pdf: "pdf";
|
|
1770
1784
|
epub: "epub";
|
|
1771
1785
|
rtf: "rtf";
|
|
1786
|
+
wpd: "wpd";
|
|
1772
1787
|
}>;
|
|
1773
1788
|
xml: z.ZodString;
|
|
1774
1789
|
}, z.core.$strict>>;
|
|
@@ -1802,6 +1817,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1802
1817
|
pdf: "pdf";
|
|
1803
1818
|
epub: "epub";
|
|
1804
1819
|
rtf: "rtf";
|
|
1820
|
+
wpd: "wpd";
|
|
1805
1821
|
}>;
|
|
1806
1822
|
xml: z.ZodString;
|
|
1807
1823
|
}, z.core.$strict>>;
|
|
@@ -1830,6 +1846,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1830
1846
|
pdf: "pdf";
|
|
1831
1847
|
epub: "epub";
|
|
1832
1848
|
rtf: "rtf";
|
|
1849
|
+
wpd: "wpd";
|
|
1833
1850
|
}>;
|
|
1834
1851
|
xml: z.ZodString;
|
|
1835
1852
|
}, z.core.$strict>>;
|
|
@@ -1867,6 +1884,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1867
1884
|
pdf: "pdf";
|
|
1868
1885
|
epub: "epub";
|
|
1869
1886
|
rtf: "rtf";
|
|
1887
|
+
wpd: "wpd";
|
|
1870
1888
|
}>;
|
|
1871
1889
|
xml: z.ZodString;
|
|
1872
1890
|
}, z.core.$strict>>;
|
|
@@ -1895,6 +1913,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1895
1913
|
pdf: "pdf";
|
|
1896
1914
|
epub: "epub";
|
|
1897
1915
|
rtf: "rtf";
|
|
1916
|
+
wpd: "wpd";
|
|
1898
1917
|
}>;
|
|
1899
1918
|
xml: z.ZodString;
|
|
1900
1919
|
}, z.core.$strict>>;
|
|
@@ -1937,6 +1956,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1937
1956
|
pdf: "pdf";
|
|
1938
1957
|
epub: "epub";
|
|
1939
1958
|
rtf: "rtf";
|
|
1959
|
+
wpd: "wpd";
|
|
1940
1960
|
}>;
|
|
1941
1961
|
xml: z.ZodString;
|
|
1942
1962
|
}, z.core.$strict>>;
|
|
@@ -1965,6 +1985,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1965
1985
|
pdf: "pdf";
|
|
1966
1986
|
epub: "epub";
|
|
1967
1987
|
rtf: "rtf";
|
|
1988
|
+
wpd: "wpd";
|
|
1968
1989
|
}>;
|
|
1969
1990
|
xml: z.ZodString;
|
|
1970
1991
|
}, z.core.$strict>>;
|
|
@@ -2000,6 +2021,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2000
2021
|
pdf: "pdf";
|
|
2001
2022
|
epub: "epub";
|
|
2002
2023
|
rtf: "rtf";
|
|
2024
|
+
wpd: "wpd";
|
|
2003
2025
|
}>;
|
|
2004
2026
|
xml: z.ZodString;
|
|
2005
2027
|
}, z.core.$strict>>;
|
|
@@ -2028,6 +2050,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2028
2050
|
pdf: "pdf";
|
|
2029
2051
|
epub: "epub";
|
|
2030
2052
|
rtf: "rtf";
|
|
2053
|
+
wpd: "wpd";
|
|
2031
2054
|
}>;
|
|
2032
2055
|
xml: z.ZodString;
|
|
2033
2056
|
}, z.core.$strict>>;
|
|
@@ -2075,6 +2098,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2075
2098
|
pdf: "pdf";
|
|
2076
2099
|
epub: "epub";
|
|
2077
2100
|
rtf: "rtf";
|
|
2101
|
+
wpd: "wpd";
|
|
2078
2102
|
}>;
|
|
2079
2103
|
xml: z.ZodString;
|
|
2080
2104
|
}, z.core.$strict>>;
|
|
@@ -2103,6 +2127,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2103
2127
|
pdf: "pdf";
|
|
2104
2128
|
epub: "epub";
|
|
2105
2129
|
rtf: "rtf";
|
|
2130
|
+
wpd: "wpd";
|
|
2106
2131
|
}>;
|
|
2107
2132
|
xml: z.ZodString;
|
|
2108
2133
|
}, z.core.$strict>>;
|
|
@@ -2150,6 +2175,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2150
2175
|
pdf: "pdf";
|
|
2151
2176
|
epub: "epub";
|
|
2152
2177
|
rtf: "rtf";
|
|
2178
|
+
wpd: "wpd";
|
|
2153
2179
|
}>;
|
|
2154
2180
|
xml: z.ZodString;
|
|
2155
2181
|
}, z.core.$strict>>;
|
|
@@ -2207,6 +2233,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2207
2233
|
pdf: "pdf";
|
|
2208
2234
|
epub: "epub";
|
|
2209
2235
|
rtf: "rtf";
|
|
2236
|
+
wpd: "wpd";
|
|
2210
2237
|
}>;
|
|
2211
2238
|
xml: z.ZodString;
|
|
2212
2239
|
}, z.core.$strict>>;
|
|
@@ -2250,6 +2277,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2250
2277
|
pdf: "pdf";
|
|
2251
2278
|
epub: "epub";
|
|
2252
2279
|
rtf: "rtf";
|
|
2280
|
+
wpd: "wpd";
|
|
2253
2281
|
}>;
|
|
2254
2282
|
xml: z.ZodString;
|
|
2255
2283
|
}, z.core.$strict>>;
|
|
@@ -2271,6 +2299,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2271
2299
|
pdf: "pdf";
|
|
2272
2300
|
epub: "epub";
|
|
2273
2301
|
rtf: "rtf";
|
|
2302
|
+
wpd: "wpd";
|
|
2274
2303
|
}>;
|
|
2275
2304
|
xml: z.ZodString;
|
|
2276
2305
|
}, z.core.$strict>>;
|
|
@@ -2381,6 +2410,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2381
2410
|
pdf: "pdf";
|
|
2382
2411
|
epub: "epub";
|
|
2383
2412
|
rtf: "rtf";
|
|
2413
|
+
wpd: "wpd";
|
|
2384
2414
|
}>;
|
|
2385
2415
|
xml: z.ZodString;
|
|
2386
2416
|
}, z.core.$strict>>;
|
|
@@ -2493,6 +2523,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2493
2523
|
pdf: "pdf";
|
|
2494
2524
|
epub: "epub";
|
|
2495
2525
|
rtf: "rtf";
|
|
2526
|
+
wpd: "wpd";
|
|
2496
2527
|
}>;
|
|
2497
2528
|
xml: z.ZodString;
|
|
2498
2529
|
}, z.core.$strict>>;
|
|
@@ -2603,6 +2634,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2603
2634
|
pdf: "pdf";
|
|
2604
2635
|
epub: "epub";
|
|
2605
2636
|
rtf: "rtf";
|
|
2637
|
+
wpd: "wpd";
|
|
2606
2638
|
}>;
|
|
2607
2639
|
xml: z.ZodString;
|
|
2608
2640
|
}, z.core.$strict>>;
|
|
@@ -2663,6 +2695,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2663
2695
|
pdf: "pdf";
|
|
2664
2696
|
epub: "epub";
|
|
2665
2697
|
rtf: "rtf";
|
|
2698
|
+
wpd: "wpd";
|
|
2666
2699
|
}>;
|
|
2667
2700
|
xml: z.ZodString;
|
|
2668
2701
|
}, z.core.$strict>>;
|
|
@@ -2805,6 +2838,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2805
2838
|
pdf: "pdf";
|
|
2806
2839
|
epub: "epub";
|
|
2807
2840
|
rtf: "rtf";
|
|
2841
|
+
wpd: "wpd";
|
|
2808
2842
|
}>;
|
|
2809
2843
|
xml: z.ZodString;
|
|
2810
2844
|
}, z.core.$strict>>;
|
|
@@ -2832,6 +2866,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2832
2866
|
pdf: "pdf";
|
|
2833
2867
|
epub: "epub";
|
|
2834
2868
|
rtf: "rtf";
|
|
2869
|
+
wpd: "wpd";
|
|
2835
2870
|
}>;
|
|
2836
2871
|
xml: z.ZodString;
|
|
2837
2872
|
}, z.core.$strict>>;
|
|
@@ -2932,6 +2967,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2932
2967
|
pdf: "pdf";
|
|
2933
2968
|
epub: "epub";
|
|
2934
2969
|
rtf: "rtf";
|
|
2970
|
+
wpd: "wpd";
|
|
2935
2971
|
}>;
|
|
2936
2972
|
xml: z.ZodString;
|
|
2937
2973
|
}, z.core.$strict>>;
|
package/dist/codec.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-
|
|
1
|
+
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-ai1wiK-h.cjs";
|
|
2
2
|
export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
|
package/dist/codec.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-
|
|
1
|
+
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-DgJQ0rH2.js";
|
|
2
2
|
export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.cjs";
|
|
2
2
|
import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.cjs";
|
|
3
|
-
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-
|
|
3
|
+
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-ai1wiK-h.cjs";
|
|
4
4
|
import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.cjs";
|
|
5
5
|
import { t as resolveOpfPath } from "./container-B6cHHiY9.cjs";
|
|
6
6
|
import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.js";
|
|
2
2
|
import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.js";
|
|
3
|
-
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-
|
|
3
|
+
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-DgJQ0rH2.js";
|
|
4
4
|
import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.js";
|
|
5
5
|
import { t as resolveOpfPath } from "./container-B6cHHiY9.js";
|
|
6
6
|
import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.js";
|
package/dist/model/package.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-
|
|
1
|
+
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-ai1wiK-h.cjs";
|
|
2
2
|
export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
|
package/dist/model/package.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-
|
|
1
|
+
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-DgJQ0rH2.js";
|
|
2
2
|
export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as packageFromEntries, u as parsePackage } from "../codec-
|
|
1
|
+
import { l as packageFromEntries, u as parsePackage } from "../codec-ai1wiK-h.cjs";
|
|
2
2
|
export { packageFromEntries, parsePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as packageFromEntries, u as parsePackage } from "../codec-
|
|
1
|
+
import { l as packageFromEntries, u as parsePackage } from "../codec-DgJQ0rH2.js";
|
|
2
2
|
export { packageFromEntries, parsePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as serializePackage, s as packageToEntries } from "../codec-
|
|
1
|
+
import { c as serializePackage, s as packageToEntries } from "../codec-ai1wiK-h.cjs";
|
|
2
2
|
export { packageToEntries, serializePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as serializePackage, s as packageToEntries } from "../codec-
|
|
1
|
+
import { c as serializePackage, s as packageToEntries } from "../codec-DgJQ0rH2.js";
|
|
2
2
|
export { packageToEntries, serializePackage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "epub-codec",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "EPUB 2/3 reading and deterministic EPUB 3 writing against the shared document-schema.js content pivot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"license": "MIT",
|
|
79
79
|
"packageManager": "pnpm@11.6.0",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"document-schema.js": "7.
|
|
81
|
+
"document-schema.js": "7.5.1",
|
|
82
82
|
"entities": "8.0.0",
|
|
83
83
|
"fast-xml-parser": "5.10.1",
|
|
84
84
|
"fflate": "0.8.3",
|