@likecoin/epubcheck-ts 0.3.6 → 0.3.7
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/README.md +7 -7
- package/bin/epubcheck.js +4 -4
- package/bin/epubcheck.ts +4 -4
- package/dist/index.cjs +1721 -325
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1721 -325
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -19,6 +19,8 @@ interface ManifestItem {
|
|
|
19
19
|
* Represents a spine itemref in the OPF
|
|
20
20
|
*/
|
|
21
21
|
interface SpineItemRef {
|
|
22
|
+
/** Optional ID attribute on the itemref element */
|
|
23
|
+
id?: string;
|
|
22
24
|
/** Reference to manifest item ID */
|
|
23
25
|
idref: string;
|
|
24
26
|
/** Whether this item is part of the linear reading order */
|
|
@@ -909,6 +911,11 @@ declare const MessageDefs: {
|
|
|
909
911
|
readonly severity: "warning";
|
|
910
912
|
readonly description: "Property is deprecated";
|
|
911
913
|
};
|
|
914
|
+
readonly OPF_086b: {
|
|
915
|
+
readonly id: "OPF-086b";
|
|
916
|
+
readonly severity: "usage";
|
|
917
|
+
readonly description: "epub:type value is deprecated";
|
|
918
|
+
};
|
|
912
919
|
readonly OPF_087: {
|
|
913
920
|
readonly id: "OPF-087";
|
|
914
921
|
readonly severity: "usage";
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ interface ManifestItem {
|
|
|
19
19
|
* Represents a spine itemref in the OPF
|
|
20
20
|
*/
|
|
21
21
|
interface SpineItemRef {
|
|
22
|
+
/** Optional ID attribute on the itemref element */
|
|
23
|
+
id?: string;
|
|
22
24
|
/** Reference to manifest item ID */
|
|
23
25
|
idref: string;
|
|
24
26
|
/** Whether this item is part of the linear reading order */
|
|
@@ -909,6 +911,11 @@ declare const MessageDefs: {
|
|
|
909
911
|
readonly severity: "warning";
|
|
910
912
|
readonly description: "Property is deprecated";
|
|
911
913
|
};
|
|
914
|
+
readonly OPF_086b: {
|
|
915
|
+
readonly id: "OPF-086b";
|
|
916
|
+
readonly severity: "usage";
|
|
917
|
+
readonly description: "epub:type value is deprecated";
|
|
918
|
+
};
|
|
912
919
|
readonly OPF_087: {
|
|
913
920
|
readonly id: "OPF-087";
|
|
914
921
|
readonly severity: "usage";
|