@heripo/pdf-parser 0.1.22 → 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.cjs
CHANGED
|
@@ -736,6 +736,14 @@ function validatePythonVersion(version, context = "system") {
|
|
|
736
736
|
}
|
|
737
737
|
|
|
738
738
|
// src/environment/python-environment.ts
|
|
739
|
+
var DOCLING_RUNTIME_PACKAGES = [
|
|
740
|
+
"docling-serve==1.16.1",
|
|
741
|
+
"docling-jobkit==1.17.0",
|
|
742
|
+
"docling==2.90.0",
|
|
743
|
+
"docling-core==2.74.0",
|
|
744
|
+
"docling-ibm-models==3.13.0",
|
|
745
|
+
"docling-parse==5.9.0"
|
|
746
|
+
];
|
|
739
747
|
var PythonEnvironment = class {
|
|
740
748
|
constructor(logger, venvPath) {
|
|
741
749
|
this.logger = logger;
|
|
@@ -845,7 +853,7 @@ var PythonEnvironment = class {
|
|
|
845
853
|
const result = await spawnAsync(pipPath, [
|
|
846
854
|
"install",
|
|
847
855
|
"--upgrade",
|
|
848
|
-
|
|
856
|
+
...DOCLING_RUNTIME_PACKAGES
|
|
849
857
|
]);
|
|
850
858
|
if (result.code !== 0) {
|
|
851
859
|
this.logger.error(
|