Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-transport-node-speculos

Package Overview
Dependencies
Maintainers
12
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-node-speculos - npm Package Compare versions

Comparing version 5.15.2 to 5.15.3

8

lib-es/SpeculosTransport.js

@@ -84,5 +84,7 @@ import { Subject } from "rxjs";

socket.on("data", data => {
const ascii = data.toString("ascii");
const json = JSON.parse(ascii);
this.automationEvents.next(json);
const split = data.toString("ascii").split("\n");
split.filter(ascii => !!ascii).forEach(ascii => {
const json = JSON.parse(ascii);
this.automationEvents.next(json);
});
});

@@ -89,0 +91,0 @@ socket.connect(automationPort, opts.host || "127.0.0.1");

@@ -94,5 +94,7 @@ "use strict";

socket.on("data", data => {
const ascii = data.toString("ascii");
const json = JSON.parse(ascii);
this.automationEvents.next(json);
const split = data.toString("ascii").split("\n");
split.filter(ascii => !!ascii).forEach(ascii => {
const json = JSON.parse(ascii);
this.automationEvents.next(json);
});
});

@@ -99,0 +101,0 @@ socket.connect(automationPort, opts.host || "127.0.0.1");

{
"name": "@ledgerhq/hw-transport-node-speculos",
"version": "5.15.2",
"version": "5.15.3",
"description": "Ledger Hardware Wallet communication layer with speculos Nano simulator",

@@ -45,3 +45,3 @@ "keywords": [

},
"gitHead": "536b009164061baf46310fb842a99054cb90889f"
"gitHead": "6aefbb66f94ca5e58d3f9f51c3a0757ca0fa5f05"
}

@@ -98,5 +98,9 @@ //@flow

socket.on("data", (data) => {
const ascii = data.toString("ascii");
const json = JSON.parse(ascii);
this.automationEvents.next(json);
const split = data.toString("ascii").split("\n");
split
.filter((ascii) => !!ascii)
.forEach((ascii) => {
const json = JSON.parse(ascii);
this.automationEvents.next(json);
});
});

@@ -103,0 +107,0 @@ socket.connect(automationPort, opts.host || "127.0.0.1");

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc