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

fs-crawler

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-crawler - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

lib/fs-crawler.js

@@ -21,4 +21,2 @@ 'use strict';

Readable.call(this);
this._read = function _read () {

@@ -42,4 +40,3 @@

}
if (!context.file.hasNext() && !this._readableState.buffer.length) {
console.log('- CRAWL END');
else if (!context.file.hasNext() && !this._readableState.buffer.length) {
// the end of the directory structure has been reached

@@ -131,4 +128,6 @@ var report = {

};
Readable.call(this);
}
module.exports = Crawler;

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

if (filters) {
if (filters.length) {
var index = filters.length;

@@ -111,0 +111,0 @@

@@ -26,5 +26,3 @@ 'use strict';

options = exports.validate(options);
options.mode = exports.CRAWL_TREE_SYNC_MODE;
return options;
};
{
"name": "fs-crawler",
"license": "MIT",
"version": "0.0.2",
"version": "0.0.3",
"homepage": "https://github.com/luscus/fs-crawler",

@@ -6,0 +6,0 @@ "author": "https://github.com/luscus/fs-crawler/graphs/contributors",

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

results = crawler.crawlPathSync('/media/nysos/Nysos-EXT/dev/fs-crawler/test/fs/long/deep/path/to/files', options);
results = crawler.crawlPathSync(__dirname + '/fs/long/deep/path/to/files', options);

@@ -31,3 +31,2 @@ console.log('-------------------');

process.on('uncaughtException', function (er) {

@@ -34,0 +33,0 @@ console.error('EXCEPTION', er.stack);

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