Skip to content

Commit

Permalink
Merge pull request #274 from kobakazu0429/renovate/tinykeys-2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kobakazu0429 authored Nov 6, 2023
2 parents 174f1ca + 49222a4 commit 16793f4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"store2": "^2.12.0",
"svelte-i18n": "^4.0.0",
"svelte-routing": "^2.0.0",
"tinykeys": "^1.3.0",
"tinykeys": "^2.0.0",
"ulid": "^2.3.0",
"vscode-ws-jsonrpc": "^2.0.0",
"xterm": "^5.0.0",
Expand Down
8 changes: 5 additions & 3 deletions src/pages/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
export let location: Location;
$: {
const params = new URLSearchParams(location.search);
const lz = params.get("data");
lzStore.set(lz);
if (location) {
const params = new URLSearchParams(location.search);
const lz = params.get("data");
lzStore.set(lz);
}
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/shortcuts/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { escapeCode, recoveryCode } from "./../editor/utils";
import tinykeys from "tinykeys";
import { tinykeys } from "tinykeys";
import debounce from "just-debounce-it";
import { saveCodeStorage } from "../localStorage/index";
import { formatCode, getCode, newFile as newFileFn } from "../editor/utils";
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3288,10 +3288,10 @@ tinybench@^2.5.0:
resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.5.1.tgz#3408f6552125e53a5a48adee31261686fd71587e"
integrity sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==

tinykeys@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/tinykeys/-/tinykeys-1.4.0.tgz#c2986cd0184c86e943a6b17acc0352e42b542dff"
integrity sha512-ysnVd2E4nWbNXIbHaUidcKGLTmNimqP0hdpsD0Ph5hPJ84ntCF6PHj+Jg3im9nZt9/hNsBg/E6m1psHc2KaPnQ==
tinykeys@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/tinykeys/-/tinykeys-2.1.0.tgz#1341563e92a7fac9ca90053fddaf2b7553500298"
integrity sha512-/MESnqBD1xItZJn5oGQ4OsNORQgJfPP96XSGoyu4eLpwpL0ifO0SYR5OD76u0YMhMXsqkb0UqvI9+yXTh4xv8Q==

tinypool@^0.7.0:
version "0.7.0"
Expand Down

0 comments on commit 16793f4

Please sign in to comment.