badmfck-api-server 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -403,7 +403,7 @@ class APIService extends BaseService_1.BaseService {
403
403
  result[i] = this.checkDataLength(data[i], result[i], lvl + 1);
404
404
  arrcnt--;
405
405
  if (arrcnt <= 0) {
406
- result["..."] = "...";
406
+ result["..."] = "... total: " + Array.isArray(data) ? data.length : Object.keys(data).length;
407
407
  break;
408
408
  }
409
409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",