roku-debug 0.20.5 → 0.20.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## [0.20.6](https://github.com/rokucommunity/roku-debug/compare/v0.20.5...v0.20.6) - 2023-10-06
|
|
10
|
+
### Changed
|
|
11
|
+
- upgrade to [brighterscript@0.65.8](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#0658---2023-10-06). Notable changes since 0.65.7:
|
|
12
|
+
- Bump postcss from 8.2.15 to 8.4.31 ([brighterscript#928](https://github.com/rokucommunity/brighterscript/pull/928))
|
|
13
|
+
- Add interface parameter support ([brighterscript#924](https://github.com/rokucommunity/brighterscript/pull/924))
|
|
14
|
+
- Better typing for `Deferred` ([brighterscript#923](https://github.com/rokucommunity/brighterscript/pull/923))
|
|
15
|
+
### Fixed
|
|
16
|
+
- bug with telnet getting stuck ([#163](https://github.com/rokucommunity/roku-debug/pull/163))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
9
20
|
## [0.20.5](https://github.com/rokucommunity/roku-debug/compare/v0.20.4...v0.20.5) - 2023-09-28
|
|
10
21
|
### Changed
|
|
11
22
|
- upgrade to [brighterscript@0.65.7](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#0657---2023-09-28). Notable changes since 0.65.5:
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import type { Socket } from 'net';
|
|
3
|
+
import type { Logger } from '../logging';
|
|
3
4
|
export declare class TelnetRequestPipeline {
|
|
4
5
|
client: Socket;
|
|
5
6
|
constructor(client: Socket);
|
|
@@ -52,3 +53,36 @@ export declare class TelnetRequestPipeline {
|
|
|
52
53
|
executeNextCommand(): void;
|
|
53
54
|
destroy(): void;
|
|
54
55
|
}
|
|
56
|
+
export declare class TelnetCommand {
|
|
57
|
+
commandText: string;
|
|
58
|
+
/**
|
|
59
|
+
* Should this command wait for the next prompt?
|
|
60
|
+
*/
|
|
61
|
+
waitForPrompt: boolean;
|
|
62
|
+
pipeline: TelnetRequestPipeline;
|
|
63
|
+
id: number;
|
|
64
|
+
constructor(commandText: string,
|
|
65
|
+
/**
|
|
66
|
+
* Should this command wait for the next prompt?
|
|
67
|
+
*/
|
|
68
|
+
waitForPrompt: boolean, logger: Logger, pipeline: TelnetRequestPipeline, id: number);
|
|
69
|
+
logger: Logger;
|
|
70
|
+
private deferred;
|
|
71
|
+
/**
|
|
72
|
+
* Promise that completes when the command is finished
|
|
73
|
+
*/
|
|
74
|
+
get promise(): Promise<string>;
|
|
75
|
+
get isCompleted(): boolean;
|
|
76
|
+
execute(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Remove garbage from the response
|
|
79
|
+
*/
|
|
80
|
+
private removeJunk;
|
|
81
|
+
handleData(pipeline: TelnetRequestPipeline): void;
|
|
82
|
+
toJSON(): {
|
|
83
|
+
commandText: string;
|
|
84
|
+
id: number;
|
|
85
|
+
isCompleted: boolean;
|
|
86
|
+
waitForPrompt: boolean;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TelnetRequestPipeline = void 0;
|
|
3
|
+
exports.TelnetCommand = exports.TelnetRequestPipeline = void 0;
|
|
4
4
|
const EventEmitter = require("eventemitter3");
|
|
5
5
|
const util_1 = require("../util");
|
|
6
6
|
const logging_1 = require("../logging");
|
|
7
|
-
const brighterscript_1 = require("brighterscript");
|
|
8
7
|
class TelnetRequestPipeline {
|
|
9
8
|
constructor(client) {
|
|
10
9
|
this.client = client;
|
|
@@ -105,7 +104,7 @@ class TelnetRequestPipeline {
|
|
|
105
104
|
*/
|
|
106
105
|
executeCommand(commandText, options) {
|
|
107
106
|
var _a;
|
|
108
|
-
const command = new
|
|
107
|
+
const command = new TelnetCommand(commandText, (_a = options === null || options === void 0 ? void 0 : options.waitForPrompt) !== null && _a !== void 0 ? _a : true, this.logger, this, this.commandIdSequence++);
|
|
109
108
|
const logger = command.logger;
|
|
110
109
|
logger.debug(`execute`, { command: command, options });
|
|
111
110
|
if (options === null || options === void 0 ? void 0 : options.insertAtFront) {
|
|
@@ -164,7 +163,7 @@ class TelnetRequestPipeline {
|
|
|
164
163
|
}
|
|
165
164
|
}
|
|
166
165
|
exports.TelnetRequestPipeline = TelnetRequestPipeline;
|
|
167
|
-
class
|
|
166
|
+
class TelnetCommand {
|
|
168
167
|
constructor(commandText,
|
|
169
168
|
/**
|
|
170
169
|
* Should this command wait for the next prompt?
|
|
@@ -174,7 +173,7 @@ class Command {
|
|
|
174
173
|
this.waitForPrompt = waitForPrompt;
|
|
175
174
|
this.pipeline = pipeline;
|
|
176
175
|
this.id = id;
|
|
177
|
-
this.deferred =
|
|
176
|
+
this.deferred = (0, util_1.defer)();
|
|
178
177
|
this.logger = logger.createLogger(`[Command ${this.id}]`);
|
|
179
178
|
}
|
|
180
179
|
/**
|
|
@@ -200,7 +199,7 @@ class Command {
|
|
|
200
199
|
}
|
|
201
200
|
catch (e) {
|
|
202
201
|
this.logger.error('Error executing command', e);
|
|
203
|
-
this.deferred.reject('Error executing command');
|
|
202
|
+
this.deferred.reject(new Error('Error executing command'));
|
|
204
203
|
}
|
|
205
204
|
}
|
|
206
205
|
/**
|
|
@@ -220,28 +219,42 @@ class Command {
|
|
|
220
219
|
//get the first response
|
|
221
220
|
const match = /Brightscript Debugger>\s*/is.exec(pipeline.unhandledText);
|
|
222
221
|
if (match) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
222
|
+
try {
|
|
223
|
+
const response = this.removeJunk(pipeline.unhandledText.substring(0, match.index));
|
|
224
|
+
this.logger.debug('Found response before the first "Brightscript Debugger>" prompt', { response, allText: pipeline.unhandledText });
|
|
225
|
+
//remove the response from the unhandled text
|
|
226
|
+
pipeline.unhandledText = pipeline.unhandledText.substring(match.index + match[0].length);
|
|
227
|
+
//emit the remaining unhandled text
|
|
228
|
+
if (((_a = pipeline.unhandledText) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
229
|
+
pipeline.emit('unhandled-console-output', pipeline.unhandledText);
|
|
230
|
+
}
|
|
231
|
+
//clear the unhandled text
|
|
232
|
+
pipeline.unhandledText = '';
|
|
233
|
+
this.logger.debug(`execute result`, { commandText: this.commandText, response });
|
|
234
|
+
if (!this.deferred.isCompleted) {
|
|
235
|
+
this.logger.debug('resolving promise', { response });
|
|
236
|
+
this.deferred.resolve(response);
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
this.logger.error('Command already completed', { response, commandText: this.commandText, stacktrace: new Error().stack });
|
|
240
|
+
}
|
|
230
241
|
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
this.logger.debug(`execute result`, { commandText: this.commandText, response });
|
|
234
|
-
if (!this.deferred.isCompleted) {
|
|
235
|
-
this.logger.debug('resolving promise', { response });
|
|
236
|
-
this.deferred.resolve(response);
|
|
237
|
-
}
|
|
238
|
-
else {
|
|
239
|
-
this.logger.error('Command already completed', { response, commandText: this.commandText, stacktrace: new Error().stack });
|
|
242
|
+
catch (e) {
|
|
243
|
+
this.deferred.reject(e);
|
|
240
244
|
}
|
|
241
245
|
}
|
|
242
246
|
else {
|
|
243
247
|
// no prompt found, wait for more data from the device
|
|
244
248
|
}
|
|
245
249
|
}
|
|
250
|
+
toJSON() {
|
|
251
|
+
return {
|
|
252
|
+
commandText: this.commandText,
|
|
253
|
+
id: this.id,
|
|
254
|
+
isCompleted: this.isCompleted,
|
|
255
|
+
waitForPrompt: this.waitForPrompt
|
|
256
|
+
};
|
|
257
|
+
}
|
|
246
258
|
}
|
|
259
|
+
exports.TelnetCommand = TelnetCommand;
|
|
247
260
|
//# sourceMappingURL=TelnetRequestPipeline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TelnetRequestPipeline.js","sourceRoot":"","sources":["../../src/adapters/TelnetRequestPipeline.ts"],"names":[],"mappings":";;;AACA,8CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"TelnetRequestPipeline.js","sourceRoot":"","sources":["../../src/adapters/TelnetRequestPipeline.ts"],"names":[],"mappings":";;;AACA,8CAA8C;AAC9C,kCAAsC;AAEtC,wCAA0C;AAG1C,MAAa,qBAAqB;IAC9B,YACW,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QAKjB,WAAM,GAAG,IAAA,sBAAY,EAAC,IAAI,qBAAqB,CAAC,IAAI,GAAG,CAAC,CAAC;QAEzD,aAAQ,GAAoB,EAAE,CAAC;QAEhC,uBAAkB,GAAG,KAAK,CAAC;QAM1B,kBAAa,GAAkB,SAAS,CAAC;QAEzC,YAAO,GAAG,IAAI,YAAY,EAAE,CAAC;QA6BrC;;;WAGG;QACI,kBAAa,GAAG,EAAE,CAAC;QAE1B;;WAEG;QACK,WAAM,GAAG,EAAE,CAAC;QA6DpB;;WAEG;QACK,sBAAiB,GAAG,CAAC,CAAC;IApH9B,CAAC;IAQD,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC;IAC5C,CAAC;IAQM,EAAE,CAAC,SAAiB,EAAE,OAA4B;QACrD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,GAAG,EAAE;YACR,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACpD,CAAC,CAAC;IACN,CAAC;IAIM,IAAI,CAAC,SAAiB,EAAE,IAAS;QACpC,mDAAmD;QACnD,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE;YAClB,IAAI,CAAC,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AW;YAC7B,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;SACpC,CAAC;IACN,CAAC;CACJ;AA1GD,sCA0GC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "roku-debug",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.6",
|
|
4
4
|
"description": "Debug adapter for Roku application development using Node.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@rokucommunity/logger": "^0.3.3",
|
|
90
90
|
"@types/request": "^2.48.8",
|
|
91
|
-
"brighterscript": "^0.65.
|
|
91
|
+
"brighterscript": "^0.65.8",
|
|
92
92
|
"dateformat": "~4",
|
|
93
93
|
"eol": "^0.9.1",
|
|
94
94
|
"eventemitter3": "^4.0.7",
|
|
Binary file
|
package/roku-debug-0.20.5.tgz
DELETED
|
Binary file
|