not-node 6.5.50 → 6.5.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.5.50",
3
+ "version": "6.5.51",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -136,4 +136,4 @@
136
136
  ]
137
137
  }
138
138
  }
139
- }
139
+ }
@@ -231,7 +231,7 @@ class notRoute {
231
231
  try {
232
232
  let prepared = undefined;
233
233
  //waiting preparation
234
- if (modRoute[CONST_AFTER_ACTION]) {
234
+ if (modRoute[CONST_BEFORE_ACTION]) {
235
235
  prepared = await this.executeFunction(
236
236
  modRoute,
237
237
  CONST_BEFORE_ACTION,
@@ -255,6 +255,11 @@ class notRoute {
255
255
  itm && itm.toObject ? itm.toObject() : itm
256
256
  );
257
257
  }
258
+ if (Object.hasOwn(result, 'list') && Array.isArray(result.list)) {
259
+ result.list = result.list.map((itm) =>
260
+ itm && itm.toObject ? itm.toObject() : itm
261
+ );
262
+ }
258
263
  notManifestRouteResultFilter.filter(
259
264
  req.notRouteData,
260
265
  result,