@standards/cli 1.0.0-alpha.406 → 1.0.0-alpha.408
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/dist/bin.mjs +0 -5
- package/package.json +4 -4
package/dist/bin.mjs
CHANGED
|
@@ -528,7 +528,6 @@ const REQUEST_TIMEOUT_MS = 3e4;
|
|
|
528
528
|
/** The code the SERVER closes an authenticated-but-not-ready socket with. */
|
|
529
529
|
const SERVER_POLICY_VIOLATION_CLOSE_CODE = 1008;
|
|
530
530
|
const NORMAL_CLOSE_CODE = 1e3;
|
|
531
|
-
const BROWSER_COMMAND_REFUSED = "Shell worker cannot run browser commands";
|
|
532
531
|
const EMPTY_SHELL_COMMAND_REFUSED = "Shell command frame carries no command";
|
|
533
532
|
var DeviceWorkerRequestError = class extends SchemaError {
|
|
534
533
|
constructor(statusCode, message, code = SchemaErrorCode.REPOSITORY_QUERY_FAILED) {
|
|
@@ -812,10 +811,6 @@ var DeviceWorkerClient = class {
|
|
|
812
811
|
}
|
|
813
812
|
}
|
|
814
813
|
receiveCommand(socket, frame) {
|
|
815
|
-
if (frame.kind === "browser") {
|
|
816
|
-
this.refuse(socket, frame, BROWSER_COMMAND_REFUSED);
|
|
817
|
-
return;
|
|
818
|
-
}
|
|
819
814
|
if (frame.command === void 0) {
|
|
820
815
|
this.refuse(socket, frame, EMPTY_SHELL_COMMAND_REFUSED);
|
|
821
816
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@standards/cli",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.408",
|
|
4
4
|
"description": "CLI tool to interact with Standards API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"commander": "^13.1.0",
|
|
28
28
|
"jiti": "2.7.0",
|
|
29
29
|
"ws": "8.21.1",
|
|
30
|
-
"@standards/client": "1.0.0-alpha.
|
|
31
|
-
"@standards/constants": "1.0.0-alpha.
|
|
32
|
-
"@standards/schema": "1.0.0-alpha.
|
|
30
|
+
"@standards/client": "1.0.0-alpha.408",
|
|
31
|
+
"@standards/constants": "1.0.0-alpha.408",
|
|
32
|
+
"@standards/schema": "1.0.0-alpha.408"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^25.6.0",
|