Socket
Socket
Sign inDemoInstall

ios-device-lib

Package Overview
Dependencies
2
Maintainers
13
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.0 to 0.9.0-alpha.0

.husky/pre-commit

16

ios-device-lib-stdio-handler.js

@@ -17,4 +17,18 @@ "use strict";

getBinaryPath() {
if(os.platform() === "darwin") {
// on mac ios-device-lib is a universal binary (x86_64 & arm64)
return path.resolve(__dirname, "bin/darwin/ios-device-lib")
}
if (os.platform() === "win32" || os.platform() === "win64") {
return path.resolve(__dirname,`bin/win32/${os.arch()}ios-device-lib`)
}
}
startReadingData() {
this._chProc = spawn(path.join(__dirname, "bin", os.platform(), os.arch(), "ios-device-lib").replace("app.asar", "app.asar.unpacked"));
this._chProc = spawn(
// replace app.asar to allow spawning from electron
this.getBinaryPath().replace("app.asar", "app.asar.unpacked")
);

@@ -21,0 +35,0 @@ const stdinMessageUnpackStream = new MessageUnpackStream();

10

package.json
{
"name": "ios-device-lib",
"version": "0.8.0",
"version": "0.9.0-alpha.0",
"description": "",

@@ -10,3 +10,4 @@ "types": "./typings/ios-device-lib.d.ts",

"mocha": "mocha",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha"
"test": "istanbul cover ./node_modules/mocha/bin/_mocha",
"prepare": "husky install"
},

@@ -29,5 +30,10 @@ "repository": {

"chai": "4.2.0",
"husky": "^5.1.3",
"istanbul": "0.4.5",
"lint-staged": "^10.5.4",
"mocha": "5.2.0"
},
"lint-staged": {
"*.{cpp,h}": "clang-format -style=llvm -i"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc