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

@nexssp/language

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexssp/language - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

src/cli/default/commands/help.js

2

package.json
{
"name": "@nexssp/language",
"description": "All about programming languages - history, founders, how to install, package managers, logo..",
"version": "1.1.14",
"version": "1.1.15",
"homepage": "https://nexss.com",

@@ -6,0 +6,0 @@ "main": "src/language.js",

@@ -18,4 +18,6 @@ /**

const { perLanguage } = require('../../../lib/perLanguage')
perLanguage(languageExtension, cmd, args, languageSelected)
const argsCopy = [...args]
perLanguage(languageExtension, cmd, argsCopy, languageSelected)
const _log = require('@nexssp/logdebug')

@@ -25,7 +27,7 @@ _log.dc(`@language @cli/default @default:`, { cmd, args })

const params = process.argv.includes('--force') || process.argv.includes('-f') ? ` -f` : ''
const dry = process.argv.includes('--dry')
const dry = args.includes('--dry')
const { remove } = require('@nexssp/extend/array')
args = remove(args, '-f')
args = remove(args, '--force')
// args = remove(args, '--force')
args = remove(args, '--progress')

@@ -57,2 +59,3 @@ args = remove(args, '--debug')

}
const compilerOrBuilder = languageSelected.getCompilerOrBuilder().command

@@ -63,4 +66,2 @@ if (!commandToRun) {

const compilerOrBuilder = languageSelected.getCompilerOrBuilder().command
if (existCommand) {

@@ -96,2 +97,6 @@ if (existCommand.indexOf('<currentCommand>') !== -1) {

if (commandToRun.indexOf('<currentCommand>') !== -1) {
commandToRun = commandToRun.replace('<currentCommand>', compilerOrBuilder)
}
if (dry) {

@@ -98,0 +103,0 @@ console.log(commandToRun)

@@ -160,3 +160,3 @@

// SET default compilers, builders for each language
switch (cmd) {

@@ -486,5 +486,8 @@ case "default":

default:
break;
return
}
// To check the code below.
log.di(`Language selected: ${bold(languageSelected.title)}`);

@@ -491,0 +494,0 @@

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