not-node 5.1.4 → 5.1.5

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": "5.1.4",
3
+ "version": "5.1.5",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,13 +40,13 @@
40
40
  "cors": "^2.8.5",
41
41
  "deep-diff": "*",
42
42
  "deepmerge": "^4.2.2",
43
- "ejs": "^3.1.6",
43
+ "ejs": "^3.1.8",
44
44
  "escape-string-regexp": "*",
45
- "express": "^4.17.3",
46
- "express-fileupload": "^1.3.1",
47
- "express-session": "^1.17.2",
45
+ "express": "^4.18.1",
46
+ "express-fileupload": "^1.4.0",
47
+ "express-session": "^1.17.3",
48
48
  "fs-extra": "*",
49
- "helmet": "^5.0.2",
49
+ "helmet": "^5.1.0",
50
50
  "lower-case": "*",
51
51
  "method-override": "^3.0.0",
52
52
  "mock-require": "^3.0.3",
@@ -61,9 +61,9 @@
61
61
  "not-log": "^0.0.20",
62
62
  "not-monitor": "^0.0.13",
63
63
  "not-path": "*",
64
- "not-validation": "^0.0.7",
65
- "rate-limiter-flexible": "^2.3.6",
66
- "redis": "^4.0.6",
64
+ "not-validation": "^0.0.8",
65
+ "rate-limiter-flexible": "^2.3.7",
66
+ "redis": "^4.1.1",
67
67
  "rfdc": "^1.3.0",
68
68
  "rmdir": "^1.2.0",
69
69
  "serve-static": "*",
@@ -75,18 +75,18 @@
75
75
  "babel-eslint": "^10.1.0",
76
76
  "chai": "*",
77
77
  "chai-as-promised": "*",
78
- "eslint": "^8.12.0",
78
+ "eslint": "^8.18.0",
79
79
  "eslint-plugin-node": "^11.1.0",
80
80
  "eslint-plugin-sonarjs": "^0.13.0",
81
81
  "ink-docstrap": "^1.3.2",
82
- "ioredis": "^5.0.3",
82
+ "ioredis": "^5.1.0",
83
83
  "jsdoc": "^3.6.10",
84
84
  "mocha": "*",
85
85
  "mocha-suppress-logs": "^0.3.1",
86
- "mongodb-memory-server": "^8.4.2",
86
+ "mongodb-memory-server": "^8.7.2",
87
87
  "npm-run-all": "^4.1.5",
88
88
  "nyc": "^15.1.0",
89
- "retire": "^3.0.6"
89
+ "retire": "^3.0.7"
90
90
  },
91
91
  "homepage": "https://github.com/interrupter/not-node#readme",
92
92
  "nyc": {
@@ -125,7 +125,7 @@ module.exports = ({
125
125
  });
126
126
  }
127
127
 
128
- async _updateOne({
128
+ static async _updateOne({
129
129
  targetId,
130
130
  data,
131
131
  activeUser,
@@ -222,7 +222,7 @@ module.exports = ({
222
222
  * @param {boolean} prepared.shouldOwn if user should be owner of target
223
223
  * @returns {Promise<Object>} requested document
224
224
  **/
225
- async _getOne({
225
+ static async _getOne({
226
226
  targetId,
227
227
  action,
228
228
  ip,
@@ -312,7 +312,7 @@ module.exports = ({
312
312
  * @param {boolean} prepared.shouldOwn if user should be owner of target
313
313
  * @returns {Promise<Object>} requested document
314
314
  **/
315
- async _getOneRaw({
315
+ static async _getOneRaw({
316
316
  targetId,
317
317
  activeUser,
318
318
  ip,