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

@novnc/novnc

Package Overview
Dependencies
Maintainers
4
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@novnc/novnc - npm Package Compare versions

Comparing version 1.5.0-beta-gfb1817c to 1.5.0-g06f14a5

23

lib/input/keyboard.js

@@ -206,3 +206,3 @@ "use strict";

this._altGrArmed = true;
this._altGrTimeout = setTimeout(this._handleAltGrTimeout.bind(this), 100);
this._altGrTimeout = setTimeout(this._interruptAltGrSequence.bind(this), 100);
this._altGrCtrlTime = e.timeStamp;

@@ -221,7 +221,3 @@ return;

// abort that detection
if (this._altGrArmed) {
this._altGrArmed = false;
clearTimeout(this._altGrTimeout);
this._sendKeyEvent(_keysym["default"].XK_Control_L, "ControlLeft", true);
}
this._interruptAltGrSequence();

@@ -249,7 +245,9 @@ // See comment in _handleKeyDown()

}, {
key: "_handleAltGrTimeout",
value: function _handleAltGrTimeout() {
this._altGrArmed = false;
clearTimeout(this._altGrTimeout);
this._sendKeyEvent(_keysym["default"].XK_Control_L, "ControlLeft", true);
key: "_interruptAltGrSequence",
value: function _interruptAltGrSequence() {
if (this._altGrArmed) {
this._altGrArmed = false;
clearTimeout(this._altGrTimeout);
this._sendKeyEvent(_keysym["default"].XK_Control_L, "ControlLeft", true);
}
}

@@ -260,2 +258,5 @@ }, {

Log.Debug(">> Keyboard.allKeysUp");
// Prevent control key being processed after losing focus.
this._interruptAltGrSequence();
for (var code in this._keyDownList) {

@@ -262,0 +263,0 @@ this._sendKeyEvent(this._keyDownList[code], code, false);

{
"name": "@novnc/novnc",
"version": "1.5.0-beta-gfb1817c",
"version": "1.5.0-g06f14a5",
"description": "An HTML5 VNC client",

@@ -58,3 +58,2 @@ "browser": "lib/rfb",

"karma-script-launcher": "latest",
"karma-sinon-chai": "latest",
"mocha": "latest",

@@ -61,0 +60,0 @@ "node-getopt": "latest",

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