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

amble

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amble - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

.eslintrc

14

package.json
{
"name": "amble",
"description": "a nice watcher for software development",
"version": "0.0.5",
"version": "0.0.6",
"author": "Spencer Kelly <spencermountain@gmail.com> (http://spencermounta.in)",

@@ -12,10 +12,10 @@ "repository": {

"bin": {
"amble":"./bin/amble.js"
},
"preferGlobal": true,
"amble": "./bin/amble.js"
},
"preferGlobal": true,
"scripts": {},
"dependencies": {
"chalk": "^2.1.0",
"gaze": "^1.1.2",
"shelljs": "^0.7.8"
"chalk": "2.4.0",
"gaze": "1.1.2",
"shelljs": "0.8.1"
},

@@ -22,0 +22,0 @@ "devDependencies": {},

@@ -29,6 +29,4 @@ var chalk = require('chalk');

var str = ' ' + rando()
// str += ' ' // + rando()
// str += ' ' + rando()
return str + '\n'
};
module.exports = banner
var exec = require('shelljs').exec
var fs = require('fs');
var path = require('path');

@@ -15,6 +14,4 @@ var gaze = require('gaze');

var watch = function(file) {
//understand relative links
//first, understand relative links
var abs = path.resolve(cwd, file);

@@ -26,3 +23,3 @@ var obj = {

//run our exec function
var doit = function() {

@@ -34,8 +31,14 @@ console.log(banner());

};
//set-up the watcher
var watch = obj.watch + '/**/*.js'
var init = obj.watch + '/**/*.js'
var node_modules = '!**/node_modules/**'
var git = '!**/.git/**'
gaze([watch, node_modules, git], options, function(err) {
//do it right-away
var rel = path.relative(cwd, init);
console.log(chalk.grey('watching: ') + chalk.blue(rel))
console.log('\n\n')
doit();
gaze([init, node_modules, git], options, function(err) {
if (err) {

@@ -47,3 +50,3 @@ console.log(err);

});
// // On changed/added/deleted
//On changed/added/deleted
this.on('all', function() {

@@ -53,10 +56,4 @@ doit();

});
//do it right-away
var rel = path.relative(cwd, watch);
console.log(chalk.grey('watching: ') + chalk.blue(rel))
console.log('\n\n')
doit();
}
module.exports = watch
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