Skip to content

Node.js based forum software built for the modern web

chore: closes #12355

Barış Soner Uşaklıfadee8d72c3b
diff --git a/install/package.json b/install/package.json
index 08911ae6d7..0b0f2b6d0e 100644
--- a/install/package.json
+++ b/install/package.json
@@ -67,7 +67,7 @@
"express": "4.18.2",
"express-session": "1.18.0",
"express-useragent": "1.0.15",
- "fetch-cookie": "2.2.0",
+ "fetch-cookie": "3.0.0",
"file-loader": "6.2.0",
"fs-extra": "11.2.0",
"graceful-fs": "4.2.11",
diff --git a/src/request.js b/src/request.js
index bb1a406ebd..8b3cd74daa 100644
--- a/src/request.js
+++ b/src/request.js
@@ -1,7 +1,7 @@
'use strict';
const { CookieJar } = require('tough-cookie');
-const fetchCookie = require('fetch-cookie');
+const fetchCookie = require('fetch-cookie').default;
exports.jar = function () {
return new CookieJar();