Socket
Socket
Sign inDemoInstall

inquirer-fs-selector

Package Overview
Dependencies
53
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

14

index.js

@@ -521,8 +521,12 @@ // @flow

if (basePath !== rootPath && shouldDisplayItem(true, false, path.format({dir: basePath, base: '..'}))) {
itemsToShow.unshift(BACK);
}
if (shouldDisplayItem) {
if (basePath !== rootPath && shouldDisplayItem(true, false, path.format({dir: basePath, base: '..'}))) {
itemsToShow.unshift(BACK);
}
if (shouldDisplayItem(true, false, path.format({dir: basePath, base: '.'}))) {
itemsToShow.unshift(CURRENT);
if (shouldDisplayItem(true, false, path.format({dir: basePath, base: '.'}))) {
itemsToShow.unshift(CURRENT);
}
} else {
itemsToShow.unshift(BACK, CURRENT);
}

@@ -529,0 +533,0 @@

{
"name": "inquirer-fs-selector",
"version": "1.4.0",
"version": "1.4.1",
"description": "A filesystem prompt selector for Inquirer.js",

@@ -5,0 +5,0 @@ "files": [

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