@novnc/novnc
Advanced tools
Comparing version 1.3.0-beta to 1.3.0-g99cf540
@@ -8,4 +8,4 @@ "use strict"; | ||
}); | ||
exports.getKey = getKey; | ||
exports.getKeycode = getKeycode; | ||
exports.getKey = getKey; | ||
exports.getKeysym = getKeysym; | ||
@@ -12,0 +12,0 @@ |
@@ -8,8 +8,10 @@ "use strict"; | ||
}); | ||
exports.hasScrollbarGutter = exports.dragThreshold = void 0; | ||
exports.isFirefox = isFirefox; | ||
exports.isIOS = isIOS; | ||
exports.isMac = isMac; | ||
exports.isSafari = isSafari; | ||
exports.isTouchDevice = void 0; | ||
exports.isWindows = isWindows; | ||
exports.isIOS = isIOS; | ||
exports.isSafari = isSafari; | ||
exports.isFirefox = isFirefox; | ||
exports.hasScrollbarGutter = exports.supportsCursorURIs = exports.dragThreshold = exports.isTouchDevice = void 0; | ||
exports.supportsCursorURIs = void 0; | ||
@@ -32,3 +34,5 @@ var Log = _interopRequireWildcard(require("./logging.js")); | ||
// Touch detection | ||
var isTouchDevice = 'ontouchstart' in document.documentElement || document.ontouchstart !== undefined || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0; | ||
var isTouchDevice = 'ontouchstart' in document.documentElement || // requried for Chrome debugger | ||
document.ontouchstart !== undefined || // required for MS Surface | ||
navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0; | ||
exports.isTouchDevice = isTouchDevice; | ||
@@ -35,0 +39,0 @@ window.addEventListener('touchstart', function onFirstTouch() { |
@@ -7,5 +7,5 @@ "use strict"; | ||
exports.getPointerEvent = getPointerEvent; | ||
exports.releaseCapture = releaseCapture; | ||
exports.setCapture = setCapture; | ||
exports.stopEvent = stopEvent; | ||
exports.setCapture = setCapture; | ||
exports.releaseCapture = releaseCapture; | ||
@@ -12,0 +12,0 @@ /* |
@@ -6,4 +6,4 @@ "use strict"; | ||
}); | ||
exports.toSigned32bit = toSigned32bit; | ||
exports.toUnsigned32bit = toUnsigned32bit; | ||
exports.toSigned32bit = toSigned32bit; | ||
@@ -10,0 +10,0 @@ /* |
@@ -6,5 +6,5 @@ "use strict"; | ||
}); | ||
exports.Warn = exports.Info = exports.Error = exports.Debug = void 0; | ||
exports.getLogging = getLogging; | ||
exports.initLogging = initLogging; | ||
exports.getLogging = getLogging; | ||
exports.Error = exports.Warn = exports.Info = exports.Debug = void 0; | ||
@@ -11,0 +11,0 @@ /* |
@@ -6,6 +6,6 @@ "use strict"; | ||
}); | ||
exports.shrinkBuf = shrinkBuf; | ||
exports.Buf8 = exports.Buf32 = exports.Buf16 = void 0; | ||
exports.arraySet = arraySet; | ||
exports.flattenChunks = flattenChunks; | ||
exports.Buf32 = exports.Buf16 = exports.Buf8 = void 0; | ||
exports.shrinkBuf = shrinkBuf; | ||
@@ -12,0 +12,0 @@ // reduce buffer size, avoiding mem copy |
@@ -8,2 +8,6 @@ "use strict"; | ||
}); | ||
exports.Z_UNKNOWN = exports.Z_STREAM_ERROR = exports.Z_STREAM_END = exports.Z_RLE = exports.Z_PARTIAL_FLUSH = exports.Z_OK = exports.Z_NO_FLUSH = exports.Z_HUFFMAN_ONLY = exports.Z_FULL_FLUSH = exports.Z_FIXED = exports.Z_FINISH = exports.Z_FILTERED = exports.Z_DEFLATED = exports.Z_DEFAULT_STRATEGY = exports.Z_DEFAULT_COMPRESSION = exports.Z_DATA_ERROR = exports.Z_BUF_ERROR = exports.Z_BLOCK = void 0; | ||
exports.deflate = deflate; | ||
exports.deflateEnd = deflateEnd; | ||
exports.deflateInfo = void 0; | ||
exports.deflateInit = deflateInit; | ||
@@ -13,7 +17,4 @@ exports.deflateInit2 = deflateInit2; | ||
exports.deflateResetKeep = deflateResetKeep; | ||
exports.deflateSetDictionary = deflateSetDictionary; | ||
exports.deflateSetHeader = deflateSetHeader; | ||
exports.deflate = deflate; | ||
exports.deflateEnd = deflateEnd; | ||
exports.deflateSetDictionary = deflateSetDictionary; | ||
exports.deflateInfo = exports.Z_DEFLATED = exports.Z_UNKNOWN = exports.Z_DEFAULT_STRATEGY = exports.Z_FIXED = exports.Z_RLE = exports.Z_HUFFMAN_ONLY = exports.Z_FILTERED = exports.Z_DEFAULT_COMPRESSION = exports.Z_BUF_ERROR = exports.Z_DATA_ERROR = exports.Z_STREAM_ERROR = exports.Z_STREAM_END = exports.Z_OK = exports.Z_BLOCK = exports.Z_FINISH = exports.Z_FULL_FLUSH = exports.Z_PARTIAL_FLUSH = exports.Z_NO_FLUSH = void 0; | ||
@@ -20,0 +21,0 @@ var utils = _interopRequireWildcard(require("../utils/common.js")); |
@@ -395,3 +395,5 @@ "use strict"; | ||
/* 2nd level distance code */ | ||
here = dcode[(here & 0xffff) + (hold & (1 << op) - 1)]; | ||
here = dcode[(here & 0xffff | ||
/*here.val*/ | ||
) + (hold & (1 << op) - 1)]; | ||
continue dodist; | ||
@@ -408,3 +410,5 @@ } else { | ||
/* 2nd level length code */ | ||
here = lcode[(here & 0xffff) + (hold & (1 << op) - 1)]; | ||
here = lcode[(here & 0xffff | ||
/*here.val*/ | ||
) + (hold & (1 << op) - 1)]; | ||
continue dolen; | ||
@@ -411,0 +415,0 @@ } else if (op & 32) { |
@@ -8,12 +8,13 @@ "use strict"; | ||
}); | ||
exports.Z_TREES = exports.Z_STREAM_ERROR = exports.Z_STREAM_END = exports.Z_OK = exports.Z_NEED_DICT = exports.Z_MEM_ERROR = exports.Z_FINISH = exports.Z_DEFLATED = exports.Z_DATA_ERROR = exports.Z_BUF_ERROR = exports.Z_BLOCK = void 0; | ||
exports.inflate = inflate; | ||
exports.inflateEnd = inflateEnd; | ||
exports.inflateGetHeader = inflateGetHeader; | ||
exports.inflateInfo = void 0; | ||
exports.inflateInit = inflateInit; | ||
exports.inflateInit2 = inflateInit2; | ||
exports.inflateReset = inflateReset; | ||
exports.inflateReset2 = inflateReset2; | ||
exports.inflateResetKeep = inflateResetKeep; | ||
exports.inflateInit = inflateInit; | ||
exports.inflateInit2 = inflateInit2; | ||
exports.inflate = inflate; | ||
exports.inflateEnd = inflateEnd; | ||
exports.inflateGetHeader = inflateGetHeader; | ||
exports.inflateSetDictionary = inflateSetDictionary; | ||
exports.inflateInfo = exports.Z_DEFLATED = exports.Z_BUF_ERROR = exports.Z_MEM_ERROR = exports.Z_DATA_ERROR = exports.Z_STREAM_ERROR = exports.Z_NEED_DICT = exports.Z_STREAM_END = exports.Z_OK = exports.Z_TREES = exports.Z_BLOCK = exports.Z_FINISH = void 0; | ||
@@ -697,3 +698,5 @@ var utils = _interopRequireWildcard(require("../utils/common.js")); | ||
/* check if zlib header allowed */ | ||
(((hold & 0xff) << 8) + (hold >> 8)) % 31) { | ||
(((hold & 0xff | ||
/*BITS(8)*/ | ||
) << 8) + (hold >> 8)) % 31) { | ||
strm.msg = 'incorrect header check'; | ||
@@ -704,3 +707,5 @@ state.mode = BAD; | ||
if ((hold & 0x0f) !== Z_DEFLATED) { | ||
if ((hold & 0x0f | ||
/*BITS(4)*/ | ||
) !== Z_DEFLATED) { | ||
strm.msg = 'unknown compression method'; | ||
@@ -715,3 +720,5 @@ state.mode = BAD; | ||
len = (hold & 0x0f) + 8; | ||
len = (hold & 0x0f | ||
/*BITS(4)*/ | ||
) + 8; | ||
@@ -1124,3 +1131,5 @@ if (state.wbits === 0) { | ||
switch (hold & 0x03) { | ||
switch (hold & 0x03 | ||
/*BITS(2)*/ | ||
) { | ||
case 0: | ||
@@ -1256,3 +1265,5 @@ /* stored block */ | ||
state.nlen = (hold & 0x1f) + 257; //--- DROPBITS(5) ---// | ||
state.nlen = (hold & 0x1f | ||
/*BITS(5)*/ | ||
) + 257; //--- DROPBITS(5) ---// | ||
@@ -1262,3 +1273,5 @@ hold >>>= 5; | ||
state.ndist = (hold & 0x1f) + 1; //--- DROPBITS(5) ---// | ||
state.ndist = (hold & 0x1f | ||
/*BITS(5)*/ | ||
) + 1; //--- DROPBITS(5) ---// | ||
@@ -1268,3 +1281,5 @@ hold >>>= 5; | ||
state.ncode = (hold & 0x0f) + 4; //--- DROPBITS(4) ---// | ||
state.ncode = (hold & 0x0f | ||
/*BITS(4)*/ | ||
) + 4; //--- DROPBITS(4) ---// | ||
@@ -1586,3 +1601,5 @@ hold >>>= 4; | ||
for (;;) { | ||
here = state.lencode[last_val + ((hold & (1 << last_bits + last_op) - 1) >> last_bits)]; | ||
here = state.lencode[last_val + ((hold & (1 << last_bits + last_op) - 1 | ||
/*BITS(last.bits + last.op)*/ | ||
) >> last_bits)]; | ||
here_bits = here >>> 24; | ||
@@ -1707,3 +1724,5 @@ here_op = here >>> 16 & 0xff; | ||
for (;;) { | ||
here = state.distcode[last_val + ((hold & (1 << last_bits + last_op) - 1) >> last_bits)]; | ||
here = state.distcode[last_val + ((hold & (1 << last_bits + last_op) - 1 | ||
/*BITS(last.bits + last.op)*/ | ||
) >> last_bits)]; | ||
here_bits = here >>> 24; | ||
@@ -1891,3 +1910,5 @@ here_op = here >>> 16 & 0xff; | ||
if (_out) { | ||
strm.adler = state.check = state.flags ? (0, _crc["default"])(state.check, output, _out, put - _out) : (0, _adler["default"])(state.check, output, _out, put - _out); | ||
strm.adler = state.check = | ||
/*UPDATE(state.check, put - _out, _out);*/ | ||
state.flags ? (0, _crc["default"])(state.check, output, _out, put - _out) : (0, _adler["default"])(state.check, output, _out, put - _out); | ||
} | ||
@@ -1992,3 +2013,5 @@ | ||
if (state.wrap && _out) { | ||
strm.adler = state.check = state.flags ? (0, _crc["default"])(state.check, output, _out, strm.next_out - _out) : (0, _adler["default"])(state.check, output, _out, strm.next_out - _out); | ||
strm.adler = state.check = | ||
/*UPDATE(state.check, strm.next_out - _out, _out);*/ | ||
state.flags ? (0, _crc["default"])(state.check, output, _out, strm.next_out - _out) : (0, _adler["default"])(state.check, output, _out, strm.next_out - _out); | ||
} | ||
@@ -1995,0 +2018,0 @@ |
@@ -8,7 +8,7 @@ "use strict"; | ||
}); | ||
exports._tr_align = _tr_align; | ||
exports._tr_flush_block = _tr_flush_block; | ||
exports._tr_init = _tr_init; | ||
exports._tr_stored_block = _tr_stored_block; | ||
exports._tr_flush_block = _tr_flush_block; | ||
exports._tr_tally = _tr_tally; | ||
exports._tr_align = _tr_align; | ||
@@ -15,0 +15,0 @@ var utils = _interopRequireWildcard(require("../utils/common.js")); |
{ | ||
"name": "@novnc/novnc", | ||
"version": "1.3.0-beta", | ||
"version": "1.3.0-g99cf540", | ||
"description": "An HTML5 VNC client", | ||
@@ -32,4 +32,2 @@ "browser": "lib/rfb", | ||
"contributors": [ | ||
"Solly Ross <sross@redhat.com> (https://github.com/directxman12)", | ||
"Peter Åstrand <astrand@cendio.se> (https://github.com/astrand)", | ||
"Samuel Mannehed <samuel@cendio.se> (https://github.com/samhed)", | ||
@@ -36,0 +34,0 @@ "Pierre Ossman <ossman@cendio.se> (https://github.com/CendioOssman)" |
@@ -117,3 +117,3 @@ ## noVNC: HTML VNC Client Library and Application | ||
* Point your browser to the cut-and-paste URL that is output by the `novnc_procy` | ||
* Point your browser to the cut-and-paste URL that is output by the `novnc_proxy` | ||
script. Hit the Connect button, enter a password if the VNC server has one | ||
@@ -120,0 +120,0 @@ configured, and enjoy! |
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
1074164
27040