@smartsoft001/crud-shell-nestjs 2.97.0 → 2.98.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 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -377,7 +377,7 @@ var CrudService = class {
377
377
  if (!isModel(item))
378
378
  return;
379
379
  const keys = Object.keys(item);
380
- const array = getInvalidFields(item, "update", permissions).filter(
380
+ const array = getInvalidFields(item, "update", permissions)?.filter(
381
381
  (invalidField) => keys.some((key) => key === invalidField)
382
382
  );
383
383
  if (array.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/crud-shell-nestjs",
3
- "version": "2.97.0",
3
+ "version": "2.98.0",
4
4
  "description": "Utils to crud",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,9 +17,9 @@
17
17
  "url": "https://github.com/emiljuchnikowski/smartsoft/issues"
18
18
  },
19
19
  "peerDependencies": {
20
- "@smartsoft001/crud-shell-app-services": "2.97.0",
20
+ "@smartsoft001/crud-shell-app-services": "2.98.0",
21
21
  "@smartsoft001/crud-shell-dto": "*",
22
- "@smartsoft001/domain-core": "2.97.0"
22
+ "@smartsoft001/domain-core": "2.98.0"
23
23
  },
24
24
  "homepage": "https://github.com/emiljuchnikowski/smartsoft#readme"
25
25
  }