@heripo/pdf-parser 0.1.23 → 0.1.24
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/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -703,6 +703,14 @@ function validatePythonVersion(version, context = "system") {
|
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
// src/environment/python-environment.ts
|
|
706
|
+
var DOCLING_RUNTIME_PACKAGES = [
|
|
707
|
+
"docling-serve==1.16.1",
|
|
708
|
+
"docling-jobkit==1.17.0",
|
|
709
|
+
"docling==2.90.0",
|
|
710
|
+
"docling-core==2.74.0",
|
|
711
|
+
"docling-ibm-models==3.13.0",
|
|
712
|
+
"docling-parse==5.9.0"
|
|
713
|
+
];
|
|
706
714
|
var PythonEnvironment = class {
|
|
707
715
|
constructor(logger, venvPath) {
|
|
708
716
|
this.logger = logger;
|
|
@@ -812,7 +820,7 @@ var PythonEnvironment = class {
|
|
|
812
820
|
const result = await spawnAsync(pipPath, [
|
|
813
821
|
"install",
|
|
814
822
|
"--upgrade",
|
|
815
|
-
|
|
823
|
+
...DOCLING_RUNTIME_PACKAGES
|
|
816
824
|
]);
|
|
817
825
|
if (result.code !== 0) {
|
|
818
826
|
this.logger.error(
|