diff --git a/package.json b/package.json index b1814e01..27c37f36 100644 --- a/package.json +++ b/package.json @@ -118,9 +118,9 @@ "toastify-js": "^1.9.1", "url-value-parser": "^2.1.0", "winston": "^3.3.3", - "xterm": "^5.0.0", - "xterm-addon-fit": "^0.6.0", - "xterm-addon-image": "^0.2.0", + "xterm": "^5.2.0", + "xterm-addon-fit": "^0.7.0", + "xterm-addon-image": "^0.5.0", "xterm-addon-web-links": "^0.8.0", "yargs": "^17.7.2" }, diff --git a/src/assets/xterm-addon-image-worker.js b/src/assets/xterm-addon-image-worker.js deleted file mode 100644 index e0a76409..00000000 --- a/src/assets/xterm-addon-image-worker.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see xterm-addon-image-worker.js.LICENSE.txt */ -!function(A,I){if("object"==typeof exports&&"object"==typeof module)module.exports=I();else if("function"==typeof define&&define.amd)define([],I);else{var g=I();for(var Q in g)("object"==typeof exports?exports:A)[Q]=g[Q]}}(self,(function(){return(()=>{"use strict";var A={477:(A,I)=>{function g(A){return 255&A}function Q(A){return A>>>8&255}function B(A){return A>>>16&255}function C(A,I,g,Q=255){return((255&Q)<<24|(255&g)<<16|(255&I)<<8|255&A)>>>0}function i(A,I,g){return Math.max(A,Math.min(g,I))}function t(A,I,g){return g<0&&(g+=1),g>1&&(g-=1),6*g<1?I+6*(A-I)*g:2*g<1?A:3*g<2?I+(A-I)*(4-6*g):I}function E(A,I,g){return(4278190080|Math.round(g/100*255)<<16|Math.round(I/100*255)<<8|Math.round(A/100*255))>>>0}Object.defineProperty(I,"__esModule",{value:!0}),I.DEFAULT_FOREGROUND=I.DEFAULT_BACKGROUND=I.PALETTE_ANSI_256=I.PALETTE_VT340_GREY=I.PALETTE_VT340_COLOR=I.normalizeHLS=I.normalizeRGB=I.nearestColorIndex=I.fromRGBA8888=I.toRGBA8888=I.alpha=I.blue=I.green=I.red=I.BIG_ENDIAN=void 0,I.BIG_ENDIAN=255===new Uint8Array(new Uint32Array([4278190080]).buffer)[0],I.BIG_ENDIAN&&console.warn("BE platform detected. This version of node-sixel works only on LE properly."),I.red=g,I.green=Q,I.blue=B,I.alpha=function(A){return A>>>24&255},I.toRGBA8888=C,I.fromRGBA8888=function(A){return[255&A,A>>8&255,A>>16&255,A>>>24]},I.nearestColorIndex=function(A,I){const C=g(A),i=Q(A),t=B(A);let E=Number.MAX_SAFE_INTEGER,e=-1;for(let A=0;A{const A=[C(0,0,0),C(205,0,0),C(0,205,0),C(205,205,0),C(0,0,238),C(205,0,205),C(0,250,205),C(229,229,229),C(127,127,127),C(255,0,0),C(0,255,0),C(255,255,0),C(92,92,255),C(255,0,255),C(0,255,255),C(255,255,255)],I=[0,95,135,175,215,255];for(let g=0;g<6;++g)for(let Q=0;Q<6;++Q)for(let B=0;B<6;++B)A.push(C(I[g],I[Q],I[B]));for(let I=8;I<=238;I+=10)A.push(C(I,I,I));return new Uint32Array(A)})(),I.DEFAULT_BACKGROUND=C(0,0,0,255),I.DEFAULT_FOREGROUND=C(255,255,255,255)},710:(A,I,g)=>{Object.defineProperty(I,"__esModule",{value:!0}),I.decodeAsync=I.decode=I.Decoder=I.DecoderAsync=void 0;const Q=g(477),B=g(343),C=function(A){if("undefined"!=typeof Buffer)return Buffer.from(A,"base64");const I=atob(A),g=new Uint8Array(I.length);for(let A=0;A1,this.modeHandler=A=>1}handle_band(A){return this.bandHandler(A)}mode_parsed(A){return this.modeHandler(A)}}const e={memoryLimit:134217728,sixelColor:Q.DEFAULT_FOREGROUND,fillColor:Q.DEFAULT_BACKGROUND,palette:Q.PALETTE_VT340_COLOR,paletteLimit:B.LIMITS.PALETTE_SIZE,truncate:!0};function s(A){const I=new E,g={env:{handle_band:I.handle_band.bind(I),mode_parsed:I.mode_parsed.bind(I)}};return WebAssembly.instantiate(i||C,g).then((g=>(i=i||g.module,new D(A,g.instance||g,I))))}I.DecoderAsync=s;class D{constructor(A,I,g){if(this._PIXEL_OFFSET=B.LIMITS.MAX_WIDTH+4,this._canvas=t,this._bandWidths=[],this._maxWidth=0,this._minWidth=B.LIMITS.MAX_WIDTH,this._lastOffset=0,this._currentHeight=0,this._opts=Object.assign({},e,A),this._opts.paletteLimit>B.LIMITS.PALETTE_SIZE)throw new Error(`DecoderOptions.paletteLimit must not exceed ${B.LIMITS.PALETTE_SIZE}`);if(I)g.bandHandler=this._handle_band.bind(this),g.modeHandler=this._initCanvas.bind(this);else{const A=i||(i=new WebAssembly.Module(C));I=new WebAssembly.Instance(A,{env:{handle_band:this._handle_band.bind(this),mode_parsed:this._initCanvas.bind(this)}})}this._instance=I,this._wasm=this._instance.exports,this._chunk=new Uint8Array(this._wasm.memory.buffer,this._wasm.get_chunk_address(),B.LIMITS.CHUNK_SIZE),this._states=new Uint32Array(this._wasm.memory.buffer,this._wasm.get_state_address(),12),this._palette=new Uint32Array(this._wasm.memory.buffer,this._wasm.get_palette_address(),B.LIMITS.PALETTE_SIZE),this._palette.set(this._opts.palette),this._pSrc=new Uint32Array(this._wasm.memory.buffer,this._wasm.get_p0_address()),this._wasm.init(Q.DEFAULT_FOREGROUND,0,this._opts.paletteLimit,0)}get _fillColor(){return this._states[0]}get _truncate(){return this._states[8]}get _rasterWidth(){return this._states[6]}get _rasterHeight(){return this._states[7]}get _width(){return this._states[2]?this._states[2]-4:0}get _height(){return this._states[3]}get _level(){return this._states[9]}get _mode(){return this._states[10]}get _paletteLimit(){return this._states[11]}_initCanvas(A){if(2===A){const A=this.width*this.height;if(A>this._canvas.length){if(this._opts.memoryLimit&&4*A>this._opts.memoryLimit)throw this.release(),new Error("image exceeds memory limit");this._canvas=new Uint32Array(A)}this._maxWidth=this._width}else if(1===A)if(2===this._level){const A=Math.min(this._rasterWidth,B.LIMITS.MAX_WIDTH)*this._rasterHeight;if(A>this._canvas.length){if(this._opts.memoryLimit&&4*A>this._opts.memoryLimit)throw this.release(),new Error("image exceeds memory limit");this._canvas=new Uint32Array(A)}}else this._canvas.length<65536&&(this._canvas=new Uint32Array(65536));return 0}_realloc(A,I){const g=A+I;if(g>this._canvas.length){if(this._opts.memoryLimit&&4*g>this._opts.memoryLimit)throw this.release(),new Error("image exceeds memory limit");const A=new Uint32Array(65536*Math.ceil(g/65536));A.set(this._canvas),this._canvas=A}}_handle_band(A){const I=this._PIXEL_OFFSET;let g=this._lastOffset;if(2===this._mode){let Q=this.height-this._currentHeight,B=0;for(;B<6&&Q>0;)this._canvas.set(this._pSrc.subarray(I*B,I*B+A),g+A*B),B++,Q--;this._lastOffset+=A*B,this._currentHeight+=B}else if(1===this._mode){this._realloc(g,6*A),this._maxWidth=Math.max(this._maxWidth,A),this._minWidth=Math.min(this._minWidth,A);for(let Q=0;Q<6;++Q)this._canvas.set(this._pSrc.subarray(I*Q,I*Q+A),g+A*Q);this._bandWidths.push(A),this._lastOffset+=6*A,this._currentHeight+=6}return 0}get width(){return 1!==this._mode?this._width:Math.max(this._maxWidth,this._wasm.current_width())}get height(){return 1!==this._mode?this._height:this._wasm.current_width()?6*this._bandWidths.length+this._wasm.current_height():6*this._bandWidths.length}get palette(){return this._palette.subarray(0,this._paletteLimit)}get memoryUsage(){return this._canvas.byteLength+this._wasm.memory.buffer.byteLength+8*this._bandWidths.length}get properties(){return{width:this.width,height:this.height,mode:this._mode,level:this._level,truncate:!!this._truncate,paletteLimit:this._paletteLimit,fillColor:this._fillColor,memUsage:this.memoryUsage,rasterAttributes:{numerator:this._states[4],denominator:this._states[5],width:this._rasterWidth,height:this._rasterHeight}}}init(A=this._opts.fillColor,I=this._opts.palette,g=this._opts.paletteLimit,Q=this._opts.truncate){this._wasm.init(this._opts.sixelColor,A,g,Q?1:0),I&&this._palette.set(I.subarray(0,B.LIMITS.PALETTE_SIZE)),this._bandWidths.length=0,this._maxWidth=0,this._minWidth=B.LIMITS.MAX_WIDTH,this._lastOffset=0,this._currentHeight=0}decode(A,I=0,g=A.length){let Q=I;for(;Q0){const g=this._PIXEL_OFFSET;let Q=this._lastOffset,B=0;for(;B<6&&I>0;)this._canvas.set(this._pSrc.subarray(g*B,g*B+A),Q+A*B),B++,I--;I&&this._canvas.fill(this._fillColor,Q+A*B)}return this._canvas.subarray(0,this.width*this.height)}if(1===this._mode){if(this._minWidth===this._maxWidth){let I=!1;if(A)if(A!==this._minWidth)I=!0;else{const I=this._PIXEL_OFFSET;let g=this._lastOffset;this._realloc(g,6*A);for(let Q=0;Q<6;++Q)this._canvas.set(this._pSrc.subarray(I*Q,I*Q+A),g+A*Q)}if(!I)return this._canvas.subarray(0,this.width*this.height)}const I=new Uint32Array(this.width*this.height);I.fill(this._fillColor);let g=0,Q=0;for(let A=0;A{Object.defineProperty(I,"__esModule",{value:!0}),I.LIMITS=void 0,I.LIMITS={CHUNK_SIZE:16384,PALETTE_SIZE:4096,MAX_WIDTH:16384,BYTES:"AGFzbQEAAAABJAdgAAF/YAJ/fwBgA39/fwF/YAF/AX9gAABgBH9/f38AYAF/AAIlAgNlbnYLaGFuZGxlX2JhbmQAAwNlbnYLbW9kZV9wYXJzZWQAAwMTEgQAAAAAAQQBAQUBAAACAgAGAwQFAXABBwcFBAEBBwcGCAF/AUGAihoLB9wBDgZtZW1vcnkCABFnZXRfc3RhdGVfYWRkcmVzcwADEWdldF9jaHVua19hZGRyZXNzAAQOZ2V0X3AwX2FkZHJlc3MABRNnZXRfcGFsZXR0ZV9hZGRyZXNzAAYEaW5pdAALBmRlY29kZQAMDWN1cnJlbnRfd2lkdGgADQ5jdXJyZW50X2hlaWdodAAOGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtfaW5pdGlhbGl6ZQACCXN0YWNrU2F2ZQARDHN0YWNrUmVzdG9yZQASCnN0YWNrQWxsb2MAEwkMAQBBAQsGCgcJDxACDAEBCq5UEgMAAQsFAEGgCAsGAEGQiQELBgBBsIkCCwUAQZAJC+okAQh/QeQIKAIAIQVB4AgoAgAhA0HoCCgCACEIIAFBkIkBaiIJQf8BOgAAIAAgAUgEQCAAQZCJAWohBgNAIAMhBCAGQQFqIQECQCAGLQAAQf8AcSIDQTBrQQlLBEAgASEGDAEL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AEGIiwIgADcDAEGAiwIgADcDAEH4igIgADcDAEHwigIgADcDAEHoigIgADcDAEHgigIgADcDAEHYigIgADcDAEHQigIgADcDAEHIigIgADcDAEHAigIgADcDAEG4igIgADcDAEGwigIgADcDAEGoigIgADcDAEGgigIgADcDAEGYigIgADcDAEGQigIgADcDAEGIigIgADcDAEGAigIgADcDAEH4iQIgADcDAEHwiQIgADcDAEHoiQIgADcDAEHgiQIgADcDAEHYiQIgADcDAEHQiQIgADcDAEHIiQIgADcDAEHAiQIgADcDAEG4iQIgADcDAEGwiQIgADcDAEGoCCgCACIEQf8AakGAAW0hCAJAIARBgQFIDQBBASEBIAhBAiAIQQJKG0EBayICQQFxIQMgBEGBAk4EQCACQX5xIQIDQCABQQl0IgdBEHJBoIkCakGwiQJBgAT8CgAAIAdBsI0CakGwiQJBgAT8CgAAIAFBAmohASACQQJrIgINAAsLIANFDQAgAUEJdEEQckGgiQJqQbCJAkGABPwKAAALAkAgBEEBSA0AIAhBASAIQQFKGyIDQQFxIQUCQCADQQFrIgdFBEBBACEBDAELIANB/v///wdxIQJBACEBA0AgAUEJdCIGQRByQbCJBmpBsIkCQYAE/AoAACAGQZAEckGwiQZqQbCJAkGABPwKAAAgAUECaiEBIAJBAmsiAg0ACwsgBQRAIAFBCXRBEHJBsIkGakGwiQJBgAT8CgAACyAEQQFIDQAgA0EBcSEFIAcEfyADQf7///8HcSECQQAhAQNAIAFBCXQiBkEQckHAiQpqQbCJAkGABPwKAAAgBkGQBHJBwIkKakGwiQJBgAT8CgAAIAFBAmohASACQQJrIgINAAsgAUEHdEEEcgVBBAshASAFBEAgAUECdEHAiQpqQbCJAkGABPwKAAALIARBAUgNACADQQFxIQUgBwR/IANB/v///wdxIQJBACEBA0AgAUEJdCIGQRByQdCJDmpBsIkCQYAE/AoAACAGQZAEckHQiQ5qQbCJAkGABPwKAAAgAUECaiEBIAJBAmsiAg0ACyABQQd0QQRyBUEECyEBIAUEQCABQQJ0QdCJDmpBsIkCQYAE/A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AADIQpUhBiAAQfABarJDAAC0Q5UhBQJ9IAGyQwAAyEKVIgNDAAAAP10EQCADIAZDAACAP5KUDAELIAYgA0MAAIA/IAaTlJILIQcgAyADkiEGAkAgBUOrqqo+kiIEQwAAAABdBEAgBEMAAIA/kiEEDAELIARDAACAP15FDQAgBEMAAIC/kiEECyAGIAeTIQMgBUMAAAAAXSEAAn8CfSADIAcgA5NDAADAQJQgBJSSIARDq6oqPl0NABogByAEQwAAAD9dDQAaIAMgBEOrqio/XUUNABogAyAHIAOTIARDAADAwJRDAACAQJKUkgtDAAB/Q5RDAAAAP5IiBkMAAIBPXSAGQwAAAABgcQRAIAapDAELQQALIQECQCAABEAgBUMAAIA/kiEEDAELIAUiBEMAAIA/XkUNACAFQwAAgL+SIQQLIAVDq6qqvpIiBUMAAAAAXSECAn8CfSADIAcgA5NDAADAQJQgBJSSIARDq6oqPl0NABogByAEQwAAAD9dDQAaIAMgBEOrqio/XUUNABogAyAHIAOTIARDAADAwJRDAACAQJKUkgtDAAB/Q5RDAAAAP5IiBkMAAIBPXSAGQwAAAABgcQRAIAapDAELQQALIQACQCACBEAgBUMAAIA/kiEFDAELIAVDAACAP15FDQAgBUMAAIC/kiEFCwJAIAVDq6oqPl0EQCADIAcgA5NDAADAQJQgBZSSIQcMAQsgBUMAAAA/XQ0AIAVDq6oqP11FBEAgAyEHDAELIAMgByADkyAFQwAAwMCUQwAAgECSlJIhBwsgAEEIdAJ/IAdDAAB/Q5RDAAAAP5IiBkMAAIBPXSAGQwAAAABgcQRAIAapDAELQQALQRB0ciABcgtBgICAeHILNwAgAEH/AWxBMmpB5ABtIAFB/wFsQTJqQeQAbUEIdHIgAkH/AWxBMmpB5ABtQRB0ckGAgIB4cgsEACMACwYAIAAkAAsQACMAIABrQXBxIgAkACAACwsYAQBBgAgLEQEAAAACAAAAAwAAAAQAAAAF"}}},I={};function g(Q){var B=I[Q];if(void 0!==B)return B.exports;var C=I[Q]={exports:{}};return A[Q](C,C.exports,g),C.exports}var Q={};return(()=>{var A=Q;Object.defineProperty(A,"__esModule",{value:!0});const I=g(710),B=g(477),C=B.PALETTE_ANSI_256;let i;C.set(B.PALETTE_VT340_COLOR);let t,E=!1,e=0;self.addEventListener("message",(function(A){var g;const Q=A.data;switch(Q.type){case 3:E||(t.decode(new Uint8Array(Q.payload.buffer,0,Q.payload.length)),t.height*t.width>e&&(E=!0,t.release(),console.warn("image worker: pixelLimit exceeded, aborting"),postMessage({type:7}))),postMessage({type:6,payload:Q.payload.buffer},[Q.payload.buffer]);break;case 4:if(Q.payload)if(t&&t.width&&t.height&&!E){const A=t.width,I=t.height,g=A*I*4;(!i||i.byteLength4194304&&t.release()}else postMessage({type:5,payload:null});E=!1;break;case 6:i||(i=Q.payload);break;case 2:E=!1;const{fillColor:A,limit:B}=Q.payload;t.init(A,null,B);break;case 1:e=(null===(g=Q.options)||void 0===g?void 0:g.pixelLimit)||0,t=new I.Decoder({memoryLimit:4*e,palette:C}),postMessage({type:1,payload:1,options:null})}}),!1)})(),Q})()})); -//# sourceMappingURL=xterm-addon-image-worker.js.map \ No newline at end of file diff --git a/src/client/wetty/term.ts b/src/client/wetty/term.ts index 54a1c324..b271569f 100644 --- a/src/client/wetty/term.ts +++ b/src/client/wetty/term.ts @@ -21,9 +21,7 @@ export class Term extends Terminal { this.fitAddon = new FitAddon(); this.loadAddon(this.fitAddon); this.loadAddon(new WebLinksAddon()); - // Note: worker file is currently hard copied from xterm-addon-image, - // the file needs to be refreshed upon a newer package version - this.loadAddon(new ImageAddon('/wetty/assets/xterm-addon-image-worker.js')); + this.loadAddon(new ImageAddon()); this.loadOptions = loadOptions; } diff --git a/yarn.lock b/yarn.lock index 2dbcfe2a..9a9cb998 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7029,25 +7029,25 @@ xmlhttprequest-ssl@~2.0.0: resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz#91360c86b914e67f44dce769180027c0da618c67" integrity sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A== -xterm-addon-fit@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/xterm-addon-fit/-/xterm-addon-fit-0.6.0.tgz#142e1ce181da48763668332593fc440349c88c34" - integrity sha512-9/7A+1KEjkFam0yxTaHfuk9LEvvTSBi0PZmEkzJqgafXPEXL9pCMAVV7rB09sX6ATRDXAdBpQhZkhKj7CGvYeg== +xterm-addon-fit@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/xterm-addon-fit/-/xterm-addon-fit-0.7.0.tgz#b8ade6d96e63b47443862088f6670b49fb752c6a" + integrity sha512-tQgHGoHqRTgeROPnvmtEJywLKoC/V9eNs4bLLz7iyJr1aW/QFzRwfd3MGiJ6odJd9xEfxcW36/xRU47JkD5NKQ== -xterm-addon-image@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/xterm-addon-image/-/xterm-addon-image-0.2.0.tgz#47f58a522c7d21c7b2fc7a2d18aff324461974f1" - integrity sha512-rGbwUcwnJQqN1LTdEhqUS83xtBpApUWOJISjN/Efbg8TplqdXsHOVDmEcnLvhBn5cCzAZIqD2OZaan1+cI7mWA== +xterm-addon-image@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/xterm-addon-image/-/xterm-addon-image-0.5.0.tgz#3c9bb332a3de55ab200dbefd3411e3b0d985314f" + integrity sha512-bWXUBeDzhisYh0clVKx4JgQrZjpn+/QRMRwNsfnRpjCMhgmZ+SL3Bivktd7q03O4uKMMcAOe6bSmppwP9/um0Q== xterm-addon-web-links@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.8.0.tgz#2cb1d57129271022569208578b0bf4774e7e6ea9" integrity sha512-J4tKngmIu20ytX9SEJjAP3UGksah7iALqBtfTwT9ZnmFHVplCumYQsUJfKuS+JwMhjsjH61YXfndenLNvjRrEw== -xterm@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.2.0.tgz#7e716bbe448ecef0ea387586c59fbc51a08f9125" - integrity sha512-C1NXTZYfXPTXzF7uw7Ao6/IFGrtAkHv4e/PCQRpgYHyMobvaRs3nJNGK32hX/skdMUQJ6yhSnyzfmWCQwG9qvg== +xterm@^5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.2.1.tgz#b3fea7bdb55b9be1d4b31f4cd1091f26ac42afb8" + integrity sha512-cs5Y1fFevgcdoh2hJROMVIWwoBHD80P1fIP79gopLHJIE4kTzzblanoivxTiQ4+92YM9IxS36H1q0MxIJXQBcA== y18n@^4.0.0: version "4.0.3"