From ffddf46230da2f85f14dd0e48298001fc0ff7d29 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 8 Nov 2024 10:04:11 -0600 Subject: [PATCH] Upgrade dependencies (#7355) * bump cookie, express-session and express * Update package.json * switch to sails fork of csurf * Update index.js --- lib/hooks/security/csrf/index.js | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/hooks/security/csrf/index.js b/lib/hooks/security/csrf/index.js index 8b0eb06e0..4248f9e6e 100644 --- a/lib/hooks/security/csrf/index.js +++ b/lib/hooks/security/csrf/index.js @@ -4,7 +4,7 @@ module.exports = function(sails) { * Module dependencies. */ - var csurf = require('csurf'); + var csurf = require('@sailshq/csurf'); var _ = require('@sailshq/lodash'); var pathToRegexp = require('path-to-regexp'); var detectVerb = require('../../../util/detect-verb'); diff --git a/package.json b/package.json index 397e2e6d1..3b1080608 100644 --- a/package.json +++ b/package.json @@ -33,13 +33,13 @@ "common-js-file-extensions": "1.0.2", "compression": "1.7.1", "connect": "3.6.5", - "cookie": "0.4.0", - "cookie-parser": "1.4.4", + "cookie": "0.7.2", + "cookie-parser": "1.4.7", "cookie-signature": "1.1.0", - "csurf": "1.10.0", + "@sailshq/csurf": "1.11.1", "ejs": "3.1.10", - "express": "4.21.0", - "express-session": "1.17.0", + "express": "4.21.1", + "express-session": "1.18.1", "flaverr": "^1.10.0", "glob": "7.1.2", "i18n-2": "0.7.3",