not-node 6.5.54 → 6.5.56

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.5.54",
3
+ "version": "6.5.56",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -122,10 +122,14 @@ class notFieldsFilter {
122
122
  return {
123
123
  ...this.#USER_DEFINED_SETS,
124
124
  [SPECIAL_SET_ALL]: (schema) => {
125
+ const moreFields =
126
+ typeof schema === "object" && schema !== null
127
+ ? Object.keys(schema)
128
+ : [];
125
129
  return [
126
130
  `${SPECIAL_SET_PREFIX}${SPECIAL_SET_ID_UUID}`,
127
131
  `${SPECIAL_SET_PREFIX}${SPECIAL_SET_ID_NUMERIC}`,
128
- ...Object.keys(schema),
132
+ ...moreFields,
129
133
  ];
130
134
  },
131
135
  [SPECIAL_SET_SAFE]: (