Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

w3c-keyname

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

w3c-keyname - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

index.cjs

15

index.es.js

@@ -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",

.tern-port

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc