@actual-app/sync-server 25.12.0 → 26.1.0-nightly.20251205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -281,7 +281,7 @@ export function isValidRedirectUrl(url) {
281
281
  return false;
282
282
  }
283
283
  }
284
- catch (err) {
284
+ catch {
285
285
  return false;
286
286
  }
287
287
  }
@@ -14,7 +14,7 @@ app.get('/owner-created/', (req, res) => {
14
14
  const ownerCount = UserService.getOwnerCount();
15
15
  res.json(ownerCount > 0);
16
16
  }
17
- catch (error) {
17
+ catch {
18
18
  res.status(500).json({ error: 'Failed to retrieve owner count' });
19
19
  }
20
20
  });
@@ -121,7 +121,7 @@ app.use('/', async (req, res) => {
121
121
  try {
122
122
  url = new URL(targetUrlString);
123
123
  }
124
- catch (e) {
124
+ catch {
125
125
  return res.status(400).json({ error: 'Invalid url parameter' });
126
126
  }
127
127
  // Fetch the latest allowlist
@@ -250,7 +250,7 @@ export const goCardlessService = {
250
250
  try {
251
251
  response = await client.initSession(body);
252
252
  }
253
- catch (error) {
253
+ catch {
254
254
  try {
255
255
  console.log('Failed to link using:');
256
256
  console.log(body);
@@ -62,7 +62,7 @@ app.post('/config', async (req, res) => {
62
62
  const openIdConfig = JSON.parse(auth.extra_data);
63
63
  res.send({ status: 'ok', data: { openId: openIdConfig } });
64
64
  }
65
- catch (error) {
65
+ catch {
66
66
  res
67
67
  .status(500)
68
68
  .send({ status: 'error', reason: 'Invalid OpenID configuration' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/sync-server",
3
- "version": "25.12.0",
3
+ "version": "26.1.0-nightly.20251205",
4
4
  "license": "MIT",
5
5
  "description": "actual syncing server",
6
6
  "bin": {
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@actual-app/crdt": "2.1.0",
31
- "@actual-app/web": "25.12.0",
31
+ "@actual-app/web": "26.1.0-nightly.20251205",
32
32
  "bcrypt": "^6.0.0",
33
33
  "better-sqlite3": "^12.4.1",
34
34
  "convict": "^6.2.4",
35
35
  "cors": "^2.8.5",
36
36
  "date-fns": "^4.1.0",
37
37
  "debug": "^4.4.3",
38
- "express": "5.1.0",
38
+ "express": "^5.2.1",
39
39
  "express-rate-limit": "^8.2.1",
40
40
  "express-winston": "^4.2.0",
41
41
  "ipaddr.js": "^2.2.0",
42
- "jws": "^4.0.0",
42
+ "jws": "^4.0.1",
43
43
  "migrate": "^2.1.0",
44
44
  "nordigen-node": "^1.4.1",
45
45
  "openid-client": "^5.7.1",