svelte-log-view 4.2.8 → 4.2.11

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2021 by arlac77
1
+ Copyright (c) 2019-2022 by arlac77
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  [![Svelte v3](https://img.shields.io/badge/svelte-v3-orange.svg)](https://svelte.dev)
2
2
  [![npm](https://img.shields.io/npm/v/svelte-log-view.svg)](https://www.npmjs.com/package/svelte-log-view)
3
3
  [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
4
- [![minified size](https://badgen.net/bundlephobia/min/svelte-log-view)](https://bundlephobia.com/result?p=svelte-log-view)
4
+ [![Open Bundle](https://bundlejs.com/badge-light.svg)](https://bundlejs.com/?q=svelte-log-view)
5
5
  [![downloads](http://img.shields.io/npm/dm/svelte-log-view.svg?style=flat-square)](https://npmjs.org/package/svelte-log-view)
6
6
  [![GitHub Issues](https://img.shields.io/github/issues/arlac77/svelte-log-view.svg?style=flat-square)](https://github.com/arlac77/svelte-log-view/issues)
7
7
  [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Farlac77%2Fsvelte-log-view%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/arlac77/svelte-log-view/goto)
@@ -10,7 +10,6 @@
10
10
  [![Known Vulnerabilities](https://snyk.io/test/github/arlac77/svelte-log-view/badge.svg)](https://snyk.io/test/github/arlac77/svelte-log-view)
11
11
  [![Coverage Status](https://coveralls.io/repos/arlac77/svelte-log-view/badge.svg)](https://coveralls.io/github/arlac77/svelte-log-view)
12
12
  [![Tested with TestCafe](https://img.shields.io/badge/tested%20with-TestCafe-2fa4cf.svg)](https://github.com/DevExpress/testcafe)
13
- [![Netlify Status](https://api.netlify.com/api/v1/badges/07bdbff0-0bb8-49e0-b60e-ff1f4f2a0009/deploy-status)](https://app.netlify.com/sites/svelte-log-view/deploys)
14
13
 
15
14
  # svelte-log-view
16
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-log-view",
3
- "version": "4.2.8",
3
+ "version": "4.2.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,6 +10,7 @@
10
10
  "component",
11
11
  "log",
12
12
  "svelte",
13
+ "vite",
13
14
  "web"
14
15
  ],
15
16
  "contributors": [
@@ -20,29 +21,31 @@
20
21
  ],
21
22
  "license": "BSD-2-Clause",
22
23
  "scripts": {
23
- "start": "rollup -c tests/app/rollup.config.mjs -w",
24
+ "prepare": "vite build",
25
+ "start": "vite",
24
26
  "test": "npm run test:cafe",
25
- "test:cafe": "testcafe $BROWSER:headless tests/cafe/*.js -s build/test --app-init-delay 1000 --app \"rollup -c tests/app/rollup.config.mjs -w\"",
27
+ "test:cafe": "testcafe $BROWSER:headless tests/cafe/*.js -s build/test --page-request-timeout 1000 --app-init-delay 3000 --app vite",
26
28
  "docs": "documentation readme --section=API ./src/**/*.mjs",
27
29
  "lint": "npm run lint:docs",
28
30
  "lint:docs": "documentation lint ./src/**/*.mjs",
29
- "build": "rollup -c tests/app/rollup.config.mjs"
31
+ "preview": "vite preview"
30
32
  },
31
33
  "devDependencies": {
32
- "@rollup/plugin-node-resolve": "^13.0.0",
33
- "@rollup/plugin-virtual": "^2.0.3",
34
+ "@semantic-release/commit-analyzer": "^9.0.2",
35
+ "@semantic-release/exec": "^6.0.3",
36
+ "@semantic-release/release-notes-generator": "^10.0.3",
37
+ "@sveltejs/vite-plugin-svelte": "^1.0.1",
34
38
  "documentation": "^13.2.5",
35
- "mf-styling": "arlac77/mf-styling",
36
- "postcss": "^8.3.5",
37
- "postcss-import": "^14.0.2",
38
- "reader-line-iterator": "^1.1.2",
39
- "rollup": "^2.52.6",
40
- "rollup-plugin-dev": "^1.1.3",
41
- "rollup-plugin-postcss": "^4.0.0",
42
- "rollup-plugin-svelte": "^7.1.0",
43
- "semantic-release": "^17.4.4",
44
- "svelte": "^3.38.3",
45
- "testcafe": "^1.14.2"
39
+ "mf-styling": "^1.2.31",
40
+ "npm-pkgbuild": "^10.11.3",
41
+ "reader-line-iterator": "^1.1.4",
42
+ "semantic-release": "^19.0.3",
43
+ "svelte": "^3.49.0",
44
+ "testcafe": "^1.20.0",
45
+ "vite": "^3.0.2"
46
+ },
47
+ "optionalDependencies": {
48
+ "mf-hosting": "^1.7.1"
46
49
  },
47
50
  "repository": {
48
51
  "type": "git",
@@ -52,18 +55,33 @@
52
55
  "url": "https://github.com/arlac77/svelte-log-view/issues"
53
56
  },
54
57
  "homepage": "https://github.com/arlac77/svelte-log-view#readme",
55
- "template": {
56
- "properties": {
57
- "netlifly": {
58
- "site": {
59
- "uuid": "07bdbff0-0bb8-49e0-b60e-ff1f4f2a0009"
60
- }
61
- }
58
+ "pkgbuild": {
59
+ "content": {
60
+ "${install.dir}": "build/",
61
+ "${nginx.sites.dir}${name}.conf": "pkg/nginx.conf"
62
62
  },
63
+ "groups": "examples"
64
+ },
65
+ "release": {
66
+ "plugins": [
67
+ "@semantic-release/commit-analyzer",
68
+ "@semantic-release/release-notes-generator",
69
+ "@semantic-release/npm",
70
+ [
71
+ "@semantic-release/exec",
72
+ {
73
+ "publishCmd": "npx npm-pkgbuild --available --continue --verbose"
74
+ }
75
+ ],
76
+ "@semantic-release/github"
77
+ ]
78
+ },
79
+ "template": {
63
80
  "inheritFrom": [
64
81
  "arlac77/template-arlac77-github",
65
- "arlac77/template-netlify",
66
- "arlac77/template-svelte-component"
82
+ "arlac77/template-cloudflare",
83
+ "arlac77/template-pacman",
84
+ "arlac77/template-svelte-component#next"
67
85
  ]
68
86
  }
69
87
  }
@@ -25,7 +25,7 @@
25
25
  current = entries[entries.length - 1];
26
26
  }
27
27
 
28
- for await (const entry of source.fetch(current, 1)) {
28
+ for await (const entry of source.fetch(current, 0)) {
29
29
  entries.push(entry);
30
30
 
31
31
  if (entries.length <= visibleRows) {
@@ -41,8 +41,7 @@
41
41
  }
42
42
  }
43
43
 
44
-
45
- follow = false;
44
+ //follow = false;
46
45
  }
47
46
 
48
47
  async function setSelected(toBeSelected) {
@@ -59,7 +58,7 @@
59
58
  let i;
60
59
 
61
60
  for (i = 0; i < number; i++) {
62
- entries.unshift(undefined);
61
+ entries.unshift();
63
62
  }
64
63
 
65
64
  selected += number;