svelte-command 1.1.51 → 2.0.1

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
@@ -72,7 +72,7 @@ general command execution handling for svelte components
72
72
 
73
73
  **Extends BasicCommand**
74
74
 
75
- Ask for confirmation before esxecution a given Command.
75
+ Ask for confirmation before execution a given Command.
76
76
 
77
77
  ### Parameters
78
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-command",
3
- "version": "1.1.51",
3
+ "version": "2.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -40,24 +40,25 @@
40
40
  "devDependencies": {
41
41
  "@semantic-release/commit-analyzer": "^12.0.0",
42
42
  "@semantic-release/exec": "^6.0.3",
43
+ "@semantic-release/github": "^10.0.5",
43
44
  "@semantic-release/release-notes-generator": "^13.0.0",
44
45
  "@sveltejs/vite-plugin-svelte": "^3.1.0",
45
46
  "ava": "^6.1.3",
46
47
  "documentation": "^14.0.3",
47
48
  "mf-styling": "^3.1.6",
48
- "npm-pkgbuild": "^15.3.14",
49
+ "npm-pkgbuild": "^15.3.15",
49
50
  "semantic-release": "^23.1.1",
50
51
  "svelte": "^5.0.0-next.136",
51
52
  "testcafe": "^3.6.0",
52
53
  "vite": "^5.2.11",
53
- "vite-plugin-compression2": "^1.1.0"
54
+ "vite-plugin-compression2": "^1.1.1"
54
55
  },
55
56
  "peerDependencies": {
56
- "svelte": "^4.0.0 || ^5.0.0-next.0"
57
+ "svelte": "^5.0.0-next.0"
57
58
  },
58
59
  "optionalDependencies": {
59
60
  "mf-hosting-cloudflare": "^1.0.6",
60
- "mf-hosting-frontend": "^3.0.3"
61
+ "mf-hosting-frontend": "^3.2.0"
61
62
  },
62
63
  "repository": {
63
64
  "type": "git",
@@ -1,14 +1,14 @@
1
1
  <script>
2
2
  export let command;
3
3
 
4
- function handleKeydown(event) {
4
+ function onkeydown(event) {
5
5
  if (command.matchesKeydown?.(event)) {
6
6
  command.start();
7
7
  }
8
8
  }
9
9
  </script>
10
10
 
11
- <svelte:window on:keydown={handleKeydown} />
11
+ <svelte:window {onkeydown} />
12
12
 
13
13
  <button
14
14
  disabled={$command.disabled}
@@ -1,7 +1,7 @@
1
1
  import { BasicCommand } from "./command.mjs";
2
2
 
3
3
  /**
4
- * Ask for confirmation before esxecution a given Command.
4
+ * Ask for confirmation before execution a given Command.
5
5
  */
6
6
  export class ConfirmCommand extends BasicCommand {
7
7
  constructor(command) {