@rwh/keystrokes
Advanced tools
Comparing version 1.5.5 to 1.5.6
@@ -333,3 +333,3 @@ var w = Object.defineProperty; | ||
checkKey(e) { | ||
return this._activeKeyPresses.some((t) => t.key === e || t.aliases.has(e)); | ||
return e = e.toLowerCase(), this._activeKeyPresses.some((t) => t.key === e || t.aliases.has(e)); | ||
} | ||
@@ -336,0 +336,0 @@ checkKeyCombo(e) { |
{ | ||
"name": "@rwh/keystrokes", | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"description": "Keystrokes is an easy to use library for binding functions to keys and key combos. It can be used with any TypeScript or JavaScript project, even in non-browser environments.", | ||
@@ -49,3 +49,3 @@ "type": "module", | ||
"typescript": "^5.1.6", | ||
"vite": "^4.5.2", | ||
"vite": "^4.5.3", | ||
"vitest": "^0.34.1" | ||
@@ -52,0 +52,0 @@ }, |
Sorry, the diff of this file is not supported yet
59160