svelte-common 4.19.7 → 4.19.9

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/README.md CHANGED
@@ -61,8 +61,8 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
61
61
 
62
62
  ## sortable
63
63
 
64
- Add sortable toggle button to a node.
65
- Synchronizes store value with node "aria-sort" attribute.
64
+ Add sortable toggle button to a th node.
65
+ Synchronizes store value with th nodes "aria-sort" attribute.
66
66
 
67
67
  ### Parameters
68
68
 
@@ -84,7 +84,9 @@ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference
84
84
 
85
85
  ## keyPrefixStore
86
86
 
87
- Create a store where all the object keys are prefixed.
87
+ Create a derived store where all the object keys are prefixed.
88
+
89
+ { a: 1, b: 2 } -> { prefix_a: 1 prefix_b: 2 }
88
90
 
89
91
  ### Parameters
90
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "4.19.7",
3
+ "version": "4.19.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -24,7 +24,7 @@
24
24
  "start": "vite",
25
25
  "test": "npm run test:ava && npm run test:cafe",
26
26
  "test:cafe": "testcafe $BROWSER:headless tests/cafe/*.js -s build/test --page-request-timeout 3000 --app-init-delay 3000 --app \"vite preview\"",
27
- "test:ava": "ava --timeout 2m tests/*.mjs",
27
+ "test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs",
28
28
  "docs": "documentation readme --section=API ./src/**/*.mjs",
29
29
  "lint": "npm run lint:css && npm run lint:docs",
30
30
  "lint:docs": "documentation lint ./src/**/*.mjs",
@@ -33,26 +33,26 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "svelte-command": "^1.1.24",
36
- "svelte-entitlement": "^1.2.30"
36
+ "svelte-entitlement": "^1.2.36"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@semantic-release/commit-analyzer": "^9.0.2",
40
40
  "@semantic-release/exec": "^6.0.3",
41
41
  "@semantic-release/release-notes-generator": "^10.0.3",
42
- "@sveltejs/vite-plugin-svelte": "^1.0.5",
43
- "ava": "^4.3.3",
42
+ "@sveltejs/vite-plugin-svelte": "^1.3.1",
43
+ "ava": "^5.1.0",
44
44
  "documentation": "^14.0.0",
45
- "mf-styling": "^1.7.14",
46
- "npm-pkgbuild": "^10.14.8",
45
+ "mf-styling": "^1.7.23",
46
+ "npm-pkgbuild": "^10.15.17",
47
47
  "semantic-release": "^19.0.5",
48
- "stylelint": "^14.11.0",
49
- "stylelint-config-standard": "^28.0.0",
50
- "svelte": "^3.50.0",
51
- "testcafe": "^2.0.0",
52
- "vite": "^3.1.0"
48
+ "stylelint": "^14.15.0",
49
+ "stylelint-config-standard": "^29.0.0",
50
+ "svelte": "^3.53.1",
51
+ "testcafe": "^2.1.0",
52
+ "vite": "^3.2.4"
53
53
  },
54
54
  "optionalDependencies": {
55
- "mf-hosting": "^1.7.3"
55
+ "mf-hosting": "^1.7.8"
56
56
  },
57
57
  "repository": {
58
58
  "type": "git",
@@ -77,10 +77,24 @@
77
77
  [
78
78
  "@semantic-release/exec",
79
79
  {
80
- "publishCmd": "npx npm-pkgbuild --available --continue --verbose"
80
+ "publishCmd": "npx npm-pkgbuild --available --continue"
81
81
  }
82
82
  ],
83
- "@semantic-release/github"
83
+ [
84
+ "@semantic-release/github",
85
+ {
86
+ "assets": [
87
+ {
88
+ "path": "dist/*.deb",
89
+ "label": "Debian Package"
90
+ },
91
+ {
92
+ "path": "dist/*.pkg.*",
93
+ "label": "Arch Linux Package"
94
+ }
95
+ ]
96
+ }
97
+ ]
84
98
  ]
85
99
  },
86
100
  "template": {
@@ -10,7 +10,7 @@
10
10
  <tr>
11
11
  <td />
12
12
  <td>Username</td>
13
- <td>{session.username}</td>
13
+ <td>{session.username ? session.username : ""}</td>
14
14
  </tr>
15
15
  <tr>
16
16
  <td />