@likecoin/epubcheck-ts 0.5.0 → 0.5.1

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 CHANGED
@@ -6,7 +6,7 @@ Validate EPUB files in Node.js and the browser. A TypeScript implementation of [
6
6
  [![npm](https://img.shields.io/npm/v/%40likecoin%2Fepubcheck-ts)](https://www.npmjs.com/package/@likecoin/epubcheck-ts)
7
7
  [![License](https://img.shields.io/npm/l/%40likecoin%2Fepubcheck-ts)](./LICENSE)
8
8
 
9
- > **Status**: 93% feature parity with Java EPUBCheck (1061 tests passing, 74 skipped). See [PROJECT_STATUS.md](./PROJECT_STATUS.md) for details. For full EPUB 3 conformance testing, use the official [Java EPUBCheck](https://github.com/w3c/epubcheck).
9
+ > **Status**: ~97% feature parity with Java EPUBCheck (1333 tests passing, 34 skipped). See [PROJECT_STATUS.md](./PROJECT_STATUS.md) for details. For full EPUB 3 conformance testing, use the official [Java EPUBCheck](https://github.com/w3c/epubcheck).
10
10
 
11
11
  ## Features
12
12
 
@@ -288,11 +288,11 @@ This library is a TypeScript port of the Java-based [EPUBCheck](https://github.c
288
288
  | Cross-reference Validation | 🟢 Complete | ~92% | Reference tracking, fragments, fallbacks, remote resources, cross-document features |
289
289
  | Accessibility Checks | 🟢 Complete | ~71% | 12/17 ACC checks: table, image alt, hyperlink, MathML, SVG, epub:type, OPF metadata |
290
290
  | Media Overlays | 🟡 Partial | ~70% | SMIL structure, timing, audio, OPF metadata, duration validation |
291
- | Media Validation | Not Started | 0% | Planned |
291
+ | Media Validation | 🟡 Partial | ~25% | Magic number checks (MED-004/OPF-029/PKG-022); deep format parsing planned |
292
292
 
293
293
  Legend: 🟢 Complete | 🟡 Partial | 🔴 Basic | ❌ Not Started
294
294
 
295
- **Overall Progress: ~93% of Java EPUBCheck features**
295
+ **Overall Progress: ~97% of Java EPUBCheck features**
296
296
 
297
297
  See [PROJECT_STATUS.md](./PROJECT_STATUS.md) for detailed comparison.
298
298
 
@@ -377,7 +377,7 @@ Legend: ✅ Implemented
377
377
  | Aspect | epubcheck-ts | EPUBCheck (Java) |
378
378
  |--------|--------------|------------------|
379
379
  | Runtime | Node.js / Browser | JVM |
380
- | Feature Parity | ~93% | 100% |
380
+ | Feature Parity | ~97% | 100% |
381
381
  | Bundle Size | ~450KB JS + ~1.6MB WASM | ~15MB |
382
382
  | Installation | `npm install` | Download JAR |
383
383
  | Integration | Native JS/TS | CLI or Java API |
package/bin/epubcheck.js CHANGED
@@ -3,7 +3,7 @@ import { readFile, readdir, stat, writeFile } from "node:fs/promises";
3
3
  import { parseArgs } from "node:util";
4
4
  import { basename, join, relative, sep } from "node:path";
5
5
  const { EpubCheck, EPUB_VERSIONS, toJSONReport } = await import("../dist/index.js");
6
- const VERSION = "0.5.0";
6
+ const VERSION = "0.5.1";
7
7
  const VALID_MODES = /* @__PURE__ */ new Set([
8
8
  "exp",
9
9
  "opf",
package/bin/epubcheck.ts CHANGED
@@ -22,7 +22,7 @@ import type {
22
22
  // Dynamic import to support both ESM and CJS builds
23
23
  const { EpubCheck, EPUB_VERSIONS, toJSONReport } = await import('../dist/index.js');
24
24
 
25
- const VERSION = '0.5.0';
25
+ const VERSION = '0.5.1';
26
26
  const VALID_MODES: ReadonlySet<ValidationMode> = new Set([
27
27
  'exp',
28
28
  'opf',