Socket
Socket
Sign inDemoInstall

@zondax/zemu

Package Overview
Dependencies
Maintainers
1
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zondax/zemu - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

dist/emuContainer/index.js

@@ -46,4 +46,2 @@ "use strict";

var Resolve = require("path").resolve;
var EmuContainer = /*#__PURE__*/function () {

@@ -54,3 +52,3 @@ function EmuContainer(elfPath, image) {

this.image = image;
this.elfPath = Resolve(elfPath);
this.elfPath = elfPath;
}

@@ -57,0 +55,0 @@

@@ -84,7 +84,7 @@ "use strict";

if (elfPath == null) {
if (this.elfPath == null) {
throw new Error("elfPath cannot be null!");
}
this.emuContainer = new _emuContainer["default"](elfPath, DEFAULT_EMU_IMG);
this.emuContainer = new _emuContainer["default"](this.elfPath, DEFAULT_EMU_IMG);
}

@@ -91,0 +91,0 @@

{
"name": "@zondax/zemu",
"version": "0.0.3",
"version": "0.0.4",
"description": "Zemu Testing Framework",

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

@@ -22,3 +22,2 @@ /** ******************************************************************************

export const DEFAULT_VNC_PORT = "8001";
const Resolve = require("path").resolve;

@@ -29,3 +28,3 @@ export default class EmuContainer {

this.image = image;
this.elfPath = Resolve(elfPath);
this.elfPath = elfPath;
}

@@ -32,0 +31,0 @@

@@ -57,7 +57,7 @@ /** ******************************************************************************

if (elfPath == null) {
if (this.elfPath == null) {
throw new Error("elfPath cannot be null!");
}
this.emuContainer = new EmuContainer(elfPath, DEFAULT_EMU_IMG);
this.emuContainer = new EmuContainer(this.elfPath, DEFAULT_EMU_IMG);
}

@@ -64,0 +64,0 @@

@@ -18,5 +18,6 @@ /** ******************************************************************************

import Zemu from "../src";
const Resolve = require("path").resolve;
jest.setTimeout(10000);
const DEMO_APP_PATH = "bin/demoApp";
const DEMO_APP_PATH = Resolve("bin/demoApp");

@@ -23,0 +24,0 @@ test("Zemu-Start&Close", async () => {

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