Comparing version 1.0.1 to 1.0.2
@@ -125,3 +125,3 @@ (function (global, factory) { | ||
function codetoString(keyCode) { | ||
function codeToString(keyCode) { | ||
if (isAlphabet(keyCode) || isNumber(keyCode)) { | ||
@@ -149,3 +149,3 @@ return String.fromCharCode(keyCode); | ||
exports.codetoString = codetoString; | ||
exports.codeToString = codeToString; | ||
exports.default = keystroke; | ||
@@ -152,0 +152,0 @@ exports.isAlphabet = isAlphabet; |
{ | ||
"name": "keystroke", | ||
"description": "A keypress code-to-label helper library for the browser", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "dist/keystroke.js", | ||
@@ -19,4 +19,5 @@ "repository": { | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"build": "rollup keystroke.js --file dist/keystroke.js --format umd --name keystroke" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7948