Socket
Socket
Sign inDemoInstall

scandirectory

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scandirectory - npm Package Versions

23
8

8.1.1

Diff

Changelog

Source

v8.1.1 2024 January 3

  • Export toList and toTree for consumption in @bevry/fs-list
  • Updated dependencies, base files, and editions using boundation
  • Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Frontend Masters, Poonacha Medappa, Rob Morris, Sentry, Syntax
bevryme
published 8.1.1-next.1704224609.8d7c73ae43ed6b399acde08d908d69cf73cd8b6c •

bevryme
published 8.1.0 •

Changelog

Source

v8.1.0 2024 January 3

bevryme
published 8.1.0-next.1704219414.2fc28c56c6ed6043e40c18fc415c3d01b3362db1 •

bevryme
published 8.0.0-next.1704146854.f2beccb4387808170ac84871de30351da5fcc63e •

bevryme
published 8.0.0 •

Changelog

Source

v8.0.0 2024 January 1

  • Rewritten nearly everything, with the modern API at the scanDirectory export, and a compatibility layer for the old API at the default export
  • Uses an extremely performant builtin solution, that can read 7000 files in 100ms (note that outputting the relative paths to stdout takes 150ms, and outputting it all as JSON to stdout takes 2 seconds)
  • Uses promises
    • The compatibility layer supports the next callback in addition to promises
  • Returns a recursive result result map
    • The compatibility layer provides a conversion to list and tree for the next callback if it detects the old format is desired
  • Actions now accept a result object instead of individual arguments
    • The compatibility layer provides a conversion to arguments if it detects the old format is desired
  • readFile option is now encoding, as such readFile: true is now encoding: "utf8", and readFile: "binary" is now encoding: "binary"
    • The compatibility layer does not handle this conversion, you have to do it yourself
  • Upgraded to support ignorefs v5 which maintains compatibility while supporting so much more
  • Updated dependencies, base files, and editions using boundation
  • Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
bevryme
published 7.3.0 •

Changelog

Source

v7.3.0 2023 November 25

bevryme
published 7.3.0-next.1700861161.4dec9e905119f145442c465c48d7ac5a13c0f332 •

bevryme
published 7.2.0 •

Changelog

Source

v7.2.0 2023 November 21

bevryme
published 7.2.0-next.1700572625.c82a6c562d0212166598326f14dec8e0407ebc7b •

23
8
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc