@smartsoft001/crud-shell-nestjs 2.146.0 → 2.148.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 +4 -4
package/index.js CHANGED
@@ -923,10 +923,7 @@ var MongoItemRepository = class extends IItemRepository {
923
923
  $text: { $search: ' "' + this.convertRegex(criteria["$search"]) + '" ' }
924
924
  };
925
925
  delete criteria["$search"];
926
- criteria = {
927
- ...criteria,
928
- ...customCriteria
929
- };
926
+ Object.assign(criteria, customCriteria);
930
927
  }
931
928
  convertIdInCriteria(criteria) {
932
929
  if (criteria["id"]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/crud-shell-nestjs",
3
- "version": "2.146.0",
3
+ "version": "2.148.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,9 +20,9 @@
20
20
  "url": "https://github.com/emiljuchnikowski/smartsoft/issues"
21
21
  },
22
22
  "peerDependencies": {
23
- "@smartsoft001/crud-shell-app-services": "2.146.0",
24
- "@smartsoft001/crud-shell-dtos": "2.146.0",
25
- "@smartsoft001/domain-core": "2.146.0"
23
+ "@smartsoft001/crud-shell-app-services": "2.148.0",
24
+ "@smartsoft001/crud-shell-dtos": "2.148.0",
25
+ "@smartsoft001/domain-core": "2.148.0"
26
26
  },
27
27
  "homepage": "https://github.com/emiljuchnikowski/smartsoft#readme"
28
28
  }