@xuda.io/drive_module 1.1.1082 → 1.1.1084
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 +1 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2248,14 +2248,7 @@ exports.compile_javascript_program_in_studio_drive = async function (
|
|
|
2248
2248
|
for await (const [key, val] of Object.entries(
|
|
2249
2249
|
doc?.scriptData?.dependencies || {}
|
|
2250
2250
|
)) {
|
|
2251
|
-
|
|
2252
|
-
console.log(`Adding dependency: ${dep}`);
|
|
2253
|
-
const npm_ret = await queryRegistry.getPackageManifest({
|
|
2254
|
-
name: dep,
|
|
2255
|
-
});
|
|
2256
|
-
|
|
2257
|
-
devDependencies[dep] = npm_ret.version; // Use "latest" as the version or fetch actual versions if needed
|
|
2258
|
-
}
|
|
2251
|
+
devDependencies[key] = val;
|
|
2259
2252
|
}
|
|
2260
2253
|
|
|
2261
2254
|
// Update package.json
|