@xuda.io/drive_module 1.1.1446 → 1.1.1450

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.
Files changed (2) hide show
  1. package/index.mjs +5 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -279,6 +279,7 @@ export const get_drive_files = async (req) => {
279
279
  };
280
280
  };
281
281
  const get_user_files = async () => {
282
+ debugger;
282
283
  opt.selector.docType = 'user_drive';
283
284
  opt.selector.uid = uid;
284
285
  const ret = await find_contact_query(uid, opt);
@@ -1978,8 +1979,6 @@ const save_drive_doc = async (drive_type, uid, app_id, doc) => {
1978
1979
  };
1979
1980
 
1980
1981
  export const compile_javascript_program_in_studio_drive = async (req, job_id) => {
1981
- // debugger;
1982
-
1983
1982
  const { app_id, doc } = req;
1984
1983
 
1985
1984
  try {
@@ -2069,10 +2068,11 @@ export const compile_javascript_program_in_studio_drive = async (req, job_id) =>
2069
2068
  for await (const dep of allDependencies) {
2070
2069
  if (!devDependencies[dep]) {
2071
2070
  console.log(`Adding dependency: ${dep}`);
2072
- const npm_ret = await getPackageManifest({
2073
- name: dep,
2074
- });
2071
+ // const npm_ret = await getPackageManifest({
2072
+ // name: dep,
2073
+ // });
2075
2074
 
2075
+ const npm_ret = await getPackageManifest(dep);
2076
2076
  devDependencies[dep] = npm_ret.version;
2077
2077
  }
2078
2078
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1446",
3
+ "version": "1.1.1450",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {