Compare commits

..

1 Commits

Author SHA1 Message Date
renovate[bot]
18908e43a6 fix(deps): update dependency yargs to v18 2026-01-08 16:29:14 +00:00
4 changed files with 4 additions and 5 deletions

View File

@@ -24,8 +24,8 @@
"newbieChatMessageDelay": 120000,
"notificationSendDelay": 60,
"newbieReputationThreshold": 3,
"postQueue": 1,
"postQueueReputationThreshold": 1,
"postQueue": 0,
"postQueueReputationThreshold": 0,
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
"groupsExemptFromNewUserRestrictions": ["administrators", "Global Moderators"],
"groupsExemptFromMaintenanceMode": ["administrators", "Global Moderators"],

View File

@@ -156,7 +156,7 @@
"workerpool": "10.0.1",
"xml": "1.0.1",
"xregexp": "5.1.2",
"yargs": "17.7.2",
"yargs": "18.0.0",
"zxcvbn": "4.4.2"
},
"devDependencies": {

View File

@@ -639,7 +639,7 @@ describe('Controllers', () => {
});
assert.strictEqual(response.statusCode, 302);
assert.strictEqual(response.headers['set-cookie'], `express.sid=; Path=${nconf.get('relative_path') || '/'}; Expires=Thu, 01 Jan 1970 00:00:00 GMT${nconf.get('secure') ? '; Secure' : ''}; SameSite=Lax`);
assert.strictEqual(response.headers['set-cookie'], `express.sid=; Path=${nconf.get('relative_path') || '/'}; Expires=Thu, 01 Jan 1970 00:00:00 GMT; SameSite=Lax`);
assert.strictEqual(response.headers.location, `${nconf.get('relative_path')}/`);
});

View File

@@ -194,7 +194,6 @@ async function setupMockDefaults() {
meta.config.newbiePostDelay = 0;
meta.config.autoDetectLang = 0;
meta.config.activitypubProbeTimeout = 30000;
meta.config.postQueue = 0;
require('../../src/groups').cache.reset();
require('../../src/posts/cache').getOrCreate().reset();