@smartsoft001/trans-shell-nestjs 2.145.0 → 2.147.0

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 +1 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -929,10 +929,7 @@ var MongoItemRepository = class extends IItemRepository {
929
929
  $text: { $search: ' "' + this.convertRegex(criteria["$search"]) + '" ' }
930
930
  };
931
931
  delete criteria["$search"];
932
- criteria = {
933
- ...criteria,
934
- ...customCriteria
935
- };
932
+ Object.assign(criteria, customCriteria);
936
933
  }
937
934
  convertIdInCriteria(criteria) {
938
935
  if (criteria["id"]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/trans-shell-nestjs",
3
- "version": "2.145.0",
3
+ "version": "2.147.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },