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 +1 -1
- package/src/fields/filter.js +5 -1
package/package.json
CHANGED
package/src/fields/filter.js
CHANGED
|
@@ -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
|
-
...
|
|
132
|
+
...moreFields,
|
|
129
133
|
];
|
|
130
134
|
},
|
|
131
135
|
[SPECIAL_SET_SAFE]: (
|