Socket
Socket
Sign inDemoInstall

inquirer-file-tree-selection-prompt

Package Overview
Dependencies
65
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.4 to 2.0.5

4

dist/index.js

@@ -180,3 +180,3 @@ 'use strict';

try {
if (node.name == '..' || !fs.lstatSync(parentPath).isDirectory() || node.children || node.open === true) {
if (node.name == '..' || fs.lstatSync(parentPath).isFile() || node.children || node.open === true) {
return;

@@ -187,3 +187,3 @@ }

parent: node,
type: item.isDirectory() ? 'directory' : 'file',
type: item.isFile() ? 'file' : 'directory',
name: item.name,

@@ -190,0 +190,0 @@ path: path.resolve(parentPath, item.name)

{
"name": "inquirer-file-tree-selection-prompt",
"version": "2.0.4",
"version": "2.0.5",
"repository": "https://github.com/anc95/inquirer-file-tree-selection",

@@ -34,3 +34,2 @@ "description": "inquerer file tree selection prompt",

"figures": "^4.0.1",
"lodash": "^4.17.21",
"rxjs": "^7.5.6"

@@ -40,3 +39,3 @@ },

"@types/node": "^18.6.3",
"@types/inquirer": "^8.2.1",
"@types/inquirer": "^9.0.0",
"auto-changelog": "^2.2.1",

@@ -43,0 +42,0 @@ "inquirer": "^9.1.0",

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