js.documents 1.87.0 → 1.87.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -590,7 +590,7 @@ Dependency direction among this package's own local modules is downward and chec
590
590
  ```sh
591
591
  pnpm build # tsdown -> dist/ (ESM + CJS + .d.ts)
592
592
  pnpm typecheck # tsc --noEmit
593
- pnpm lint # eslint . --max-warnings 0
593
+ pnpm lint # eslint . --fix --cache --max-warnings 0
594
594
  pnpm test # vitest run --project unit
595
595
  pnpm test:watch # vitest --project unit
596
596
  pnpm test:smoke # rebuilds dist/, then verifies ESM/CJS parity, a real docxToPdf/pdfToDocx round trip, real odtToPdf/odpToPdf/odsToPdf/odgToPdf conversions (odgToPdf's own fixture carries a real curved path, proving writePath reaches the built dist/ bundle), a real createOdp/odpToPdf/pdfToOdp round trip, a real odsToPdf/pdfToOds round trip plus a separate createOds/printSettings/buildOdsPackage exercise, a real createOdg/odgToPdf/pdfToOdg round trip (a curved path, a filled rect, and text, built entirely through the odg live-view editor, converted to PDF and reconstructed back to odg via reconstructDrawing), a real odfToPdf conversion (a fraction, rendered via the embedded STIX Two Math font -- checked by confirming the built PDF contains a real /Type0/Identity-H/CIDFontType0C font resource, proving the base64-embedded font asset itself survived the tsdown build), a real odsToPdf conversion of a sheet carrying a cell-anchored formula (the same font-resource check, plus asserting convertSpreadsheetToLayout's own reported position lands at the anchor cell rather than the sheet's origin), a real markdownToPdf/pdfToMarkdown round trip plus a markdownToDocx bridge exercise, and real font resolution in docxToPdf (a Calibri run producing a genuine /Type0/Identity-H/CIDFontType2/FontFile2 Carlito font program, alongside an Arial control run that embeds nothing at all), from the built CJS bundle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js.documents",
3
- "version": "1.87.0",
3
+ "version": "1.87.2",
4
4
  "description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -58,11 +58,11 @@
58
58
  ],
59
59
  "license": "MIT",
60
60
  "dependencies": {
61
- "document-schema.js": "^2.3.4",
61
+ "document-schema.js": "^2.3.5",
62
62
  "fflate": "^0.8.3",
63
- "markdown-codec": "^1.1.7",
64
- "odf.js": "^2.4.0",
65
- "ooxml.js": "^2.8.0",
63
+ "markdown-codec": "^1.1.9",
64
+ "odf.js": "^2.4.1",
65
+ "ooxml.js": "^2.8.2",
66
66
  "pdf-codec": "^1.11.8",
67
67
  "zod": "^4.4.3"
68
68
  },
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "scripts": {
90
90
  "build": "tsdown",
91
- "lint": "eslint . --max-warnings 0",
91
+ "lint": "eslint . --fix --cache --max-warnings 0",
92
92
  "typecheck": "tsc --noEmit",
93
93
  "test": "vitest run --project unit",
94
94
  "test:watch": "vitest --project unit",