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

trezor-link

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trezor-link - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

8

lib/debug-decorator.js

@@ -135,3 +135,9 @@ "use strict";

if (debug) {
console.log(`[trezor-link] Calling ${ objName }.${ name }(${ argsArr.map(f => JSON.stringify(f)).join(`, `) })`);
console.log(`[trezor-link] Calling ${ objName }.${ name }(${ argsArr.map(f => {
const stringified = JSON.stringify(f);
if (stringified.length > 1000) {
return `${ stringified.substring(0, 1000) }...`;
}
return stringified;
}).join(`, `) })`);
}

@@ -138,0 +144,0 @@ // assuming that the function is a promise

2

lib/lowlevel/chrome-hid.js

@@ -323,3 +323,3 @@ 'use strict';

this._udevError = false;
this.version = "0.2.5";
this.version = "0.2.6";
this.debug = false;

@@ -326,0 +326,0 @@ }

@@ -167,3 +167,3 @@ 'use strict';

this.infos = {};
this.version = "0.2.5";
this.version = "0.2.6";
this.debug = false;

@@ -170,0 +170,0 @@ this.ports = [];

@@ -176,3 +176,3 @@ 'use strict';

this._devices = {};
this.version = "0.2.5";
this.version = "0.2.6";
this.debug = false;

@@ -179,0 +179,0 @@ }

{
"name": "trezor-link",
"version": "0.2.5",
"version": "0.2.6",
"description": "Trezor Link",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -10,3 +10,9 @@ /* @flow weak */

if (debug) {
console.log(`[trezor-link] Calling ${objName}.${name}(${argsArr.map(f => JSON.stringify(f)).join(`, `)})`);
console.log(`[trezor-link] Calling ${objName}.${name}(${argsArr.map(f => {
const stringified = JSON.stringify(f);
if (stringified.length > 1000) {
return `${stringified.substring(0, 1000)}...`;
}
return stringified;
}).join(`, `)})`);
}

@@ -13,0 +19,0 @@ // assuming that the function is a promise

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