@jitword/doc2docx 0.1.2 → 0.1.3
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 +2 -0
- package/package.json +4 -2
- package/src/resolve.js +2 -0
package/README.md
CHANGED
|
@@ -46,6 +46,8 @@ convertDocToDocx(
|
|
|
46
46
|
| linux-x64 | `@jitword/doc2docx-linux-x64` |
|
|
47
47
|
| linux-arm64 | `@jitword/doc2docx-linux-arm64` |
|
|
48
48
|
| win32-x64 | `@jitword/doc2docx-win32-x64` |
|
|
49
|
+
| darwin-arm64(Apple Silicon) | `@jitword/doc2docx-darwin-arm64` |
|
|
50
|
+
| darwin-x64(Intel Mac) | `@jitword/doc2docx-darwin-x64` |
|
|
49
51
|
|
|
50
52
|
其它平台可自行构建后用环境变量 `DOC2DOCX_PATH` 指向可执行文件。
|
|
51
53
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jitword/doc2docx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Convert legacy Word 97-2003 binary documents (.doc) to OOXML (.docx)",
|
|
5
5
|
"keywords": ["doc", "docx", "word", "ooxml", "converter", "legacy-word"],
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"optionalDependencies": {
|
|
12
12
|
"@jitword/doc2docx-linux-x64": "0.1.0",
|
|
13
13
|
"@jitword/doc2docx-linux-arm64": "0.1.0",
|
|
14
|
-
"@jitword/doc2docx-win32-x64": "0.1.0"
|
|
14
|
+
"@jitword/doc2docx-win32-x64": "0.1.0",
|
|
15
|
+
"@jitword/doc2docx-darwin-arm64": "0.1.0",
|
|
16
|
+
"@jitword/doc2docx-darwin-x64": "0.1.0"
|
|
15
17
|
},
|
|
16
18
|
"publishConfig": { "access": "public" }
|
|
17
19
|
}
|
package/src/resolve.js
CHANGED
|
@@ -13,6 +13,8 @@ const PLATFORM_PACKAGES = {
|
|
|
13
13
|
'linux-x64': '@jitword/doc2docx-linux-x64',
|
|
14
14
|
'linux-arm64': '@jitword/doc2docx-linux-arm64',
|
|
15
15
|
'win32-x64': '@jitword/doc2docx-win32-x64',
|
|
16
|
+
'darwin-arm64': '@jitword/doc2docx-darwin-arm64',
|
|
17
|
+
'darwin-x64': '@jitword/doc2docx-darwin-x64',
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
function platformKey() {
|