summaryrefslogtreecommitdiffstats
path: root/html/.yarn
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
commit3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f (patch)
treec91ab0ac9447b25f91c05e901212c2142fb95953 /html/.yarn
parentInitial commit. (diff)
downloadttyd-3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f.tar.xz
ttyd-3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f.zip
Adding upstream version 1.7.4.upstream/1.7.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'html/.yarn')
-rw-r--r--html/.yarn/patches/zmodem.js-npm-0.1.10-e5537fa2ed.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/html/.yarn/patches/zmodem.js-npm-0.1.10-e5537fa2ed.patch b/html/.yarn/patches/zmodem.js-npm-0.1.10-e5537fa2ed.patch
new file mode 100644
index 0000000..5834083
--- /dev/null
+++ b/html/.yarn/patches/zmodem.js-npm-0.1.10-e5537fa2ed.patch
@@ -0,0 +1,34 @@
+diff --git a/src/zsession.js b/src/zsession.js
+index 5f0b8f9d8afa6fba0acd6dd0477afa186f7aad9a..c7ea98e0f08c97d63d321f784a5dd8bf66888743 100644
+--- a/src/zsession.js
++++ b/src/zsession.js
+@@ -548,20 +548,17 @@ Zmodem.Session.Receive = class ZmodemReceiveSession extends Zmodem.Session {
+ if (this._got_ZFIN) {
+ if (this._input_buffer.length < 2) return;
+
+- //if it’s OO, then set this._bytes_after_OO
+- if (Zmodem.ZMLIB.find_subarray(this._input_buffer, OVER_AND_OUT) === 0) {
++ if (Zmodem.ZMLIB.find_subarray(this._input_buffer, OVER_AND_OUT) !== 0) {
++ console.warn( "PROTOCOL: Only thing after ZFIN should be “OO” (79,79), not: " + this._input_buffer.join() );
++ }
+
+- //This doubles as an indication that the session has ended.
+- //We need to set this right away so that handlers like
+- //"session_end" will have access to it.
+- this._bytes_after_OO = _trim_OO(this._bytes_being_consumed.slice(0));
+- this._on_session_end();
++ //This doubles as an indication that the session has ended.
++ //We need to set this right away so that handlers like
++ //"session_end" will have access to it.
++ this._bytes_after_OO = _trim_OO(this._bytes_being_consumed.slice(0));
++ this._on_session_end();
+
+- return;
+- }
+- else {
+- throw( "PROTOCOL: Only thing after ZFIN should be “OO” (79,79), not: " + this._input_buffer.join() );
+- }
++ return;
+ }
+
+ var parsed;