@xuda.io/drive_module 1.1.1071 → 1.1.1073
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/index.js +5 -4
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -2233,17 +2233,18 @@ exports.compile_javascript_program_in_studio_drive = async function (
|
|
|
2233
2233
|
// }
|
|
2234
2234
|
// });
|
|
2235
2235
|
|
|
2236
|
+
// Add missing dependencies to package.json
|
|
2236
2237
|
for await (const dep of allDependencies) {
|
|
2237
2238
|
if (!devDependencies[dep]) {
|
|
2238
2239
|
console.log(`Adding dependency: ${dep}`);
|
|
2240
|
+
const npm_ret = await queryRegistry.getPackageManifest({
|
|
2241
|
+
name: dep,
|
|
2242
|
+
});
|
|
2243
|
+
console.log(npm_ret);
|
|
2239
2244
|
devDependencies[dep] = "latest"; // Use "latest" as the version or fetch actual versions if needed
|
|
2240
2245
|
}
|
|
2241
2246
|
}
|
|
2242
2247
|
|
|
2243
|
-
npm_ret = await queryRegistry.getPackageManifest({
|
|
2244
|
-
name: plugin_name,
|
|
2245
|
-
});
|
|
2246
|
-
|
|
2247
2248
|
// Update package.json
|
|
2248
2249
|
packageJSON.devDependencies = devDependencies;
|
|
2249
2250
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xuda.io/drive_module",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1073",
|
|
4
4
|
"description": "Xuda Drive Server Module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"pdf2image": "^1.2.3",
|
|
15
15
|
"mammoth": "^1.6.0",
|
|
16
16
|
"node-xlsx": "^0.23.0",
|
|
17
|
-
"aws-sdk": "^2.1563.0"
|
|
17
|
+
"aws-sdk": "^2.1563.0",
|
|
18
|
+
"query-registry": "^3.0.1"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {},
|
|
20
21
|
"scripts": {
|