epub-codec 1.2.11 → 1.2.12
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.d.cts +8 -8
- package/dist/codec.d.ts +8 -8
- package/package.json +19 -22
package/dist/codec.d.cts
CHANGED
|
@@ -11,8 +11,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
11
11
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
12
12
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
13
13
|
left: "left";
|
|
14
|
-
center: "center";
|
|
15
14
|
right: "right";
|
|
15
|
+
center: "center";
|
|
16
16
|
justify: "justify";
|
|
17
17
|
}>>;
|
|
18
18
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -159,8 +159,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
159
159
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
160
160
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
left: "left";
|
|
162
|
-
center: "center";
|
|
163
162
|
right: "right";
|
|
163
|
+
center: "center";
|
|
164
164
|
justify: "justify";
|
|
165
165
|
}>>;
|
|
166
166
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -307,8 +307,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
307
307
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
308
308
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
309
309
|
left: "left";
|
|
310
|
-
center: "center";
|
|
311
310
|
right: "right";
|
|
311
|
+
center: "center";
|
|
312
312
|
justify: "justify";
|
|
313
313
|
}>>;
|
|
314
314
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -455,8 +455,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
455
455
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
456
456
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
457
457
|
left: "left";
|
|
458
|
-
center: "center";
|
|
459
458
|
right: "right";
|
|
459
|
+
center: "center";
|
|
460
460
|
justify: "justify";
|
|
461
461
|
}>>;
|
|
462
462
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -634,8 +634,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
634
634
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
635
635
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
636
636
|
left: "left";
|
|
637
|
-
center: "center";
|
|
638
637
|
right: "right";
|
|
638
|
+
center: "center";
|
|
639
639
|
justify: "justify";
|
|
640
640
|
}>>;
|
|
641
641
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1275,8 +1275,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1275
1275
|
}, z.core.$strip>>;
|
|
1276
1276
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1277
1277
|
left: "left";
|
|
1278
|
-
center: "center";
|
|
1279
1278
|
right: "right";
|
|
1279
|
+
center: "center";
|
|
1280
1280
|
justify: "justify";
|
|
1281
1281
|
}>>;
|
|
1282
1282
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1379,10 +1379,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1379
1379
|
}>;
|
|
1380
1380
|
align: z.ZodEnum<{
|
|
1381
1381
|
left: "left";
|
|
1382
|
-
center: "center";
|
|
1383
1382
|
right: "right";
|
|
1384
1383
|
top: "top";
|
|
1385
1384
|
bottom: "bottom";
|
|
1385
|
+
center: "center";
|
|
1386
1386
|
inside: "inside";
|
|
1387
1387
|
outside: "outside";
|
|
1388
1388
|
}>;
|
|
@@ -1422,10 +1422,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1422
1422
|
}>;
|
|
1423
1423
|
align: z.ZodEnum<{
|
|
1424
1424
|
left: "left";
|
|
1425
|
-
center: "center";
|
|
1426
1425
|
right: "right";
|
|
1427
1426
|
top: "top";
|
|
1428
1427
|
bottom: "bottom";
|
|
1428
|
+
center: "center";
|
|
1429
1429
|
inside: "inside";
|
|
1430
1430
|
outside: "outside";
|
|
1431
1431
|
}>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
11
11
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
12
12
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
13
13
|
left: "left";
|
|
14
|
-
center: "center";
|
|
15
14
|
right: "right";
|
|
15
|
+
center: "center";
|
|
16
16
|
justify: "justify";
|
|
17
17
|
}>>;
|
|
18
18
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -159,8 +159,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
159
159
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
160
160
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
left: "left";
|
|
162
|
-
center: "center";
|
|
163
162
|
right: "right";
|
|
163
|
+
center: "center";
|
|
164
164
|
justify: "justify";
|
|
165
165
|
}>>;
|
|
166
166
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -307,8 +307,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
307
307
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
308
308
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
309
309
|
left: "left";
|
|
310
|
-
center: "center";
|
|
311
310
|
right: "right";
|
|
311
|
+
center: "center";
|
|
312
312
|
justify: "justify";
|
|
313
313
|
}>>;
|
|
314
314
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -455,8 +455,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
455
455
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
456
456
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
457
457
|
left: "left";
|
|
458
|
-
center: "center";
|
|
459
458
|
right: "right";
|
|
459
|
+
center: "center";
|
|
460
460
|
justify: "justify";
|
|
461
461
|
}>>;
|
|
462
462
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -634,8 +634,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
634
634
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
635
635
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
636
636
|
left: "left";
|
|
637
|
-
center: "center";
|
|
638
637
|
right: "right";
|
|
638
|
+
center: "center";
|
|
639
639
|
justify: "justify";
|
|
640
640
|
}>>;
|
|
641
641
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1275,8 +1275,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1275
1275
|
}, z.core.$strip>>;
|
|
1276
1276
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1277
1277
|
left: "left";
|
|
1278
|
-
center: "center";
|
|
1279
1278
|
right: "right";
|
|
1279
|
+
center: "center";
|
|
1280
1280
|
justify: "justify";
|
|
1281
1281
|
}>>;
|
|
1282
1282
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1379,10 +1379,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1379
1379
|
}>;
|
|
1380
1380
|
align: z.ZodEnum<{
|
|
1381
1381
|
left: "left";
|
|
1382
|
-
center: "center";
|
|
1383
1382
|
right: "right";
|
|
1384
1383
|
top: "top";
|
|
1385
1384
|
bottom: "bottom";
|
|
1385
|
+
center: "center";
|
|
1386
1386
|
inside: "inside";
|
|
1387
1387
|
outside: "outside";
|
|
1388
1388
|
}>;
|
|
@@ -1422,10 +1422,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1422
1422
|
}>;
|
|
1423
1423
|
align: z.ZodEnum<{
|
|
1424
1424
|
left: "left";
|
|
1425
|
-
center: "center";
|
|
1426
1425
|
right: "right";
|
|
1427
1426
|
top: "top";
|
|
1428
1427
|
bottom: "bottom";
|
|
1428
|
+
center: "center";
|
|
1429
1429
|
inside: "inside";
|
|
1430
1430
|
outside: "outside";
|
|
1431
1431
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "epub-codec",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
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,29 +78,26 @@
|
|
|
78
78
|
"license": "MIT",
|
|
79
79
|
"packageManager": "pnpm@11.6.0",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"document-schema.js": "
|
|
82
|
-
"entities": "
|
|
83
|
-
"fast-xml-parser": "
|
|
84
|
-
"fflate": "
|
|
85
|
-
"zod": "
|
|
81
|
+
"document-schema.js": "7.3.1",
|
|
82
|
+
"entities": "8.0.0",
|
|
83
|
+
"fast-xml-parser": "5.10.1",
|
|
84
|
+
"fflate": "0.8.3",
|
|
85
|
+
"zod": "4.4.3"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@arethetypeswrong/cli": "
|
|
89
|
-
"@cloudflare/vitest-pool-workers": "
|
|
90
|
-
"@stryker-mutator/core": "
|
|
91
|
-
"@stryker-mutator/typescript-checker": "
|
|
92
|
-
"@stryker-mutator/vitest-runner": "
|
|
93
|
-
"@types/node": "
|
|
94
|
-
"eslint": "
|
|
95
|
-
"husky": "
|
|
88
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
89
|
+
"@cloudflare/vitest-pool-workers": "0.21.2",
|
|
90
|
+
"@stryker-mutator/core": "10.0.0",
|
|
91
|
+
"@stryker-mutator/typescript-checker": "10.0.0",
|
|
92
|
+
"@stryker-mutator/vitest-runner": "10.0.0",
|
|
93
|
+
"@types/node": "26.2.0",
|
|
94
|
+
"eslint": "10.8.1",
|
|
95
|
+
"husky": "9.1.7",
|
|
96
96
|
"jiti": "2.7.0",
|
|
97
|
-
"publint": "
|
|
98
|
-
"tsdown": "
|
|
99
|
-
"turbo": "
|
|
100
|
-
"typescript": "
|
|
101
|
-
"vitest": "
|
|
102
|
-
},
|
|
103
|
-
"lint-staged": {
|
|
104
|
-
"*.ts": "eslint --fix"
|
|
97
|
+
"publint": "0.3.22",
|
|
98
|
+
"tsdown": "0.22.14",
|
|
99
|
+
"turbo": "2.10.8",
|
|
100
|
+
"typescript": "6.0.3",
|
|
101
|
+
"vitest": "4.1.11"
|
|
105
102
|
}
|
|
106
103
|
}
|