@webos-tools/cli 3.1.0 → 3.1.1

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
@@ -1,3 +1,8 @@
1
+ ## 3.1.1 (July 15, 2024)
2
+ ### ares-inspec
3
+ * Fixed a bug that ares-inspect --service display error message on webOS 4.5 or lower
4
+
5
+
1
6
  ## 3.1.0 (July 12, 2024)
2
7
  ### ares-generate
3
8
  * Fixed a bug that can not generate without tample option
@@ -606,6 +606,17 @@ const async = require('async'),
606
606
  log.info("novacom#Session()#begin()", "ssh session event: close (had_error:", had_error, ")");
607
607
  });
608
608
  this.target.readyTimeout = 30000;
609
+ //Explicit overrides for the default transport layer algorithms used for the connection.
610
+ this.target.algorithms = {
611
+ "kex": [
612
+ "diffie-hellman-group1-sha1",
613
+ "ecdh-sha2-nistp256",
614
+ "ecdh-sha2-nistp384",
615
+ "ecdh-sha2-nistp521",
616
+ "diffie-hellman-group-exchange-sha256",
617
+ "diffie-hellman-group14-sha1"
618
+ ],
619
+ }
609
620
  this.ssh.connect(this.target);
610
621
 
611
622
  process.on("SIGHUP", _clearSession);
package/lib/inspect.js CHANGED
@@ -241,7 +241,6 @@ let platformNodeVersion = "0";
241
241
  request.get(nodeInsptUrl, function(error, response) {
242
242
  if (!error && response.statusCode === 200) {
243
243
  server.runServer(__dirname, 0, _reqHandler, _postAction);
244
- next();
245
244
  }
246
245
 
247
246
  function _reqHandler(code, res) {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@webos-tools/cli",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@webos-tools/cli",
9
- "version": "3.1.0",
9
+ "version": "3.1.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "os": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webos-tools/cli",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Command Line Interface for development webOS application and service",
5
5
  "main": "APIs.js",
6
6
  "scripts": {