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.27.0-rc2 to 0.27.1

12

dist/index.js

@@ -223,5 +223,3 @@ "use strict";

var elfInfo = elfy_1["default"].parse(elfApp);
if (elfInfo.entry !== elfCodeNanoS &&
elfInfo.entry !== elfCodeNanoX &&
elfInfo.entry !== elfCodeNanoSP) {
if (elfInfo.entry !== elfCodeNanoS && elfInfo.entry !== elfCodeNanoX && elfInfo.entry !== elfCodeNanoSP) {
throw new Error('Are you sure is a Nano S/S+/X app ?');

@@ -468,3 +466,3 @@ }

return __awaiter(this, void 0, void 0, function () {
var snapshotPrefixGolden, snapshotPrefixTmp, imageIndex, filename, i, value, j, j;
var snapshotPrefixGolden, snapshotPrefixTmp, imageIndex, filename, i, value, j, j, events;
return __generator(this, function (_a) {

@@ -530,3 +528,7 @@ switch (_a.label) {

return [3 /*break*/, 2];
case 14: return [2 /*return*/, this.compareSnapshots(path, testcaseName, imageIndex)];
case 14: return [4 /*yield*/, this.getEvents()];
case 15:
events = _a.sent();
this.log(events);
return [2 /*return*/, this.compareSnapshots(path, testcaseName, imageIndex)];
}

@@ -533,0 +535,0 @@ });

@@ -5,3 +5,3 @@ {

"license": "Apache-2.0",
"version": "0.27.0-rc2",
"version": "0.27.1",
"description": "Zemu Testing Framework",

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

@@ -193,5 +193,3 @@ /** ******************************************************************************

if (elfInfo.entry !== elfCodeNanoS &&
elfInfo.entry !== elfCodeNanoX &&
elfInfo.entry !== elfCodeNanoSP) {
if (elfInfo.entry !== elfCodeNanoS && elfInfo.entry !== elfCodeNanoX && elfInfo.entry !== elfCodeNanoSP) {
throw new Error('Are you sure is a Nano S/S+/X app ?')

@@ -413,2 +411,5 @@ }

const events = await this.getEvents()
this.log(events)
return this.compareSnapshots(path, testcaseName, imageIndex)

@@ -415,0 +416,0 @@ }

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