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.4.1 to 1.5.0

lib/logic/cleaning-delete.js

3

lib/index.js
module.exports.guessFile = require('./logic/guess-file');
module.exports.walkDir = require('./logic/walk-dir');
module.exports.cleaningDelete = require('./logic/cleaning-delete');
module.exports.smartRead = require('./logic/smart-read');
module.exports.smartWrite = require('./logic/smart-write');
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiZ3Vlc3NGaWxlIiwicmVxdWlyZSIsIndhbGtEaXIiLCJzbWFydFJlYWQiLCJzbWFydFdyaXRlIl0sIm1hcHBpbmdzIjoiQUFDQUEsTUFBTSxDQUFDQyxPQUFQLENBQWVDLFNBQWYsR0FBMkJDLE9BQU8sQ0FBQyxvQkFBRCxDQUFsQztBQUNBSCxNQUFNLENBQUNDLE9BQVAsQ0FBZUcsT0FBZixHQUF5QkQsT0FBTyxDQUFDLGtCQUFELENBQWhDO0FBRUFILE1BQU0sQ0FBQ0MsT0FBUCxDQUFlSSxTQUFmLEdBQTJCRixPQUFPLENBQUMsb0JBQUQsQ0FBbEM7QUFDQUgsTUFBTSxDQUFDQyxPQUFQLENBQWVLLFVBQWYsR0FBNEJILE9BQU8sQ0FBQyxxQkFBRCxDQUFuQyIsInNvdXJjZXNDb250ZW50IjpbIlxubW9kdWxlLmV4cG9ydHMuZ3Vlc3NGaWxlID0gcmVxdWlyZSgnLi9sb2dpYy9ndWVzcy1maWxlJyk7XG5tb2R1bGUuZXhwb3J0cy53YWxrRGlyID0gcmVxdWlyZSgnLi9sb2dpYy93YWxrLWRpcicpO1x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VsZXRlID0gcmVxdWlyZSgnLi9sb2dpYy9jbGVhbmluZy1kZWxldGUnKTtcblxubW9kdWxlLmV4cG9ydHMuc21hcnRSZWFkID0gcmVxdWlyZSgnLi9sb2dpYy9zbWFydC1yZWFkJyk7XG5tb2R1bGUuZXhwb3J0cy5zbWFydFdyaXRlID0gcmVxdWlyZSgnLi9sb2dpYy9zbWFydC13cml0ZScpO1xuIl19
{
"name": "smart-fs",
"version": "1.4.1",
"version": "1.5.0",
"description": "Abstraction Layer for File Management.",

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

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

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

@@ -35,2 +35,6 @@ # smart-fs

### cleaningDelete(filepath)
Delete file and all empty parent directories.
### smartRead(filepath, options = { treatAs = null })

@@ -37,0 +41,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