@file-viewer/docx 0.3.30 → 0.3.31

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 +13 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -344,3 +344,16 @@ node tests/regression/check-numbering-suffix.cjs
344
344
  ```
345
345
 
346
346
  The large database-design regression uses the cached rendered snapshot by default to avoid spending minutes rebuilding the full document in constrained CI. Set `DOCXJS_RERENDER_REGRESSION=1` when you need to regenerate it from the DOCX.
347
+
348
+ ## Maintainer releases
349
+
350
+ `publish.yml` checks out the exact stable release tag, builds the package, runs
351
+ semantic and native Word browser regressions, then publishes with npm provenance.
352
+ The npm trusted publisher must bind `@file-viewer/docx` to
353
+ `flyfish-dev/docxjs` and `publish.yml`; no long-lived npm token is required.
354
+ The workflow alone does not create that npm permission.
355
+
356
+ Manual dispatch defaults to a dry run and requires an existing release tag.
357
+ Retries verify the packed SHA-512 against the registry before skipping an
358
+ existing version. Different bytes or an uncertain write stop the run rather
359
+ than changing the version or repeating an authentication prompt.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/docx",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "description": "Pure HTML DOCX renderer fork for browser-based Word previews.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "rollup": "^4.9.1",
31
- "@xmldom/xmldom": "^0.9.10",
31
+ "@xmldom/xmldom": "^0.9.12",
32
32
  "@rollup/plugin-terser": "^1.0.0",
33
33
  "@rollup/plugin-typescript": "^12.1.4",
34
34
  "terser": "^5.43.1",
@@ -41,6 +41,7 @@
41
41
  "typescript": "^5.0.3"
42
42
  },
43
43
  "overrides": {
44
+ "qs": "6.16.0",
44
45
  "body-parser": "1.20.6",
45
46
  "brace-expansion": "1.1.18",
46
47
  "serialize-javascript": "7.1.0",