officeparser 6.0.6 → 6.0.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "officeparser",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.7",
|
|
4
4
|
"description": "A robust, strictly-typed Node.js and Browser library for parsing office files (.docx, .pptx, .xlsx, .odt, .odp, .ods, .pdf, .rtf) into structured AST with rich metadata, formatting, and attachment support.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "npm run sync:versions && npm run build:node && npm run build:browser",
|
|
15
|
+
"build": "npm run sync:versions && npm run build:node && npm run build:browser:types && npm run build:browser",
|
|
16
16
|
"build:node": "tsc",
|
|
17
|
+
"build:browser:types": "dts-bundle-generator --no-check -o dist/officeparser.browser.d.ts src/index.ts",
|
|
17
18
|
"build:browser": "node build_browser.js && npm run sync:docs",
|
|
18
19
|
"sync:versions": "node scripts/sync-pdfjs-versions.js",
|
|
19
20
|
"sync:docs": "mkdir -p docs/dist && cp dist/officeparser.browser.js docs/dist/",
|
|
@@ -30,6 +31,10 @@
|
|
|
30
31
|
"bin": {
|
|
31
32
|
"officeparser": "dist/index.js"
|
|
32
33
|
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public",
|
|
36
|
+
"provenance": true
|
|
37
|
+
},
|
|
33
38
|
"keywords": [
|
|
34
39
|
"office",
|
|
35
40
|
"docx",
|
|
@@ -67,24 +72,25 @@
|
|
|
67
72
|
"bugs": {
|
|
68
73
|
"url": "https://github.com/harshankur/officeParser/issues"
|
|
69
74
|
},
|
|
70
|
-
"homepage": "https://harshankur.
|
|
75
|
+
"homepage": "https://officeparser.harshankur.com",
|
|
71
76
|
"dependencies": {
|
|
72
77
|
"@xmldom/xmldom": "^0.8.11",
|
|
73
78
|
"concat-stream": "^2.0.0",
|
|
74
|
-
"file-type": "^
|
|
79
|
+
"file-type": "^21.3.4",
|
|
75
80
|
"pdfjs-dist": "^5.5.207",
|
|
76
81
|
"tesseract.js": "^7.0.0",
|
|
77
82
|
"yauzl": "^3.2.1"
|
|
78
83
|
},
|
|
79
84
|
"devDependencies": {
|
|
80
85
|
"@types/concat-stream": "^2.0.3",
|
|
81
|
-
"@types/node": "^22.
|
|
86
|
+
"@types/node": "^22.15.5",
|
|
82
87
|
"@types/xmldom": "^0.1.34",
|
|
83
88
|
"@types/yauzl": "^2.10.3",
|
|
89
|
+
"dts-bundle-generator": "^9.5.1",
|
|
84
90
|
"esbuild": "^0.27.4",
|
|
85
91
|
"esbuild-plugin-polyfill-node": "^0.3.0",
|
|
86
92
|
"husky": "^9.1.7",
|
|
87
93
|
"tsx": "^4.21.0",
|
|
88
|
-
"typescript": "^
|
|
94
|
+
"typescript": "^6.0.2"
|
|
89
95
|
}
|
|
90
96
|
}
|