epub-codec 1.3.4 → 1.3.5
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-C1FolPcb.d.cts → codec-DIDwGivS.d.cts} +22 -22
- package/dist/{codec-DjqeU3E2.d.ts → codec-DLyNH4rX.d.ts} +22 -22
- 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<{
|
|
@@ -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<{
|
|
@@ -445,8 +445,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
445
445
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
446
446
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
447
447
|
left: "left";
|
|
448
|
-
center: "center";
|
|
449
448
|
right: "right";
|
|
449
|
+
center: "center";
|
|
450
450
|
justify: "justify";
|
|
451
451
|
}>>;
|
|
452
452
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -594,8 +594,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
594
594
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
595
595
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
596
596
|
left: "left";
|
|
597
|
-
center: "center";
|
|
598
597
|
right: "right";
|
|
598
|
+
center: "center";
|
|
599
599
|
justify: "justify";
|
|
600
600
|
}>>;
|
|
601
601
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -775,8 +775,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
775
775
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
776
776
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
777
777
|
left: "left";
|
|
778
|
-
center: "center";
|
|
779
778
|
right: "right";
|
|
779
|
+
center: "center";
|
|
780
780
|
justify: "justify";
|
|
781
781
|
}>>;
|
|
782
782
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1431,8 +1431,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1431
1431
|
}, z.core.$strip>>;
|
|
1432
1432
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1433
1433
|
left: "left";
|
|
1434
|
-
center: "center";
|
|
1435
1434
|
right: "right";
|
|
1435
|
+
center: "center";
|
|
1436
1436
|
justify: "justify";
|
|
1437
1437
|
}>>;
|
|
1438
1438
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1536,10 +1536,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1536
1536
|
}>;
|
|
1537
1537
|
align: z.ZodEnum<{
|
|
1538
1538
|
left: "left";
|
|
1539
|
-
center: "center";
|
|
1540
1539
|
right: "right";
|
|
1541
1540
|
top: "top";
|
|
1542
1541
|
bottom: "bottom";
|
|
1542
|
+
center: "center";
|
|
1543
1543
|
inside: "inside";
|
|
1544
1544
|
outside: "outside";
|
|
1545
1545
|
}>;
|
|
@@ -1579,10 +1579,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1579
1579
|
}>;
|
|
1580
1580
|
align: z.ZodEnum<{
|
|
1581
1581
|
left: "left";
|
|
1582
|
-
center: "center";
|
|
1583
1582
|
right: "right";
|
|
1584
1583
|
top: "top";
|
|
1585
1584
|
bottom: "bottom";
|
|
1585
|
+
center: "center";
|
|
1586
1586
|
inside: "inside";
|
|
1587
1587
|
outside: "outside";
|
|
1588
1588
|
}>;
|
|
@@ -1671,10 +1671,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1671
1671
|
endColumn: z.ZodNumber;
|
|
1672
1672
|
}, z.core.$strip>>;
|
|
1673
1673
|
type: z.ZodEnum<{
|
|
1674
|
-
decimal: "decimal";
|
|
1675
|
-
list: "list";
|
|
1676
1674
|
date: "date";
|
|
1677
1675
|
custom: "custom";
|
|
1676
|
+
decimal: "decimal";
|
|
1677
|
+
list: "list";
|
|
1678
1678
|
time: "time";
|
|
1679
1679
|
whole: "whole";
|
|
1680
1680
|
textLength: "textLength";
|
|
@@ -2146,11 +2146,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2146
2146
|
stops: z.ZodArray<z.ZodObject<{
|
|
2147
2147
|
value: z.ZodObject<{
|
|
2148
2148
|
type: z.ZodEnum<{
|
|
2149
|
-
num: "num";
|
|
2150
|
-
min: "min";
|
|
2151
|
-
max: "max";
|
|
2152
2149
|
formula: "formula";
|
|
2153
2150
|
percent: "percent";
|
|
2151
|
+
num: "num";
|
|
2152
|
+
max: "max";
|
|
2153
|
+
min: "min";
|
|
2154
2154
|
percentile: "percentile";
|
|
2155
2155
|
}>;
|
|
2156
2156
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2193,22 +2193,22 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2193
2193
|
}, z.core.$strip>, z.ZodObject<{
|
|
2194
2194
|
min: z.ZodObject<{
|
|
2195
2195
|
type: z.ZodEnum<{
|
|
2196
|
-
num: "num";
|
|
2197
|
-
min: "min";
|
|
2198
|
-
max: "max";
|
|
2199
2196
|
formula: "formula";
|
|
2200
2197
|
percent: "percent";
|
|
2198
|
+
num: "num";
|
|
2199
|
+
max: "max";
|
|
2200
|
+
min: "min";
|
|
2201
2201
|
percentile: "percentile";
|
|
2202
2202
|
}>;
|
|
2203
2203
|
value: z.ZodOptional<z.ZodString>;
|
|
2204
2204
|
}, z.core.$strip>;
|
|
2205
2205
|
max: z.ZodObject<{
|
|
2206
2206
|
type: z.ZodEnum<{
|
|
2207
|
-
num: "num";
|
|
2208
|
-
min: "min";
|
|
2209
|
-
max: "max";
|
|
2210
2207
|
formula: "formula";
|
|
2211
2208
|
percent: "percent";
|
|
2209
|
+
num: "num";
|
|
2210
|
+
max: "max";
|
|
2211
|
+
min: "min";
|
|
2212
2212
|
percentile: "percentile";
|
|
2213
2213
|
}>;
|
|
2214
2214
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2252,11 +2252,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2252
2252
|
iconSetType: z.ZodString;
|
|
2253
2253
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2254
2254
|
type: z.ZodEnum<{
|
|
2255
|
-
num: "num";
|
|
2256
|
-
min: "min";
|
|
2257
|
-
max: "max";
|
|
2258
2255
|
formula: "formula";
|
|
2259
2256
|
percent: "percent";
|
|
2257
|
+
num: "num";
|
|
2258
|
+
max: "max";
|
|
2259
|
+
min: "min";
|
|
2260
2260
|
percentile: "percentile";
|
|
2261
2261
|
}>;
|
|
2262
2262
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -445,8 +445,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
445
445
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
446
446
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
447
447
|
left: "left";
|
|
448
|
-
center: "center";
|
|
449
448
|
right: "right";
|
|
449
|
+
center: "center";
|
|
450
450
|
justify: "justify";
|
|
451
451
|
}>>;
|
|
452
452
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -594,8 +594,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
594
594
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
595
595
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
596
596
|
left: "left";
|
|
597
|
-
center: "center";
|
|
598
597
|
right: "right";
|
|
598
|
+
center: "center";
|
|
599
599
|
justify: "justify";
|
|
600
600
|
}>>;
|
|
601
601
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -775,8 +775,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
775
775
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
776
776
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
777
777
|
left: "left";
|
|
778
|
-
center: "center";
|
|
779
778
|
right: "right";
|
|
779
|
+
center: "center";
|
|
780
780
|
justify: "justify";
|
|
781
781
|
}>>;
|
|
782
782
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1431,8 +1431,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1431
1431
|
}, z.core.$strip>>;
|
|
1432
1432
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1433
1433
|
left: "left";
|
|
1434
|
-
center: "center";
|
|
1435
1434
|
right: "right";
|
|
1435
|
+
center: "center";
|
|
1436
1436
|
justify: "justify";
|
|
1437
1437
|
}>>;
|
|
1438
1438
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1536,10 +1536,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1536
1536
|
}>;
|
|
1537
1537
|
align: z.ZodEnum<{
|
|
1538
1538
|
left: "left";
|
|
1539
|
-
center: "center";
|
|
1540
1539
|
right: "right";
|
|
1541
1540
|
top: "top";
|
|
1542
1541
|
bottom: "bottom";
|
|
1542
|
+
center: "center";
|
|
1543
1543
|
inside: "inside";
|
|
1544
1544
|
outside: "outside";
|
|
1545
1545
|
}>;
|
|
@@ -1579,10 +1579,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1579
1579
|
}>;
|
|
1580
1580
|
align: z.ZodEnum<{
|
|
1581
1581
|
left: "left";
|
|
1582
|
-
center: "center";
|
|
1583
1582
|
right: "right";
|
|
1584
1583
|
top: "top";
|
|
1585
1584
|
bottom: "bottom";
|
|
1585
|
+
center: "center";
|
|
1586
1586
|
inside: "inside";
|
|
1587
1587
|
outside: "outside";
|
|
1588
1588
|
}>;
|
|
@@ -1671,10 +1671,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1671
1671
|
endColumn: z.ZodNumber;
|
|
1672
1672
|
}, z.core.$strip>>;
|
|
1673
1673
|
type: z.ZodEnum<{
|
|
1674
|
-
decimal: "decimal";
|
|
1675
|
-
list: "list";
|
|
1676
1674
|
date: "date";
|
|
1677
1675
|
custom: "custom";
|
|
1676
|
+
decimal: "decimal";
|
|
1677
|
+
list: "list";
|
|
1678
1678
|
time: "time";
|
|
1679
1679
|
whole: "whole";
|
|
1680
1680
|
textLength: "textLength";
|
|
@@ -2146,11 +2146,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2146
2146
|
stops: z.ZodArray<z.ZodObject<{
|
|
2147
2147
|
value: z.ZodObject<{
|
|
2148
2148
|
type: z.ZodEnum<{
|
|
2149
|
-
num: "num";
|
|
2150
|
-
min: "min";
|
|
2151
|
-
max: "max";
|
|
2152
2149
|
formula: "formula";
|
|
2153
2150
|
percent: "percent";
|
|
2151
|
+
num: "num";
|
|
2152
|
+
max: "max";
|
|
2153
|
+
min: "min";
|
|
2154
2154
|
percentile: "percentile";
|
|
2155
2155
|
}>;
|
|
2156
2156
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2193,22 +2193,22 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2193
2193
|
}, z.core.$strip>, z.ZodObject<{
|
|
2194
2194
|
min: z.ZodObject<{
|
|
2195
2195
|
type: z.ZodEnum<{
|
|
2196
|
-
num: "num";
|
|
2197
|
-
min: "min";
|
|
2198
|
-
max: "max";
|
|
2199
2196
|
formula: "formula";
|
|
2200
2197
|
percent: "percent";
|
|
2198
|
+
num: "num";
|
|
2199
|
+
max: "max";
|
|
2200
|
+
min: "min";
|
|
2201
2201
|
percentile: "percentile";
|
|
2202
2202
|
}>;
|
|
2203
2203
|
value: z.ZodOptional<z.ZodString>;
|
|
2204
2204
|
}, z.core.$strip>;
|
|
2205
2205
|
max: z.ZodObject<{
|
|
2206
2206
|
type: z.ZodEnum<{
|
|
2207
|
-
num: "num";
|
|
2208
|
-
min: "min";
|
|
2209
|
-
max: "max";
|
|
2210
2207
|
formula: "formula";
|
|
2211
2208
|
percent: "percent";
|
|
2209
|
+
num: "num";
|
|
2210
|
+
max: "max";
|
|
2211
|
+
min: "min";
|
|
2212
2212
|
percentile: "percentile";
|
|
2213
2213
|
}>;
|
|
2214
2214
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2252,11 +2252,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2252
2252
|
iconSetType: z.ZodString;
|
|
2253
2253
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2254
2254
|
type: z.ZodEnum<{
|
|
2255
|
-
num: "num";
|
|
2256
|
-
min: "min";
|
|
2257
|
-
max: "max";
|
|
2258
2255
|
formula: "formula";
|
|
2259
2256
|
percent: "percent";
|
|
2257
|
+
num: "num";
|
|
2258
|
+
max: "max";
|
|
2259
|
+
min: "min";
|
|
2260
2260
|
percentile: "percentile";
|
|
2261
2261
|
}>;
|
|
2262
2262
|
value: z.ZodOptional<z.ZodString>;
|
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-DIDwGivS.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-DLyNH4rX.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-DIDwGivS.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-DLyNH4rX.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-DIDwGivS.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-DLyNH4rX.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-DIDwGivS.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-DLyNH4rX.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-DIDwGivS.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-DLyNH4rX.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.5",
|
|
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.6.
|
|
81
|
+
"document-schema.js": "7.6.1",
|
|
82
82
|
"entities": "8.0.0",
|
|
83
83
|
"fast-xml-parser": "5.10.1",
|
|
84
84
|
"fflate": "0.8.3",
|