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.4.0-gb40a45a to 1.4.0-gbf12c24

5

lib/base64.js

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

// From: http://hg.mozilla.org/mozilla-central/raw-file/ec10630b1a54/js/src/devtools/jint/sunspider/string-base64.js
var _default = {
var _default = exports["default"] = {
/* Convert data (an array of integers) to a Base64 string. */

@@ -101,3 +101,2 @@ toBase64Table: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.split(''),

};
/* End of Base64 namespace */
exports["default"] = _default;
/* End of Base64 namespace */

8

lib/crypto/aes.js

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

function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
var AESECBCipher = /*#__PURE__*/function () {
var AESECBCipher = exports.AESECBCipher = /*#__PURE__*/function () {
function AESECBCipher() {

@@ -129,4 +129,3 @@ _classCallCheck(this, AESECBCipher);

}();
exports.AESECBCipher = AESECBCipher;
var AESEAXCipher = /*#__PURE__*/function () {
var AESEAXCipher = exports.AESEAXCipher = /*#__PURE__*/function () {
function AESEAXCipher() {

@@ -486,3 +485,2 @@ _classCallCheck(this, AESEAXCipher);

return AESEAXCipher;
}();
exports.AESEAXCipher = AESEAXCipher;
}();

@@ -110,3 +110,2 @@ "use strict";

}();
var _default = new LegacyCrypto();
exports["default"] = _default;
var _default = exports["default"] = new LegacyCrypto();

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

}();
var DESECBCipher = /*#__PURE__*/function () {
var DESECBCipher = exports.DESECBCipher = /*#__PURE__*/function () {
function DESECBCipher() {

@@ -335,4 +335,3 @@ _classCallCheck(this, DESECBCipher);

}();
exports.DESECBCipher = DESECBCipher;
var DESCBCCipher = /*#__PURE__*/function () {
var DESCBCCipher = exports.DESCBCCipher = /*#__PURE__*/function () {
function DESCBCCipher() {

@@ -381,3 +380,2 @@ _classCallCheck(this, DESCBCCipher);

return DESCBCCipher;
}();
exports.DESCBCCipher = DESCBCCipher;
}();

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

}();
var DHCipher = /*#__PURE__*/function () {
var DHCipher = exports.DHCipher = /*#__PURE__*/function () {
function DHCipher() {

@@ -84,3 +84,2 @@ _classCallCheck(this, DHCipher);

return DHCipher;
}();
exports.DHCipher = DHCipher;
}();

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

function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
var RSACipher = /*#__PURE__*/function () {
var RSACipher = exports.RSACipher = /*#__PURE__*/function () {
function RSACipher() {

@@ -314,3 +314,2 @@ _classCallCheck(this, RSACipher);

return RSACipher;
}();
exports.RSACipher = RSACipher;
}();

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

*/
var CopyRectDecoder = /*#__PURE__*/function () {
var CopyRectDecoder = exports["default"] = /*#__PURE__*/function () {
function CopyRectDecoder() {

@@ -42,3 +42,2 @@ _classCallCheck(this, CopyRectDecoder);

return CopyRectDecoder;
}();
exports["default"] = CopyRectDecoder;
}();

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

*/
var HextileDecoder = /*#__PURE__*/function () {
var HextileDecoder = exports["default"] = /*#__PURE__*/function () {
function HextileDecoder() {

@@ -197,3 +197,2 @@ _classCallCheck(this, HextileDecoder);

return HextileDecoder;
}();
exports["default"] = HextileDecoder;
}();

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

*/
var JPEGDecoder = /*#__PURE__*/function () {
var JPEGDecoder = exports["default"] = /*#__PURE__*/function () {
function JPEGDecoder() {

@@ -177,3 +177,2 @@ _classCallCheck(this, JPEGDecoder);

return JPEGDecoder;
}();
exports["default"] = JPEGDecoder;
}();

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

*/
var RawDecoder = /*#__PURE__*/function () {
var RawDecoder = exports["default"] = /*#__PURE__*/function () {
function RawDecoder() {

@@ -68,3 +68,2 @@ _classCallCheck(this, RawDecoder);

return RawDecoder;
}();
exports["default"] = RawDecoder;
}();

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

*/
var RREDecoder = /*#__PURE__*/function () {
var RREDecoder = exports["default"] = /*#__PURE__*/function () {
function RREDecoder() {

@@ -54,3 +54,2 @@ _classCallCheck(this, RREDecoder);

return RREDecoder;
}();
exports["default"] = RREDecoder;
}();

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

*/
var TightDecoder = /*#__PURE__*/function () {
var TightDecoder = exports["default"] = /*#__PURE__*/function () {
function TightDecoder() {

@@ -308,3 +308,2 @@ _classCallCheck(this, TightDecoder);

return TightDecoder;
}();
exports["default"] = TightDecoder;
}();

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

*/
var TightPNGDecoder = /*#__PURE__*/function (_TightDecoder) {
var TightPNGDecoder = exports["default"] = /*#__PURE__*/function (_TightDecoder) {
_inherits(TightPNGDecoder, _TightDecoder);

@@ -54,3 +54,2 @@ var _super = _createSuper(TightPNGDecoder);

return TightPNGDecoder;
}(_tight["default"]);
exports["default"] = TightPNGDecoder;
}(_tight["default"]);

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

var ZRLE_TILE_HEIGHT = 64;
var ZRLEDecoder = /*#__PURE__*/function () {
var ZRLEDecoder = exports["default"] = /*#__PURE__*/function () {
function ZRLEDecoder() {

@@ -195,3 +195,2 @@ _classCallCheck(this, ZRLEDecoder);

return ZRLEDecoder;
}();
exports["default"] = ZRLEDecoder;
}();

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

*/
var Deflator = /*#__PURE__*/function () {
var Deflator = exports["default"] = /*#__PURE__*/function () {
function Deflator() {

@@ -90,3 +90,2 @@ _classCallCheck(this, Deflator);

return Deflator;
}();
exports["default"] = Deflator;
}();

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

*/
var Display = /*#__PURE__*/function () {
var Display = exports["default"] = /*#__PURE__*/function () {
function Display(target) {

@@ -529,3 +529,2 @@ _classCallCheck(this, Display);

return Display;
}();
exports["default"] = Display;
}();

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

var encodings = {
var encodings = exports.encodings = {
encodingRaw: 0,

@@ -42,3 +42,2 @@ encodingCopyRect: 1,

};
exports.encodings = encodings;
function encodingName(num) {

@@ -45,0 +44,0 @@ switch (num) {

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

*/
var Inflate = /*#__PURE__*/function () {
var Inflate = exports["default"] = /*#__PURE__*/function () {
function Inflate() {

@@ -79,3 +79,2 @@ _classCallCheck(this, Inflate);

return Inflate;
}();
exports["default"] = Inflate;
}();

@@ -313,3 +313,2 @@ "use strict";

addNumpad("9", _keysym["default"].XK_9, _keysym["default"].XK_KP_9);
var _default = DOMKeyTable;
exports["default"] = _default;
var _default = exports["default"] = DOMKeyTable;

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

/* eslint-disable key-spacing */
var _default = {
var _default = exports["default"] = {
// 3.1.1.1. Writing System Keys

@@ -128,3 +128,2 @@

'WakeUp': 'WakeUp'
};
exports["default"] = _default;
};

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

var GH_TWOTOUCH_TIMEOUT = 50;
var GestureHandler = /*#__PURE__*/function () {
var GestureHandler = exports["default"] = /*#__PURE__*/function () {
function GestureHandler() {

@@ -575,3 +575,2 @@ _classCallCheck(this, GestureHandler);

return GestureHandler;
}();
exports["default"] = GestureHandler;
}();

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

//
var Keyboard = /*#__PURE__*/function () {
var Keyboard = exports["default"] = /*#__PURE__*/function () {
function Keyboard(target) {

@@ -284,3 +284,2 @@ _classCallCheck(this, Keyboard);

return Keyboard;
}();
exports["default"] = Keyboard;
}();

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

/* eslint-disable key-spacing */
var _default = {
var _default = exports["default"] = {
XK_VoidSymbol: 0xffffff,

@@ -879,3 +879,2 @@ /* Void symbol */

XF86XK_LogGrabInfo: 0x1008FE25
};
exports["default"] = _default;
};

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

};
var _default = {
var _default = exports["default"] = {
lookup: function lookup(u) {

@@ -1352,3 +1352,2 @@ // Latin-1 is one-to-one mapping

}
};
exports["default"] = _default;
};

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

*/
var _default = {
var _default = exports["default"] = {
0x08: 'Backspace',

@@ -122,3 +122,2 @@ 0x09: 'Tab',

0xe1: 'AltRight' // Only when it is AltGraph
};
exports["default"] = _default;
};

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

*/
var _default = {
var _default = exports["default"] = {
"Again": 0xe005,

@@ -344,3 +344,2 @@ /* html:Again (Again) -> linux:129 (KEY_AGAIN) -> atset1:57349 */

"WakeUp": 0xe063 /* html:WakeUp (WakeUp) -> linux:143 (KEY_WAKEUP) -> atset1:57443 */
};
exports["default"] = _default;
};

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

}();
var RSAAESAuthenticationState = /*#__PURE__*/function (_EventTargetMixin) {
var RSAAESAuthenticationState = exports["default"] = /*#__PURE__*/function (_EventTargetMixin) {
_inherits(RSAAESAuthenticationState, _EventTargetMixin);

@@ -539,3 +539,2 @@ var _super = _createSuper(RSAAESAuthenticationState);

return RSAAESAuthenticationState;
}(_eventtarget["default"]);
exports["default"] = RSAAESAuthenticationState;
}(_eventtarget["default"]);

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

// Touch detection
var isTouchDevice = 'ontouchstart' in document.documentElement ||
var isTouchDevice = exports.isTouchDevice = 'ontouchstart' in document.documentElement ||
// requried for Chrome debugger

@@ -44,3 +44,2 @@ document.ontouchstart !== undefined ||

navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
exports.isTouchDevice = isTouchDevice;
window.addEventListener('touchstart', function onFirstTouch() {

@@ -53,4 +52,3 @@ exports.isTouchDevice = isTouchDevice = true;

// brings us a bit closer but is not optimal.
var dragThreshold = 10 * (window.devicePixelRatio || 1);
exports.dragThreshold = dragThreshold;
var dragThreshold = exports.dragThreshold = 10 * (window.devicePixelRatio || 1);
var _supportsCursorURIs = false;

@@ -69,4 +67,3 @@ try {

}
var supportsCursorURIs = _supportsCursorURIs;
exports.supportsCursorURIs = supportsCursorURIs;
var supportsCursorURIs = exports.supportsCursorURIs = _supportsCursorURIs;
var _hasScrollbarGutter = true;

@@ -94,3 +91,3 @@ try {

}
var hasScrollbarGutter = _hasScrollbarGutter;
var hasScrollbarGutter = exports.hasScrollbarGutter = _hasScrollbarGutter;

@@ -105,3 +102,3 @@ /*

/* OS */
exports.hasScrollbarGutter = hasScrollbarGutter;
function isMac() {

@@ -108,0 +105,0 @@ return !!/mac/i.exec(navigator.platform);

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

var useFallback = !_browser.supportsCursorURIs || _browser.isTouchDevice;
var Cursor = /*#__PURE__*/function () {
var Cursor = exports["default"] = /*#__PURE__*/function () {
function Cursor() {

@@ -269,3 +269,2 @@ _classCallCheck(this, Cursor);

return Cursor;
}();
exports["default"] = Cursor;
}();

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

*/
var EventTargetMixin = /*#__PURE__*/function () {
var EventTargetMixin = exports["default"] = /*#__PURE__*/function () {
function EventTargetMixin() {

@@ -55,3 +55,2 @@ _classCallCheck(this, EventTargetMixin);

return EventTargetMixin;
}();
exports["default"] = EventTargetMixin;
}();

@@ -22,10 +22,6 @@ "use strict";

var _logLevel = 'warn';
var Debug = function Debug() {};
exports.Debug = Debug;
var Info = function Info() {};
exports.Info = Info;
var Warn = function Warn() {};
exports.Warn = Warn;
var Error = function Error() {};
exports.Error = Error;
var Debug = exports.Debug = function Debug() {};
var Info = exports.Info = function Info() {};
var Warn = exports.Warn = function Warn() {};
var Error = exports.Error = function Error() {};
function initLogging(level) {

@@ -32,0 +28,0 @@ if (typeof level === 'undefined') {

@@ -53,7 +53,4 @@ "use strict";

}
var Buf8 = Uint8Array;
exports.Buf8 = Buf8;
var Buf16 = Uint16Array;
exports.Buf16 = Buf16;
var Buf32 = Int32Array;
exports.Buf32 = Buf32;
var Buf8 = exports.Buf8 = Uint8Array;
var Buf16 = exports.Buf16 = Uint16Array;
var Buf32 = exports.Buf32 = Int32Array;

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

exports["default"] = void 0;
var _default = {
var _default = exports["default"] = {
/* Allowed flush values; see deflate() and inflate() below for details */

@@ -48,3 +48,2 @@ Z_NO_FLUSH: 0,

//Z_NULL: null // Use -1 or null inline, depending on var type
};
exports["default"] = _default;
};

@@ -29,12 +29,8 @@ "use strict";

/* Allowed flush values; see deflate() and inflate() below for details */
var Z_NO_FLUSH = 0;
exports.Z_NO_FLUSH = Z_NO_FLUSH;
var Z_PARTIAL_FLUSH = 1;
var Z_NO_FLUSH = exports.Z_NO_FLUSH = 0;
var Z_PARTIAL_FLUSH = exports.Z_PARTIAL_FLUSH = 1;
//export const Z_SYNC_FLUSH = 2;
exports.Z_PARTIAL_FLUSH = Z_PARTIAL_FLUSH;
var Z_FULL_FLUSH = 3;
exports.Z_FULL_FLUSH = Z_FULL_FLUSH;
var Z_FINISH = 4;
exports.Z_FINISH = Z_FINISH;
var Z_BLOCK = 5;
var Z_FULL_FLUSH = exports.Z_FULL_FLUSH = 3;
var Z_FINISH = exports.Z_FINISH = 4;
var Z_BLOCK = exports.Z_BLOCK = 5;
//export const Z_TREES = 6;

@@ -45,15 +41,10 @@

*/
exports.Z_BLOCK = Z_BLOCK;
var Z_OK = 0;
exports.Z_OK = Z_OK;
var Z_STREAM_END = 1;
var Z_OK = exports.Z_OK = 0;
var Z_STREAM_END = exports.Z_STREAM_END = 1;
//export const Z_NEED_DICT = 2;
//export const Z_ERRNO = -1;
exports.Z_STREAM_END = Z_STREAM_END;
var Z_STREAM_ERROR = -2;
exports.Z_STREAM_ERROR = Z_STREAM_ERROR;
var Z_DATA_ERROR = -3;
var Z_STREAM_ERROR = exports.Z_STREAM_ERROR = -2;
var Z_DATA_ERROR = exports.Z_DATA_ERROR = -3;
//export const Z_MEM_ERROR = -4;
exports.Z_DATA_ERROR = Z_DATA_ERROR;
var Z_BUF_ERROR = -5;
var Z_BUF_ERROR = exports.Z_BUF_ERROR = -5;
//export const Z_VERSION_ERROR = -6;

@@ -65,14 +56,8 @@

//export const Z_BEST_COMPRESSION = 9;
exports.Z_BUF_ERROR = Z_BUF_ERROR;
var Z_DEFAULT_COMPRESSION = -1;
exports.Z_DEFAULT_COMPRESSION = Z_DEFAULT_COMPRESSION;
var Z_FILTERED = 1;
exports.Z_FILTERED = Z_FILTERED;
var Z_HUFFMAN_ONLY = 2;
exports.Z_HUFFMAN_ONLY = Z_HUFFMAN_ONLY;
var Z_RLE = 3;
exports.Z_RLE = Z_RLE;
var Z_FIXED = 4;
exports.Z_FIXED = Z_FIXED;
var Z_DEFAULT_STRATEGY = 0;
var Z_DEFAULT_COMPRESSION = exports.Z_DEFAULT_COMPRESSION = -1;
var Z_FILTERED = exports.Z_FILTERED = 1;
var Z_HUFFMAN_ONLY = exports.Z_HUFFMAN_ONLY = 2;
var Z_RLE = exports.Z_RLE = 3;
var Z_FIXED = exports.Z_FIXED = 4;
var Z_DEFAULT_STRATEGY = exports.Z_DEFAULT_STRATEGY = 0;

@@ -83,11 +68,9 @@ /* Possible values of the data_type field (though see inflate()) */

//export const Z_ASCII = 1; // = Z_TEXT
exports.Z_DEFAULT_STRATEGY = Z_DEFAULT_STRATEGY;
var Z_UNKNOWN = 2;
var Z_UNKNOWN = exports.Z_UNKNOWN = 2;
/* The deflate compression method */
exports.Z_UNKNOWN = Z_UNKNOWN;
var Z_DEFLATED = 8;
var Z_DEFLATED = exports.Z_DEFLATED = 8;
/*============================================================================*/
exports.Z_DEFLATED = Z_DEFLATED;
var MAX_MEM_LEVEL = 9;

@@ -1749,3 +1732,3 @@ /* Maximum value for memLevel in deflateInit2 */

}
var deflateInfo = 'pako deflate (from Nodeca project)';
var deflateInfo = exports.deflateInfo = 'pako deflate (from Nodeca project)';

@@ -1759,3 +1742,2 @@ /* Not implemented

exports.deflateTune = deflateTune;
*/
exports.deflateInfo = deflateInfo;
*/

@@ -38,7 +38,5 @@ "use strict";

//export const Z_FULL_FLUSH = 3;
var Z_FINISH = 4;
exports.Z_FINISH = Z_FINISH;
var Z_BLOCK = 5;
exports.Z_BLOCK = Z_BLOCK;
var Z_TREES = 6;
var Z_FINISH = exports.Z_FINISH = 4;
var Z_BLOCK = exports.Z_BLOCK = 5;
var Z_TREES = exports.Z_TREES = 6;

@@ -48,26 +46,18 @@ /* Return codes for the compression/decompression functions. Negative values

*/
exports.Z_TREES = Z_TREES;
var Z_OK = 0;
exports.Z_OK = Z_OK;
var Z_STREAM_END = 1;
exports.Z_STREAM_END = Z_STREAM_END;
var Z_NEED_DICT = 2;
var Z_OK = exports.Z_OK = 0;
var Z_STREAM_END = exports.Z_STREAM_END = 1;
var Z_NEED_DICT = exports.Z_NEED_DICT = 2;
//export const Z_ERRNO = -1;
exports.Z_NEED_DICT = Z_NEED_DICT;
var Z_STREAM_ERROR = -2;
exports.Z_STREAM_ERROR = Z_STREAM_ERROR;
var Z_DATA_ERROR = -3;
exports.Z_DATA_ERROR = Z_DATA_ERROR;
var Z_MEM_ERROR = -4;
exports.Z_MEM_ERROR = Z_MEM_ERROR;
var Z_BUF_ERROR = -5;
var Z_STREAM_ERROR = exports.Z_STREAM_ERROR = -2;
var Z_DATA_ERROR = exports.Z_DATA_ERROR = -3;
var Z_MEM_ERROR = exports.Z_MEM_ERROR = -4;
var Z_BUF_ERROR = exports.Z_BUF_ERROR = -5;
//export const Z_VERSION_ERROR = -6;
/* The deflate compression method */
exports.Z_BUF_ERROR = Z_BUF_ERROR;
var Z_DEFLATED = 8;
var Z_DEFLATED = exports.Z_DEFLATED = 8;
/* STATES ====================================================================*/
/* ===========================================================================*/
exports.Z_DEFLATED = Z_DEFLATED;
var HEAD = 1; /* i: waiting for magic header */

@@ -1617,3 +1607,3 @@ var FLAGS = 2; /* i: waiting for method and flags (gzip) */

}
var inflateInfo = 'pako inflate (from Nodeca project)';
var inflateInfo = exports.inflateInfo = 'pako inflate (from Nodeca project)';

@@ -1628,3 +1618,2 @@ /* Not implemented

exports.inflateUndermine = inflateUndermine;
*/
exports.inflateInfo = inflateInfo;
*/

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

exports["default"] = void 0;
var _default = {
var _default = exports["default"] = {
2: 'need dictionary',

@@ -26,3 +26,2 @@ /* Z_NEED_DICT 2 */

'-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */
};
exports["default"] = _default;
};

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

var rawChannelProps = ["send", "close", "binaryType", "onerror", "onmessage", "onopen", "protocol", "readyState"];
var Websock = /*#__PURE__*/function () {
var Websock = exports["default"] = /*#__PURE__*/function () {
function Websock() {

@@ -398,3 +398,2 @@ _classCallCheck(this, Websock);

return Websock;
}();
exports["default"] = Websock;
}();
{
"name": "@novnc/novnc",
"version": "1.4.0-gb40a45a",
"version": "1.4.0-gbf12c24",
"description": "An HTML5 VNC client",

@@ -5,0 +5,0 @@ "browser": "lib/rfb",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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