bun-docx 0.11.0 → 0.13.0

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-docx",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity.",
5
5
  "keywords": [
6
6
  "docx",
@@ -28,15 +28,18 @@
28
28
  },
29
29
  "files": [
30
30
  "dist/index.js",
31
+ "dist/pdfium-*.wasm",
31
32
  "README.md",
32
- "LICENSE"
33
+ "LICENSE",
34
+ "LGPL-3.0.txt",
35
+ "NOTICES"
33
36
  ],
34
37
  "engines": {
35
38
  "bun": ">=1.3.0"
36
39
  },
37
40
  "scripts": {
38
41
  "dev": "bun src/index.ts",
39
- "build": "bun build src/index.ts --outfile dist/index.js --target bun",
42
+ "build": "bun build src/index.ts --outdir dist --entry-naming index.js --target bun",
40
43
  "build:binary": "bun build --compile --outfile=dist/docx src/index.ts",
41
44
  "check": "biome check . && knip-bun && bunx tsc --noEmit",
42
45
  "test": "bun test",
@@ -50,16 +53,28 @@
50
53
  "@types/bun": "^1.3.13",
51
54
  "@types/hast": "^3.0.4",
52
55
  "@types/heic-convert": "^2.1.0",
56
+ "@types/jpeg-js": "^0.3.7",
57
+ "@types/mdast": "^4.0.4",
58
+ "@types/pngjs": "^6.0.5",
53
59
  "husky": "^9.1.7",
54
60
  "knip": "^6.3.0",
55
61
  "typescript": "^6.0.2"
56
62
  },
57
63
  "dependencies": {
64
+ "@hyzyla/pdfium": "2.1.13",
58
65
  "fast-xml-builder": "^1.1.6",
59
66
  "fast-xml-parser": "^5.7.2",
60
67
  "heic-convert": "^2.1.0",
68
+ "jpeg-js": "^0.4.4",
61
69
  "jszip": "^3.10.1",
62
70
  "lowlight": "^3.3.0",
63
- "temml": "^0.13.3"
71
+ "mdast-util-math": "^3.0.0",
72
+ "pngjs": "^7.0.0",
73
+ "remark-gfm": "^4.0.1",
74
+ "remark-math": "^6.0.0",
75
+ "remark-parse": "^11.0.0",
76
+ "temml": "^0.13.3",
77
+ "unified": "^11.0.5",
78
+ "unist-util-visit": "^5.1.0"
64
79
  }
65
80
  }