system-dashboard-frontend 2.1.6 → 2.1.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-dashboard-frontend",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
@@ -32,11 +32,11 @@
32
32
  "mf-styling": "^3.3.0",
33
33
  "reader-line-iterator": "^1.2.3",
34
34
  "svelte-command": "^3.0.50",
35
- "svelte-common": "^6.19.44",
35
+ "svelte-common": "^6.19.45",
36
36
  "svelte-guard-history-router": "^7.0.6",
37
- "svelte-log-view": "^6.4.1",
38
- "svelte-session-manager": "^3.0.68",
39
- "svelte-websocket-store": "^1.2.2"
37
+ "svelte-log-view": "^7.0.1",
38
+ "svelte-session-manager": "^3.0.70",
39
+ "svelte-websocket-store": "^1.2.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@semantic-release/commit-analyzer": "^13.0.1",
@@ -48,7 +48,7 @@
48
48
  "semantic-release": "^25.0.2",
49
49
  "stylelint": "^16.26.1",
50
50
  "stylelint-config-standard": "^39.0.1",
51
- "svelte": "^5.46.0",
51
+ "svelte": "^5.46.1",
52
52
  "vite": "^7.3.0",
53
53
  "vite-plugin-compression2": "^2.4.0"
54
54
  },
@@ -69,7 +69,7 @@
69
69
  "${nginx.locations.dir}${nginx.location.category}/${name}-journal.conf": "pkg/nginx.conf"
70
70
  },
71
71
  "dependencies": {
72
- "system-dashboard": ">=1.28.0"
72
+ "system-dashboard": ">=1.35.0"
73
73
  },
74
74
  "frontend": true,
75
75
  "http.api.path": "${http.base.path}/system-dashboard/api",
@@ -36,10 +36,6 @@
36
36
  const cursor = cursorEntry?.__CURSOR;
37
37
 
38
38
  try {
39
- const range = [offset, number]
40
- .map(n => (n !== undefined ? `:${n}` : ""))
41
- .join("");
42
-
43
39
  const response = await fetch(
44
40
  api + "/entries?" + new URLSearchParams(Object.entries(query)),
45
41
  {
@@ -48,8 +44,8 @@
48
44
  ...headers,
49
45
  Accept: "application/json",
50
46
  Range: cursor
51
- ? `entries=${cursor}${range}`
52
- : `realtime=${Math.floor(Date.now() / 1000)}:${range}`
47
+ ? `entries=${cursor}:${offset}:${number}`
48
+ : `realtime=${Math.floor(Date.now() / 1000)}::${offset}:${number}`
53
49
  }
54
50
  }
55
51
  );
@@ -4,8 +4,7 @@
4
4
  import { journalEndpoint } from "../constants.mjs";
5
5
 
6
6
  let innerHeight = $state(window.innerHeight);
7
-
8
- let visibleRows = $derived(Math.floor((innerHeight -30) / 19));
7
+ let visibleRows = $derived(Math.floor((innerHeight -36) / 19));
9
8
  </script>
10
9
 
11
10
  <svelte:window bind:innerHeight />