svelte-log-view 4.2.33 → 5.0.0
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 +5 -5
- package/src/LogView.svelte +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-log-view",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"prepare:vite": "vite build",
|
|
32
32
|
"start": "vite",
|
|
33
33
|
"test": "npm run test:cafe",
|
|
34
|
-
"test:cafe": "testcafe $BROWSER:headless tests/cafe/*-cafe.mjs -s build/test --page-request-timeout 5000 --app-init-delay 8000 --app vite",
|
|
34
|
+
"test:cafe": "testcafe $BROWSER:headless tests/cafe/*-cafe.mjs --esm -s build/test --page-request-timeout 5000 --app-init-delay 8000 --app vite",
|
|
35
35
|
"docs": "documentation readme --section=API ./src/**/*.mjs",
|
|
36
36
|
"lint": "npm run lint:docs",
|
|
37
37
|
"lint:docs": "documentation lint ./src/**/*.mjs",
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"@sveltejs/vite-plugin-svelte": "^3.1.0",
|
|
45
45
|
"documentation": "^14.0.3",
|
|
46
46
|
"mf-styling": "^3.1.6",
|
|
47
|
-
"npm-pkgbuild": "^15.3.
|
|
47
|
+
"npm-pkgbuild": "^15.3.14",
|
|
48
48
|
"reader-line-iterator": "^1.2.0",
|
|
49
49
|
"semantic-release": "^23.1.1",
|
|
50
|
-
"svelte": "^5.0.0-next.
|
|
50
|
+
"svelte": "^5.0.0-next.136",
|
|
51
51
|
"testcafe": "^3.6.0",
|
|
52
52
|
"vite": "^5.2.11",
|
|
53
53
|
"vite-plugin-compression2": "^1.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"svelte": "^
|
|
56
|
+
"svelte": "^5.0.0-next.0"
|
|
57
57
|
},
|
|
58
58
|
"optionalDependencies": {
|
|
59
59
|
"mf-hosting-cloudflare": "^1.0.6",
|
package/src/LogView.svelte
CHANGED
|
@@ -10,12 +10,10 @@
|
|
|
10
10
|
export let start = 0; // first visible entry
|
|
11
11
|
|
|
12
12
|
let content;
|
|
13
|
-
// let rows;
|
|
14
13
|
|
|
15
14
|
onDestroy(() => source.abort());
|
|
16
15
|
|
|
17
16
|
onMount(async () => {
|
|
18
|
-
// rows = content.getElementsByTagName("log-row");
|
|
19
17
|
fetchFollow();
|
|
20
18
|
});
|
|
21
19
|
|
|
@@ -134,7 +132,7 @@
|
|
|
134
132
|
}
|
|
135
133
|
</script>
|
|
136
134
|
|
|
137
|
-
<svelte:window
|
|
135
|
+
<svelte:window onkeydown={handleKeydown} />
|
|
138
136
|
<log-content bind:this={content}>
|
|
139
137
|
{#each visible as entry, i (i)}
|
|
140
138
|
<log-row>
|