diff --git a/package-lock.json b/package-lock.json index 73b251b..025a491 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@chat21/chat21-server", - "version": "0.2.8", + "version": "0.2.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@chat21/chat21-server", - "version": "0.2.8", + "version": "0.2.11", "license": "MIT", "dependencies": { - "aedes": "^0.40.1", + "aedes": "^0.42.1", "amqplib": "^0.7.1", "app-root-path": "^3.0.0", "body-parser": "^1.19.0", @@ -687,30 +687,29 @@ } }, "node_modules/aedes": { - "version": "0.40.1", - "resolved": "https://registry.npmjs.org/aedes/-/aedes-0.40.1.tgz", - "integrity": "sha512-68VQfwVG+/I1XSfesvxeQG2jMTcfgyOrzCCQCBcVeStRn/eiTnz82wsIUunNya1toBeQT8Pizwbn8OGQcYP8zA==", + "version": "0.42.1", + "resolved": "https://registry.npmjs.org/aedes/-/aedes-0.42.1.tgz", + "integrity": "sha512-YlmgzE691UsTAugQ8SJVVpjv+Qc9m+TQJDvXCQ/bU3xnUohuGdaNWWt1u9KNLSbJhr+NDQPp10nuvq7UCTF7zQ==", "dependencies": { - "aedes-packet": "^2.1.0", - "aedes-persistence": "^7.1.1", + "aedes-packet": "^2.3.1", + "aedes-persistence": "^8.1.1", + "aedes-protocol-decoder": "^1.0.0", "bulk-write-stream": "^2.0.1", "end-of-stream": "^1.4.4", "fastfall": "^1.5.1", "fastparallel": "^2.3.0", - "fastseries": "^1.7.2", - "from2": "^2.3.0", - "mqemitter": "^3.0.0", - "mqtt-packet": "^6.3.0", - "proxy-protocol-js": "^4.0.3", - "pump": "^3.0.0", + "fastseries": "^2.0.0", + "mqemitter": "^4.2.0", + "mqtt-packet": "^6.3.2", + "proxy-protocol-js": "^4.0.4", + "readable-stream": "^3.6.0", "retimer": "^2.0.0", "reusify": "^1.0.4", "shortid": "^2.2.15", - "through2": "^3.0.1", - "uuid": "^3.3.3" + "uuid": "^8.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/aedes-packet": { @@ -725,22 +724,57 @@ } }, "node_modules/aedes-persistence": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/aedes-persistence/-/aedes-persistence-7.2.1.tgz", - "integrity": "sha512-I3GKFC/aBfGBx2GX9e6KF0FmU6yGEXSB6j39NoGdwSjQbomsJ74ZIK5vISceoWT/MqVMN/mSit8a47L1l1vw4A==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/aedes-persistence/-/aedes-persistence-8.1.3.tgz", + "integrity": "sha512-VMCjEV+2g1TNJb/IlDEUy6SP9crT+QUhe2xc6UjyqrFNBNgTvHmOefXY7FxWrwmR2QA02vwg3+5p/JXkyg/Dkw==", "dependencies": { - "aedes-packet": "^2.1.0", + "aedes-packet": "^2.3.1", "from2": "^2.3.0", - "qlobber": "^3.1.0" + "qlobber": "^5.0.3" + }, + "engines": { + "node": ">=10" } }, - "node_modules/aedes/node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "bin": { - "uuid": "bin/uuid" + "node_modules/aedes-protocol-decoder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/aedes-protocol-decoder/-/aedes-protocol-decoder-1.0.0.tgz", + "integrity": "sha512-nzWwSetptIFFk0gXtXBvmBPUD6HwuZKeVm/8mRJqEKfBJ4ZnvgpcO5CFwEDzTi884jOWTIBaJAWll3QLYsOCFQ==", + "dependencies": { + "forwarded": "^0.1.2", + "proxy-protocol-js": "^4.0.3" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/aedes-protocol-decoder/node_modules/forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/aedes/node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/aedes/node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" } }, "node_modules/agent-base": { @@ -1875,22 +1909,18 @@ } }, "node_modules/fastparallel": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/fastparallel/-/fastparallel-2.4.0.tgz", - "integrity": "sha512-sacwQ7wwKlQXsa7TN24UvMBLZNLmVcPhmxccC9riFqb3N+fSczJL8eWdnZodZ/KijGVgNBBfvF/NeXER08uXnQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/fastparallel/-/fastparallel-2.4.1.tgz", + "integrity": "sha512-qUmhxPgNHmvRjZKBFUNI0oZuuH9OlSIOXmJ98lhKPxMZZ7zS/Fi0wRHOihDSz0R1YiIOjxzOY4bq65YTcdBi2Q==", "dependencies": { "reusify": "^1.0.4", "xtend": "^4.0.2" } }, "node_modules/fastseries": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/fastseries/-/fastseries-1.7.2.tgz", - "integrity": "sha1-0izhO5Qz3/M4jZHb1ri9qbIaD0s=", - "dependencies": { - "reusify": "^1.0.0", - "xtend": "^4.0.0" - } + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fastseries/-/fastseries-2.0.0.tgz", + "integrity": "sha512-XBU9RXeoYc2/VnvMhplAxEmZLfIk7cvTBu+xwoBuTI8pL19E03cmca17QQycKIdxgwCeFA/a4u27gv1h3ya5LQ==" }, "node_modules/faye-websocket": { "version": "0.11.4", @@ -3239,12 +3269,15 @@ } }, "node_modules/mqemitter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mqemitter/-/mqemitter-3.0.0.tgz", - "integrity": "sha512-1HduoiTFngBGFEKCGvfCpGfPM/3g58xtDW9fmuHpbnRieC01uAi3yJE/F1YsUrzH8p441l10kosYzi3HhJYnrQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/mqemitter/-/mqemitter-4.5.0.tgz", + "integrity": "sha512-Mp/zytFeIv6piJQkEKnncHcP4R/ErJc5C7dfonkhkNUT2LA/nTayrfNxbipp3M5iCJUTQSUtzfQAQA3XVcKz6w==", "dependencies": { "fastparallel": "^2.3.0", - "qlobber": "^3.1.0" + "qlobber": "^5.0.0" + }, + "engines": { + "node": ">=10" } }, "node_modules/mqtt": { @@ -3712,11 +3745,11 @@ } }, "node_modules/qlobber": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/qlobber/-/qlobber-3.1.0.tgz", - "integrity": "sha512-B7EU6Hv9g4BeJiB7qtOjn9wwgqVpcWE5c4/86O0Yoj7fmAvgwXrdG1E+QF13S/+TX5XGUl7toizP0gzXR2Saug==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/qlobber/-/qlobber-5.0.3.tgz", + "integrity": "sha512-wW4GTZPePyh0RgOsM18oDyOUlXfurVRgoNyJfS+y7VWPyd0GYhQp5T2tycZFZjonH+hngxIfklGJhTP/ghidgQ==", "engines": { - "node": ">= 6" + "node": ">= 8" } }, "node_modules/qs": { @@ -4289,36 +4322,6 @@ "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", "dev": true }, - "node_modules/through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - }, - "node_modules/through2/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/through2/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -5555,33 +5558,45 @@ } }, "aedes": { - "version": "0.40.1", - "resolved": "https://registry.npmjs.org/aedes/-/aedes-0.40.1.tgz", - "integrity": "sha512-68VQfwVG+/I1XSfesvxeQG2jMTcfgyOrzCCQCBcVeStRn/eiTnz82wsIUunNya1toBeQT8Pizwbn8OGQcYP8zA==", + "version": "0.42.1", + "resolved": "https://registry.npmjs.org/aedes/-/aedes-0.42.1.tgz", + "integrity": "sha512-YlmgzE691UsTAugQ8SJVVpjv+Qc9m+TQJDvXCQ/bU3xnUohuGdaNWWt1u9KNLSbJhr+NDQPp10nuvq7UCTF7zQ==", "requires": { - "aedes-packet": "^2.1.0", - "aedes-persistence": "^7.1.1", + "aedes-packet": "^2.3.1", + "aedes-persistence": "^8.1.1", + "aedes-protocol-decoder": "^1.0.0", "bulk-write-stream": "^2.0.1", "end-of-stream": "^1.4.4", "fastfall": "^1.5.1", "fastparallel": "^2.3.0", - "fastseries": "^1.7.2", - "from2": "^2.3.0", - "mqemitter": "^3.0.0", - "mqtt-packet": "^6.3.0", - "proxy-protocol-js": "^4.0.3", - "pump": "^3.0.0", + "fastseries": "^2.0.0", + "mqemitter": "^4.2.0", + "mqtt-packet": "^6.3.2", + "proxy-protocol-js": "^4.0.4", + "readable-stream": "^3.6.0", "retimer": "^2.0.0", "reusify": "^1.0.4", "shortid": "^2.2.15", - "through2": "^3.0.1", - "uuid": "^3.3.3" + "uuid": "^8.0.0" }, "dependencies": { - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } } } }, @@ -5594,13 +5609,29 @@ } }, "aedes-persistence": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/aedes-persistence/-/aedes-persistence-7.2.1.tgz", - "integrity": "sha512-I3GKFC/aBfGBx2GX9e6KF0FmU6yGEXSB6j39NoGdwSjQbomsJ74ZIK5vISceoWT/MqVMN/mSit8a47L1l1vw4A==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/aedes-persistence/-/aedes-persistence-8.1.3.tgz", + "integrity": "sha512-VMCjEV+2g1TNJb/IlDEUy6SP9crT+QUhe2xc6UjyqrFNBNgTvHmOefXY7FxWrwmR2QA02vwg3+5p/JXkyg/Dkw==", "requires": { - "aedes-packet": "^2.1.0", + "aedes-packet": "^2.3.1", "from2": "^2.3.0", - "qlobber": "^3.1.0" + "qlobber": "^5.0.3" + } + }, + "aedes-protocol-decoder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/aedes-protocol-decoder/-/aedes-protocol-decoder-1.0.0.tgz", + "integrity": "sha512-nzWwSetptIFFk0gXtXBvmBPUD6HwuZKeVm/8mRJqEKfBJ4ZnvgpcO5CFwEDzTi884jOWTIBaJAWll3QLYsOCFQ==", + "requires": { + "forwarded": "^0.1.2", + "proxy-protocol-js": "^4.0.3" + }, + "dependencies": { + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" + } } }, "agent-base": { @@ -6544,22 +6575,18 @@ } }, "fastparallel": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/fastparallel/-/fastparallel-2.4.0.tgz", - "integrity": "sha512-sacwQ7wwKlQXsa7TN24UvMBLZNLmVcPhmxccC9riFqb3N+fSczJL8eWdnZodZ/KijGVgNBBfvF/NeXER08uXnQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/fastparallel/-/fastparallel-2.4.1.tgz", + "integrity": "sha512-qUmhxPgNHmvRjZKBFUNI0oZuuH9OlSIOXmJ98lhKPxMZZ7zS/Fi0wRHOihDSz0R1YiIOjxzOY4bq65YTcdBi2Q==", "requires": { "reusify": "^1.0.4", "xtend": "^4.0.2" } }, "fastseries": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/fastseries/-/fastseries-1.7.2.tgz", - "integrity": "sha1-0izhO5Qz3/M4jZHb1ri9qbIaD0s=", - "requires": { - "reusify": "^1.0.0", - "xtend": "^4.0.0" - } + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fastseries/-/fastseries-2.0.0.tgz", + "integrity": "sha512-XBU9RXeoYc2/VnvMhplAxEmZLfIk7cvTBu+xwoBuTI8pL19E03cmca17QQycKIdxgwCeFA/a4u27gv1h3ya5LQ==" }, "faye-websocket": { "version": "0.11.4", @@ -7624,12 +7651,12 @@ "integrity": "sha512-eb9rRvhDltXVNL6Fxd2zM9D4vKBxjVVQNLNijlj7uoXUy19zNDsIif5zR+pWmPCWNKwAtqyo4JveQm4nfD5+eA==" }, "mqemitter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mqemitter/-/mqemitter-3.0.0.tgz", - "integrity": "sha512-1HduoiTFngBGFEKCGvfCpGfPM/3g58xtDW9fmuHpbnRieC01uAi3yJE/F1YsUrzH8p441l10kosYzi3HhJYnrQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/mqemitter/-/mqemitter-4.5.0.tgz", + "integrity": "sha512-Mp/zytFeIv6piJQkEKnncHcP4R/ErJc5C7dfonkhkNUT2LA/nTayrfNxbipp3M5iCJUTQSUtzfQAQA3XVcKz6w==", "requires": { "fastparallel": "^2.3.0", - "qlobber": "^3.1.0" + "qlobber": "^5.0.0" } }, "mqtt": { @@ -7994,9 +8021,9 @@ "dev": true }, "qlobber": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/qlobber/-/qlobber-3.1.0.tgz", - "integrity": "sha512-B7EU6Hv9g4BeJiB7qtOjn9wwgqVpcWE5c4/86O0Yoj7fmAvgwXrdG1E+QF13S/+TX5XGUl7toizP0gzXR2Saug==" + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/qlobber/-/qlobber-5.0.3.tgz", + "integrity": "sha512-wW4GTZPePyh0RgOsM18oDyOUlXfurVRgoNyJfS+y7VWPyd0GYhQp5T2tycZFZjonH+hngxIfklGJhTP/ghidgQ==" }, "qs": { "version": "6.7.0", @@ -8465,35 +8492,6 @@ "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", "dev": true }, - "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", diff --git a/package.json b/package.json index 52f4a2b..3be380f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.2.11", "description": "Chat21 AMQP/MQTT messages dispatcher", "dependencies": { - "aedes": "^0.40.1", + "aedes": "^0.42.1", "amqplib": "^0.7.1", "app-root-path": "^3.0.0", "body-parser": "^1.19.0",