New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apk-mitm

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apk-mitm - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

15

dist/cli.js

@@ -5,2 +5,9 @@ "use strict";

};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -11,3 +18,3 @@ const path_1 = __importDefault(require("path"));

const tempy_1 = __importDefault(require("tempy"));
const patch_apk_1 = __importDefault(require("./patch-apk"));
const patch_apk_1 = __importStar(require("./patch-apk"));
const patch_app_bundle_1 = require("./patch-app-bundle");

@@ -43,2 +50,3 @@ const apktool_1 = __importDefault(require("./tools/apktool"));

case '.apks':
case '.zip':
taskFunction = patch_app_bundle_1.patchApksBundle;

@@ -54,4 +62,5 @@ break;

taskFunction({ inputPath, outputPath, tmpDir, apktool }).run().then(context => {
if (context.onFinished)
context.onFinished();
if (taskFunction === patch_apk_1.default && context.usesAppBundle) {
patch_apk_1.showAppBundleWarning();
}
console.log(chalk_1.default `\n {green.inverse Done! } Patched file: {bold ./${outputName}}\n`);

@@ -58,0 +67,0 @@ }).catch((error) => {

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

nscName = result.nscName;
if (result.usesAppBundle) {
context.onFinished = showAppBundleWarning;
}
context.usesAppBundle = result.usesAppBundle;
},

@@ -102,1 +100,2 @@ },

}
exports.showAppBundleWarning = showAppBundleWarning;

2

package.json

@@ -13,3 +13,3 @@ {

],
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",

@@ -16,0 +16,0 @@ "scripts": {

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