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

netget

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netget - npm Package Compare versions

Comparing version 2.3.86 to 2.3.87

2

package.json
{
"name": "netget",
"version": "2.3.86",
"version": "2.3.87",
"description": "Rette Adepto/ Recibido Directamente.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -1,6 +0,7 @@

//configureDefaultServerBlock.js
// configureDefaultServerBlock.js
import fs from 'fs';
import chalk from 'chalk';
import defaultServerBlock from './defaultServerBlock.js';
import inquirer from 'inquirer';
import defaultServerBlock from './defaultServerBlock.js';
import { execShellCommand } from '../../utils/execShellCommand.js'; // Make sure this is correctly imported

@@ -50,3 +51,3 @@ export const configureDefaultServerBlock = async (userConfig) => {

const escapedData = escapeDataForShell(data);
const command = `echo '${escapedData}' | sudo tee ${path} > /dev/null`;
const command = `echo '${escapedData}' | sudo tee ${path}`;
try {

@@ -53,0 +54,0 @@ await execShellCommand(command);

@@ -13,3 +13,3 @@ // serverBlockConfigOptions.cli.js

choices: [
'Set/Restore NGINX to Default NetGetX to Recommended Settings.',
'Set/Restore NGINX to Default NetGetX Recommended Settings.',
'Proceed with Current Configuration',

@@ -22,3 +22,3 @@ 'Exit and Adjust Manually'

switch (answers.action) {
case 'Set/Restore NGINX to Default NetGetX to Recommended Settings.':
case 'Set/Restore NGINX to Default NetGetX Recommended Settings.':
await configureDefaultServerBlock(userConfig);

@@ -25,0 +25,0 @@ return true; // Configuration was successfully restored

{
"nginxConfigurationProceed": false,
"nginxPath": "",
"nginxSitesAvailable": "",
"nginxSitesEnabled": "",
"nginxPath": "/opt/homebrew/etc/nginx/nginx.conf",
"nginxSitesAvailable": "/opt/homebrew/etc/nginx/sites-available",
"nginxSitesEnabled": "/opt/homebrew/etc/nginx/sites-enabled",
"useSudo": false,
"nginxExecutable": ""
"nginxExecutable": "/opt/homebrew/bin/nginx"
}
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