Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

buddy-tunnel

Package Overview
Dependencies
Maintainers
0
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buddy-tunnel - npm Package Compare versions

Comparing version 1.4.9-dev to 1.4.11-dev

2

package.json
{
"name": "buddy-tunnel",
"preferGlobal": false,
"version": "1.4.9-dev",
"version": "1.4.11-dev",
"license": "MIT",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -8,2 +8,3 @@ const {

const ApiAgent = require('../api/agent.js');
const { isDocker } = require('../utils');

@@ -13,4 +14,6 @@ const commandPre = async (_, command) => {

try {
const isEnabled = await AgentManager.system.isEnabled();
if (isEnabled) command.agentStatus = await ApiAgent.fetchStatus();
if (!isDocker()) {
const isEnabled = await AgentManager.system.isEnabled();
if (isEnabled) command.agentStatus = await ApiAgent.fetchStatus();
}
} catch {

@@ -17,0 +20,0 @@ // do nothing

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