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

flipper-doctor

Package Overview
Dependencies
Maintainers
4
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flipper-doctor - npm Package Compare versions

Comparing version 0.252.0 to 0.253.0

35

lib/index.js

@@ -267,2 +267,37 @@ "use strict";

{
key: 'ios.has-simulators',
label: 'Simulators are available',
isRequired: true,
run: async (_e, settings) => {
const result = await tryExecuteCommand(`${settings?.idbPath ?? 'idb'} list-targets --json`);
if (result.fail) {
return {
hasProblem: true,
message: [
'ios.has-simulators--idb-failed',
{ message: result.message },
],
};
}
const devices = result.stdout
.trim()
.split('\n')
.map((x) => JSON.parse(x))
.filter((x) => x.type === 'simulator');
if (devices.length === 0) {
return {
hasProblem: true,
message: ['ios.has-simulators--no-devices'],
};
}
return {
hasProblem: false,
message: [
'ios.has-simulators--ok',
{ count: devices.length },
],
};
},
},
{
key: 'ios.xctrace',

@@ -269,0 +304,0 @@ label: 'xctrace exists',

4

package.json
{
"name": "flipper-doctor",
"version": "0.252.0",
"version": "0.253.0",
"description": "Utility for checking for issues with a flipper installation",

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

"fb-watchman": "^2.0.2",
"flipper-common": "0.252.0",
"flipper-common": "0.253.0",
"fs-extra": "^11.1.1"
}
}

Sorry, the diff of this file is not supported yet

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