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

fs-finder

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-finder - npm Package Compare versions

Comparing version 1.4.3 to 1.5.0

test/data/.cache

11

lib/Finder.js

@@ -115,2 +115,10 @@ // Generated by CoffeeScript 1.6.3

}
if (this.systemFiles === false) {
if (_path.basename(path)[0] === '.') {
continue;
}
if (path.match(/~$/) !== null) {
continue;
}
}
stat = fs.statSync(path);

@@ -149,5 +157,2 @@ if (type === 'all' || (type === 'files' && stat.isFile()) || (type === 'directories' && stat.isDirectory())) {

mask = Finder.normalizePattern(mask);
if (this.systemFiles === false) {
this.exclude(['<~$>', '<^\\.>']);
}
return this.getPaths(this.directory, type, mask);

@@ -154,0 +159,0 @@ };

{
"name": "fs-finder",
"description": "File system recursive finder",
"version": "1.4.3",
"version": "1.5.0",
"author": {

@@ -27,3 +27,9 @@ "name": "David Kudera",

"moment": "2.1.0"
},
"devDependencies": {
"should": "1.2.2"
},
"scripts": {
"test": "cd ./test; mocha ./index.js;"
}
}
# fs-finder
file system finder inspired by finder in [Nette framework](http://doc.nette.org/en/finder).
## Changelog
Changelog is in the bottom of this readme.
## Installing

@@ -132,2 +136,36 @@

var files = Finder.from('/var/data/base-path').findFiles(); // Load files recursively
```
```
## Changelog
* 1.5.0
+ Added changelog
+ Created tests (npm test)
+ Repaired bugs with hidding system and temp files
* 1.4.3
+ Added MIT license
* 1.4.2
+ Renamed repository from fs-finder to node-fs-finder
* 1.4.1
+ Type in readme
* 1.4.0
+ Every regexp must be enclosed in <> (before this, dots meens everything, not dot)
+ Every character, which does mean something in regexp and is not in <>, is escaped
* 1.3.0 (it seems that I skiped this version, sorry)
* 1.2.0
+ Added in, from methods
* 1.1.0
+ Added shortcuts "static" methods
* 1.0.1
+ Some bug in combination with [simq](https://npmjs.org/package/simq)
* 1.0.0
+ Initial commit

Sorry, the diff of this file is not supported yet

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