not-node 6.5.53 → 6.5.55
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 +10 -10
- package/src/fields/filter.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "not-node",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.55",
|
|
4
4
|
"description": "node complimentary part for client side notFramework.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -60,13 +60,6 @@
|
|
|
60
60
|
"method-override": "^3.0.0",
|
|
61
61
|
"mongoose-validator": "*",
|
|
62
62
|
"nconf": "*",
|
|
63
|
-
"not-config": "*",
|
|
64
|
-
"not-filter": "^0.3.17",
|
|
65
|
-
"not-inform": "*",
|
|
66
|
-
"not-locale": "^0.0.25",
|
|
67
|
-
"not-log": "*",
|
|
68
|
-
"not-monitor": "*",
|
|
69
|
-
"not-path": "*",
|
|
70
63
|
"rate-limiter-flexible": "^9.1.1",
|
|
71
64
|
"redis": "^5.10.0",
|
|
72
65
|
"redlock": "^5.0.0-beta.2",
|
|
@@ -79,6 +72,13 @@
|
|
|
79
72
|
"yargs": "*"
|
|
80
73
|
},
|
|
81
74
|
"devDependencies": {
|
|
75
|
+
"not-config": "*",
|
|
76
|
+
"not-filter": "*",
|
|
77
|
+
"not-inform": "*",
|
|
78
|
+
"not-locale": "*",
|
|
79
|
+
"not-log": "*",
|
|
80
|
+
"not-monitor": "*",
|
|
81
|
+
"not-path": "*",
|
|
82
82
|
"babel-eslint": "^10.1.0",
|
|
83
83
|
"chai": "*",
|
|
84
84
|
"chai-as-promised": "*",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"mock-require": "^3.0.3",
|
|
94
94
|
"mongodb-memory-server": "^11.0.1",
|
|
95
95
|
"mongoose": "^9.1.6",
|
|
96
|
-
"not-error": "
|
|
97
|
-
"not-validation": "
|
|
96
|
+
"not-error": "*",
|
|
97
|
+
"not-validation": "*",
|
|
98
98
|
"npm-run-all": "^4.1.5",
|
|
99
99
|
"nyc": "^17.1.0",
|
|
100
100
|
"retire": "^5.4.2"
|
package/src/fields/filter.js
CHANGED
|
@@ -122,10 +122,12 @@ class notFieldsFilter {
|
|
|
122
122
|
return {
|
|
123
123
|
...this.#USER_DEFINED_SETS,
|
|
124
124
|
[SPECIAL_SET_ALL]: (schema) => {
|
|
125
|
+
const moreFields =
|
|
126
|
+
typeof schema === "object" ? Object.keys(schema) : [];
|
|
125
127
|
return [
|
|
126
128
|
`${SPECIAL_SET_PREFIX}${SPECIAL_SET_ID_UUID}`,
|
|
127
129
|
`${SPECIAL_SET_PREFIX}${SPECIAL_SET_ID_NUMERIC}`,
|
|
128
|
-
...
|
|
130
|
+
...moreFields,
|
|
129
131
|
];
|
|
130
132
|
},
|
|
131
133
|
[SPECIAL_SET_SAFE]: (
|