You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

inquirer-command-prompt

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inquirer-command-prompt - npm Package Compare versions

Comparing version

to
0.0.27

3

index.js

@@ -246,3 +246,4 @@ const chalk = require('chalk')

cmds = cmds.reduce((sum, el) => {
RegExp(`^${line}`).test(el) && sum.push(el) && (max = Math.max(max, el.length))
let sanitizedLine = line.replace(/[\\\.\+\*\?\^\$\[\]\(\)\{\}\/\'\#\:\!\=\|]/ig, "\\$&")
RegExp(`^${sanitizedLine}`).test(el) && sum.push(el) && (max = Math.max(max, el.length))
return sum

@@ -249,0 +250,0 @@ }, [])

{
"name": "inquirer-command-prompt",
"version": "0.0.26",
"version": "0.0.27",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {