From 248ce304d3f690183e2cafda99b6dd709398de21 Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Tue, 8 Oct 2024 00:16:04 +0530 Subject: [PATCH] chore: Bump Express PREP Fixes the following issues: + Linebreaks are not sent after boundaries in the same notification, instead they are sent at the start of notification. + DELETE triggers lastEvent only if the path for notification is the same as the one where events occured. --- package-lock.json | 16 ++++++++++------ package.json | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 19e9c9ae..d1ebddd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "express-accept-events": "^0.2.2", "express-handlebars": "^5.3.5", "express-negotiate-events": "^0.2.1", - "express-prep": "^0.5.0", + "express-prep": "^0.5.3", "express-session": "^1.18.0", "extend": "^3.0.2", "from2": "^2.3.0", @@ -92,7 +92,7 @@ "whatwg-url": "11.0.0" }, "engines": { - "node": ">=22.0" + "node": ">=20.17.0 <21 || >=22.8.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -10832,9 +10832,9 @@ } }, "node_modules/express-prep": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/express-prep/-/express-prep-0.5.0.tgz", - "integrity": "sha512-TdFsBOW4fMXxmKg4FA5ah/NRPKGx853huf27QyQj+nuKrH32ajVdiGWTQTQerU/vYdlyZzeJh4Cr5kyFge3x/g==", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/express-prep/-/express-prep-0.5.3.tgz", + "integrity": "sha512-8nsCMUSpMw8vpYR5LqD9pJykOnFbRrC0OXNlESNSRnYlWOZBi3mLORa8pHJrYPAF6sSu/UMVu/wLyUtU60CFQQ==", "license": "MPL-2.0", "dependencies": { "crypto-random-string": "^5.0.0", @@ -16797,6 +16797,7 @@ "version": "1.5.0", "inBundle": true, "license": "MIT", + "optional": true, "engines": { "node": ">=0.1.90" } @@ -17459,6 +17460,7 @@ "version": "0.1.13", "inBundle": true, "license": "MIT", + "optional": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -17620,6 +17622,7 @@ "version": "0.6.3", "inBundle": true, "license": "MIT", + "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -18690,7 +18693,8 @@ "node_modules/npm/node_modules/safer-buffer": { "version": "2.1.2", "inBundle": true, - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/npm/node_modules/semver": { "version": "7.3.7", diff --git a/package.json b/package.json index 56383792..180e5951 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "express-accept-events": "^0.2.2", "express-handlebars": "^5.3.5", "express-negotiate-events": "^0.2.1", - "express-prep": "^0.5.0", + "express-prep": "^0.5.3", "express-session": "^1.18.0", "extend": "^3.0.2", "from2": "^2.3.0",