Socket
Socket
Sign inDemoInstall

jackspeak

Package Overview
Dependencies
12
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc