🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

jackspeak

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jackspeak - npm Package Compare versions

Comparing version

to
2.2.2

11

dist/cjs/index.js

@@ -45,3 +45,5 @@ "use strict";

const fromEnvVal = (env, type, multiple, delim = '\n') => (multiple
? env.split(delim).map(v => fromEnvVal(v, type, false))
? env
? env.split(delim).map(v => fromEnvVal(v, type, false))
: []
: type === 'string'

@@ -709,4 +711,7 @@ ? env

const normalize = (s, pre = false) => pre
// prepend a ZWSP to each line so cliui doesn't strip it.
? s.split('\n').map(l => `\u200b${l}`).join('\n')
? // prepend a ZWSP to each line so cliui doesn't strip it.
s
.split('\n')
.map(l => `\u200b${l}`)
.join('\n')
: s

@@ -713,0 +718,0 @@ // remove single line breaks, except for lists

@@ -39,3 +39,5 @@ import { inspect } from 'node:util';

const fromEnvVal = (env, type, multiple, delim = '\n') => (multiple
? env.split(delim).map(v => fromEnvVal(v, type, false))
? env
? env.split(delim).map(v => fromEnvVal(v, type, false))
: []
: type === 'string'

@@ -700,4 +702,7 @@ ? env

const normalize = (s, pre = false) => pre
// prepend a ZWSP to each line so cliui doesn't strip it.
? s.split('\n').map(l => `\u200b${l}`).join('\n')
? // prepend a ZWSP to each line so cliui doesn't strip it.
s
.split('\n')
.map(l => `\u200b${l}`)
.join('\n')
: s

@@ -704,0 +709,0 @@ // remove single line breaks, except for lists

{
"name": "jackspeak",
"version": "2.2.1",
"version": "2.2.2",
"description": "A very strict and proper argument parser.",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

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

Sorry, the diff of this file is not supported yet