w3c-keyname
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -56,3 +56,3 @@ var base = { | ||
}; | ||
var base_1 = base; | ||
exports.base = base; | ||
@@ -86,3 +86,3 @@ var shift = { | ||
}; | ||
var shift_1 = shift; | ||
exports.shift = shift; | ||
@@ -111,3 +111,3 @@ var chrome = typeof navigator != "undefined" && /Chrome\/(\d+)/.exec(navigator.userAgent); | ||
var keyName = function(event) { | ||
exports.keyName = function(event) { | ||
// Don't trust event.key in Chrome when there are modifiers until | ||
@@ -130,10 +130,1 @@ // they fix https://bugs.chromium.org/p/chromium/issues/detail?id=633838 | ||
}; | ||
var w3cKeyname = { | ||
base: base_1, | ||
shift: shift_1, | ||
keyName: keyName | ||
}; | ||
export default w3cKeyname; | ||
export { base_1 as base, keyName, shift_1 as shift }; |
{ | ||
"name": "w3c-keyname", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Get a KeyboardEvent.key-style string from an event", | ||
"main": "index.js", | ||
"main": "index.cjs", | ||
"type": "module", | ||
"exports": { | ||
"import": "./index.es.js", | ||
"require": "./index.cjs" | ||
}, | ||
"module": "index.es.js", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -8,0 +14,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Yes
8881
241
1