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.255.0 to 0.256.0

2

lib/cli.js

@@ -16,3 +16,3 @@ "use strict";

console.log(JSON.stringify(environmentInfo));
const healthchecks = (0, index_1.getHealthchecks)();
const healthchecks = (0, index_1.getHealthchecks)(false);
const results = await Promise.all(Object.entries(healthchecks).map(async ([key, category]) => [

@@ -19,0 +19,0 @@ key,

@@ -11,4 +11,4 @@ /**

import type { FlipperDoctor } from 'flipper-common';
export declare function getHealthchecks(): FlipperDoctor.Healthchecks;
export declare function runHealthchecks(): Promise<Array<FlipperDoctor.CategoryResult | FlipperDoctor.SkippedHealthcheckCategory>>;
export declare function getHealthchecks(isProduction: boolean): FlipperDoctor.Healthchecks;
export declare function runHealthchecks(isProduction: boolean): Promise<Array<FlipperDoctor.CategoryResult | FlipperDoctor.SkippedHealthcheckCategory>>;
//# sourceMappingURL=index.d.ts.map

@@ -49,3 +49,3 @@ "use strict";

const validateSelectedXcodeVersion_1 = require("./fb-stubs/validateSelectedXcodeVersion");
function getHealthchecks() {
function getHealthchecks(isProduction) {
return {

@@ -70,15 +70,19 @@ common: {

},
{
key: 'common.watchman',
label: 'Watchman Installed',
run: async (_) => {
const isAvailable = await isWatchmanAvailable();
return {
hasProblem: !isAvailable,
message: isAvailable
? ['common.watchman--installed']
: ['common.watchman--not_installed'],
};
},
},
...(!isProduction
? [
{
key: 'common.watchman',
label: 'Watchman Installed',
run: async (_) => {
const isAvailable = await isWatchmanAvailable();
return {
hasProblem: !isAvailable,
message: isAvailable
? ['common.watchman--installed']
: ['common.watchman--not_installed'],
};
},
},
]
: []),
],

@@ -408,5 +412,5 @@ },

exports.getHealthchecks = getHealthchecks;
async function runHealthchecks() {
async function runHealthchecks(isProduction) {
const environmentInfo = await (0, environmentInfo_1.getEnvInfo)();
const healthchecks = getHealthchecks();
const healthchecks = getHealthchecks(isProduction);
const results = await Promise.all(Object.entries(healthchecks).map(async ([key, category]) => {

@@ -413,0 +417,0 @@ if (category.isSkipped) {

{
"name": "flipper-doctor",
"version": "0.255.0",
"version": "0.256.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.255.0",
"flipper-common": "0.256.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

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