@novnc/novnc
Advanced tools
Comparing version 1.4.0-g7d2dad0 to 1.4.0-g829725b
@@ -288,3 +288,2 @@ "use strict"; | ||
} | ||
return b; | ||
@@ -291,0 +290,0 @@ } |
@@ -16,9 +16,9 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
var HextileDecoder = exports["default"] = /*#__PURE__*/function () { | ||
@@ -25,0 +25,0 @@ function HextileDecoder() { |
@@ -18,10 +18,10 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* (c) 2012 Michael Tinglof, Joe Balaz, Les Piech (Mercuri.ca) | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* (c) 2012 Michael Tinglof, Joe Balaz, Les Piech (Mercuri.ca) | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
var TightDecoder = exports["default"] = /*#__PURE__*/function () { | ||
@@ -168,3 +168,2 @@ function TightDecoder() { | ||
} | ||
display.blitImage(x, y, width, height, rgbx, 0, false); | ||
@@ -171,0 +170,0 @@ return true; |
@@ -22,9 +22,9 @@ "use strict"; | ||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
var TightPNGDecoder = exports["default"] = /*#__PURE__*/function (_TightDecoder) { | ||
@@ -31,0 +31,0 @@ _inherits(TightPNGDecoder, _TightDecoder); |
@@ -15,9 +15,9 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2021 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2021 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
* | ||
*/ | ||
var ZRLE_TILE_WIDTH = 64; | ||
@@ -100,3 +100,2 @@ var ZRLE_TILE_HEIGHT = 64; | ||
} | ||
return data; | ||
@@ -103,0 +102,0 @@ } |
@@ -16,8 +16,8 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2020 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2020 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
*/ | ||
var Deflator = exports["default"] = /*#__PURE__*/function () { | ||
@@ -24,0 +24,0 @@ function Deflator() { |
@@ -19,8 +19,8 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
*/ | ||
var Display = exports["default"] = /*#__PURE__*/function () { | ||
@@ -27,0 +27,0 @@ function Display(target) { |
@@ -16,8 +16,8 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2020 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2020 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* See README.md for usage and integration instructions. | ||
*/ | ||
var Inflate = exports["default"] = /*#__PURE__*/function () { | ||
@@ -24,0 +24,0 @@ function Inflate() { |
@@ -21,6 +21,6 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 or any later version (see LICENSE.txt) | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 or any later version (see LICENSE.txt) | ||
*/ | ||
// | ||
@@ -27,0 +27,0 @@ // Keyboard event handler |
@@ -14,6 +14,6 @@ "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); } /* | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 or any later version (see LICENSE.txt) | ||
*/ | ||
* noVNC: HTML5 VNC client | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 or any later version (see LICENSE.txt) | ||
*/ | ||
var useFallback = !_browser.supportsCursorURIs || _browser.isTouchDevice; | ||
@@ -20,0 +20,0 @@ var Cursor = exports["default"] = /*#__PURE__*/function () { |
@@ -52,3 +52,2 @@ "use strict"; | ||
} | ||
function getLogging() { | ||
@@ -55,0 +54,0 @@ return _logLevel; |
@@ -218,3 +218,2 @@ "use strict"; | ||
var limit = s.strstart > s.w_size - MIN_LOOKAHEAD ? s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0 /*NIL*/; | ||
var _win = s.window; // shortcut | ||
@@ -525,3 +524,2 @@ | ||
} | ||
s.insert = 0; | ||
@@ -545,3 +543,2 @@ if (flush === Z_FINISH) { | ||
} | ||
return BS_NEED_MORE; | ||
@@ -600,3 +597,2 @@ } | ||
} | ||
if (s.match_length >= MIN_MATCH) { | ||
@@ -658,3 +654,2 @@ // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only | ||
} | ||
s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1; | ||
@@ -678,3 +673,2 @@ if (flush === Z_FINISH) { | ||
} | ||
return BS_BLOCK_DONE; | ||
@@ -795,3 +789,2 @@ } | ||
} | ||
s.strstart++; | ||
@@ -836,3 +829,2 @@ s.lookahead--; | ||
} | ||
return BS_BLOCK_DONE; | ||
@@ -911,3 +903,2 @@ } | ||
} | ||
s.insert = 0; | ||
@@ -931,3 +922,2 @@ if (flush === Z_FINISH) { | ||
} | ||
return BS_BLOCK_DONE; | ||
@@ -971,3 +961,2 @@ } | ||
} | ||
s.insert = 0; | ||
@@ -991,3 +980,2 @@ if (flush === Z_FINISH) { | ||
} | ||
return BS_BLOCK_DONE; | ||
@@ -1229,3 +1217,2 @@ } | ||
} | ||
function deflateResetKeep(strm) { | ||
@@ -1245,3 +1232,2 @@ var s; | ||
} | ||
s.status = s.wrap ? INIT_STATE : BUSY_STATE; | ||
@@ -1576,3 +1562,2 @@ strm.adler = s.wrap === 2 ? 0 // crc32(0, Z_NULL, 0) | ||
} | ||
return Z_OK; | ||
@@ -1587,3 +1572,2 @@ /* If flush != Z_NO_FLUSH && avail_out == 0, the next call | ||
} | ||
if (bstate === BS_BLOCK_DONE) { | ||
@@ -1590,0 +1574,0 @@ if (flush === Z_PARTIAL_FLUSH) { |
@@ -150,3 +150,2 @@ "use strict"; | ||
op = here >>> 16 & 0xff /*here.op*/; | ||
if (op & 16) { | ||
@@ -208,3 +207,2 @@ /* distance base */ | ||
} | ||
from = 0; // window index | ||
@@ -211,0 +209,0 @@ from_source = s_window; |
@@ -163,3 +163,2 @@ "use strict"; | ||
} | ||
function inflateResetKeep(strm) { | ||
@@ -255,3 +254,2 @@ var state; | ||
} | ||
return ret; | ||
@@ -617,3 +615,2 @@ } | ||
} | ||
state.mode = EXTRA; | ||
@@ -643,3 +640,2 @@ /* falls through */ | ||
} | ||
if (state.flags & 0x0200) { | ||
@@ -735,3 +731,2 @@ state.check = (0, _crc["default"])(state.check, input, copy, next); | ||
} | ||
if (state.head) { | ||
@@ -958,3 +953,2 @@ state.head.hcrc = state.flags >> 9 & 1; | ||
} | ||
while (state.have < 19) { | ||
@@ -1002,3 +996,2 @@ state.lens[order[state.have++]] = 0; | ||
} | ||
if (here_val < 16) { | ||
@@ -1083,3 +1076,2 @@ //--- DROPBITS(here.bits) ---// | ||
} | ||
if (state.have + copy > state.nlen + state.ndist) { | ||
@@ -1198,3 +1190,2 @@ strm.msg = 'invalid bit length repeat'; | ||
} | ||
if (here_op && (here_op & 0xf0) === 0) { | ||
@@ -1296,3 +1287,2 @@ last_bits = here_bits; | ||
} | ||
if ((here_op & 0xf0) === 0) { | ||
@@ -1399,3 +1389,2 @@ last_bits = here_bits; | ||
} | ||
if (copy > state.wnext) { | ||
@@ -1470,3 +1459,2 @@ copy -= state.wnext; | ||
} | ||
state.mode = LENGTH; | ||
@@ -1497,3 +1485,2 @@ /* falls through */ | ||
} | ||
state.mode = DONE; | ||
@@ -1500,0 +1487,0 @@ /* falls through */ |
@@ -116,3 +116,2 @@ "use strict"; | ||
} | ||
for (min = 1; min < max; min++) { | ||
@@ -136,3 +135,2 @@ if (count[min] !== 0) { | ||
} | ||
if (left > 0 && (type === CODES || max !== 1)) { | ||
@@ -139,0 +137,0 @@ return -1; /* incomplete set */ |
@@ -172,3 +172,2 @@ "use strict"; | ||
} | ||
function d_code(dist) { | ||
@@ -625,3 +624,2 @@ return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)]; | ||
} | ||
dist--; /* dist is now the match distance - 1 */ | ||
@@ -697,3 +695,2 @@ code = d_code(dist); | ||
} | ||
desc.max_code = max_code; | ||
@@ -773,3 +770,2 @@ | ||
nextlen = tree[(n + 1) * 2 + 1] /*.Len*/; | ||
if (++count < max_count && curlen === nextlen) { | ||
@@ -789,3 +785,2 @@ continue; | ||
} | ||
count = 0; | ||
@@ -833,3 +828,2 @@ prevlen = curlen; | ||
nextlen = tree[(n + 1) * 2 + 1] /*.Len*/; | ||
if (++count < max_count && curlen === nextlen) { | ||
@@ -1074,3 +1068,2 @@ continue; | ||
} | ||
if (stored_len + 4 <= opt_lenb && buf !== -1) { | ||
@@ -1077,0 +1070,0 @@ /* 4: two words for the lengths */ |
@@ -22,14 +22,14 @@ "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); } /* | ||
* Websock: high-performance buffering wrapper | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* Websock is similar to the standard WebSocket / RTCDataChannel object | ||
* but with extra buffer handling. | ||
* | ||
* Websock has built-in receive queue buffering; the message event | ||
* does not contain actual data but is simply a notification that | ||
* there is new data available. Several rQ* methods are available to | ||
* read binary data off of the receive queue. | ||
*/ | ||
* Websock: high-performance buffering wrapper | ||
* Copyright (C) 2019 The noVNC Authors | ||
* Licensed under MPL 2.0 (see LICENSE.txt) | ||
* | ||
* Websock is similar to the standard WebSocket / RTCDataChannel object | ||
* but with extra buffer handling. | ||
* | ||
* Websock has built-in receive queue buffering; the message event | ||
* does not contain actual data but is simply a notification that | ||
* there is new data available. Several rQ* methods are available to | ||
* read binary data off of the receive queue. | ||
*/ | ||
// this has performance issues in some versions Chromium, and | ||
@@ -194,3 +194,2 @@ // doesn't gain a tremendous amount of performance increase in Firefox | ||
} | ||
return false; | ||
@@ -197,0 +196,0 @@ } |
{ | ||
"name": "@novnc/novnc", | ||
"version": "1.4.0-g7d2dad0", | ||
"version": "1.4.0-g829725b", | ||
"description": "An HTML5 VNC client", | ||
@@ -5,0 +5,0 @@ "browser": "lib/rfb", |
Sorry, the diff of this file is too big to display
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
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
1301764