@xuda.io/drive_module 1.1.1081 → 1.1.1083
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 +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2244,6 +2244,14 @@ exports.compile_javascript_program_in_studio_drive = async function (
|
|
|
2244
2244
|
devDependencies[dep] = npm_ret.version; // Use "latest" as the version or fetch actual versions if needed
|
|
2245
2245
|
}
|
|
2246
2246
|
}
|
|
2247
|
+
// update versions from doc
|
|
2248
|
+
for await (const [key, val] of Object.entries(
|
|
2249
|
+
doc?.scriptData?.dependencies || {}
|
|
2250
|
+
)) {
|
|
2251
|
+
|
|
2252
|
+
devDependencies[key] = val
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2247
2255
|
|
|
2248
2256
|
// Update package.json
|
|
2249
2257
|
packageJSON.devDependencies = devDependencies;
|