Socket
Socket
Sign inDemoInstall

keysim

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

82

dist/keysim.js

@@ -22,41 +22,33 @@ (function() {

index$$$__Object$defineProperty(Keystroke, "CTRL", {
get: function() {
return index$$CTRL;
},
return Keystroke;
}();
enumerable: true,
configurable: true
});
/**
* Gets the bitmask value for the "control" modifier.
*
* @type {number}
*/
index$$Keystroke.CTRL = index$$CTRL;
index$$$__Object$defineProperty(Keystroke, "META", {
get: function() {
return index$$META;
},
/**
* Gets the bitmask value for the "meta" modifier.
*
* @return {number}
*/
index$$Keystroke.META = index$$META;
enumerable: true,
configurable: true
});
/**
* Gets the bitmask value for the "alt" modifier.
*
* @return {number}
*/
index$$Keystroke.ALT = index$$ALT;
index$$$__Object$defineProperty(Keystroke, "ALT", {
get: function() {
return index$$ALT;
},
/**
* Gets the bitmask value for the "shift" modifier.
*
* @return {number}
*/
index$$Keystroke.SHIFT = index$$SHIFT;
enumerable: true,
configurable: true
});
index$$$__Object$defineProperty(Keystroke, "SHIFT", {
get: function() {
return index$$SHIFT;
},
enumerable: true,
configurable: true
});
return Keystroke;
}();
var index$$Keyboard = function() {

@@ -372,14 +364,2 @@ "use strict";

index$$$__Object$defineProperty(Keyboard, "US_ENGLISH", {
get: function() {
return new Keyboard(
index$$US_ENGLISH_CHARCODE_KEYCODE_MAP,
index$$US_ENGLISH_ACTION_KEYCODE_MAP
);
},
enumerable: true,
configurable: true
});
return Keyboard;

@@ -519,2 +499,12 @@ }();

/**
* Gets a keyboard instance configured as a U.S. English keyboard would be.
*
* @return {Keyboard}
*/
index$$Keyboard.US_ENGLISH = new index$$Keyboard(
index$$US_ENGLISH_CHARCODE_KEYCODE_MAP,
index$$US_ENGLISH_ACTION_KEYCODE_MAP
);
if (typeof module !== 'undefined' && module.exports) {

@@ -521,0 +511,0 @@ exports.Keyboard = index$$Keyboard;

@@ -26,39 +26,31 @@ /* jshint esnext:true, undef:true, unused:true */

}
}
/**
* Gets the bitmask value for the "control" modifier.
*
* @return {number}
*/
static get CTRL() {
return CTRL;
}
/**
* Gets the bitmask value for the "control" modifier.
*
* @type {number}
*/
Keystroke.CTRL = CTRL;
/**
* Gets the bitmask value for the "meta" modifier.
*
* @return {number}
*/
static get META() {
return META;
}
/**
* Gets the bitmask value for the "meta" modifier.
*
* @return {number}
*/
Keystroke.META = META;
/**
* Gets the bitmask value for the "alt" modifier.
*
* @return {number}
*/
static get ALT() {
return ALT;
}
/**
* Gets the bitmask value for the "alt" modifier.
*
* @return {number}
*/
Keystroke.ALT = ALT;
/**
* Gets the bitmask value for the "shift" modifier.
*
* @return {number}
*/
static get SHIFT() {
return SHIFT;
}
}
/**
* Gets the bitmask value for the "shift" modifier.
*
* @return {number}
*/
Keystroke.SHIFT = SHIFT;

@@ -416,14 +408,2 @@ /**

}
/**
* Gets a keyboard instance configured as a U.S. English keyboard would be.
*
* @return {Keyboard}
*/
static get US_ENGLISH() {
return new Keyboard(
US_ENGLISH_CHARCODE_KEYCODE_MAP,
US_ENGLISH_ACTION_KEYCODE_MAP
);
}
}

@@ -562,1 +542,10 @@

/**
* Gets a keyboard instance configured as a U.S. English keyboard would be.
*
* @return {Keyboard}
*/
Keyboard.US_ENGLISH = new Keyboard(
US_ENGLISH_CHARCODE_KEYCODE_MAP,
US_ENGLISH_ACTION_KEYCODE_MAP
);
{
"name": "keysim",
"version": "1.1.0",
"version": "1.1.1",
"description": "Keyboard simulator for JavaScript.",

@@ -5,0 +5,0 @@ "main": "dist/keysim.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc