New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

catn8

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

catn8 - npm Package Compare versions

Comparing version

to
0.0.6

25

catn8.js

@@ -11,6 +11,8 @@ var pkg = require( './lib/packages' ),

watching_config = {},
watching_dir = {};
watching_dir = {},
nowatch = false;
function catn8( path ) {
pwd = pkg.path.resolve( process.cwd(), path );
function catn8( path, nw ) {
pwd = pkg.path.resolve( process.cwd(), path );
nowatch = nw === '--nowatch';

@@ -39,3 +41,3 @@ var walkies = walker.start( pwd, onfindconfig );

console.log( 'dir change: ', arguments );
catn8( dir_path );
catn8( dir_path, nowatch );
}

@@ -52,8 +54,10 @@

console.log( 'found configuration and listening to: ', conf.__meta__.pwd );
if ( nowatch !== true ) {
console.log( 'found configuration and listening to: ', conf.__meta__.pwd );
conf.__meta__.watcher =
watching_config[config_path] =
watching_dir[conf.__meta__.pwd] =
watching_dir[conf.source.dir] = watcher.start( conf.source.dir, onchange, conf );
conf.__meta__.watcher =
watching_config[config_path] =
watching_dir[conf.__meta__.pwd] =
watching_dir[conf.source.dir] = watcher.start( conf.source.dir, onchange, conf );
}

@@ -67,3 +71,4 @@ file.create( conf );

watching_dir[dir_path] = watcher.start( dir_path, ondirchange, dir_path );
if ( nowatch !== true )
watching_dir[dir_path] = watcher.start( dir_path, ondirchange, dir_path );
}

@@ -70,0 +75,0 @@

2

package.json

@@ -37,3 +37,3 @@ {

},
"version" : "0.0.5"
"version" : "0.0.6"
}

Sorry, the diff of this file is not supported yet