epub-codec 1.3.8 → 1.3.9
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-d7Sr4Y0B.d.ts → codec-DF9r4Fkv.d.ts} +18 -18
- package/dist/{codec-DqV3Y5Fa.d.cts → codec-DS1GA490.d.cts} +18 -18
- 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
|
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
147
147
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
148
148
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
left: "left";
|
|
150
|
-
center: "center";
|
|
151
150
|
right: "right";
|
|
151
|
+
center: "center";
|
|
152
152
|
justify: "justify";
|
|
153
153
|
}>>;
|
|
154
154
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -233,9 +233,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
233
233
|
symbol: z.ZodString;
|
|
234
234
|
name: z.ZodOptional<z.ZodString>;
|
|
235
235
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
236
|
-
time: "time";
|
|
237
236
|
length: "length";
|
|
238
237
|
mass: "mass";
|
|
238
|
+
time: "time";
|
|
239
239
|
electricCurrent: "electricCurrent";
|
|
240
240
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
241
241
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
296
296
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
297
297
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
298
298
|
left: "left";
|
|
299
|
-
center: "center";
|
|
300
299
|
right: "right";
|
|
300
|
+
center: "center";
|
|
301
301
|
justify: "justify";
|
|
302
302
|
}>>;
|
|
303
303
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -382,9 +382,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
382
382
|
symbol: z.ZodString;
|
|
383
383
|
name: z.ZodOptional<z.ZodString>;
|
|
384
384
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
385
|
-
time: "time";
|
|
386
385
|
length: "length";
|
|
387
386
|
mass: "mass";
|
|
387
|
+
time: "time";
|
|
388
388
|
electricCurrent: "electricCurrent";
|
|
389
389
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
390
390
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -450,8 +450,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
450
450
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
451
451
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
452
452
|
left: "left";
|
|
453
|
-
center: "center";
|
|
454
453
|
right: "right";
|
|
454
|
+
center: "center";
|
|
455
455
|
justify: "justify";
|
|
456
456
|
}>>;
|
|
457
457
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -536,9 +536,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
536
536
|
symbol: z.ZodString;
|
|
537
537
|
name: z.ZodOptional<z.ZodString>;
|
|
538
538
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
539
|
-
time: "time";
|
|
540
539
|
length: "length";
|
|
541
540
|
mass: "mass";
|
|
541
|
+
time: "time";
|
|
542
542
|
electricCurrent: "electricCurrent";
|
|
543
543
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
544
544
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -599,8 +599,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
599
599
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
600
600
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
601
601
|
left: "left";
|
|
602
|
-
center: "center";
|
|
603
602
|
right: "right";
|
|
603
|
+
center: "center";
|
|
604
604
|
justify: "justify";
|
|
605
605
|
}>>;
|
|
606
606
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -685,9 +685,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
685
685
|
symbol: z.ZodString;
|
|
686
686
|
name: z.ZodOptional<z.ZodString>;
|
|
687
687
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
688
|
-
time: "time";
|
|
689
688
|
length: "length";
|
|
690
689
|
mass: "mass";
|
|
690
|
+
time: "time";
|
|
691
691
|
electricCurrent: "electricCurrent";
|
|
692
692
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
693
693
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -807,8 +807,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
807
807
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
808
808
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
809
809
|
left: "left";
|
|
810
|
-
center: "center";
|
|
811
810
|
right: "right";
|
|
811
|
+
center: "center";
|
|
812
812
|
justify: "justify";
|
|
813
813
|
}>>;
|
|
814
814
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -893,9 +893,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
893
893
|
symbol: z.ZodString;
|
|
894
894
|
name: z.ZodOptional<z.ZodString>;
|
|
895
895
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
896
|
-
time: "time";
|
|
897
896
|
length: "length";
|
|
898
897
|
mass: "mass";
|
|
898
|
+
time: "time";
|
|
899
899
|
electricCurrent: "electricCurrent";
|
|
900
900
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
901
901
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1038,9 +1038,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1038
1038
|
symbol: z.ZodString;
|
|
1039
1039
|
name: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1041
|
-
time: "time";
|
|
1042
1041
|
length: "length";
|
|
1043
1042
|
mass: "mass";
|
|
1043
|
+
time: "time";
|
|
1044
1044
|
electricCurrent: "electricCurrent";
|
|
1045
1045
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1046
1046
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1233,9 +1233,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1233
1233
|
symbol: z.ZodString;
|
|
1234
1234
|
name: z.ZodOptional<z.ZodString>;
|
|
1235
1235
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1236
|
-
time: "time";
|
|
1237
1236
|
length: "length";
|
|
1238
1237
|
mass: "mass";
|
|
1238
|
+
time: "time";
|
|
1239
1239
|
electricCurrent: "electricCurrent";
|
|
1240
1240
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1241
1241
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1638,8 +1638,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1638
1638
|
}, z.core.$strip>>;
|
|
1639
1639
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1640
1640
|
left: "left";
|
|
1641
|
-
center: "center";
|
|
1642
1641
|
right: "right";
|
|
1642
|
+
center: "center";
|
|
1643
1643
|
justify: "justify";
|
|
1644
1644
|
}>>;
|
|
1645
1645
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1781,10 +1781,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1781
1781
|
}>;
|
|
1782
1782
|
align: z.ZodEnum<{
|
|
1783
1783
|
left: "left";
|
|
1784
|
-
center: "center";
|
|
1785
1784
|
right: "right";
|
|
1786
1785
|
top: "top";
|
|
1787
1786
|
bottom: "bottom";
|
|
1787
|
+
center: "center";
|
|
1788
1788
|
inside: "inside";
|
|
1789
1789
|
outside: "outside";
|
|
1790
1790
|
}>;
|
|
@@ -1824,10 +1824,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1824
1824
|
}>;
|
|
1825
1825
|
align: z.ZodEnum<{
|
|
1826
1826
|
left: "left";
|
|
1827
|
-
center: "center";
|
|
1828
1827
|
right: "right";
|
|
1829
1828
|
top: "top";
|
|
1830
1829
|
bottom: "bottom";
|
|
1830
|
+
center: "center";
|
|
1831
1831
|
inside: "inside";
|
|
1832
1832
|
outside: "outside";
|
|
1833
1833
|
}>;
|
|
@@ -2578,9 +2578,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2578
2578
|
symbol: z.ZodString;
|
|
2579
2579
|
name: z.ZodOptional<z.ZodString>;
|
|
2580
2580
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2581
|
-
time: "time";
|
|
2582
2581
|
length: "length";
|
|
2583
2582
|
mass: "mass";
|
|
2583
|
+
time: "time";
|
|
2584
2584
|
electricCurrent: "electricCurrent";
|
|
2585
2585
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2586
2586
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -3307,9 +3307,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
3307
3307
|
symbol: z.ZodString;
|
|
3308
3308
|
name: z.ZodOptional<z.ZodString>;
|
|
3309
3309
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
3310
|
-
time: "time";
|
|
3311
3310
|
length: "length";
|
|
3312
3311
|
mass: "mass";
|
|
3312
|
+
time: "time";
|
|
3313
3313
|
electricCurrent: "electricCurrent";
|
|
3314
3314
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
3315
3315
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -3435,9 +3435,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
3435
3435
|
symbol: z.ZodString;
|
|
3436
3436
|
name: z.ZodOptional<z.ZodString>;
|
|
3437
3437
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
3438
|
-
time: "time";
|
|
3439
3438
|
length: "length";
|
|
3440
3439
|
mass: "mass";
|
|
3440
|
+
time: "time";
|
|
3441
3441
|
electricCurrent: "electricCurrent";
|
|
3442
3442
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
3443
3443
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
147
147
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
148
148
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
left: "left";
|
|
150
|
-
center: "center";
|
|
151
150
|
right: "right";
|
|
151
|
+
center: "center";
|
|
152
152
|
justify: "justify";
|
|
153
153
|
}>>;
|
|
154
154
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -233,9 +233,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
233
233
|
symbol: z.ZodString;
|
|
234
234
|
name: z.ZodOptional<z.ZodString>;
|
|
235
235
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
236
|
-
time: "time";
|
|
237
236
|
length: "length";
|
|
238
237
|
mass: "mass";
|
|
238
|
+
time: "time";
|
|
239
239
|
electricCurrent: "electricCurrent";
|
|
240
240
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
241
241
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
296
296
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
297
297
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
298
298
|
left: "left";
|
|
299
|
-
center: "center";
|
|
300
299
|
right: "right";
|
|
300
|
+
center: "center";
|
|
301
301
|
justify: "justify";
|
|
302
302
|
}>>;
|
|
303
303
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -382,9 +382,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
382
382
|
symbol: z.ZodString;
|
|
383
383
|
name: z.ZodOptional<z.ZodString>;
|
|
384
384
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
385
|
-
time: "time";
|
|
386
385
|
length: "length";
|
|
387
386
|
mass: "mass";
|
|
387
|
+
time: "time";
|
|
388
388
|
electricCurrent: "electricCurrent";
|
|
389
389
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
390
390
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -450,8 +450,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
450
450
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
451
451
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
452
452
|
left: "left";
|
|
453
|
-
center: "center";
|
|
454
453
|
right: "right";
|
|
454
|
+
center: "center";
|
|
455
455
|
justify: "justify";
|
|
456
456
|
}>>;
|
|
457
457
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -536,9 +536,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
536
536
|
symbol: z.ZodString;
|
|
537
537
|
name: z.ZodOptional<z.ZodString>;
|
|
538
538
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
539
|
-
time: "time";
|
|
540
539
|
length: "length";
|
|
541
540
|
mass: "mass";
|
|
541
|
+
time: "time";
|
|
542
542
|
electricCurrent: "electricCurrent";
|
|
543
543
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
544
544
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -599,8 +599,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
599
599
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
600
600
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
601
601
|
left: "left";
|
|
602
|
-
center: "center";
|
|
603
602
|
right: "right";
|
|
603
|
+
center: "center";
|
|
604
604
|
justify: "justify";
|
|
605
605
|
}>>;
|
|
606
606
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -685,9 +685,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
685
685
|
symbol: z.ZodString;
|
|
686
686
|
name: z.ZodOptional<z.ZodString>;
|
|
687
687
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
688
|
-
time: "time";
|
|
689
688
|
length: "length";
|
|
690
689
|
mass: "mass";
|
|
690
|
+
time: "time";
|
|
691
691
|
electricCurrent: "electricCurrent";
|
|
692
692
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
693
693
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -807,8 +807,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
807
807
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
808
808
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
809
809
|
left: "left";
|
|
810
|
-
center: "center";
|
|
811
810
|
right: "right";
|
|
811
|
+
center: "center";
|
|
812
812
|
justify: "justify";
|
|
813
813
|
}>>;
|
|
814
814
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -893,9 +893,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
893
893
|
symbol: z.ZodString;
|
|
894
894
|
name: z.ZodOptional<z.ZodString>;
|
|
895
895
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
896
|
-
time: "time";
|
|
897
896
|
length: "length";
|
|
898
897
|
mass: "mass";
|
|
898
|
+
time: "time";
|
|
899
899
|
electricCurrent: "electricCurrent";
|
|
900
900
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
901
901
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1038,9 +1038,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1038
1038
|
symbol: z.ZodString;
|
|
1039
1039
|
name: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1041
|
-
time: "time";
|
|
1042
1041
|
length: "length";
|
|
1043
1042
|
mass: "mass";
|
|
1043
|
+
time: "time";
|
|
1044
1044
|
electricCurrent: "electricCurrent";
|
|
1045
1045
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1046
1046
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1233,9 +1233,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1233
1233
|
symbol: z.ZodString;
|
|
1234
1234
|
name: z.ZodOptional<z.ZodString>;
|
|
1235
1235
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1236
|
-
time: "time";
|
|
1237
1236
|
length: "length";
|
|
1238
1237
|
mass: "mass";
|
|
1238
|
+
time: "time";
|
|
1239
1239
|
electricCurrent: "electricCurrent";
|
|
1240
1240
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1241
1241
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1638,8 +1638,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1638
1638
|
}, z.core.$strip>>;
|
|
1639
1639
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1640
1640
|
left: "left";
|
|
1641
|
-
center: "center";
|
|
1642
1641
|
right: "right";
|
|
1642
|
+
center: "center";
|
|
1643
1643
|
justify: "justify";
|
|
1644
1644
|
}>>;
|
|
1645
1645
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1781,10 +1781,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1781
1781
|
}>;
|
|
1782
1782
|
align: z.ZodEnum<{
|
|
1783
1783
|
left: "left";
|
|
1784
|
-
center: "center";
|
|
1785
1784
|
right: "right";
|
|
1786
1785
|
top: "top";
|
|
1787
1786
|
bottom: "bottom";
|
|
1787
|
+
center: "center";
|
|
1788
1788
|
inside: "inside";
|
|
1789
1789
|
outside: "outside";
|
|
1790
1790
|
}>;
|
|
@@ -1824,10 +1824,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1824
1824
|
}>;
|
|
1825
1825
|
align: z.ZodEnum<{
|
|
1826
1826
|
left: "left";
|
|
1827
|
-
center: "center";
|
|
1828
1827
|
right: "right";
|
|
1829
1828
|
top: "top";
|
|
1830
1829
|
bottom: "bottom";
|
|
1830
|
+
center: "center";
|
|
1831
1831
|
inside: "inside";
|
|
1832
1832
|
outside: "outside";
|
|
1833
1833
|
}>;
|
|
@@ -2578,9 +2578,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2578
2578
|
symbol: z.ZodString;
|
|
2579
2579
|
name: z.ZodOptional<z.ZodString>;
|
|
2580
2580
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2581
|
-
time: "time";
|
|
2582
2581
|
length: "length";
|
|
2583
2582
|
mass: "mass";
|
|
2583
|
+
time: "time";
|
|
2584
2584
|
electricCurrent: "electricCurrent";
|
|
2585
2585
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2586
2586
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -3307,9 +3307,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
3307
3307
|
symbol: z.ZodString;
|
|
3308
3308
|
name: z.ZodOptional<z.ZodString>;
|
|
3309
3309
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
3310
|
-
time: "time";
|
|
3311
3310
|
length: "length";
|
|
3312
3311
|
mass: "mass";
|
|
3312
|
+
time: "time";
|
|
3313
3313
|
electricCurrent: "electricCurrent";
|
|
3314
3314
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
3315
3315
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -3435,9 +3435,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
3435
3435
|
symbol: z.ZodString;
|
|
3436
3436
|
name: z.ZodOptional<z.ZodString>;
|
|
3437
3437
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
3438
|
-
time: "time";
|
|
3439
3438
|
length: "length";
|
|
3440
3439
|
mass: "mass";
|
|
3440
|
+
time: "time";
|
|
3441
3441
|
electricCurrent: "electricCurrent";
|
|
3442
3442
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
3443
3443
|
amountOfSubstance: "amountOfSubstance";
|
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-DS1GA490.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-DF9r4Fkv.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-DS1GA490.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-DF9r4Fkv.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-DS1GA490.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-DF9r4Fkv.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-DS1GA490.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-DF9r4Fkv.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-DS1GA490.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-DF9r4Fkv.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.9",
|
|
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.9.
|
|
81
|
+
"document-schema.js": "7.9.1",
|
|
82
82
|
"entities": "8.0.0",
|
|
83
83
|
"fast-xml-parser": "5.10.1",
|
|
84
84
|
"fflate": "0.8.3",
|