@xuda.io/xuda-worker-bundle-min 1.3.863 → 1.3.865

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.js +10 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1950,7 +1950,7 @@ func.datasource.prepare = async function (
1950
1950
  delete _ds.v.old_dataSource; // to eliminate parse error
1951
1951
  delete _ds.rows_found;
1952
1952
  // _ds.raw_data = {};
1953
- _ds.data_feed = {};
1953
+ _ds.data_feed = [];
1954
1954
 
1955
1955
  _ds.v.old_dataSource = _.cloneDeep(_ds);
1956
1956
  } catch (err) {
@@ -2730,7 +2730,7 @@ func.datasource.execute = async function (
2730
2730
  break;
2731
2731
 
2732
2732
  case "component":
2733
- _raw_data_rows = _.cloneDeep(_ds?.v.raw_data?.rows || []);
2733
+ _raw_data_rows = _ds?.v.raw_data?.rows || [];
2734
2734
  _ds.rows_processed = 0;
2735
2735
  _ds.viewRangeExp_rows_deleted = 0;
2736
2736
 
@@ -5176,15 +5176,15 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
5176
5176
 
5177
5177
  delete obj.screen_params;
5178
5178
 
5179
- // try {
5180
- // clean_object_functions(obj);
5179
+ try {
5180
+ clean_object_functions(obj);
5181
5181
 
5182
- // obj = JSON.parse(
5183
- // JSON.stringify(obj, func.utils.clean_stringify_null, "\t")
5184
- // );
5185
- // } catch (e) {
5186
- // console.error(e);
5187
- // }
5182
+ obj = JSON.parse(
5183
+ JSON.stringify(obj, func.utils.clean_stringify_null, "\t")
5184
+ );
5185
+ } catch (e) {
5186
+ console.error(e);
5187
+ }
5188
5188
 
5189
5189
  delete obj.pre_init_fields;
5190
5190
  delete obj.oninit_triggers_to_run;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.863",
3
+ "version": "1.3.865",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {