Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smart-fs

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-fs - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

lib/logic/walk-dir.js

3

lib/index.js
module.exports.guessFile = require('./logic/guess-file');
module.exports.guessFile = require('./logic/walk-dir');
module.exports.smartRead = require('./logic/smart-read');
module.exports.smartWrite = require('./logic/smart-write');
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiZ3Vlc3NGaWxlIiwicmVxdWlyZSIsInNtYXJ0UmVhZCIsInNtYXJ0V3JpdGUiXSwibWFwcGluZ3MiOiJBQUNBQSxNQUFNLENBQUNDLE9BQVAsQ0FBZUMsU0FBZixHQUEyQkMsT0FBTyxDQUFDLG9CQUFELENBQWxDO0FBRUFILE1BQU0sQ0FBQ0MsT0FBUCxDQUFlRyxTQUFmLEdBQTJCRCxPQUFPLENBQUMsb0JBQUQsQ0FBbEM7QUFDQUgsTUFBTSxDQUFDQyxPQUFQLENBQWVJLFVBQWYsR0FBNEJGLE9BQU8sQ0FBQyxxQkFBRCxDQUFuQyIsInNvdXJjZXNDb250ZW50IjpbIlxubW9kdWxlLmV4cG9ydHMuZ3Vlc3NGaWxlID0gcmVxdWlyZSgnLi9sb2dpYy9ndWVzcy1maWxlJyk7XG5cbm1vZHVsZS5leHBvcnRzLnNtYXJ0UmVhZCA9IHJlcXVpcmUoJy4vbG9naWMvc21hcnQtcmVhZCcpO1xubW9kdWxlLmV4cG9ydHMuc21hcnRXcml0ZSA9IHJlcXVpcmUoJy4vbG9naWMvc21hcnQtd3JpdGUnKTtcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiZ3Vlc3NGaWxlIiwicmVxdWlyZSIsInNtYXJ0UmVhZCIsInNtYXJ0V3JpdGUiXSwibWFwcGluZ3MiOiJBQUNBQSxNQUFNLENBQUNDLE9BQVAsQ0FBZUMsU0FBZixHQUEyQkMsT0FBTyxDQUFDLG9CQUFELENBQWxDO0FBQ0FILE1BQU0sQ0FBQ0MsT0FBUCxDQUFlQyxTQUFmLEdBQTJCQyxPQUFPLENBQUMsa0JBQUQsQ0FBbEM7QUFFQUgsTUFBTSxDQUFDQyxPQUFQLENBQWVHLFNBQWYsR0FBMkJELE9BQU8sQ0FBQyxvQkFBRCxDQUFsQztBQUNBSCxNQUFNLENBQUNDLE9BQVAsQ0FBZUksVUFBZixHQUE0QkYsT0FBTyxDQUFDLHFCQUFELENBQW5DIiwic291cmNlc0NvbnRlbnQiOlsiXG5tb2R1bGUuZXhwb3J0cy5ndWVzc0ZpbGUgPSByZXF1aXJlKCcuL2xvZ2ljL2d1ZXNzLWZpbGUnKTtcbm1vZHVsZS5leHBvcnRzLmd1ZXNzRmlsZSA9IHJlcXVpcmUoJy4vbG9naWMvd2Fsay1kaXInKTtcblxubW9kdWxlLmV4cG9ydHMuc21hcnRSZWFkID0gcmVxdWlyZSgnLi9sb2dpYy9zbWFydC1yZWFkJyk7XG5tb2R1bGUuZXhwb3J0cy5zbWFydFdyaXRlID0gcmVxdWlyZSgnLi9sb2dpYy9zbWFydC13cml0ZScpO1xuIl19
{
"name": "smart-fs",
"version": "1.3.0",
"version": "1.4.0",
"description": "Abstraction Layer for File Management.",

@@ -50,3 +50,3 @@ "main": "lib/index.js",

"coveralls": "3.0.3",
"eslint": "5.15.1",
"eslint": "5.15.2",
"js-gardener": "1.38.2",

@@ -53,0 +53,0 @@ "nyc": "13.3.0",

@@ -29,2 +29,8 @@ # smart-fs

### walkDir(dirpath)
Iteratively walk dirpath and return relative paths of all files contained.
Will only return entries where `fs.lstatSync(...).isFile()` evaluates to true (this excludes symlinks).
### smartRead(filepath, options = { treatAs = null })

@@ -31,0 +37,0 @@

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