@smartsoft001/trans-shell-nestjs 2.97.0 → 2.99.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 +1 -1
package/index.js CHANGED
@@ -383,7 +383,7 @@ var CrudService = class {
383
383
  if (!isModel(item))
384
384
  return;
385
385
  const keys = Object.keys(item);
386
- const array = getInvalidFields(item, "update", permissions).filter(
386
+ const array = getInvalidFields(item, "update", permissions)?.filter(
387
387
  (invalidField) => keys.some((key) => key === invalidField)
388
388
  );
389
389
  if (array.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/trans-shell-nestjs",
3
- "version": "2.97.0",
3
+ "version": "2.99.0",
4
4
  "description": "This library was generated with [Nx](https://nx.dev).",
5
5
  "repository": {
6
6
  "type": "git",